From hvdkooij at vanderkooij.org Sun Jun 1 11:54:32 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 01 Jun 2008 11:54:32 +0200 Subject: Nagios Check on CAC Enabled Websites. In-Reply-To: References: Message-ID: <484271D8.2070308@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeff Shumard - DefenseWeb Technologies wrote: | Has anyone tried or been able to run Nagios http checks for a CAC | enabled website. We have just been told that we need to enable one of | our websites with CAC cards enabled. If you have can you please tell me | if you were able to do it or if there is a plug-in that will support it. Could you enlighten us what this CAC is? Google is not much help here. Unless you are referring to "Cotation Assist?e en Continu". 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) iD8DBQFIQnHWBvzDRVjxmYERAm0wAKCcEtulFAwTA04wyDygu4rjLFxYiACfbZHj 37VnK4W+uy6q5ozY+10yJ9k= =kUtU -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Sun Jun 1 12:08:32 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 01 Jun 2008 12:08:32 +0200 Subject: Monitor web server run multiple virtual web site In-Reply-To: <625283.79251.qm@web23313.mail.ird.yahoo.com> References: <625283.79251.qm@web23313.mail.ird.yahoo.com> Message-ID: <48427520.4070008@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 trevor obba wrote: | | | I am running Nagios 2.5 on a Suse Enterprise 10; I would | like to monitor web server running IIS with multiple virtual web sites. The trick is to address the website by name. Pretty much like this: define command { ~ command_name check_http_url ~ command_line $USER1$/check_http -H $ARG1$ -u $ARG2$ ~ } define service{ ~ use linux-counter-template ~ host_name gimel.counter.li.org ~ service_description HTTP-counter.li.org ~ check_command check_http_url!counter.li.org!/index.php ~ contact_groups linux-counter ~ } define service{ ~ use linux-counter-template ~ host_name gimel.counter.li.org ~ service_description HTTP-i18n.counter.li.org ~ check_command check_http_url!i18n.counter.li.org!/index.php ~ contact_groups linux-counter ~ } Each virtual website becomes it's own service. But the problem is that you send the host info with the -H option. But you should send the virtual server details there instead. As shown in the manual: ~ -H, --hostname=ADDRESS ~ Host name argument for servers using host headers (virtual host) ~ Append a port to include it in the header (eg: example.com:5000) 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) iD8DBQFIQnUeBvzDRVjxmYERAj5kAJ4yN96SVErJ+YXk7w+JCFnBcfe0kQCfbXFG 5cZZGc2md6OOpYPimENLBtA= =c4Gk -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Sun Jun 1 12:13:07 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 01 Jun 2008 12:13:07 +0200 Subject: check_icmp issues warning and does not run In-Reply-To: <1AA381D92997964F898DF2A3AA4FF9ADF6AB95@SUN-EXCH01.nuance.com> References: <1AA381D92997964F898DF2A3AA4FF9ADF6AB95@SUN-EXCH01.nuance.com> Message-ID: <48427633.2030808@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nguyen, Tham wrote: | I also checked under /usr/local/nagios/libexec folder and check_icmp is | running under user root. I changed root to nagios user and it produced | the same error. | | -rwxrwxrwx 1 root root 85170 May 15 16:26 check_icmp This is BAD! Every user on your system can write to that file. With the added SUID stuff you have now created a very lazy way of breaking into your system and becoming root. 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) iD8DBQFIQnYxBvzDRVjxmYERAhqrAJ9b2B/OO8PsgfN1Xo4sd2c5/sLCmACgs+Ip bqPgyj4qEbgGn8BcJVtsfjM= =Ny4Q -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 germang at gmail.com Sun Jun 1 17:51:55 2008 From: germang at gmail.com (=?ISO-8859-1?Q?Germ=E1n_Guti=E9rrez?=) Date: Sun, 1 Jun 2008 12:51:55 -0300 Subject: Service Dependency In-Reply-To: <4841A860.50603@nimastelecom.com> References: <4841A860.50603@nimastelecom.com> Message-ID: Take a look at check_cluster, think you can specify different services in it. On Sat, May 31, 2008 at 4:34 PM, Carlos Velasco wrote: > Hello, > > I have a need for configuring a special type of service dependency. > > Having 3 services: > A > B > C > > I want nagios to notify by email the up/down states of any of these 3 > services. I have done this several times and no problem. > > But, I need to add a notify by sms (email to sms service) when *all the > three services* are up/down. > > D -> A and B and C > > I have been trying with service dependency but I can't see how to do > this. Any help would be apreciated. > > Regards, > Carlos Velasco > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > 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 > -- Saludos, Germ?n Delivering common sense since 1969. 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Sun Jun 1 18:48:31 2008 From: marc at ena.com (Marc Powell) Date: Sun, 1 Jun 2008 11:48:31 -0500 Subject: Nagios Check on CAC Enabled Websites. In-Reply-To: <484271D8.2070308@vanderkooij.org> References: <484271D8.2070308@vanderkooij.org> Message-ID: On Jun 1, 2008, at 4:54 AM, Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jeff Shumard - DefenseWeb Technologies wrote: > | Has anyone tried or been able to run Nagios http checks for a CAC > | enabled website. We have just been told that we need to enable > one of > | our websites with CAC cards enabled. If you have can you please > tell me > | if you were able to do it or if there is a plug-in that will > support it. > > Could you enlighten us what this CAC is? Google is not much help here. > Unless you are referring to "Cotation Assist?e en Continu". Almost certainly -- http://en.wikipedia.org/wiki/Common_Access_Card -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 izz_abdullah at inbox.com Mon Jun 2 07:58:46 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Sun, 1 Jun 2008 21:58:46 -0800 Subject: Windows Service detail continued Message-ID: <249CD077764.00000264izz_abdullah@inbox.com> Can I just write a shell script to do this for me? check_nt works just fine with returning the value from the server's terminal console, but as stated before, this doesn't work if I put into the service definitions. I'm using NSClient++. Also, I am very familiar with WMI scripting, but how to get this information back to the Nagios GUI? That's my problem at hand. I can do it from the console, but want everything in the GUI as power users will be monitoring this. It needs to be a monitor, not an "ok, now let's check". :-) Thanks in advance, Izz -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Anthony Montibello Sent: Friday, May 23, 2008 6:19 AM To: Izz Abdullah Cc: nagios Subject: Re: [Nagios-users] Performance data for service You could try testing with NC_NEt(http://sourceforge.net/projects/nc-net) or NSCLinet (http://nsclient.ready2run.nl/) They are both copatible with Check_nt so there will be minimal to no reconfiguration needed on Nagios side, However the default listen port is 1248 so you would need to at least configure that on the client side. check_nt does not have a showall for COunters , so that should not havee helped anything. Run the command help and check the documentation for your windows plugin. Also check the service description I prefer to use the following definition: define command{ command_name check_nt_with_L command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD -v $ARG1$ -l "$ARG2$" $ARG3$ } then the check command: check_nt!COUNTER!Process\(Outlook)\Working Set since the passing to the Command definision may be losing your "" NC_Net would return a -1 when your Counter fails to actually connect but I do not know what nsclient++ returns on a bad counter. You may need to test from the command line what nsclient++ returns when the COunter is incorrect syntex. Tony (Author of NC_NEt) On Thu, May 22, 2008 at 5:49 AM, Izz Abdullah wrote: Ok, so I found an example using the COUNTER object. From the Nagios server I can run the following and get correct data back: check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l "Process\(Outlook)\Working Set" this returns memory for me... but when i put this into the windows.cfg file as: check_nt!COUNTER!-l "Process\(Outlook)\Working Set" it verifies as no errors, but the GUI is showing 0, which is not the same as from the command-line. I also tried the -d SHOWALL option and that didn't work. Any ideas? Thanks in advance, Izz -----Original Message----- From: amontibello at gmail.com Sent: Tue, 20 May 2008 22:00:12 -0400 To: izz_abdullah at inbox.com Subject: Re: [Nagios-users] Performance data for service You should be able to get this data through the Process performance counter object with the instance set to the process name (as long as you can map the process name to an actual counter instance) or you should be able to get this data through a WMI querry Or you can write a script or program and get the data through NC_NEt or a NRPE plugin TOny (author of NC_Net) On Tue, May 20, 2008 at 5:05 AM, Izz Abdullah wrote: Not necessarily explorer.exe. I am looking more at some java instances, (java.exe, etc.). I want to know CPU load as well as Memory usage of a process. Thanks, Izz > -----Original Message----- > From: adesperateuser at googlemail.com > Sent: Tue, 20 May 2008 10:49:48 +0200 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Performance data for service > > Hi Izz, > > Izz Abdullah schrieb: >> I have enabled performance data for my monitored Windows 2k3 server. I >> am receiving performance data, not extremely clear, but receiving, for >> the defaulted services. What I want is to see performance data on >> running processes as well (e.g. the Explorer.exe process has nothing in >> the performance data field). Can someone please assist? > > What kind of performance data would you expect from explorer.exe? With > some services, it just doesn't make much sense to have performance > analyzed, in my opinion. > > Greetz, Marcus > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > 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 ____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 2008. 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 2008. 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 izz_abdullah at inbox.com Mon Jun 2 08:01:07 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Sun, 1 Jun 2008 22:01:07 -0800 Subject: Windows Service detail continued Message-ID: <24A20DDE828.00000270izz_abdullah@inbox.com> Can I just write a shell script to do this for me? check_nt works just fine with returning the value from the server's terminal console, but as stated before, this doesn't work if I put into the service definitions. I'm using NSClient++. Also, I am very familiar with WMI scripting, but how to get this information back to the Nagios GUI? That's my problem at hand. I can do it from the console, but want everything in the GUI as power users will be monitoring this. It needs to be a monitor, not an "ok, now let's check". :-) Thanks in advance, Izz -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Anthony Montibello Sent: Friday, May 23, 2008 6:19 AM To: Izz Abdullah Cc: nagios Subject: Re: [Nagios-users] Performance data for service You could try testing with NC_NEt(http://sourceforge.net/projects/nc-net) or NSCLinet (http://nsclient.ready2run.nl/) They are both copatible with Check_nt so there will be minimal to no reconfiguration needed on Nagios side, However the default listen port is 1248 so you would need to at least configure that on the client side. check_nt does not have a showall for COunters , so that should not havee helped anything. Run the command help and check the documentation for your windows plugin. Also check the service description I prefer to use the following definition: define command{ command_name check_nt_with_L command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD -v $ARG1$ -l "$ARG2$" $ARG3$ } then the check command: check_nt!COUNTER!Process\(Outlook)\Working Set since the passing to the Command definision may be losing your "" NC_Net would return a -1 when your Counter fails to actually connect but I do not know what nsclient++ returns on a bad counter. You may need to test from the command line what nsclient++ returns when the COunter is incorrect syntex. Tony (Author of NC_NEt) On Thu, May 22, 2008 at 5:49 AM, Izz Abdullah wrote: Ok, so I found an example using the COUNTER object. From the Nagios server I can run the following and get correct data back: check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l "Process\(Outlook)\Working Set" this returns memory for me... but when i put this into the windows.cfg file as: check_nt!COUNTER!-l "Process\(Outlook)\Working Set" it verifies as no errors, but the GUI is showing 0, which is not the same as from the command-line. I also tried the -d SHOWALL option and that didn't work. Any ideas? Thanks in advance, Izz -----Original Message----- From: amontibello at gmail.com Sent: Tue, 20 May 2008 22:00:12 -0400 To: izz_abdullah at inbox.com Subject: Re: [Nagios-users] Performance data for service You should be able to get this data through the Process performance counter object with the instance set to the process name (as long as you can map the process name to an actual counter instance) or you should be able to get this data through a WMI querry Or you can write a script or program and get the data through NC_NEt or a NRPE plugin TOny (author of NC_Net) On Tue, May 20, 2008 at 5:05 AM, Izz Abdullah wrote: Not necessarily explorer.exe. I am looking more at some java instances, (java.exe, etc.). I want to know CPU load as well as Memory usage of a process. Thanks, Izz > -----Original Message----- > From: adesperateuser at googlemail.com > Sent: Tue, 20 May 2008 10:49:48 +0200 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Performance data for service > > Hi Izz, > > Izz Abdullah schrieb: >> I have enabled performance data for my monitored Windows 2k3 server. I >> am receiving performance data, not extremely clear, but receiving, for >> the defaulted services. What I want is to see performance data on >> running processes as well (e.g. the Explorer.exe process has nothing in >> the performance data field). Can someone please assist? > > What kind of performance data would you expect from explorer.exe? With > some services, it just doesn't make much sense to have performance > analyzed, in my opinion. > > Greetz, Marcus > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > 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 ____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 2008. 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 ____________________________________________________________ GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys Works with AIM?, MSN? Messenger, Yahoo!? Messenger, ICQ?, Google Talk? and most webmails ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 izz_abdullah at inbox.com Mon Jun 2 08:02:29 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Sun, 1 Jun 2008 22:02:29 -0800 Subject: Windows Service detail continued In-Reply-To: <24A20DDE828.00000270izz_abdullah@inbox.com> References: <24A20DDE828.00000270izz_abdullah@inbox.com> Message-ID: <24A51EB69D6.00000275izz_abdullah@inbox.com> I guess I should have put in the command again as a refresher: check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l "Process\(Outlook)\Working Set" this works from the terminal of the Nagios server. Thanks again, Izz > -----Original Message----- > From: izz_abdullah at inbox.com > Sent: Sun, 1 Jun 2008 22:01:07 -0800 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Windows Service detail continued > > Can I just write a shell script to do this for me? check_nt works just > fine with returning the value from the server's terminal console, but as > stated before, this doesn't work if I put into the service definitions. > I'm using NSClient++. > > Also, I am very familiar with WMI scripting, but how to get this > information back to the Nagios GUI? That's my problem at hand. I can do > it from the console, but want everything in the GUI as power users will > be monitoring this. It needs to be a monitor, not an "ok, now let's > check". :-) > > Thanks in advance, > Izz > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Anthony > Montibello > Sent: Friday, May 23, 2008 6:19 AM > To: Izz Abdullah > Cc: nagios > Subject: Re: [Nagios-users] Performance data for service > > You could try testing with NC_NEt(http://sourceforge.net/projects/nc-net) > or NSCLinet (http://nsclient.ready2run.nl/) > > They are both copatible with Check_nt so there will be minimal to no > reconfiguration needed on Nagios side, However the default listen port > is 1248 so you would need to at least configure that on the client side. > > check_nt does not have a showall for COunters , so that should not havee > helped anything. Run the command help and check the documentation for > your windows plugin. Also check the service description > > I prefer to use the following definition: > define command{ > command_name check_nt_with_L > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD -v > $ARG1$ -l "$ARG2$" $ARG3$ > } > then the check command: > check_nt!COUNTER!Process\(Outlook)\Working Set > since the passing to the Command definision may be losing your "" > NC_Net would return a -1 when your Counter fails to actually connect but > I do not know what nsclient++ returns on a bad counter. > You may need to test from the command line what nsclient++ returns when > the COunter is incorrect syntex. > Tony (Author of NC_NEt) > On Thu, May 22, 2008 at 5:49 AM, Izz Abdullah > wrote: > Ok, so I found an example using the COUNTER object. From the Nagios > server I can run the following and get correct data back: > > check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l "Process\(Outlook)\Working > Set" > this returns memory for me... > > but when i put this into the windows.cfg file as: > check_nt!COUNTER!-l "Process\(Outlook)\Working Set" > > it verifies as no errors, but the GUI is showing 0, which is not the same > as from the command-line. I also tried the -d SHOWALL option and that > didn't work. Any ideas? > > Thanks in advance, > Izz > > -----Original Message----- > From: amontibello at gmail.com > Sent: Tue, 20 May 2008 22:00:12 -0400 > To: izz_abdullah at inbox.com > Subject: Re: [Nagios-users] Performance data for service > You should be able to get this data through the Process performance > counter object with the instance set to the process name (as long as you > can map the process name to an actual counter instance) > > or you should be able to get this data through a WMI querry > > Or you can write a script or program and get the data through NC_NEt or a > NRPE plugin > > TOny (author of NC_Net) > On Tue, May 20, 2008 at 5:05 AM, Izz Abdullah > wrote: > Not necessarily explorer.exe. > > I am looking more at some java instances, (java.exe, etc.). I want to > know CPU load as well as Memory usage of a process. > > Thanks, > Izz > >> -----Original Message----- >> From: adesperateuser at googlemail.com >> Sent: Tue, 20 May 2008 10:49:48 +0200 >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Performance data for service >> >> Hi Izz, >> >> Izz Abdullah schrieb: >>> I have enabled performance data for my monitored Windows 2k3 server. I >>> am receiving performance data, not extremely clear, but receiving, for >>> the defaulted services. What I want is to see performance data on >>> running processes as well (e.g. the Explorer.exe process has nothing in >>> the performance data field). Can someone please assist? >> >> What kind of performance data would you expect from explorer.exe? With >> some services, it just doesn't make much sense to have performance >> analyzed, in my opinion. >> >> Greetz, Marcus >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> 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 > ____________________________________________________________ > FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! > Check it out at http://www.inbox.com/earth > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > 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 2008. > 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 > > ____________________________________________________________ > GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at > http://www.inbox.com/smileys > Works with AIM?, MSN? Messenger, Yahoo!? Messenger, ICQ?, Google Talk? > and most webmails > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > 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 ____________________________________________________________ GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys Works with AIM?, MSN? Messenger, Yahoo!? Messenger, ICQ?, Google Talk? and most webmails ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Tim.Van.Caeyzeele at cernum.com Mon Jun 2 08:56:55 2008 From: Tim.Van.Caeyzeele at cernum.com (Tim Van Caeyzeele) Date: Mon, 2 Jun 2008 08:56:55 +0200 Subject: Monitoring Windows Eventviewer In-Reply-To: <4841A860.50603@nimastelecom.com> References: <4841A860.50603@nimastelecom.com> Message-ID: <48C4B0E24DA90B4481C2ED21F591A30F1A747D853A@SV0099.cernum.com> Dear All, Would anyone have experience in checking the windows eventviewer for certain events, or turning nagios red in case of ERRORs ? What script are you using ? preferably something that can simply interact with NSClient Thanks all, Tim. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Tim.Van.Caeyzeele at cernum.com Mon Jun 2 10:23:31 2008 From: Tim.Van.Caeyzeele at cernum.com (Tim Van Caeyzeele) Date: Mon, 2 Jun 2008 10:23:31 +0200 Subject: Struggling with NAN - Nagios Notification Daemon In-Reply-To: References: Message-ID: <48C4B0E24DA90B4481C2ED21F591A30F1A747D8551@SV0099.cernum.com> Hi Guys, Would anyone be able to help me on the underneath ? I would like to setup a decent notification system for nagios. NAN seems to be able to combine notifications in 1 mail, but I receive the underneath error after setting it up. Regards, Tim. From: Tim Van Caeyzeele Sent: donderdag 29 mei 2008 11:59 To: nagios-users Subject: Struggling with NAN - Nagios Notification Daemon I've installed NAN from nagiosexchange and am not getting any messages through. Normal notification message are working though. When I did a test (as instructed by the manual) I get the underneath error: root at sv0007:/usr/local/nan# echo "TESTVARIABLE:successful" | /usr/local/nan/nanc -t TEST -m test -d test root at sv0007:/usr/local/nan# Use of uninitialized value in pattern match (m//) at /usr/local/nan/nand line 593. Use of uninitialized value in pattern match (m//) at /usr/local/nan/nand line 593. Use of uninitialized value in pattern match (m//) at /usr/local/nan/nand line 606. Use of uninitialized value in pattern match (m//) at /usr/local/nan/nand line 606. Use of uninitialized value in concatenation (.) or string at /usr/local/nan/nand line 422. Use of uninitialized value in concatenation (.) or string at /usr/local/nan/nand line 422. Unfortunately I cannot contact the script creator. Would anyone have an idea what to do or how to troubleshoot ? Regards, Tim Van Caeyzeele IT Administrator Cernum | Kareelstraat 48 | 9300 Aalst | Belgium | T +32 53 80 26 40 | F +32 53 80 26 35 tim.van.caeyzeele at cernum.com www.cernum.com P please consider the environment before printing this email -------------- 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 2008. 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 abu.salim at swisslog.com Mon Jun 2 10:59:53 2008 From: abu.salim at swisslog.com (Abu Salim) Date: Mon, 2 Jun 2008 09:59:53 +0100 Subject: Nagios Agent installation on AIX 4.3 Message-ID: <2ED301B32767C2458FA09DECB12B2D610B36@sukv7sw20014.digitron.ltd.uk> Dear All, I am experiencing a lot of problem with Nagios Agent installation on AIX 4.3 I have followed all the instructions available on the web, but my installation fails to complete. Would anyone have a working procedure and list of all the components and tools needed to install Nagios Agent on AIX 4.3? Thank you ever so much. Kind regards, Abu Salim This message may contain legally privileged or confidential information and is therefore addressed to the named persons only. The recipient should inform the sender and delete this message, if he/she is not named as addressee. The sender disclaims any and all liability for the integrity and punctuality of this message. The sender has activated an automatic virus scanning, but does not guarantee the virus free transmission of this message. -------------- 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 2008. 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 izz_abdullah at inbox.com Mon Jun 2 11:12:46 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Mon, 2 Jun 2008 01:12:46 -0800 Subject: Ping flapping on Ubuntu client Message-ID: <264E6EAABE0.000000C5izz_abdullah@inbox.com> This has been happening since we installed the NRPE addon onto the remote host for monitoring. The firewall is stopped / off. Any ideas on why this is happening? My first thought was the box thought it was being attacked, but I am unsure if this is the case and if so how to rectify it. It will go green for a short period of time, and then go back to a warning state and start flapping. It is green / OK maybe once a day. PING This service is flapping between states WARNING 02-06-2008 17:09:10 0d 0h 0m 46s 1/4 PING WARNING - Packet loss = 0%, RTA = 222.32 ms Thanks in advance, Izz ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 adesperateuser at googlemail.com Mon Jun 2 11:36:05 2008 From: adesperateuser at googlemail.com (Marcus) Date: Mon, 02 Jun 2008 11:36:05 +0200 Subject: Ping flapping on Ubuntu client In-Reply-To: <264E6EAABE0.000000C5izz_abdullah@inbox.com> References: <264E6EAABE0.000000C5izz_abdullah@inbox.com> Message-ID: <4843BF05.7020208@googlemail.com> Izz Abdullah schrieb: > This has been happening since we installed the NRPE addon onto the remote host for monitoring. The firewall is stopped / off. Any ideas on why this is happening? My first thought was the box thought it was being attacked, but I am unsure if this is the case and if so how to rectify it. It will go green for a short period of time, and then go back to a warning state and start flapping. It is green / OK maybe once a day. > > PING > This service is flapping between states > WARNING 02-06-2008 17:09:10 0d 0h 0m 46s 1/4 PING WARNING - Packet loss = 0%, RTA = 222.32 ms I don't think that your box "thinks" it's beeing attacked because of an ICMP-Packet or two. I had a similar issue, and it was a routing problem. I had an OK-State as long as i kept pinging the servers, if I didn't do that, traffic wouldn't find it's way to the host (or back, I'm not sure anymore). Greetz, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Mon Jun 2 12:49:22 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 02 Jun 2008 06:49:22 -0400 Subject: snmpwalk as external command or customize "Status information" In-Reply-To: <8c6f7f450805301145l76db87ffx7a9b051250a31845@mail.gmail.com> References: <8c6f7f450805301145l76db87ffx7a9b051250a31845@mail.gmail.com> Message-ID: <4843D032.8050003@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/05/08 02:45 PM, Sergio Belkin wrote: > Hi, > > I am using check_snmp plugin and is quite useful, but in some cases > I'd like that "Status Information" in "Status Detail For This Host" > to print only the value, not something as "/usr/bin/snmpget -t 1 -r 5 > -m RAPID-CITY -v 2c -c 'my community' 10.1.0.4:161 > 1.3.6.1.4.1.2272.1.3.1.0" > > Because of this I thought to use snmpwalk as external command, so I > add an entry in commands.cfg as follows: > > define command{ > command_name snmpwalk > command_line $USER5$/snmppwalk -v2c -c "mi community" > $HOSTADDRESS$ -Oqv $ARGS1$ > } Looks like you have a typo in here... is it the same in your config? "snmppwalk", also I assume $USER5$ resolver to the path where you have the snmpwalk command... Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIQ9Ay6dZ+Kt5BchYRAgCUAKCc6tewjpXiOT84RuLAtB67GU8WqwCgtY7J y7tO4qj5jRzl6+Cn5SWcJKk= =yC1Q -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 odenbach at uni-paderborn.de Mon Jun 2 14:42:01 2008 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Mon, 02 Jun 2008 14:42:01 +0200 Subject: nagios::plugin perl module for debian In-Reply-To: <6b8cee7e0805302051ob4d08e4weef5c525befff515@mail.gmail.com> References: <48400765.1050101@uni-graz.at> <4840098E.8030000@process-zero.de> <48402062.8020402@uni-graz.at> <6b8cee7e0805302051ob4d08e4weef5c525befff515@mail.gmail.com> Message-ID: <4843EA99.903@uni-paderborn.de> Peter Edmonds schrieb: > On Sat, May 31, 2008 at 1:42 AM, Wim De Geeter > wrote: >> Thanks, I wanted to know if somesome knew there is a debian package, but >> seems to be not, so I have to deal with this solution. > > Hi Wim, > > You could always try building a debian package for Nagios::Plugin > yourself. There are instructions at http://debian.pkgs.cpan.org to > build a debian package from a CPAN module that has not already been > pre-packaged. Try using dh-make-perl: odenbach at timberwolf:~$ dh-make-perl --cpan Nagios::Plugin --build This usually works quite well. It creates debian packages from CPAN Modules. That way you don't mess up your debian package management. Christopher -- ====================================================== Dipl.-Ing. Christopher Odenbach Zentrum fuer Informations- und Medientechnologien Universitaet Paderborn Raum N5.122 odenbach at uni-paderborn.de Tel.: +49 5251 60 5315 ====================================================== -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 marcin at 2fluid.co.uk Mon Jun 2 15:11:25 2008 From: marcin at 2fluid.co.uk (Marcin Praczko) Date: Mon, 2 Jun 2008 14:11:25 +0100 Subject: Nagios with NDOUtils is not working any more. Message-ID: Hi I've configured Nagios 2.6 with NDOUtils so time ago. And everything was working well till today. About 4'oclock from some reason Nagios stopped writing data to database. When I am running Nagios without ndoutils (no changes on event broken). Nagios is working well. When I switch ndoutils on, nagios seems be starting like normal. But I can't get any details over WWW - have the same error like Nagios is not running. And Nagios doesn't make any tests any more. It is just waiting for something. Database is working well, I configured ndoutils for debugging everything, and is not working - nothing is appear in ndoutils log file. In Nagios log files have details that all is OK. Did you have similar problem? Marcin Praczko No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.24.4/1477 - Release Date: 01/06/2008 17:28 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Jun 2 15:56:27 2008 From: marc at ena.com (Marc Powell) Date: Mon, 2 Jun 2008 08:56:27 -0500 Subject: Ping flapping on Ubuntu client In-Reply-To: <264E6EAABE0.000000C5izz_abdullah@inbox.com> References: <264E6EAABE0.000000C5izz_abdullah@inbox.com> Message-ID: <67D4C9C5-8E84-422D-9C72-AE833E9F0B6A@ena.com> On Jun 2, 2008, at 4:12 AM, Izz Abdullah wrote: > This has been happening since we installed the NRPE addon onto the > remote host for monitoring. The firewall is stopped / off. Any > ideas on why this is happening? My first thought was the box > thought it was being attacked, but I am unsure if this is the case > and if so how to rectify it. It will go green for a short period of > time, and then go back to a warning state and start flapping. It is > green / OK maybe once a day. > > PING > This service is flapping between states > WARNING 02-06-2008 17:09:10 0d 0h 0m 46s 1/4 PING WARNING - > Packet loss = 0%, RTA = 222.32 ms This is showing a really high RTA. Is that normal for this machine? Even for hosts over the internet I would expect that to be ~100ms or less unless it's on some less robust connection (wireless, etc). mtr might be useful in determining if the problem is with the machine or some hop in between. speed/duplex settings mismatch might be at fault as well. If this is normal, you'll probably want to increase the RTA warning and critical values for the plugin. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 hpsekhon at googlemail.com Mon Jun 2 16:00:00 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 02 Jun 2008 15:00:00 +0100 Subject: send_nsca In-Reply-To: References: <20080522171915.4224.qmail@f5mail-237-215.rediffmail.com> <48368433.5050901@googlemail.com> Message-ID: <4843FCE0.8090209@googlemail.com> Hi Tony, That's a very good point. It wouldn't be difficult to make this support multiple simultaneous checks, but I currently have the checks running independently of one another and it works very well. This was originally written with the intent to make it easy to take any single check and turn it passive without re-creating the wheel, simply by putting this script in front of it. If you grouped checks then this implies that they must all be run at the same time, which seems to reduce flexibility. Also, I think that for a lot of passive service checks it is advisable to not have them run at the same time. For example, I have check running at different intervals intentionally for staggering on the servers so that there is no performance degradation on the server performing the passive checks, although this could simply be one after the other which also should reduce performance in comparison, but watch out for multiple long running checks as this will may send the check result beyond the freshness threshold. If anyone really wants this feature I may look in to incorporating it, but I haven't seen any need for this "optimization" which would probably make very little difference until we start talking a massive number of passive service checks. I am open to ideas on this though. -h Anthony Montibello wrote: > Doesn't that method send the checks through seperate NSCA connection > (one per check)? > > While writing a custom NSCA script can send all the check results in a > single NSCA connection? > > TOny (Author of NC_NEt) > > On Fri, May 23, 2008 at 4:45 AM, Hari Sekhon > wrote: > > Nair wrote: > > > > Can some one please help me in integrating send_nsca command with my > > Perl script for passive monitoring system. > > > > Say how can we integrate plugin output without writing to any > file and > > then piping thru send_nsca. > > > > Thank you, > > Nair > > > Don't waste your time Nair, I've written a generic nsca_wrapper which > will turn any plugin into a passive service check by just putting > nsca_wrapper in front of the plugin. You still need to have set up > nsca > of course, but this means that you do not have to write any > scripts for > passive service checks, just run it straight after nsca_wrapper with a > couple of switches. > > By the time you do your second passive service check, you start > thinking, "Hang on, this is a waste of time, I don't want to have > to put > in any effort to just set up another passive check". Enter > NSCA_Wrapper: > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2529.html;d=1 > > -h > > -- > Hari Sekhon > > -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Jun 2 16:17:46 2008 From: marc at ena.com (Marc Powell) Date: Mon, 2 Jun 2008 09:17:46 -0500 Subject: Nagios with NDOUtils is not working any more. In-Reply-To: References: Message-ID: <66120B03-3ACC-4F6C-95B6-033F89DC0AA9@ena.com> No answers but some thoughts... On Jun 2, 2008, at 8:11 AM, Marcin Praczko wrote: > > Hi > > I've configured Nagios 2.6 with NDOUtils so time ago. > And everything was working well till today. About 4'oclock from some > reason > Nagios stopped writing data to database. 'about 4'oclock' is a typical start time for cron.daily, cron.weekly and cron.monthly scripts, at least under Redhat and clones, all of which ran recently. Is there anything interesting set to run in those? Database backups, anything like that? You have free disk space on your database partition? > When I am running Nagios without ndoutils (no changes on event > broken). Nagios is working well. > > When I switch ndoutils on, nagios seems be starting like normal. But > I can't get any details over WWW - have the same error like Nagios > is not running. > > And Nagios doesn't make any tests any more. It is just waiting for > something. I've seen this when ndo2db is doing it's initial logging to the database and database cleanup tasks. I too couldn't get debug to show anything but saw this activity using strace on the process. That initial process was taking a loooong time and seems to be noted in various places. 'mysqladmin showprocesslist' will show you any active connections to the database and a general idea of what it's doing. You could also try using 'strace -fs512 -p ' as root to see if it's doing anything. You can use CTRL-C to quit out of strace. I've found that using the 'Retain status file over a reload' patch at http://www.altinity.org works to mask the problem from the GUI. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Jun 2 16:38:39 2008 From: marc at ena.com (Marc Powell) Date: Mon, 2 Jun 2008 09:38:39 -0500 Subject: Struggling with NAN - Nagios Notification Daemon In-Reply-To: <48C4B0E24DA90B4481C2ED21F591A30F1A747D8551@SV0099.cernum.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A747D8551@SV0099.cernum.com> Message-ID: <66E93A26-0459-4031-B093-A112B486487E@ena.com> On Jun 2, 2008, at 3:23 AM, Tim Van Caeyzeele wrote: > > When I did a test (as instructed by the manual) I get the underneath > error: > > root at sv0007:/usr/local/nan# echo "TESTVARIABLE:successful" | /usr/ > local/nan/nanc -t TEST -m test -d test > root at sv0007:/usr/local/nan# Use of uninitialized value in pattern > match (m//) at /usr/local/nan/nand line 593. > Use of uninitialized value in pattern match (m//) at /usr/local/nan/ > nand line 593. > Use of uninitialized value in pattern match (m//) at /usr/local/nan/ > nand line 606. > Use of uninitialized value in pattern match (m//) at /usr/local/nan/ > nand line 606. > Use of uninitialized value in concatenation (.) or string at /usr/ > local/nan/nand line 422. > Use of uninitialized value in concatenation (.) or string at /usr/ > local/nan/nand line 422. > > Unfortunately I cannot contact the script creator. Would anyone have > an idea what to do or how to troubleshoot ? > I don't use NAN but looking at the nand script, those might be normal for a test command. Does /tmp/nan_test exist and contain the text 'NAN Test command - successful'? From the INSTALL file, step 10 looks extremely useful if not. What's shown there? If it does exist, you'll need to manually delete it before testing again. 9. Try sending a test notification. Should write "NAN Test command - successful" in /tmp/nan_test echo "TESTVARIABLE:successful" | /usr/local/nan/nanc -t TEST -m test -d test 10. if the test file doesn't show up, check the log file (/var/log/ nand.log by default). You may need to increase the log level in the conf file to see the error. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 jra at baylink.com Mon Jun 2 16:43:28 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 2 Jun 2008 10:43:28 -0400 Subject: Nagios Agent installation on AIX 4.3 In-Reply-To: <2ED301B32767C2458FA09DECB12B2D610B36@sukv7sw20014.digitron.ltd.uk> References: <2ED301B32767C2458FA09DECB12B2D610B36@sukv7sw20014.digitron.ltd.uk> Message-ID: <20080602144328.GC20203@cgi.jachomes.com> On Mon, Jun 02, 2008 at 09:59:53AM +0100, Abu Salim wrote: > I am experiencing a lot of problem with Nagios Agent installation > on AIX 4.3 > > I have followed all the instructions available on the web, but my > installation fails to complete. > > Would anyone have a working procedure and list of all the > components and tools needed to install Nagios Agent on AIX 4.3? I can't help you directly, but I can tell you that my experience of AIX 4.3 (albeit a bit dated) is that it's not Unix: it's VM with a POSIX skin on top. This rears it's head most prominently WRT system management, which intersects directly with setting up Nagios monitoring. Good luck, and feel free to report your results (on the wiki?) if you have success. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 hpsekhon at googlemail.com Mon Jun 2 16:47:59 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 02 Jun 2008 15:47:59 +0100 Subject: OpMonAgent vs NSClient++ (was Nagios 3.0 SLA Reporting) In-Reply-To: <17013595.911212065783100.JavaMail.root@mail.opservices.com.br> References: <17013595.911212065783100.JavaMail.root@mail.opservices.com.br> Message-ID: <4844081F.4010407@googlemail.com> Phil Costelloe wrote: >> I'm also looking forward to this. I'm a big fan of OpmonAgent as a >> replacement >> for Nsclient on Windows systems, it installs and runs without any fuss >> at >> all. I like things that Just Work. :) >> >> -- >> Phil Costelloe >> Foundation IT, Hermitage Berkshire RG18 9SE >> On this note, do you mean NSClient or the newer NSClient++? I have found that NSClient++ is a doddle to deploy with a batch script across all servers. very briefly: copy over the binary, set the service, run. This is only mildly more difficult than an msi installation, possibly even easier to actively push out via batch in fact. I'm not sure if I considered OpMonAgent but I'd really like to know if it can beat NSClient++ which to my knowledge (or perhaps just perception) seems to be the more popular Windows agent. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 james.mohr at elaxy.com Mon Jun 2 18:55:17 2008 From: james.mohr at elaxy.com (Mohr James) Date: Mon, 2 Jun 2008 18:55:17 +0200 Subject: Yaps on RHEL 5.1 with Fritz ISDN getting "NO DIALTONE" Message-ID: Hi All! We are running Nagios 3.0 on RHEL 5.1 and are trying to get YAPS 0.96 with an AVM Fritz PCI ISDN card to work as our notification system. capiinfo seems to be showing the correct information: Number of Controllers : 1 Controller 1: Manufacturer: AVM GmbH CAPI Version: 2.0 Manufacturer Version: 3.11-07 (49.23) Serial Number: 1000001 BChannels: 2 .... This indicates to me that the driver is correctly installed and we can see the card. (Is this correct?) I run yaps like this /usr/bin/yaps 0170XXXXXX "TEST" And get this output: Found service D1-0170 for 0170XXXXXX Sending following message: 0170XXXXXX (D1-0170, 0170XXXXXX): TEST Trying to open /dev/ttyI0 for modem standard [Hangup] [Send] [Cmd Mdzz 200] [Send] ATZ [Expect] ATZOK got OK [Send] AT&E55430 [Expect] AT&E55430OK got OK Using modem standard at 38400 bps, 8n1 over /dev/ttyI0 Trying do dial 01712521002 [Send] ATDT001712521002 [Expect] ATDT001712521002NO DIALTONE got NO DIALTONE Unable to dial D1-0170 The NO DIALTONE comes immediately (i.e. no time out). I have googled for the last several hours and have not found anything definitive. The closest to anything definitive is that Fritz cards work primarily with SUSE. Unfortunately, I have found nothing specifically for RHES 5.1 (kernel 2.6.18-53.el5) which describes exactly modules to load and in which order. However, since capiinfo reports the info from the card, I assume that it is a configuration issue with yaps or the connection, in general. (see below for loaded modules) The yaps works from another machine using the same connection. It is in a different room, so we have to go throug a couple of patch panels. I have switch that cables and am now using new ones I took right out of the bag. Perhaps the patch panels have a problem. Up to the final [Expect] the output appear identical. /dev/ttyI0 looks like this: crw-r--r-- 1 root root 43, 0 Jun 2 18:04 /dev/ttyI0 I was thinking about forcing yaps not to wait for a dialtone, so in /etc/yaps.rc I changed this dial ATDT0%L\r <60CONNECT|OK|BUSY|NO\sDIALTONE|NO\sCARRIER to this: dial ATDT0X3%L\r <60CONNECT|OK|BUSY|NO\sCARRIER I no longer get "NO DIALTONE" immediately, but I get a timeout after 30 seconds. I would be grateful for any assistance. Regards, Jim Mohr ============= lsmod: Module Size Used by fcpci 597376 0 hisax_isac 11989 0 hisax 356093 1 hisax_isac crc_ccitt 6337 1 hisax isdn 122305 1 hisax slhc 10561 1 isdn capi 20993 0 kernelcapi 48705 2 fcpci,capi capifs 9801 2 capi autofs4 24389 2 hidp 23105 2 rfcomm 42457 0 l2cap 29633 10 hidp,rfcomm bluetooth 53925 5 hidp,rfcomm,l2cap sunrpc 144253 1 ip6t_REJECT 9409 1 xt_tcpudp 7105 6 ip6table_filter 6849 1 ip6_tables 18181 1 ip6table_filter x_tables 17349 3 ip6t_REJECT,xt_tcpudp,ip6_tables ipv6 251393 45 ip6t_REJECT dm_multipath 21577 0 video 19269 0 sbs 18533 0 backlight 10049 0 i2c_ec 9025 1 sbs button 10705 0 battery 13637 0 asus_acpi 19289 0 ac 9157 0 lp 15849 0 floppy 57125 0 joydev 13313 0 sg 36061 0 ide_cd 40033 0 parport_pc 29157 1 parport 37513 2 lp,parport_pc cdrom 36705 1 ide_cd e1000 119505 0 i2c_i801 11469 0 tg3 104133 0 i2c_core 23745 2 i2c_ec,i2c_i801 serio_raw 10693 0 pcspkr 7105 0 dm_snapshot 20709 0 dm_zero 6209 0 dm_mirror 28741 0 dm_mod 58201 15 dm_multipath,dm_snapshot,dm_zero,dm_mirror ata_piix 18501 0 libata 115833 1 ata_piix megaraid_sas 31345 3 sd_mod 24897 5 scsi_mod 132685 4 sg,libata,megaraid_sas,sd_mod ext3 123337 5 jbd 56553 1 ext3 ehci_hcd 32973 0 ohci_hcd 23261 0 uhci_hcd 25421 0 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 dario.bestetti at opservices.com.br Mon Jun 2 20:09:47 2008 From: dario.bestetti at opservices.com.br (Dario B. Bestetti) Date: Mon, 2 Jun 2008 15:09:47 -0300 (BRT) Subject: OpMonAgent vs NSClient++ (was Nagios 3.0 SLA Reporting) In-Reply-To: <14580208.24241212429993591.JavaMail.root@mail.opservices.com.br> References: <14580208.24241212429993591.JavaMail.root@mail.opservices.com.br> Message-ID: <20137429.24261212430187044.JavaMail.root@mail.opservices.com.br> ----- "Hari Sekhon" wrote: > Phil Costelloe wrote: > >> I'm also looking forward to this. I'm a big fan of OpmonAgent as a > >> replacement > >> for Nsclient on Windows systems, it installs and runs without any > fuss > >> at > >> all. I like things that Just Work. :) > >> > >> -- > >> Phil Costelloe > >> Foundation IT, Hermitage Berkshire RG18 9SE > >> > On this note, do you mean NSClient or the newer NSClient++? > > I have found that NSClient++ is a doddle to deploy with a batch script > > across all servers. > > very briefly: copy over the binary, set the service, run. > > This is only mildly more difficult than an msi installation, possibly > > even easier to actively push out via batch in fact. > > I'm not sure if I considered OpMonAgent but I'd really like to know if > > it can beat NSClient++ which to my knowledge (or perhaps just > perception) seems to be the more popular Windows agent. > > -h > > -- > Hari Sekhon > Just to make some observations about OpMon Agent for Nagios. When we decided to take over the development of the old NSClient, we were looking for some requirements regarding a Windows agent: - A very small footprint - Agent stability - A lightweight piece of software - No dependency on other softwares []s Dario > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > 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 2008. 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 frank at crop-circle.net Mon Jun 2 20:25:43 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Mon, 2 Jun 2008 14:25:43 -0400 Subject: Remote external commands In-Reply-To: <20080509093412.A1B8D37369@winx-114.smorg.co.uk> References: <20080509093412.A1B8D37369@winx-114.smorg.co.uk> Message-ID: Sorry to revive an old thread, but I started thinking about this too and remembered seeing it come across the list, so I dug it up. Mark, did you ever find a solution to your problem? Have you tried using check_by_ssh (http://nagiosplugins.org/man/check_by_ssh)? I haven't looked at it in depth, but it looks like you can use it to call any command on the remote server... so if, for example, you wanted to turn off service notifications for a host remotely, I think you could do something like this from your central monitoring server: define command { command_name silence_host command_line $USER1$/check_by_ssh -H $ARG1$ -C 'printf "[%lu] DISABLE_HOST_SVC_NOTIFICATIONS;$ARG2$\n" `date +%s`' > /var/nagios/rw/nagios.cmd } ... where $ARG1$ is the IP address of the distributed monitoring server for the cluster in which the host resides, and $ARG2$ is the host_name of the server you want to silence. I haven't tried or tested this, but I guess this is where I would start. What do you think? Did you find another way? -Frank On Fri, May 9, 2008 at 5:34 AM, Mark Clarkson wrote: > <4822E699.1050708 at googlemail.com> < > bf5858470e6dfb41b80b1632f034db19 at smorg.co.uk> > Message-ID: <3ed6bce8158aec2b1873e6a105082192 at smorg.co.uk> > X-Sender: mark.clarkson at smorg.co.uk > Received: from 217.33.150.4 [217.33.150.4] with HTTP/1.1 (POST); Fri, 09 > May > 2008 09:34:12 +0000 > User-Agent: RoundCube Webmail/0.1 > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: 8bit > > On Fri, 09 May 2008 08:49:59 +0000, Mark Clarkson > wrote: > > > > I'm going to try ncmd from NagiosExchange.org. Thanks! > > > > ncmd is not the right. The only thing I can see is NSCAFE but > I'm a bit wary of using Java, or rather of creating another dependency. > I guess I'll have to use ssh. > > Does anyone know of a tool to run external commands from a remote > computer? Something like NSCAFE but not written in Java? > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008. 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 frank at crop-circle.net Mon Jun 2 20:54:12 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Mon, 2 Jun 2008 14:54:12 -0400 Subject: Nagios with NDOUtils is not working any more. In-Reply-To: References: Message-ID: I recently experienced something similar. The reason for it is that the plugin option to discard old data was disabled, and my servicechecks table grew to a size that MySQL didn't like. If you can't insert a record in that table from PHPMyAdmin (or the command line), that may be your problem. Good luck! On Mon, Jun 2, 2008 at 9:11 AM, Marcin Praczko wrote: > > Hi > > I've configured Nagios 2.6 with NDOUtils so time ago. > And everything was working well till today. About 4'oclock from some reason > Nagios stopped writing data to database. > > When I am running Nagios without ndoutils (no changes on event broken). > Nagios is working well. > > When I switch ndoutils on, nagios seems be starting like normal. But I > can't get any details over WWW - have the same error like Nagios is not > running. > > And Nagios doesn't make any tests any more. It is just waiting for > something. > > Database is working well, I configured ndoutils for debugging everything, > and is not working - nothing is appear in ndoutils log file. > > In Nagios log files have details that all is OK. > > Did you have similar problem? > > Marcin Praczko > > > > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 269.24.4/1477 - Release Date: 01/06/2008 > 17:28 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > 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 2008. 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 GJFRATER at bechtel.com Mon Jun 2 21:41:20 2008 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Mon, 2 Jun 2008 12:41:20 -0700 Subject: Monitoring Windows Eventviewer Message-ID: <872CB0AEB377C240A112DD7C10B2592904B20DCC@wtps0171.amers.ibechtel.com> >Dear All, >Would anyone have experience in checking the windows eventviewer for certain events, or turning nagios red in case of ERRORs ? >What script are you using ? preferably something that can simply interact with NSClient We do this using the NSClient++ agent (www.nsclient.org). It checks the event logs and filters them based on criteria you define, alerting when the number of hits you specify is reached (i.e. when the system log has 1 or more events with an ID of XXXX within the last 10 minutes send alerts). Here is an example we use to monitor for a specific Oracle error. In the example we check the "application" log of the server every "60" minutes for events with an ID of "20" with event type of "Error" containing a string in the text of the message "Can not allocate log", check turns critical after 1 matching event is found that is time stamped within the last "65" minutes. Checkcommands.cfg: define command{ command_name check_eventlogs command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkEventLog -a filter=new $ARG1$ MaxWarn=$ARG2$ MaxCrit=$ARG3$ filter-generated=\$ARG4$ $ARG5$ truncate=$ARG6$ # Desc: # $ARG1$ = event logs to check (i.e. file=system file=application) # $ARG2$ = Warning level (i.e. number of hits to generate a warning response) # $ARG3$ = Critical level (i.e. number of hits to generate a critcal response) # $ARG4$ = Time period (i.e. 1 day is '1d' 30 hours is '>30h') # $ARG5$ = Filters (i.e. filter-eventID==9009 filter-eventSource=Tcpip) see http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog for detailed info # $ARG6$ = Amount of data to return in characters (i.e. truncate=150) # Example: check_nrpe -H server_name_here -p 5666 -c checkEventLog -a filter=new file=system MaxWarn=1 MaxCrit=1 filter-generated=\>30h filter+eventID==10002 descriptions truncate=138 } Services.cfg: define service{ use standard-srv service_description eventlog: Oracle archive log errors check_command check_eventlogs!file=application!1!1!>65m!filter+eventID==20 filter+eventType==error filter+message=substr:"Can not allocate log"!100 normal_check_interval 60 notification_options w,c contact_groups apps host_name server1, server2 } HTH, -greg -------------- 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 2008. 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 gardealuis at gmail.com Mon Jun 2 22:35:58 2008 From: gardealuis at gmail.com (Luis Gardea) Date: Mon, 2 Jun 2008 14:35:58 -0600 Subject: problems to send notifications via email Message-ID: <44f056cc0806021335q666da067sbddfe041de571bdc@mail.gmail.com> Hi I just running nagios v3 on ubuntu server. But the notificatiosn don't arrive to my emails (local email, gmail) some ideas? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Mon Jun 2 22:47:23 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 02 Jun 2008 22:47:23 +0200 Subject: problems to send notifications via email In-Reply-To: <44f056cc0806021335q666da067sbddfe041de571bdc@mail.gmail.com> References: <44f056cc0806021335q666da067sbddfe041de571bdc@mail.gmail.com> Message-ID: <48445C5B.6030403@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Luis Gardea wrote: | Hi | | | I just running nagios v3 on ubuntu server. But the notificatiosn | don't arrive to my emails (local email, gmail) Frankly. No. Since there is nothing in your message even remoty telling us how you did setup Nagios to transfer the message to your MTA nor how you did configure your MTA. So help yourself by showing us relevant information like: ~ - Nagios command to send notifications ~ - Logs about the events and notifications ~ - Logs of your MTA. Perhaps if your start to dig in thos you may see what is wrong yourself. 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) iD8DBQFIRFxaBvzDRVjxmYERApDjAJ9e34tt/TdmxnbC4oXwh0v+P3+sIQCgkL2j PNCzRguZKmON/C4yFP+F+Zc= =gLMw -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Tue Jun 3 01:16:24 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 2 Jun 2008 19:16:24 -0400 Subject: Monitoring Windows Eventviewer In-Reply-To: <872CB0AEB377C240A112DD7C10B2592904B20DCC@wtps0171.amers.ibechtel.com> References: <872CB0AEB377C240A112DD7C10B2592904B20DCC@wtps0171.amers.ibechtel.com> Message-ID: NC_NEt also has Event Log check, that can be checked via Check_NC_NEt (nc_net version of check_nt that was modified from the official plugin check_nt) NC_net offers checking threadhold -c or -w based on the number of results from the event log query. It also offers filers for which log, How resent, Event Type, Source, Event ID, and Regular Expessions against the message field. TOny On Mon, Jun 2, 2008 at 3:41 PM, Frater, Greg J wrote: > >Dear All, > > >Would anyone have experience in checking the windows eventviewer for > certain events, or turning nagios red in case of ERRORs ? > > >What script are you using ? preferably something that can simply interact > with NSClient > > We do this using the NSClient++ agent (*www.nsclient.org*). It checks the > event logs and filters them based on criteria you define, alerting when the > number of hits you specify is reached (i.e. when the system log has 1 or > more events with an ID of XXXX within the last 10 minutes send alerts). > Here is an example we use to monitor for a specific Oracle error. In the > example we check the "application" log of the server every "60" minutes for > events with an ID of "20" with event type of "Error" containing a string in > the text of the message "Can not allocate log", check turns critical after 1 > matching event is found that is time stamped within the last "65" minutes. > > Checkcommands.cfg: > define command{ > command_name check_eventlogs > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c > checkEventLog -a filter=new $ARG1$ MaxWarn=$ARG2$ MaxCrit=$ARG3$ > filter-generated=\$ARG4$ $ARG5$ truncate=$ARG6$ > > # Desc: > # $ARG1$ = event logs to check (i.e. file=system file=application) > # $ARG2$ = Warning level (i.e. number of hits to generate a warning > response) > # $ARG3$ = Critical level (i.e. number of hits to generate a critcal > response) > # $ARG4$ = Time period (i.e. 1 day is '1d' 30 hours is '>30h') > # $ARG5$ = Filters (i.e. filter-eventID==9009 > filter-eventSource=Tcpip) see * > http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog*for detailed info > > # $ARG6$ = Amount of data to return in characters (i.e. truncate=150) > # Example: check_nrpe -H server_name_here -p 5666 -c checkEventLog -a > filter=new file=system MaxWarn=1 MaxCrit=1 filter-generated=\>30h > filter+eventID==10002 descriptions truncate=138 > > } > > Services.cfg: > define service{ > use standard-srv > service_description eventlog: Oracle archive log errors > check_command > check_eventlogs!file=application!1!1!>65m!filter+eventID==20 > filter+eventType==error filter+message=substr:"Can not allocate log"!100 > > normal_check_interval 60 > notification_options w,c > contact_groups apps > host_name server1, server2 > } > > HTH, > > -greg > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > 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 2008. 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 alexus at gmail.com Tue Jun 3 06:34:43 2008 From: alexus at gmail.com (alexus) Date: Tue, 3 Jun 2008 00:34:43 -0400 Subject: Best administration tool for Nagios In-Reply-To: <1209141751.29930.40.camel@UNIX-TEAM-LACAYO> References: <20080326124252.AFF46580059@desire.netways.de> <56F8CBCA82D02D4B894B69C804906D1AC27B27@usnjpar1blex04.us.ad.irmc.com> <47EC581C.6010206@cwa.co.nz> <1209141751.29930.40.camel@UNIX-TEAM-LACAYO> Message-ID: <6ae50c2d0806022134g406297ecte1d3535ff4500a08@mail.gmail.com> i like nagiosQL, i haven't tried latest version yet, but older had some bugs, i really hope they fix it in new release On Fri, Apr 25, 2008 at 12:42 PM, Luis Fernando Lacayo wrote: > Not to offend anyone, > > But I think that this is a great opportunity for the community to get > involved and help with the translation. Unfortunately, my French is as > good as my Arabic, but I am willing to help with the Spanish version. > > :-) > > Thanks, > > Luis > > On Fri, 2008-03-28 at 15:29 +1300, Steve Wray wrote: >> Yost, Karl wrote: >> > Centreon for me, support for nagios 3 is on the way with the Centreon 2 >> > release. >> >> yeah it looks interesting but a fair bit of it still seems to come >> through in French even though I've told it my language choice is en. >> >> Eg Services Check Load de l'host oreon >> >> Forums would be more useful if you know French too... I guess that, wow, >> the universe really *doesn't* revolve around English... >> >> :) >> >> >> > Thanks, >> > Karl >> > >> > >> > -----Original Message----- >> > From: nagios-users-bounces at lists.sourceforge.net >> > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of PO >> > Michel >> > Sent: Wednesday, March 26, 2008 8:43 AM >> > To: nagios-users at lists.sourceforge.net >> > Subject: [Nagios-users] Best administration tool for Nagios >> > >> > Hi list >> > >> > What is the best PHP/Mysql based tool to administer Nagios ? Nagios Web >> > Config ? NagEdit ? Nagios PHP ? NagiosQL ? Nagat ? >> > >> > Does someone has an idea of which tool will sooner support Nagios 3.0 ? >> > >> > Thanks in advance for your advice, >> > >> > >> > - PO Michel (misterpo) >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > -- > Luis Fernando Lacayo > Chicago Public Schools > Senior Unix Administrator > ITS/ UNIX Infrastructure > Office: 773-553-3835 > Cell: 773-203-4493 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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://alexus.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Tim.Van.Caeyzeele at cernum.com Tue Jun 3 08:35:44 2008 From: Tim.Van.Caeyzeele at cernum.com (Tim Van Caeyzeele) Date: Tue, 3 Jun 2008 08:35:44 +0200 Subject: Monitoring Windows Eventviewer In-Reply-To: <872CB0AEB377C240A112DD7C10B2592904B20DCC@wtps0171.amers.ibechtel.com> References: <872CB0AEB377C240A112DD7C10B2592904B20DCC@wtps0171.amers.ibechtel.com> Message-ID: <48C4B0E24DA90B4481C2ED21F591A30F1A747D85F3@SV0099.cernum.com> Thanks for the info, Great that it can be done with the NSClient++ as I have it installed on all our servers. What do I need to define in the NSClient++ agent and where ? Is it in the .ini file or elsewhere ? Regards, Tim. From: Frater, Greg J [mailto:GJFRATER at bechtel.com] Sent: maandag 2 juni 2008 21:41 To: Tim Van Caeyzeele Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring Windows Eventviewer >Dear All, >Would anyone have experience in checking the windows eventviewer for certain events, or turning nagios red in case of ERRORs ? >What script are you using ? preferably something that can simply interact with NSClient We do this using the NSClient++ agent (www.nsclient.org). It checks the event logs and filters them based on criteria you define, alerting when the number of hits you specify is reached (i.e. when the system log has 1 or more events with an ID of XXXX within the last 10 minutes send alerts). Here is an example we use to monitor for a specific Oracle error. In the example we check the "application" log of the server every "60" minutes for events with an ID of "20" with event type of "Error" containing a string in the text of the message "Can not allocate log", check turns critical after 1 matching event is found that is time stamped within the last "65" minutes. Checkcommands.cfg: define command{ command_name check_eventlogs command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkEventLog -a filter=new $ARG1$ MaxWarn=$ARG2$ MaxCrit=$ARG3$ filter-generated=\$ARG4$ $ARG5$ truncate=$ARG6$ # Desc: # $ARG1$ = event logs to check (i.e. file=system file=application) # $ARG2$ = Warning level (i.e. number of hits to generate a warning response) # $ARG3$ = Critical level (i.e. number of hits to generate a critcal response) # $ARG4$ = Time period (i.e. 1 day is '1d' 30 hours is '>30h') # $ARG5$ = Filters (i.e. filter-eventID==9009 filter-eventSource=Tcpip) see http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog for detailed info # $ARG6$ = Amount of data to return in characters (i.e. truncate=150) # Example: check_nrpe -H server_name_here -p 5666 -c checkEventLog -a filter=new file=system MaxWarn=1 MaxCrit=1 filter-generated=\>30h filter+eventID==10002 descriptions truncate=138 } Services.cfg: define service{ use standard-srv service_description eventlog: Oracle archive log errors check_command check_eventlogs!file=application!1!1!>65m!filter+eventID==20 filter+eventType==error filter+message=substr:"Can not allocate log"!100 normal_check_interval 60 notification_options w,c contact_groups apps host_name server1, server2 } HTH, -greg -------------- 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 2008. 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 Tue Jun 3 10:48:29 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Tue, 3 Jun 2008 09:48:29 +0100 Subject: Best administration tool for Nagios In-Reply-To: <6ae50c2d0806022134g406297ecte1d3535ff4500a08@mail.gmail.com> References: <20080326124252.AFF46580059@desire.netways.de> <56F8CBCA82D02D4B894B69C804906D1AC27B27@usnjpar1blex04.us.ad.irmc.com> <47EC581C.6010206@cwa.co.nz> <1209141751.29930.40.camel@UNIX-TEAM-LACAYO> <6ae50c2d0806022134g406297ecte1d3535ff4500a08@mail.gmail.com> Message-ID: <2274b9c30806030148l527e6524y765414d56a332783@mail.gmail.com> monarch works well for me.. nagios 3 isn't 'supported' but it works just fine (if you don't need any of the new config options) On 6/3/08, alexus wrote: > i like nagiosQL, i haven't tried latest version yet, but older had > some bugs, i really hope they fix it in new release > > > On Fri, Apr 25, 2008 at 12:42 PM, Luis Fernando Lacayo > wrote: >> Not to offend anyone, >> >> But I think that this is a great opportunity for the community to get >> involved and help with the translation. Unfortunately, my French is as >> good as my Arabic, but I am willing to help with the Spanish version. >> >> :-) >> >> Thanks, >> >> Luis >> >> On Fri, 2008-03-28 at 15:29 +1300, Steve Wray wrote: >>> Yost, Karl wrote: >>> > Centreon for me, support for nagios 3 is on the way with the Centreon 2 >>> > release. >>> >>> yeah it looks interesting but a fair bit of it still seems to come >>> through in French even though I've told it my language choice is en. >>> >>> Eg Services Check Load de l'host oreon >>> >>> Forums would be more useful if you know French too... I guess that, wow, >>> the universe really *doesn't* revolve around English... >>> >>> :) >>> >>> >>> > Thanks, >>> > Karl >>> > >>> > >>> > -----Original Message----- >>> > From: nagios-users-bounces at lists.sourceforge.net >>> > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of PO >>> > Michel >>> > Sent: Wednesday, March 26, 2008 8:43 AM >>> > To: nagios-users at lists.sourceforge.net >>> > Subject: [Nagios-users] Best administration tool for Nagios >>> > >>> > Hi list >>> > >>> > What is the best PHP/Mysql based tool to administer Nagios ? Nagios Web >>> > Config ? NagEdit ? Nagios PHP ? NagiosQL ? Nagat ? >>> > >>> > Does someone has an idea of which tool will sooner support Nagios 3.0 ? >>> > >>> > Thanks in advance for your advice, >>> > >>> > >>> > - PO Michel (misterpo) >>> >>> >>> ------------------------------------------------------------------------- >>> Check out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> -- >> Luis Fernando Lacayo >> Chicago Public Schools >> Senior Unix Administrator >> ITS/ UNIX Infrastructure >> Office: 773-553-3835 >> Cell: 773-203-4493 >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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://alexus.org/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > 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 2008. 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 yaniv.fer at gmail.com Tue Jun 3 11:14:47 2008 From: yaniv.fer at gmail.com (Yaniv) Date: Tue, 3 Jun 2008 12:14:47 +0300 Subject: nagios monitors localhost and i get http warnings/error/forbidden on the service Message-ID: <48450ba5.23ab420a.4ed2.7fe8@mx.google.com> Hello I just started using nagios. I have installed yesterday the latest stable build and plugins. My problem is that on the tactical overview I see @ services 1 warning I click on it and I see that it is the localhost where nagios is installed. Host Sort by host name (ascending) Sort by host name (descending) Service Sort by service name (ascending) Sort by service name (descending) Status Sort by service status (ascending) Sort by service status (descending) Last Check Sort by last check time (ascending) Sort by last check time (descending) Duration Sort by state duration (ascending) Sort by state duration time (descending) Attempt Sort by current attempt (ascending) Sort by current attempt (descending)Status Information Localhost HTTP warning 06-02-2008 18:32:27 0d 11h 30m 56s 4/4 HTTP WARNING: HTTP/1.1 403 Forbidden And I click on the service name HTTP and I see this: Service State Information Current Status: WARNING (for 0d 11h 27m 56s) (Has been acknowledged) Status Information: HTTP WARNING: HTTP/1.1 403 Forbidden Performance Data: Current Attempt: 4/4 (HARD state) Last Check Time: 06-02-2008 18:32:27 Check Type: ACTIVE Check Latency / Duration: 0.205 / 0.039 seconds Next Scheduled Check: 06-02-2008 18:37:27 Last State Change: 06-02-2008 07:06:44 Last Notification: 06-02-2008 07:46:08 (notification 1) Is This Service Flapping? NO (0.00% state change) In Scheduled Downtime? NO Last Update: 06-02-2008 18:34:35 ( 0d 0h 0m 5s ago) Here is also some output from /var/log/http/error_log tail error_log [Mon Jun 02 18:05:59 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:10:33 2008] [error] [client 192.168.11.200] File does not exist: /var/www/html/favicon.ico [Mon Jun 02 18:10:34 2008] [error] [client 192.168.11.200] File does not exist: /var/www/html/favicon.ico [Mon Jun 02 18:10:59 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:15:59 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:20:59 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:25:59 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:27:27 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:32:27 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:37:27 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ And the access_log tail access_log 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET /nagios/stylesheets/extinfo.css HTTP/1.1" 304 - "http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET /nagios/images/disabled.gif HTTP/1.1" 304 - "http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET /nagios/images/passiveonly.gif HTTP/1.1" 304 - "http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET /nagios/images/enabled.gif HTTP/1.1" 304 - "http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET /nagios/images/noack.gif HTTP/1.1" 304 - "http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET /nagios/images/notify.gif HTTP/1.1" 304 - "http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET /nagios/images/downtime.gif HTTP/1.1" 304 - "http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET /nagios/images/comment.gif HTTP/1.1" 304 - "http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET /nagios/images/delete.gif HTTP/1.1" 304 - "http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET /nagios/images/delay.gif HTTP/1.1" 304 - "http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" Thank you for any help Yaniv -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 848 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 846 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 harry.hart.ctr at jfcom.mil Tue Jun 3 12:10:31 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Tue, 3 Jun 2008 06:10:31 -0400 Subject: Log in query Message-ID: I am not getting a login screen when I bring up Nagios on the web. Where is it configured to require a login. When I get in it is as nagios and I am limited as to what I can do. Any Help? Harry Harry M. Hart Systems integrator SAIC USJFCOM JIOC DCGS-A (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 philc at foundation-it.com Tue Jun 3 12:11:03 2008 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 3 Jun 2008 11:11:03 +0100 Subject: OpMonAgent vs NSClient++ (was Nagios 3.0 SLA Reporting) In-Reply-To: <4844081F.4010407@googlemail.com> References: <17013595.911212065783100.JavaMail.root@mail.opservices.com.br> <4844081F.4010407@googlemail.com> Message-ID: <9BE0CA68DE32EC4B94849D2C9A9A099453B78DF7@monaco.fit.local> > -----Original Message----- > From: Hari Sekhon [mailto:hpsekhon at googlemail.com] > > Phil Costelloe wrote: > >> I'm also looking forward to this. I'm a big fan of OpmonAgent as a > >> replacement > >> for Nsclient on Windows systems, it installs and runs without any > fuss > >> at > >> all. I like things that Just Work. :) > >> > On this note, do you mean NSClient or the newer NSClient++? I mean NSClient. I still have that happily running on some of the longer lived servers and others have the TSMG rewrite that seemed to be abandoned. But neither supports 64 bit windows. So I tried NSclient++, found it to be a royal PITA to configure with unhelpful documentation [1], tried OpmonAgent which just worked so I kept using it. > I'm not sure if I considered OpMonAgent but I'd really like to know if > it can beat NSClient++ which to my knowledge (or perhaps just > perception) seems to be the more popular Windows agent. I think NSClient++ is probably hugely more popular, which is why I mention OpmonAgent at every opportunity so that people know it's out there. It seems to be solidly written and actively supported, so if it does what you need (a drop in replacement for NSClient with the option of running NRPE checks) then it's a candidate worth considering. [1] Apologies to the author of NSClient++, but that was my experience. I wasn't in a persevering mood, I'm sure if I had persevered then there are great benefits. -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 mmw at tiger-computing.co.uk Tue Jun 3 12:19:20 2008 From: mmw at tiger-computing.co.uk (Matthew Macdonald-Wallace) Date: Tue, 3 Jun 2008 11:19:20 +0100 Subject: Log in query In-Reply-To: References: Message-ID: <20080603111920.06889307@tclmmw.in.tiger-computing.com> On Tue, 3 Jun 2008 06:10:31 -0400 "Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I" wrote: > I am not getting a login screen when I bring up Nagios on the web. > Where is it configured to require a login. When I get in it is as > nagios and I am limited as to what I can do. Harry, Configuring nagios for usernames and passwords is usually done in a .htaccess file in /etc/nagios2 (assuming you are using nagios2!). Once you have the users configured as you require, setting these usernames up as contacts for given servers is meant to provide them with only access to their servers. What is it you are trying to achieve? Kind regards, Matt -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 harry.hart.ctr at jfcom.mil Tue Jun 3 12:22:40 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Tue, 3 Jun 2008 06:22:40 -0400 Subject: Log in query In-Reply-To: <20080603111920.06889307@tclmmw.in.tiger-computing.com> References: <20080603111920.06889307@tclmmw.in.tiger-computing.com> Message-ID: I have a nagios 3 server monitoring several other servers. I use a windows box to get to nagios web. I am not receiving a login screen and it defaults to the user nagios. I need to open it as the nagiosadmin. Thanks for your quick response. Harry Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Matthew Macdonald-Wallace Sent: Tuesday, June 03, 2008 6:19 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Log in query On Tue, 3 Jun 2008 06:10:31 -0400 "Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I" wrote: > I am not getting a login screen when I bring up Nagios on the web. > Where is it configured to require a login. When I get in it is as > nagios and I am limited as to what I can do. Harry, Configuring nagios for usernames and passwords is usually done in a .htaccess file in /etc/nagios2 (assuming you are using nagios2!). Once you have the users configured as you require, setting these usernames up as contacts for given servers is meant to provide them with only access to their servers. What is it you are trying to achieve? Kind regards, Matt -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 Registered address: |Wyastone Business Park, Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 2008. 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 JoeP at protronics.co.uk Tue Jun 3 12:26:02 2008 From: JoeP at protronics.co.uk (Joe Precious) Date: Tue, 3 Jun 2008 11:26:02 +0100 Subject: Log in query References: <20080603111920.06889307@tclmmw.in.tiger-computing.com> Message-ID: <4DF7CF439F31164B96FC5D175CDF056E7207FB@PRO001.protronics.co.uk> Hi I'm not sure what OS your running Nagios on, but did you see section 5 on the installation instructions (for Ubuntu):- http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html It takes you through configuring the web interface for the relevant users. Joe -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I Sent: 03 June 2008 11:23 To: Matthew Macdonald-Wallace; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Log in query I have a nagios 3 server monitoring several other servers. I use a windows box to get to nagios web. I am not receiving a login screen and it defaults to the user nagios. I need to open it as the nagiosadmin. Thanks for your quick response. Harry Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Matthew Macdonald-Wallace Sent: Tuesday, June 03, 2008 6:19 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Log in query On Tue, 3 Jun 2008 06:10:31 -0400 "Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I" wrote: > I am not getting a login screen when I bring up Nagios on the web. > Where is it configured to require a login. When I get in it is as > nagios and I am limited as to what I can do. Harry, Configuring nagios for usernames and passwords is usually done in a .htaccess file in /etc/nagios2 (assuming you are using nagios2!). Once you have the users configured as you require, setting these usernames up as contacts for given servers is meant to provide them with only access to their servers. What is it you are trying to achieve? Kind regards, Matt -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 Registered address: |Wyastone Business Park, Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 2008. 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 2008. 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 Jun 3 14:53:49 2008 From: marc at ena.com (Marc Powell) Date: Tue, 3 Jun 2008 07:53:49 -0500 Subject: Log in query In-Reply-To: <4DF7CF439F31164B96FC5D175CDF056E7207FB@PRO001.protronics.co.uk> References: <20080603111920.06889307@tclmmw.in.tiger-computing.com> <4DF7CF439F31164B96FC5D175CDF056E7207FB@PRO001.protronics.co.uk> Message-ID: <902785FB-0331-4C72-BD19-B610525F5656@ena.com> On Jun 3, 2008, at 5:26 AM, Joe Precious wrote: > Hi > > I'm not sure what OS your running Nagios on, but did you see section 5 > on the installation instructions (for Ubuntu):- > > http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html For an even better understanding -- http://nagios.sourceforge.net/docs/3_0/cgiauth.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 Jun 3 15:03:31 2008 From: marc at ena.com (Marc Powell) Date: Tue, 3 Jun 2008 08:03:31 -0500 Subject: nagios monitors localhost and i get http warnings/error/forbidden on the service In-Reply-To: <48450ba5.23ab420a.4ed2.7fe8@mx.google.com> References: <48450ba5.23ab420a.4ed2.7fe8@mx.google.com> Message-ID: <3E447216-03BD-4DD3-A5E8-EA2FB4EB5928@ena.com> On Jun 3, 2008, at 4:14 AM, Yaniv wrote: > Hello > > I just started using nagios? > I have installed yesterday the latest stable build and plugins? > > Service State Information > Current Status: > WARNING > (for 0d 11h 27m 56s) (Has been acknowledged) > Status Information: > HTTP WARNING: HTTP/1.1 403 Forbidden\ Note that it's handy to include the matching service and command definitions for troubleshooting. > [Mon Jun 02 18:10:59 2008] [error] [client 127.0.0.1] Directory > index forbidden by Options directive: /var/www/html/ /var/www/html, the site directory for the apache web host that you're checking, doesn't have a default index page (i.e. index.html, index.htm or whatever apache is configured to accept). You don't allow directory listing of that directory in apache so apache generates a 403 Forbidden error as a result. The nagios plugin is reporting exactly as it should and you do have an HTTP 'problem'. > > And the access_log > > tail access_log > 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET / > nagios/stylesheets/extinfo.css HTTP/1.1" 304 - "http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&service=HTTP > " "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) > Gecko/20080404 Firefox/2.0.0.14" > This didn't include the actual check above. If you're only wanting to check that apache is running on localhost, I'd suggest just creating a blank index.html file in /var/www/html. If you're wanting to verify that a specific virtual host is running, you'll want to add a -H and possibly -u parameter to check_http. You can run 'check_http --help' to see the parameters it understands. This is getting into more advanced topics and I'd suggest reading the documentation and examining the sample config files so that you understand the interaction between service{} check_commands and command{} definitions. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 GJFRATER at bechtel.com Tue Jun 3 16:14:46 2008 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Tue, 3 Jun 2008 07:14:46 -0700 Subject: Monitoring Windows Eventviewer In-Reply-To: <48C4B0E24DA90B4481C2ED21F591A30F1A747D85F3@SV0099.cernum.com> References: <872CB0AEB377C240A112DD7C10B2592904B20DCC@wtps0171.amers.ibechtel.com> <48C4B0E24DA90B4481C2ED21F591A30F1A747D85F3@SV0099.cernum.com> Message-ID: <872CB0AEB377C240A112DD7C10B2592904B20DD2@wtps0171.amers.ibechtel.com> > Thanks for the info, > Great that it can be done with the NSClient++ as I have it installed on all our servers. > What do I need to define in the NSClient++ agent and where ? > Is it in the .ini file or elsewhere ? The only thing you need to do on the Windows server is enable the CheckEventLog.dll by removing the semicolon from that line in the nsc.ini file. Regards, -greg From: Frater, Greg J [mailto:GJFRATER at bechtel.com] Sent: maandag 2 juni 2008 21:41 To: Tim Van Caeyzeele Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring Windows Eventviewer >Dear All, >Would anyone have experience in checking the windows eventviewer for certain events, or turning nagios red in case of ERRORs ? >What script are you using ? preferably something that can simply interact with NSClient We do this using the NSClient++ agent (www.nsclient.org ). It checks the event logs and filters them based on criteria you define, alerting when the number of hits you specify is reached (i.e. when the system log has 1 or more events with an ID of XXXX within the last 10 minutes send alerts). Here is an example we use to monitor for a specific Oracle error. In the example we check the "application" log of the server every "60" minutes for events with an ID of "20" with event type of "Error" containing a string in the text of the message "Can not allocate log", check turns critical after 1 matching event is found that is time stamped within the last "65" minutes. Checkcommands.cfg: define command{ command_name check_eventlogs command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkEventLog -a filter=new $ARG1$ MaxWarn=$ARG2$ MaxCrit=$ARG3$ filter-generated=\$ARG4$ $ARG5$ truncate=$ARG6$ # Desc: # $ARG1$ = event logs to check (i.e. file=system file=application) # $ARG2$ = Warning level (i.e. number of hits to generate a warning response) # $ARG3$ = Critical level (i.e. number of hits to generate a critcal response) # $ARG4$ = Time period (i.e. 1 day is '1d' 30 hours is '>30h') # $ARG5$ = Filters (i.e. filter-eventID==9009 filter-eventSource=Tcpip) see http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog for detailed info # $ARG6$ = Amount of data to return in characters (i.e. truncate=150) # Example: check_nrpe -H server_name_here -p 5666 -c checkEventLog -a filter=new file=system MaxWarn=1 MaxCrit=1 filter-generated=\>30h filter+eventID==10002 descriptions truncate=138 } Services.cfg: define service{ use standard-srv service_description eventlog: Oracle archive log errors check_command check_eventlogs!file=application!1!1!>65m!filter+eventID==20 filter+eventType==error filter+message=substr:"Can not allocate log"!100 normal_check_interval 60 notification_options w,c contact_groups apps host_name server1, server2 } HTH, -greg -------------- 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 2008. 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 marcin at 2fluid.co.uk Tue Jun 3 17:01:02 2008 From: marcin at 2fluid.co.uk (Marcin Praczko) Date: Tue, 3 Jun 2008 16:01:02 +0100 Subject: Nagios with NDOUtils is not working any more. Message-ID: Hi > 'about 4'oclock' is a typical start time for cron.daily, cron.weekly > and cron.monthly scripts, at least under Redhat and clones, all of > which ran recently. Is there anything interesting set to run in those? > Database backups, anything like that? You have free disk space on your > database partition? Yes, I checked cron tasks before I send this post. There was enough free space on partitions. > I've seen this when ndo2db is doing it's initial logging to the > database and database cleanup tasks. I too couldn't get debug to show > anything but saw this activity using strace on the process. That > initial process was taking a loooong time and seems to be noted in > various places. 'mysqladmin showprocesslist' will show you any active > connections to the database and a general idea of what it's doing. You > could also try using 'strace -fs512 -p ' as root to > see if it's doing anything. You can use CTRL-C to quit out of strace. > I've found that using the 'Retain status file over a reload' patch at > http://www.altinity.org > works to mask the problem from the GUI. Cheers - strace helped me. I saw that ndo2db can't write to debug log file (wrong permissions). So I changed permissions and I removed one database (old nagios_backup) from MySQL. Don't know which helped but one of above solutions helped. I think that was problem with permission, but log from strace shown that ndo2db asking DB and sending a lot queries. > I recently experienced something similar.? The reason for it is that > the plugin option to discard old data was disabled, and my servicechecks > table grew to a size that MySQL didn't like.? If you can't insert a record > in that table from PHPMyAdmin (or the command line), that may be your > problem. I was able to write to database and I already have setting to removed the oldest data from database. So problem was somewhere else. Thank you for your help. Marcin Praczko No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.24.5/1479 - Release Date: 02/06/2008 19:02 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 harry.hart.ctr at jfcom.mil Tue Jun 3 17:40:32 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Tue, 3 Jun 2008 11:40:32 -0400 Subject: Log in query In-Reply-To: <902785FB-0331-4C72-BD19-B610525F5656@ena.com> References: <20080603111920.06889307@tclmmw.in.tiger-computing.com><4DF7CF439F31164B96FC5D175CDF056E7207FB@PRO001.protronics.co.uk> <902785FB-0331-4C72-BD19-B610525F5656@ena.com> Message-ID: Thanks Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, June 03, 2008 8:54 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Log in query On Jun 3, 2008, at 5:26 AM, Joe Precious wrote: > Hi > > I'm not sure what OS your running Nagios on, but did you see section 5 > on the installation instructions (for Ubuntu):- > > http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html For an even better understanding -- http://nagios.sourceforge.net/docs/3_0/cgiauth.html -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 2008. 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 gardealuis at gmail.com Tue Jun 3 21:53:42 2008 From: gardealuis at gmail.com (Luis Gardea) Date: Tue, 3 Jun 2008 13:53:42 -0600 Subject: problems to send notifications via email In-Reply-To: <48445C5B.6030403@vanderkooij.org> References: <44f056cc0806021335q666da067sbddfe041de571bdc@mail.gmail.com> <48445C5B.6030403@vanderkooij.org> Message-ID: <44f056cc0806031253q95b64ebl36cf2f71ef99d95d@mail.gmail.com> Hello What's MTA? I need install senmail in my nagios server to do that? On Mon, Jun 2, 2008 at 2:47 PM, Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Luis Gardea wrote: > | Hi > | > | > | I just running nagios v3 on ubuntu server. But the notificatiosn > | don't arrive to my emails (local email, gmail) > > Frankly. No. Since there is nothing in your message even remoty telling > us how you did setup Nagios to transfer the message to your MTA nor how > you did configure your MTA. > > So help yourself by showing us relevant information like: > ~ - Nagios command to send notifications > ~ - Logs about the events and notifications > ~ - Logs of your MTA. > > Perhaps if your start to dig in thos you may see what is wrong yourself. > > 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) > > iD8DBQFIRFxaBvzDRVjxmYERApDjAJ9e34tt/TdmxnbC4oXwh0v+P3+sIQCgkL2j > PNCzRguZKmON/C4yFP+F+Zc= > =gLMw > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > 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 2008. 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 gevery at gmail.com Tue Jun 3 23:19:42 2008 From: gevery at gmail.com (Gary Every) Date: Tue, 3 Jun 2008 14:19:42 -0700 Subject: problems to send notifications via email In-Reply-To: <44f056cc0806031253q95b64ebl36cf2f71ef99d95d@mail.gmail.com> References: <44f056cc0806021335q666da067sbddfe041de571bdc@mail.gmail.com> <48445C5B.6030403@vanderkooij.org> <44f056cc0806031253q95b64ebl36cf2f71ef99d95d@mail.gmail.com> Message-ID: MTA? First off, check out this site: http://google.com and type "MTA" in the input box Ignore the "Transit Administration" links - then read the wikipedia on it Any flavor of "MTA" will suffice (such as sendmail) to "send mail" On Tue, Jun 3, 2008 at 12:53 PM, Luis Gardea wrote: > Hello > > What's MTA? > > > I need install senmail in my nagios server to do that? > > > > > > > On Mon, Jun 2, 2008 at 2:47 PM, Hugo van der Kooij > wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Luis Gardea wrote: > > | Hi > > | > > | > > | I just running nagios v3 on ubuntu server. But the notificatiosn > > | don't arrive to my emails (local email, gmail) > > > > Frankly. No. Since there is nothing in your message even remoty telling > > us how you did setup Nagios to transfer the message to your MTA nor how > > you did configure your MTA. > > > > So help yourself by showing us relevant information like: > > ~ - Nagios command to send notifications > > ~ - Logs about the events and notifications > > ~ - Logs of your MTA. > > > > Perhaps if your start to dig in thos you may see what is wrong yourself. > > > > 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) > > > > iD8DBQFIRFxaBvzDRVjxmYERApDjAJ9e34tt/TdmxnbC4oXwh0v+P3+sIQCgkL2j > > PNCzRguZKmON/C4yFP+F+Zc= > > =gLMw > > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > 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 2008. > 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 > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Wed Jun 4 04:13:52 2008 From: rperezm at uci.cu (Reynier Perez Mira) Date: Tue, 3 Jun 2008 22:13:52 -0400 Subject: Newbie with Nagios Message-ID: <4D18382A12A9B64190E1AD825FB591F352FD77@ucixw2.uci.cu> Hi, I'm starting with Nagios and have a lot of problem and the doc is not enough for me. I have Nagios configured in Linux (Ubuntu Server 8.04). I need to check, for now, 4 servers: 2 Linux and 2 Windows Server 2003. For the Windows Server I have configured NSClient++. Now I get a mail from Nagios every time with 5 minutes between. I mean one mail arrive the system wait 5 minutes and send me the same email. The content of this email is: ***** Nagios ***** Notification Type: PROBLEM Service: C:\ Drive Space Host: Salva IP Server 2 Address: 10.128.50.100 State: WARNING Date/Time: Mon Jun 2 23:47:07 CDT 2008 Additional Info: c:\ - total: 17.46 Gb - used: 14.02 Gb (80%) - free 3.44 Gb (20%) What this mean? How can I stop this and just receive email's when system is critical or down or restarting or something else? Cheers and thanks in advance Ing. Reynier P?rez Mira Grupo de Soporte al Desarrollo - Direcci?n T?cnica IP ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Wed Jun 4 05:08:23 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Tue, 3 Jun 2008 23:08:23 -0400 Subject: Newbie with Nagios References: <4D18382A12A9B64190E1AD825FB591F352FD77@ucixw2.uci.cu> Message-ID: <13F36D2926AD444697093282F20041B706301761@buf-ex01.cymfony.com> You really need to read through the documentation. It is very comprehensive and will show you how to configure alerts, during what time period, how often, and at what notification level you want. You will find all your answers to these basic (and advanced) questions there. Start with that first and understand how Nagios works before posting basic questions here that are answered in the documentation. With only 4 servers it shouldn't take long to configure the way you want. http://nagios.sourceforge.net/docs/3_0/toc.html ________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Reynier Perez Mira Sent: Tue 6/3/2008 10:13 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Newbie with Nagios Hi, I'm starting with Nagios and have a lot of problem and the doc is not enough for me. I have Nagios configured in Linux (Ubuntu Server 8.04). I need to check, for now, 4 servers: 2 Linux and 2 Windows Server 2003. For the Windows Server I have configured NSClient++. Now I get a mail from Nagios every time with 5 minutes between. I mean one mail arrive the system wait 5 minutes and send me the same email. The content of this email is: ***** Nagios ***** Notification Type: PROBLEM Service: C:\ Drive Space Host: Salva IP Server 2 Address: 10.128.50.100 State: WARNING Date/Time: Mon Jun 2 23:47:07 CDT 2008 Additional Info: c:\ - total: 17.46 Gb - used: 14.02 Gb (80%) - free 3.44 Gb (20%) What this mean? How can I stop this and just receive email's when system is critical or down or restarting or something else? Cheers and thanks in advance Ing. Reynier P?rez Mira Grupo de Soporte al Desarrollo - Direcci?n T?cnica IP ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Wed Jun 4 05:24:02 2008 From: rperezm at uci.cu (Reynier Perez Mira) Date: Tue, 3 Jun 2008 23:24:02 -0400 Subject: Newbie with Nagios In-Reply-To: <13F36D2926AD444697093282F20041B706301761@buf-ex01.cymfony.com> References: <4D18382A12A9B64190E1AD825FB591F352FD77@ucixw2.uci.cu> <13F36D2926AD444697093282F20041B706301761@buf-ex01.cymfony.com> Message-ID: <4D18382A12A9B64190E1AD825FB591F352FE50@ucixw2.uci.cu> > You really need to read through the documentation. It is very comprehensive > and will show you how to configure alerts, during what time period, how > often, and at what notification level you want. You will find all your > answers to these basic (and advanced) questions there. Start with that first > and understand how Nagios works before posting basic questions here that are > answered in the documentation. With only 4 servers it shouldn't take long to > configure the way you want. > > http://nagios.sourceforge.net/docs/3_0/toc.html Hi, I read the doc before start posting here. I have Nagios configured in Ubuntu Server 8.04 as I said before. Now look like I touch any file because when I try to access to "Service Detail" item I get this error: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I check also the corresponding to authentication/authorization topic in doc but I can't find where the problem is. I just touch the contact address in /usr/local/nagios/etc/contacts.cfg file and now the content look like this: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defin$ alias Nagios Admin ; Full name of user email rperezm at uci.cu ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** } define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } So where is the error? Why I can't access to this item? Cheers and thanks in advance Ing. Reynier P?rez Mira Grupo de Soporte al Desarrollo - Direcci?n T?cnica IP ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Wed Jun 4 06:26:14 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Tue, 3 Jun 2008 20:26:14 -0800 Subject: Newbie with Nagios In-Reply-To: <4D18382A12A9B64190E1AD825FB591F352FE50@ucixw2.uci.cu> References: <13f36d2926ad444697093282f20041b706301761@buf-ex01.cymfony.com> <4d18382a12a9b64190e1ad825fb591f352fd77@ucixw2.uci.cu> Message-ID: <3CF347C00D2.00000C68izz_abdullah@inbox.com> Are you using Internet Explorer with anonymous login enabled? Just a thought... -Izz > -----Original Message----- > From: rperezm at uci.cu > Sent: Tue, 3 Jun 2008 23:24:02 -0400 > To: ssimmons at cymfony.com, nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Newbie with Nagios > >> You really need to read through the documentation. It is very >> comprehensive >> and will show you how to configure alerts, during what time period, how >> often, and at what notification level you want. You will find all your >> answers to these basic (and advanced) questions there. Start with that >> first >> and understand how Nagios works before posting basic questions here that >> are >> answered in the documentation. With only 4 servers it shouldn't take >> long to >> configure the way you want. >> >> http://nagios.sourceforge.net/docs/3_0/toc.html > > Hi, > I read the doc before start posting here. I have Nagios configured in > Ubuntu Server 8.04 as I said before. Now look like I touch any file > because when I try to access to "Service Detail" item I get this error: > > It appears as though you do not have permission to view information for > any of the services you requested... > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > I check also the corresponding to authentication/authorization topic in > doc but I can't find where the problem is. I just touch the contact > address in /usr/local/nagios/etc/contacts.cfg file and now the content > look like this: > > define contact{ > contact_name nagiosadmin ; Short > name of user > use generic-contact ; Inherit > default values from generic-contact template (defin$ > alias Nagios Admin ; Full > name of user > email rperezm at uci.cu ; <<***** > CHANGE THIS TO YOUR EMAIL ADDRESS ****** > } > > define contactgroup{ > contactgroup_name admins > alias Nagios Administrators > members nagiosadmin > } > > So where is the error? Why I can't access to this item? > Cheers and thanks in advance > Ing. Reynier P?rez Mira > Grupo de Soporte al Desarrollo - Direcci?n T?cnica IP > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 4 06:29:34 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 4 Jun 2008 04:29:34 +0000 Subject: Newbie with Nagios In-Reply-To: <4D18382A12A9B64190E1AD825FB591F352FE50@ucixw2.uci.cu> References: <4D18382A12A9B64190E1AD825FB591F352FD77@ucixw2.uci.cu> <13F36D2926AD444697093282F20041B706301761@buf-ex01.cymfony.com> <4D18382A12A9B64190E1AD825FB591F352FE50@ucixw2.uci.cu> Message-ID: <93C487A372B3774CAEAA15D524CCF3D1228AF0D28F@G1W0485.americas.hpqcorp.net> > Hi, > I read the doc before start posting here. I have Nagios configured in > Ubuntu Server 8.04 as I said before. Now look like I touch any file > because when I try to access to "Service Detail" item I get this error: > > It appears as though you do not have permission to view information for > any of the services you requested... > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > I check also the corresponding to authentication/authorization topic in > doc but I can't find where the problem is. I just touch the contact > address in /usr/local/nagios/etc/contacts.cfg file and now the content > look like this: > > define contact{ > contact_name nagiosadmin ; Short > name of user > use generic-contact ; > Inherit default values from generic-contact template (defin$ > alias Nagios Admin ; Full > name of user > email rperezm at uci.cu ; > <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** > } > > define contactgroup{ > contactgroup_name admins > alias Nagios Administrators > members nagiosadmin > } > > So where is the error? Why I can't access to this item? Have you checked the HTTP server authentication requirements for accessing this CGI and checked the authorization options in your CGI configuration file as the error message suggests? That's probably where your problem lies. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Wed Jun 4 06:46:46 2008 From: rperezm at uci.cu (Reynier Perez Mira) Date: Wed, 4 Jun 2008 00:46:46 -0400 Subject: Newbie with Nagios In-Reply-To: <93C487A372B3774CAEAA15D524CCF3D1228AF0D28F@G1W0485.americas.hpqcorp.net> References: <4D18382A12A9B64190E1AD825FB591F352FD77@ucixw2.uci.cu><13F36D2926AD444697093282F20041B706301761@buf-ex01.cymfony.com> <4D18382A12A9B64190E1AD825FB591F352FE50@ucixw2.uci.cu> <93C487A372B3774CAEAA15D524CCF3D1228AF0D28F@G1W0485.americas.hpqcorp.net> Message-ID: <4D18382A12A9B64190E1AD825FB591F352FF6F@ucixw2.uci.cu> > Have you checked the HTTP server authentication requirements for accessing > this CGI What you mean with this part? > and checked the authorization options in your CGI configuration file > as the error message suggests? That's probably where your problem lies. Yes, all them are setup for nagiosadmin user as contacts.cfg said Cheers Ing. Reynier P?rez Mira Grupo de Soporte al Desarrollo - Direcci?n T?cnica IP ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 4 07:17:01 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 04 Jun 2008 07:17:01 +0200 Subject: Newbie with Nagios In-Reply-To: <4D18382A12A9B64190E1AD825FB591F352FD77@ucixw2.uci.cu> References: <4D18382A12A9B64190E1AD825FB591F352FD77@ucixw2.uci.cu> Message-ID: <4846254D.3060901@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Reynier Perez Mira wrote: | Hi, | I'm starting with Nagios and have a lot of problem and the doc is not enough for me. I have Nagios configured in Linux (Ubuntu Server 8.04). I need to check, for now, 4 servers: 2 Linux and 2 Windows Server 2003. For the Windows Server I have configured NSClient++. Now I get a mail from Nagios every time with 5 minutes between. I mean one mail arrive the system wait 5 minutes and send me the same email. The content of this email is: | | ***** Nagios ***** | Notification Type: PROBLEM | | Service: C:\ Drive Space | Host: Salva IP Server 2 | Address: 10.128.50.100 | State: WARNING | | Date/Time: Mon Jun 2 23:47:07 CDT 2008 | Additional Info: | c:\ - total: 17.46 Gb - used: 14.02 Gb (80%) - free 3.44 Gb (20%) | | What this mean? How can I stop this and just receive email's when system is critical or down or restarting or something else? You do not show your config. But the message is clear. You passed the warning value for this disk so the system warns you. If you have set things up to warn every 5 minutes then you got exactly what asked for. The basic thing missing here is your configuration details. How did you define that service? 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) iD8DBQFIRiVKBvzDRVjxmYERAuPQAKCuqM3BGV2b+Fkm7hy/IMRwUmVdzQCgqQap y3yuhhxvVgitv/KRHvZS03I= =ENnv -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 4 07:24:54 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 04 Jun 2008 07:24:54 +0200 Subject: Newbie with Nagios In-Reply-To: <4D18382A12A9B64190E1AD825FB591F352FF6F@ucixw2.uci.cu> References: <4D18382A12A9B64190E1AD825FB591F352FD77@ucixw2.uci.cu><13F36D2926AD444697093282F20041B706301761@buf-ex01.cymfony.com> <4D18382A12A9B64190E1AD825FB591F352FE50@ucixw2.uci.cu> <93C487A372B3774CAEAA15D524CCF3D1228AF0D28F@G1W0485.americas.hpqcorp.net> <4D18382A12A9B64190E1AD825FB591F352FF6F@ucixw2.uci.cu> Message-ID: <48462726.6000703@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Reynier Perez Mira wrote: |> Have you checked the HTTP server authentication requirements for accessing |> this CGI | What you mean with this part? You have not read the manual well enough: http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html http://www.nagios.org/faqs/viewfaq.php?faq_id=47&expand=false&showdesc=false http://nagios.sourceforge.net/docs/2_0/cgiauth.html Sorry to inform you that this is just the million seven hundred and forty second time someone is asking the ame question. And the answer is in the manual. 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) iD8DBQFIRickBvzDRVjxmYERAh3YAJ9ut0KcQyCBQDW5xHvU52uONReH5QCffF9r id25outLeDWM7neOBeNa4qc= =IElL -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Wed Jun 4 08:02:20 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Wed, 4 Jun 2008 11:32:20 +0530 Subject: Fwd: The results of your email commands In-Reply-To: References: Message-ID: <25251aec0806032302t49847fb1ied59d4d3c804dc65@mail.gmail.com> Hi, I am trying to install nagios plugins on solaris spac 10. It was able to configure fine but problems comes up while compiling. # make gcc: language strconst not recognized gcc: check_mysql.c: linker input file unused because linking not done mv: cannot access .deps/check_mysql-check_mysql.Tpo make[2]: *** [check_mysql-check_mysql.o] Error 2 make[2]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.11/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.11' make: *** [all] Error 2 # which make /usr/local/bin/make I've downloaded gnu make from sunfreeware.com from the below suggestion, http://www.nagios.org/faqs/viewfaq.php?faq_id=78 I was actually getting the error in the above url but as per the suggestion I've downloaded make-3.81 and installed it. Then it reportes the above error which I gave here. Please suggest Thanks -- Shankar Asam -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sguilbaud+nagios at gmail.com Wed Jun 4 09:05:29 2008 From: sguilbaud+nagios at gmail.com (seb) Date: Wed, 4 Jun 2008 09:05:29 +0200 Subject: Nagios with NDOUtils is not working any more. In-Reply-To: References: Message-ID: <28cea030806040005o574fe41fxc41975c37e9bbf7@mail.gmail.com> > I was able to write to database and I already have setting to removed > the oldest data from database. So problem was somewhere else. It seems to me ndo problems are often related to mysql performance... On my smallish nagios test instance (50 hosts - 300 services), the db weighs ~300 Mb / 1M records, and everything works fine since I switched to innodb storage engine. Don't know whether it's really related (table locking vs. record locking)... I think ndo is able to cause a good deal of stress to any "untuned" mysql server, the README could be updated to include a couple of tuning tips (innodb pool sizing, small query cache as most requests seem to contain variable arguments, pre-allocating innodb storage, etc..). If a mysql wizard reads this, please give your advice :) have a nice day -- seb ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yaniv.fer at gmail.com Wed Jun 4 10:10:14 2008 From: yaniv.fer at gmail.com (Yaniv) Date: Wed, 4 Jun 2008 11:10:14 +0300 Subject: newbie sms question Message-ID: <48464dfd.1401420a.62ad.ffffa480@mx.google.com> Hello Nagios users I started monitoring my network with nagios and its amazing J Now I would like to configure SMS notifications. I would like to connect a cell phone to a windows desktop or linux via USB cable What software is recommended? Does someone has any experience with it? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcin at 2fluid.co.uk Wed Jun 4 10:24:16 2008 From: marcin at 2fluid.co.uk (Marcin Praczko) Date: Wed, 4 Jun 2008 09:24:16 +0100 Subject: Nagios with NDOUtils is not working any more. Message-ID: Hi > It seems to me ndo problems are often related to mysql performance... > On my smallish nagios test instance (50 hosts - 300 services), the > db weighs ~300 Mb / 1M records, and everything works fine since > I switched to innodb storage engine. Don't know whether it's really > related (table locking vs. record locking)... > I think ndo is able to cause a good deal of stress to any "untuned" > mysql server, the README could be updated to include a couple > of tuning tips (innodb pool sizing, small query cache as most > requests seem to contain variable arguments, pre-allocating > innodb storage, etc..). If a mysql wizard reads this, please give > your advice :) I think you're right. My server with Nagios and NDO is quite old server, and checks are not so often (Min period is 5 minut). Nagios has set up delay between checks. I am quite familiar (not expert) with tunning MySQL MyISAM tables / and global configuration for that (query cache, sorts variables, etc). But NDO is using innoDB. So I think that is quite good idea to put some more details about tunning DB in README file. My server has not a lot memory (there is 384MB). And there is no chance to add more RAM to this server. It was useless in company, so I decided to configure it as monitoring system. It tasks at this moment are only: - run nagios checks over NRPE - and collect data to DB (NDO) - run (every 30 minutes) Shell script (it is slow but it was the fastest way to write it) to read DB and update RRD files. - cacti poller has minimal tasks (just check network stats over SNMP). And server is quite busy. Especially when my shell script is running. Taking the lastest values from DB. But anyway - DB should be tune on this server. Anyone can help? (Links, white papers, examples about tune InnoDB tables?) Marcin Praczko No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.24.6/1481 - Release Date: 03/06/2008 19:31 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sguilbaud+nagios at gmail.com Wed Jun 4 10:34:26 2008 From: sguilbaud+nagios at gmail.com (seb) Date: Wed, 4 Jun 2008 10:34:26 +0200 Subject: Nagios with NDOUtils is not working any more. In-Reply-To: References: Message-ID: <28cea030806040134s42fbf161hef262b088512e263@mail.gmail.com> > It tasks at this moment are only: > - run nagios checks over NRPE - and collect data to DB (NDO) > - run (every 30 minutes) Shell script (it is slow but it was the fastest way to write it) to read DB and update RRD files. > - cacti poller has minimal tasks (just check network stats over SNMP). > > And server is quite busy. Especially when my shell script is running. Taking the lastest values from DB. What kind of data do you put in RRD databases ? if it's performance data, PNP handles this task nicely, and is quite lightweight > But anyway - DB should be tune on this server. > > Anyone can help? (Links, white papers, examples about tune InnoDB tables?) post your my.cnf, we'll see Since you also have Cacti on the same machine, you will have to keep MyISAM settings not too low (or convert Cacti DB to InnoDB) -- seb ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ml at nicole-haehnel.de Wed Jun 4 11:06:05 2008 From: ml at nicole-haehnel.de (=?ISO-8859-15?Q?Nicole_H=E4hnel?=) Date: Wed, 04 Jun 2008 11:06:05 +0200 Subject: NDO queries for availability reports Message-ID: <48465AFD.4030403@nicole-haehnel.de> Hi, I'm trying to create an availability report with i-net crystal clear. We are running nagios 3.0.2 with ndo utils 1.47b. The report has to show the uptime in percent of special services for a whole month. Does anybody know how to query the database and how to calculate the uptime? I only see the last state change in table servicestatus. Is there a reporting tool which uses ndo to generate reports yet? Thanks! Nicole ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thenoob06 at gmail.com Wed Jun 4 12:05:31 2008 From: thenoob06 at gmail.com (The Noob) Date: Wed, 4 Jun 2008 12:05:31 +0200 Subject: Problem to use negate plugin Message-ID: <9263743c0806040305i202e3250ma48d700907661644@mail.gmail.com> Hello all, I have a problem to use negate plugin, I use theses commands: ./check_ping -H 192.168.0.1 -w 3000.0,80% -c 5000.0,100% -p 2 PING OK - Packet loss = 0%, RTA = 4.97 ms ./negate ./check_ping -H 192.168.0.1 -w 3000.0,80% -c 5000.0,100% -p 2 PING OK - Packet loss = 0%, RTA = 4.91 ms Why the plugin does not return CRITICAL ? Best Regards TheNoob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmw at tiger-computing.co.uk Wed Jun 4 12:51:42 2008 From: mmw at tiger-computing.co.uk (Matthew Macdonald-Wallace) Date: Wed, 4 Jun 2008 11:51:42 +0100 Subject: newbie sms question In-Reply-To: <48464dfd.1401420a.62ad.ffffa480@mx.google.com> References: <48464dfd.1401420a.62ad.ffffa480@mx.google.com> Message-ID: <20080604115142.146fd683@tclmmw.in.tiger-computing.com> On Wed, 4 Jun 2008 11:10:14 +0300 "Yaniv" wrote: > I would like to connect a cell phone to a windows desktop or linux > via USB cable > > > > What software is recommended? > > > > Does someone has any experience with it? Please read the list archives, this has been discussed at length and is perfectly possible using the utilities discussed. Archives can be found at http://www.mail-archive.com/nagios-users at lists.sourceforge.net/ and there may be some clues as part of http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg18982.html Kind regards, Matt P.S. Is there a FAQ for Nagios where this information can be held? M. -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 4 14:26:12 2008 From: marc at ena.com (Marc Powell) Date: Wed, 4 Jun 2008 07:26:12 -0500 Subject: Problem to use negate plugin In-Reply-To: <9263743c0806040305i202e3250ma48d700907661644@mail.gmail.com> References: <9263743c0806040305i202e3250ma48d700907661644@mail.gmail.com> Message-ID: <4D097CCA-ECF6-40E3-AE11-6EAAACE17F8F@ena.com> On Jun 4, 2008, at 5:05 AM, The Noob wrote: > Hello all, > > I have a problem to use negate plugin, I use theses commands: > > ./check_ping -H 192.168.0.1 -w 3000.0,80% -c 5000.0,100% -p 2 > PING OK - Packet loss = 0%, RTA = 4.97 ms > > ./negate ./check_ping -H 192.168.0.1 -w 3000.0,80% -c 5000.0,100% -p 2 > PING OK - Packet loss = 0%, RTA = 4.91 ms > > Why the plugin does not return CRITICAL ? It is. Nagios does not use the text of the plugin output to determine state but rather it's exit code. The plugin output is just for humans. After running the negate command above, 'echo $?' should return '2'. If you want to change the status text, the very latest version of negate in plugins-1.4.12 includes a new option for that but it has no effect on what nagios thinks the state is -- # negate now has the ability to replace the status text as well (-s, -- substitute) -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thenoob06 at gmail.com Wed Jun 4 14:50:54 2008 From: thenoob06 at gmail.com (The Noob) Date: Wed, 4 Jun 2008 14:50:54 +0200 Subject: Problem to use negate plugin In-Reply-To: <4D097CCA-ECF6-40E3-AE11-6EAAACE17F8F@ena.com> References: <9263743c0806040305i202e3250ma48d700907661644@mail.gmail.com> <4D097CCA-ECF6-40E3-AE11-6EAAACE17F8F@ena.com> Message-ID: <9263743c0806040550g702f80bvbe810d0804cda8fc@mail.gmail.com> Thanks very much Marc, it works 2008/6/4 Marc Powell : > > On Jun 4, 2008, at 5:05 AM, The Noob wrote: > > > Hello all, > > > > I have a problem to use negate plugin, I use theses commands: > > > > ./check_ping -H 192.168.0.1 -w 3000.0,80% -c 5000.0,100% -p 2 > > PING OK - Packet loss = 0%, RTA = 4.97 ms > > > > ./negate ./check_ping -H 192.168.0.1 -w 3000.0,80% -c 5000.0,100% -p 2 > > PING OK - Packet loss = 0%, RTA = 4.91 ms > > > > Why the plugin does not return CRITICAL ? > > It is. Nagios does not use the text of the plugin output to determine > state but rather it's exit code. The plugin output is just for humans. > After running the negate command above, 'echo $?' should return '2'. > > If you want to change the status text, the very latest version of > negate in plugins-1.4.12 includes a new option for that but it has no > effect on what nagios thinks the state is -- > > # negate now has the ability to replace the status text as well (-s, -- > substitute) > > -- > Marc > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Wed Jun 4 14:53:54 2008 From: jpratt at norwich.edu (James Pratt) Date: Wed, 4 Jun 2008 08:53:54 -0400 Subject: Fwd: The results of your email commands In-Reply-To: <25251aec0806032302t49847fb1ied59d4d3c804dc65@mail.gmail.com> References: <25251aec0806032302t49847fb1ied59d4d3c804dc65@mail.gmail.com> Message-ID: <3CB18FFE1CDC71449BCCEC0FFD983110A7D4B4@NUMAIL.norwich.edu> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of asam30 at gmail.com Sent: Wednesday, June 04, 2008 2:02 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Fwd: The results of your email commands Hi, ? I am trying to install nagios plugins on solaris spac 10. It was able to configure fine but problems comes up while compiling. ? # make gcc: language strconst not recognized gcc: check_mysql.c: linker input file unused because linking not done mv: cannot access .deps/check_mysql-check_mysql.Tpo make[2]: *** [check_mysql-check_mysql.o] Error 2 make[2]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.11/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.11' make: *** [all] Error 2 ?# which make /usr/local/bin/make I've downloaded gnu make from sunfreeware.com from the below suggestion, ? http://www.nagios.org/faqs/viewfaq.php?faq_id=78 ? I was actually getting the error in the above url but as per the suggestion I've downloaded make-3.81 and installed it. Then it reportes the above error which I gave here. ? Please suggest ? Thanks -- Shankar Asam ----------- HI Shankar, you will likely need a lot more from sunfreeware.com for nagios - I see you must have GCC installed as well ... Anyhow, FWIW, I tried installing it all on Solaris 10 myself, however it took so many sunfreeware dependencies/hacks that I decided it wasn't worth it (And also because I had more x86 hardware available).. I found these links quite helpful though: http://altinity.blogs.com/dotorg/2006/03/installing_nagi.html http://www.totkat.org/pages/nagios.shtml regards, Jamie ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Wed Jun 4 19:13:55 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Wed, 4 Jun 2008 13:13:55 -0400 Subject: Monitor web server run multiple virtual web site In-Reply-To: References: Message-ID: <4846cd5e.1f3f2c0a.0574.ffff9f86@mx.google.com> Thanks for the reply, Sorry I didn't reply earlier but I had email problems..I've tried your suggestion already, the issue I face with that is that some of these virtual sites require authentication, some simple and some Windows Authentication. This causes Nagios to get a "...401 unauthorized" error message (since check_http can only handle simple authentication). Is there no way to just check in IIS if the site is in an started or stopped state? I think this would be the ideal solution.. Thanks again, Victor.. -----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, May 30, 2008 3:37 PM To: nagios Mailinglist Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site On May 30, 2008, at 1:12 PM, Victor Lanza wrote: > Hi all, > > I have a similar setup and same issue here and I'm trying to use > check_http > but it doesn't seem to be working correctly. > > I have IIS setup with multiple virtual sites with different IPs all > running > on the same port (80) > > > My command is: check_http -H 10.10.5.12 -u http://10.10.5.111 > > However I get the following results whether that site is up or down: > > HTTP OK HTTP/1.1 200 OK - 1828 bytes in 0.013 seconds... > > > I really wanted to avoid having to create a host definition for each > site. suggestion -- define host { host_name websites alias Virtual Site Container address 127.0.0.1 ... } define service { host_name websites service_description site-10.10.5.111 check_command check_http_sites!10.10.5.111 ... } define service { host_name websites service_description site-othersite check_command check_http_sites!10.10.5.200 ... } define command { command_name check_http_sites command_line $USER1$/check_http -H $ARG1$ -u http://$ARG1$ } The above assumes that your web server can properly answer for and differentiate between http://10.10.5.111 and http://10.10.5.200 (or whatever other address is valid). -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Wed Jun 4 19:52:44 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Wed, 4 Jun 2008 13:52:44 -0400 Subject: Monitor web server run multiple virtual web site In-Reply-To: <4846cd5e.1f3f2c0a.0574.ffff9f86@mx.google.com> References: <4846cd5e.1f3f2c0a.0574.ffff9f86@mx.google.com> Message-ID: <13F36D2926AD444697093282F20041B7073BFFA6@buf-ex01.cymfony.com> Have you tried using -a with check_http? -a, --authorization=AUTH_PAIR Username:password on sites with basic authentication -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Victor Lanza Sent: Wednesday, June 04, 2008 1:14 PM To: 'Marc Powell'; 'nagios Mailinglist' Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site Thanks for the reply, Sorry I didn't reply earlier but I had email problems..I've tried your suggestion already, the issue I face with that is that some of these virtual sites require authentication, some simple and some Windows Authentication. This causes Nagios to get a "...401 unauthorized" error message (since check_http can only handle simple authentication). Is there no way to just check in IIS if the site is in an started or stopped state? I think this would be the ideal solution.. Thanks again, Victor.. -----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, May 30, 2008 3:37 PM To: nagios Mailinglist Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site On May 30, 2008, at 1:12 PM, Victor Lanza wrote: > Hi all, > > I have a similar setup and same issue here and I'm trying to use > check_http > but it doesn't seem to be working correctly. > > I have IIS setup with multiple virtual sites with different IPs all > running > on the same port (80) > > > My command is: check_http -H 10.10.5.12 -u http://10.10.5.111 > > However I get the following results whether that site is up or down: > > HTTP OK HTTP/1.1 200 OK - 1828 bytes in 0.013 seconds... > > > I really wanted to avoid having to create a host definition for each > site. suggestion -- define host { host_name websites alias Virtual Site Container address 127.0.0.1 ... } define service { host_name websites service_description site-10.10.5.111 check_command check_http_sites!10.10.5.111 ... } define service { host_name websites service_description site-othersite check_command check_http_sites!10.10.5.200 ... } define command { command_name check_http_sites command_line $USER1$/check_http -H $ARG1$ -u http://$ARG1$ } The above assumes that your web server can properly answer for and differentiate between http://10.10.5.111 and http://10.10.5.200 (or whatever other address is valid). -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Wed Jun 4 20:43:26 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Wed, 4 Jun 2008 14:43:26 -0400 Subject: Monitor web server run multiple virtual web site In-Reply-To: <13F36D2926AD444697093282F20041B7073BFFA6@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B7073BFFA6@buf-ex01.cymfony.com> Message-ID: <4846e258.3d742c0a.7f59.ffffb143@mx.google.com> Yes, but this only works with those sites that use basic authentication..and as far as I understand, no one has been able to get the windows authentication to work with the check_http plugin.. Thanks though.. I guess I can a simple ping on those sites that I can't use check_http with -----Original Message----- From: Seth Simmons [mailto:ssimmons at cymfony.com] Sent: Wednesday, June 04, 2008 1:53 PM To: Victor Lanza; Marc Powell; nagios Mailinglist Subject: RE: [Nagios-users] Monitor web server run multiple virtual web site Have you tried using -a with check_http? -a, --authorization=AUTH_PAIR Username:password on sites with basic authentication -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Victor Lanza Sent: Wednesday, June 04, 2008 1:14 PM To: 'Marc Powell'; 'nagios Mailinglist' Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site Thanks for the reply, Sorry I didn't reply earlier but I had email problems..I've tried your suggestion already, the issue I face with that is that some of these virtual sites require authentication, some simple and some Windows Authentication. This causes Nagios to get a "...401 unauthorized" error message (since check_http can only handle simple authentication). Is there no way to just check in IIS if the site is in an started or stopped state? I think this would be the ideal solution.. Thanks again, Victor.. -----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, May 30, 2008 3:37 PM To: nagios Mailinglist Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site On May 30, 2008, at 1:12 PM, Victor Lanza wrote: > Hi all, > > I have a similar setup and same issue here and I'm trying to use > check_http > but it doesn't seem to be working correctly. > > I have IIS setup with multiple virtual sites with different IPs all > running > on the same port (80) > > > My command is: check_http -H 10.10.5.12 -u http://10.10.5.111 > > However I get the following results whether that site is up or down: > > HTTP OK HTTP/1.1 200 OK - 1828 bytes in 0.013 seconds... > > > I really wanted to avoid having to create a host definition for each > site. suggestion -- define host { host_name websites alias Virtual Site Container address 127.0.0.1 ... } define service { host_name websites service_description site-10.10.5.111 check_command check_http_sites!10.10.5.111 ... } define service { host_name websites service_description site-othersite check_command check_http_sites!10.10.5.200 ... } define command { command_name check_http_sites command_line $USER1$/check_http -H $ARG1$ -u http://$ARG1$ } The above assumes that your web server can properly answer for and differentiate between http://10.10.5.111 and http://10.10.5.200 (or whatever other address is valid). -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Wed Jun 4 20:59:50 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Wed, 4 Jun 2008 14:59:50 -0400 Subject: Monitor web server run multiple virtual web site In-Reply-To: <4846e258.3d742c0a.7f59.ffffb143@mx.google.com> References: <13F36D2926AD444697093282F20041B7073BFFA6@buf-ex01.cymfony.com> <4846e258.3d742c0a.7f59.ffffb143@mx.google.com> Message-ID: <13F36D2926AD444697093282F20041B7073BFFEC@buf-ex01.cymfony.com> Have you tried -a with username at domain.com? I just tried it on my exchange server's owa and it worked. I have ssl enabled so this is the syntax I used. check_http -H mail.company.com -u /exchange/user -a user at company.com:password --ssl The results are a 302, which is ok...if I omit the -a and/or --ssl I get either a 401 or 403 but using the domain logon as above worked...not sure if that helps you at all. -----Original Message----- From: Victor Lanza [mailto:vicjalan at gmail.com] Sent: Wednesday, June 04, 2008 2:43 PM To: Seth Simmons; 'Marc Powell'; 'nagios Mailinglist' Subject: RE: [Nagios-users] Monitor web server run multiple virtual web site Yes, but this only works with those sites that use basic authentication..and as far as I understand, no one has been able to get the windows authentication to work with the check_http plugin.. Thanks though.. I guess I can a simple ping on those sites that I can't use check_http with -----Original Message----- From: Seth Simmons [mailto:ssimmons at cymfony.com] Sent: Wednesday, June 04, 2008 1:53 PM To: Victor Lanza; Marc Powell; nagios Mailinglist Subject: RE: [Nagios-users] Monitor web server run multiple virtual web site Have you tried using -a with check_http? -a, --authorization=AUTH_PAIR Username:password on sites with basic authentication -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Victor Lanza Sent: Wednesday, June 04, 2008 1:14 PM To: 'Marc Powell'; 'nagios Mailinglist' Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site Thanks for the reply, Sorry I didn't reply earlier but I had email problems..I've tried your suggestion already, the issue I face with that is that some of these virtual sites require authentication, some simple and some Windows Authentication. This causes Nagios to get a "...401 unauthorized" error message (since check_http can only handle simple authentication). Is there no way to just check in IIS if the site is in an started or stopped state? I think this would be the ideal solution.. Thanks again, Victor.. -----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, May 30, 2008 3:37 PM To: nagios Mailinglist Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site On May 30, 2008, at 1:12 PM, Victor Lanza wrote: > Hi all, > > I have a similar setup and same issue here and I'm trying to use > check_http > but it doesn't seem to be working correctly. > > I have IIS setup with multiple virtual sites with different IPs all > running > on the same port (80) > > > My command is: check_http -H 10.10.5.12 -u http://10.10.5.111 > > However I get the following results whether that site is up or down: > > HTTP OK HTTP/1.1 200 OK - 1828 bytes in 0.013 seconds... > > > I really wanted to avoid having to create a host definition for each > site. suggestion -- define host { host_name websites alias Virtual Site Container address 127.0.0.1 ... } define service { host_name websites service_description site-10.10.5.111 check_command check_http_sites!10.10.5.111 ... } define service { host_name websites service_description site-othersite check_command check_http_sites!10.10.5.200 ... } define command { command_name check_http_sites command_line $USER1$/check_http -H $ARG1$ -u http://$ARG1$ } The above assumes that your web server can properly answer for and differentiate between http://10.10.5.111 and http://10.10.5.200 (or whatever other address is valid). -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 4 21:11:38 2008 From: marc at ena.com (Marc Powell) Date: Wed, 4 Jun 2008 14:11:38 -0500 Subject: Monitor web server run multiple virtual web site In-Reply-To: <4846e258.3d742c0a.7f59.ffffb143@mx.google.com> References: <4846e258.3d742c0a.7f59.ffffb143@mx.google.com> Message-ID: <351524AA-1945-4514-8160-E5267799A3E7@ena.com> On Jun 4, 2008, at 1:43 PM, Victor Lanza wrote: > Yes, but this only works with those sites that use basic > authentication..and > as far as I understand, no one has been able to get the windows > authentication to work with the check_http plugin.. check_http can only use basic auth. It's my understanding that WebInject can use NTLM though... This might be a helpful start -- http://www.webinject.org/plugin.html Google has more information as well. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank at crop-circle.net Wed Jun 4 22:12:01 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Wed, 4 Jun 2008 16:12:01 -0400 Subject: Debugging "CHECK_NRPE: Error - Could not complete SSL handshake" errors Message-ID: http://www.nagios.org/faqs/viewfaq.php?faq_id=191 I was having this error and solved it a different way than described in the FAQ above. Don't know who to contact about getting that updated, so I thought I'd at least post it here. The installation of NRPE I was running (2.10) was emerged in Gentoo, and the default config file comes with "allowed_hosts" set to 127.0.0.1. Once I changed that, all sorts of handshaking ensued. It's not a difficult fix, but if your search for answers lands you at that FAQ page, you won't find it there (and maybe you should). -Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Wed Jun 4 22:21:03 2008 From: jpratt at norwich.edu (James Pratt) Date: Wed, 4 Jun 2008 16:21:03 -0400 Subject: Debugging "CHECK_NRPE: Error - Could not completeSSL handshake" errors In-Reply-To: References: Message-ID: <3CB18FFE1CDC71449BCCEC0FFD983110AB9D41@NUMAIL.norwich.edu> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Frank J. G?mez Sent: Wednesday, June 04, 2008 4:12 PM To: nagios-users Subject: [Nagios-users] Debugging "CHECK_NRPE: Error - Could not completeSSL handshake" errors http://www.nagios.org/faqs/viewfaq.php?faq_id=191 I was having this error and solved it a different way than described in the FAQ above.? Don't know who to contact about getting that updated, so I thought I'd at least post it here. The installation of NRPE I was running (2.10) was emerged in Gentoo, and the default config file comes with "allowed_hosts" set to 127.0.0.1.? Once I changed that, all sorts of handshaking ensued.? It's not a difficult fix, but if your search for answers lands you at that FAQ page, you won't find it there (and maybe you should). -Frank --- As a sidenote, it is that way in the default /nrpe-2.12/sample-config/nrpe.cfg as well, straight from the source. Not sure when/if that changed, as I run it off xinetd anyhow, but yes probably should be in the faq , especially since it's not specific to Gentoo/portage. Regards, Jamie ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Wed Jun 4 22:34:36 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 4 Jun 2008 16:34:36 -0400 Subject: OT: snmpwalk output format query Message-ID: <20080604203436.GD674@cgi.jachomes.com> I'm trying to snmpwalk some of my ProCurve switches to find out why they won't report CPU-TEMP as I was led to believe they should (a couple do), and in the process, I figured I'd see if there was anything else I could monitor, Just For Fun. To make that process more expeditious, I was hoping that there was a way to get snmpwalk to give with *both* the numeric OIDs, and the MIB translations, since I need to know what the parameters *are* to decide if I'm interested in them... but I don't want to burden Nagios (remember Nagios? This is a mailing-list about Nagios?... :-) with having to look them up ever 5 minutes. There doesn't seem to *be* a way to do that, though. Anyone ever try this, and figure out the magic mojo? Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Wed Jun 4 22:58:20 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 4 Jun 2008 16:58:20 -0400 Subject: OT: snmpwalk output format query In-Reply-To: <2D81E1BAE64EB343A9570B11C5E6927F0237F288@hqemhopn1.home.corp.agedwards.com> References: <20080604203436.GD674@cgi.jachomes.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F288@hqemhopn1.home.corp.agedwards.com> Message-ID: <20080604205820.GG674@cgi.jachomes.com> On Wed, Jun 04, 2008 at 03:44:35PM -0500, Ford, Andy wrote: > Probably depends on who wrote your copy of snmpwalk, but in net-snmp > there are gazillions of ways to output your walk. > Run snmpwalk with no args and look at the section: -O OUTOPTS. > I'd splice together two runs to get the combo. Splicing didn't look especially easy, which is why I was hoping to get snmpwalk to do it for me. Mine is net-snmp 5.4, and yes, it has a billion and six output options, but none of them seem to do this; I tried several combinations. Thanks, anyway... Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at gmail.com Wed Jun 4 23:05:40 2008 From: throck at gmail.com (Tom Throckmorton) Date: Wed, 4 Jun 2008 17:05:40 -0400 Subject: OT: snmpwalk output format query In-Reply-To: <20080604203436.GD674@cgi.jachomes.com> References: <20080604203436.GD674@cgi.jachomes.com> Message-ID: <20080604210540.GA17094@gmail.com> On Jun 04 16:34, Jay R. Ashworth wrote: > I'm trying to snmpwalk some of my ProCurve switches to find out why > they won't report CPU-TEMP as I was led to believe they should (a > couple do), and in the process, I figured I'd see if there was anything > else I could monitor, Just For Fun. > > To make that process more expeditious, I was hoping that there was a > way to get snmpwalk to give with *both* the numeric OIDs, and the MIB > translations, since I need to know what the parameters *are* to decide > if I'm interested in them... but I don't want to burden Nagios > (remember Nagios? This is a mailing-list about Nagios?... :-) with > having to look them up ever 5 minutes. > > There doesn't seem to *be* a way to do that, though. > > Anyone ever try this, and figure out the magic mojo? Hi Jay, I find myself MIB-spelunking occaisionally as well :-) I don't think snmpwalk can show OID's both numerically and textually in one run - it's an either/or operation. snmptranslate, OTOH, can show both in one command, though only for a single OID at a time. I find using them together to be useful - snmpwalk to see what's there, and then snmptranslate the OID's of interest, and since snmptranslate can give the full description of the OID, I get the numeric, full OID, _and_ the description, so I have a better chance of understanding what the object might mean ;-) e.g.: > me at somehost snmptranslate -Ib -On -Td sysDescr > .1.3.6.1.2.1.1.1 > sysDescr OBJECT-TYPE > -- FROM SNMPv2-MIB, RFC1213-MIB > -- TEXTUAL CONVENTION DisplayString > SYNTAX OCTET STRING (0..255) > DISPLAY-HINT "255a" > MAX-ACCESS read-only > STATUS current > DESCRIPTION "A textual description of the entity. This value should > include the full name and version identification of > the system's hardware type, software operating-system, > and networking software." > ::= { iso(1) org(3) dod(6) internet(1) mgmt(2) mib-2(1) system(1) 1 } Cheers, -tt ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aedwards at sandvine.com Thu Jun 5 02:08:49 2008 From: aedwards at sandvine.com (Andrew Edwards) Date: Wed, 4 Jun 2008 20:08:49 -0400 Subject: error when including resource.cfg Message-ID: <5230D3C40B842D4F9FB3CD368021BEF702010924@exchange-2.sandvine.com> I have been recently working on upgrading my nagios1.0 install to 3.0.2 and whenever I have my resources.cfg file included in the nagios.cfg file I get Error: Unexpected token or statement in file '/usr/local/etc/nagios/resource.cfg' on line 37. and line 37 is where I define $USER1$ is defined and I get this error on every $USERx$ that is defined. I'm installing on freebsd7 from ports and the only thing I found searching online is a reference to a minimal.cfg but I don't know how to tell if that's my problem. Thanks, Andrew Edwards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tkang1 at gmail.com Thu Jun 5 03:44:25 2008 From: tkang1 at gmail.com (Taeho Kang) Date: Thu, 5 Jun 2008 10:44:25 +0900 Subject: Questions on normal_check_interval Message-ID: <279a90ff0806041844x4aab7ebfq3c96885933f0037b@mail.gmail.com> Dear Nagios Users and Developers, Is is possible to set Nagios check interval (normal_check_interval, retry_check_interval) to be something less than 1 minute? If not, what are some possible ways to monitor some services at an interval less than a minute? Thank you in advance, /Taeho -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 04:21:34 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 04 Jun 2008 22:21:34 -0400 Subject: Questions on normal_check_interval In-Reply-To: <279a90ff0806041844x4aab7ebfq3c96885933f0037b@mail.gmail.com> References: <279a90ff0806041844x4aab7ebfq3c96885933f0037b@mail.gmail.com> Message-ID: <48474DAE.5080604@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/06/08 09:44 PM, Taeho Kang wrote: > Dear Nagios Users and Developers, > > Is is possible to set Nagios check interval (normal_check_interval, > retry_check_interval) to be something less than 1 minute? > If not, what are some possible ways to monitor some services at an > interval less than a minute? The interval_length parameter is in nagios.cfg. Remember that if you change it from 60 to 1, you'll have to multiply every parameters based on it by 60 (check_interval, notification_interval, etc) to get the same results (and then you can obviously lower the ones you want lower). Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIR02u6dZ+Kt5BchYRAtMqAKDTXO5pJc9l8MyOZ/fjs3ATuAB8eQCfciLz xgwxScG/wp+Rk4i4SeAAJr8= =8Lgm -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 04:27:03 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 04 Jun 2008 22:27:03 -0400 Subject: error when including resource.cfg In-Reply-To: <5230D3C40B842D4F9FB3CD368021BEF702010924@exchange-2.sandvine.com> References: <5230D3C40B842D4F9FB3CD368021BEF702010924@exchange-2.sandvine.com> Message-ID: <48474EF7.5020402@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/06/08 08:08 PM, Andrew Edwards wrote: > I have been recently working on upgrading my nagios1.0 install to 3.0.2 > and whenever I have my resources.cfg file included in the nagios.cfg > file I get > Error: Unexpected token or statement in file > '/usr/local/etc/nagios/resource.cfg' on line 37. > > and line 37 is where I define $USER1$ is defined and I get this error on > every $USERx$ that is defined. I'm installing on freebsd7 from ports > and the only thing I found searching online is a reference to a > minimal.cfg but I don't know how to tell if that's my problem. I suggest you look for typos, misspelled macros, leading and trailing spaces in there... Otherwise make a copy of it with non-sensitive data, verify it still breaks and send it over (as attachment) for inspection. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIR0736dZ+Kt5BchYRAqWZAJ98ei+VzANd+hCv2GuhAHcMUprCyQCg4rWM TPo+slv27JG5LhMyHoiVaYg= =Dlsz -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 04:33:37 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 04 Jun 2008 22:33:37 -0400 Subject: Fwd: The results of your email commands In-Reply-To: <25251aec0806032302t49847fb1ied59d4d3c804dc65@mail.gmail.com> References: <25251aec0806032302t49847fb1ied59d4d3c804dc65@mail.gmail.com> Message-ID: <48475081.6060605@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/06/08 02:02 AM, asam30 at gmail.com wrote: > Hi, > > I am trying to install nagios plugins on solaris spac 10. It was able to > configure fine but problems comes up while compiling. > > # make > gcc: language strconst not recognized > gcc: check_mysql.c: linker input file unused because linking not done > mv: cannot access .deps/check_mysql-check_mysql.Tpo > make[2]: *** [check_mysql-check_mysql.o] Error 2 > make[2]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.11/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.11' > make: *** [all] Error 2 > # which make > /usr/local/bin/make > I've downloaded gnu make from sunfreeware.com > from the below suggestion, > > http://www.nagios.org/faqs/viewfaq.php?faq_id=78 > > I was actually getting the error in the above url but as per the > suggestion I've downloaded make-3.81 and installed it. Then it reportes > the above error which I gave here. > > Please suggest This is most likely because your mysql was compiled with sun cc with non-gcc compiler flags. Two options here: 1. If you don't need check_mysql*, just configure with "--without-mysql" 2. If you need mysql checks, edit plugins/Makefile, look for MYSQLCFLAGS and remove any non-gcc flag there. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIR1CB6dZ+Kt5BchYRAr0iAKCeq1KuqNskm4nenx3ZNCz2NxQq/QCgwraw a/xrbMxORHcqk24In3cqCQE= =72QW -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aedwards at sandvine.com Thu Jun 5 04:32:18 2008 From: aedwards at sandvine.com (Andrew Edwards) Date: Wed, 4 Jun 2008 22:32:18 -0400 Subject: error when including resource.cfg In-Reply-To: <48474EF7.5020402@aei.ca> References: <48474EF7.5020402@aei.ca> Message-ID: <5230D3C40B842D4F9FB3CD368021BEF702010926@exchange-2.sandvine.com> I get the same result if I use the resource.cfg-sample provide with the install. $ nagios -v /usr/local/etc/nagios/nagios.cfg Nagios 3.0.2 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 05-19-2008 License: GPL Reading configuration data... Error: Unexpected token or statement in file '/usr/local/etc/nagios/resource.cfg' on line 26. $ cat resource.cfg ######################################################################## ### # # RESOURCE.CFG - Sample Resource File for Nagios 3.0.2 # # Last Modified: 09-10-2003 # # You can define $USERx$ macros in this file, which can in turn be used # in command definitions in your host config file(s). $USERx$ macros are # useful for storing sensitive information such as usernames, passwords, # etc. They are also handy for specifying the path to plugins and # event handlers - if you decide to move the plugins or event handlers to # a different directory in the future, you can just update one or two # $USERx$ macros, instead of modifying a lot of command definitions. # # The CGIs will not attempt to read the contents of resource files, so # you can set restrictive permissions (600 or 660) on them. # # Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) # # Resource files may also be used to store configuration directives for # external data sources like MySQL... # ######################################################################## ### # Sets $USER1$ to be the path to the plugins $USER1$=/usr/local/libexec/nagios # Sets $USER2$ to be the path to event handlers #$USER2$=/usr/local/libexec/nagios/eventhandlers # Store some usernames and passwords (hidden from the CGIs) #$USER3$=someuser #$USER4$=somepassword -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Wednesday, June 04, 2008 10:27 PM To: Andrew Edwards Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] error when including resource.cfg -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/06/08 08:08 PM, Andrew Edwards wrote: > I have been recently working on upgrading my nagios1.0 install to 3.0.2 > and whenever I have my resources.cfg file included in the nagios.cfg > file I get > Error: Unexpected token or statement in file > '/usr/local/etc/nagios/resource.cfg' on line 37. > > and line 37 is where I define $USER1$ is defined and I get this error on > every $USERx$ that is defined. I'm installing on freebsd7 from ports > and the only thing I found searching online is a reference to a > minimal.cfg but I don't know how to tell if that's my problem. I suggest you look for typos, misspelled macros, leading and trailing spaces in there... Otherwise make a copy of it with non-sensitive data, verify it still breaks and send it over (as attachment) for inspection. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIR0736dZ+Kt5BchYRAqWZAJ98ei+VzANd+hCv2GuhAHcMUprCyQCg4rWM TPo+slv27JG5LhMyHoiVaYg= =Dlsz -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 5 06:16:34 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 5 Jun 2008 04:16:34 +0000 Subject: error when including resource.cfg In-Reply-To: <5230D3C40B842D4F9FB3CD368021BEF702010926@exchange-2.sandvine.com> References: <48474EF7.5020402@aei.ca> <5230D3C40B842D4F9FB3CD368021BEF702010926@exchange-2.sandvine.com> Message-ID: <93C487A372B3774CAEAA15D524CCF3D1228B23C2FF@G1W0485.americas.hpqcorp.net> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Andrew Edwards > Sent: Wednesday, June 04, 2008 7:32 PM > To: Thomas Guyot-Sionnest > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] error when including resource.cfg > > I get the same result if I use the resource.cfg-sample provide with the > install. > > $ nagios -v /usr/local/etc/nagios/nagios.cfg > > Nagios 3.0.2 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 05-19-2008 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file > '/usr/local/etc/nagios/resource.cfg' on line 26. Have you, by any chance, told Nagios to load all files in /usr/local/etc/nagios using the cfg_dir directive, or told it to load it using the cfg_file directive rather than the resource_file one? That would cause the error you're seeing. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaelmukherji at gmail.com Thu Jun 5 08:38:47 2008 From: michaelmukherji at gmail.com (Michael Mukherji) Date: Thu, 5 Jun 2008 12:08:47 +0530 Subject: Probelm with NSClient++ Message-ID: <8facdc490806042338i7559db54he0c0c1585267326b@mail.gmail.com> Hello List I am using Nagios 3.0 to monitor few of my windows server using the nsclient++ , I am monitoring services and memory + CPU utilization with nsclient++, I get a critical alert saying (Return code of 139 is out of bounds) for the services and memory utilizations when ever the service fails , sometimes it even gives false alert as when i login to server i see that service running. Can anyone help me on this pls ? Also i would like to intregate nmap with nagios , to monitor open ports as well for servers , has anyone any idea about the feasibility /else is there any plugins available to check this !! regards Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Van.Caeyzeele at cernum.com Thu Jun 5 08:49:29 2008 From: Tim.Van.Caeyzeele at cernum.com (Tim Van Caeyzeele) Date: Thu, 5 Jun 2008 08:49:29 +0200 Subject: Nagios VM Message-ID: <48C4B0E24DA90B4481C2ED21F591A30F1A747D871D@SV0099.cernum.com> Hi All, I was wondering if anyone has a full up and running nagios 3.02 installation with some extra features in it and is willing to share it ? I know some projects exists (nagiosvma/nagios-on-cd/...), but they all work on nagios 2x The reason I'm asking: I spent 2 weeks configuring nagios 3.02 with several plugins (n2rrd/nagvis), customized website and custom check scripts and just ended up with a broken hard disk... -> 2 weeks work down the drain GRR L I managed to get some cfg files back however ;) Before starting back all the way from square, I wanted to check with you guys ;) Regards, Tim Van Caeyzeele IT Administrator Cernum | Kareelstraat 48 | 9300 Aalst | Belgium | T +32 53 80 26 40 | F +32 53 80 26 35 tim.van.caeyzeele at cernum.com www.cernum.com P please consider the environment before printing this email -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ml at nicole-haehnel.de Thu Jun 5 11:57:32 2008 From: ml at nicole-haehnel.de (=?ISO-8859-15?Q?Nicole_H=E4hnel?=) Date: Thu, 05 Jun 2008 11:57:32 +0200 Subject: Performance problems Message-ID: <4847B88C.7060107@nicole-haehnel.de> Hi, I'm running nagios 3.0.2 on a dell poweredge 2850 server with 2gb ram and a xeon 2.80GHz cpu. Also running on this server, ndo utils 1.47b, pnp, nagvis and nagiosla.(os is newest rhel5) Nagios checks 113 hosts and 660 services, most of them every 3 minutes. Server load is over 1.3 most of the time due to the mysql database, I think. Another problem is, I get frequently high ping times in the local network the nagios server belongs to. What servers do you use for this count of checks. Should I split it into two nagios servers? It would be nice to get some suggestions. Thanks! Nicole ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Thu Jun 5 12:50:15 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Thu, 5 Jun 2008 12:50:15 +0200 Subject: Antwort: Performance problems In-Reply-To: <4847B88C.7060107@nicole-haehnel.de> References: <4847B88C.7060107@nicole-haehnel.de> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 05.06.2008 11:57:32: > I'm running nagios 3.0.2 on a dell poweredge 2850 server with 2gb ram > and a xeon 2.80GHz cpu. > Also running on this server, ndo utils 1.47b, pnp, nagvis and > nagiosla.(os is newest rhel5) > Nagios checks 113 hosts and 660 services, most of them every 3 minutes. > Server load is over 1.3 most of the time due to the mysql database, I think. > Another problem is, I get frequently high ping times in the local > network the nagios server belongs to. > > What servers do you use for this count of checks. > Should I split it into two nagios servers? > > It would be nice to get some suggestions. I'm running nearly the same set, just missing nagiosla, on RHEL5.2. Machine is a HP DL360 Quad-Core E5405 @ 2.00GHz with 5GB Ram. Local 10k SAS hdd only, no SAN, local mysql. 400 hosts, 1500 servicechecks. 1400 servicechecks are scheduled every minute, 100 once per day. I do get roundabout 1100-1200 checks throughput each minute, averaging 80% of the expected checks each minute with a very good latency. Check Execution Time: 0.01 sec 10.02 sec 0.417 sec Check Latency: 0.00 sec 7.19 sec 1.623 sec I've done extensive performance tests and in summary the best practices to speed up things: - RAM, RAM, RAM. Both for mysql (see below) and for increased filesystem buffers. - Reserve enough memory for mysql to keep things buffered as long as possible: I'm currently using these settings: innodb_buffer_pool_size = 1024M innodb_additional_mem_pool_size = 64M innodb_log_file_size = 512M innodb_log_buffer_size = 64M innodb_flush_log_at_trx_commit = 1 Beware: this will spike up mysql memory usage to nearly 2GB virtual and roundabout 1GB of resident memory. - use npcd for bulk processing performance data for pnp. Direct injections for each performance result will stall your checks and result in huge check latency - set "data_processing_options=4061953" in your ndomod.cfg By default ndo parses and injects every event from nagios, which results in unnecessary mysql queries and bloats the database over time - even more slowing down ndo since it automatically purges old data. With this option you won't have any aging data and the database only holds realtime info Attention: This setting is totally perfect with Nagvis, but I have no clue if nagiosla needs ndo and what information - so double check that. - I'm using "use_large_installation_tweaks=1" too, but I'm not sure if it would have any impact on your scenario. - I've manually built an SQL index over some tables for ndo, but I doubt it would have much impact on your scenario either. hth Regards Sascha -- Sascha Runschke Netzwerk- und Systemmanagement Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chantal at antenna.nl Thu Jun 5 13:18:13 2008 From: chantal at antenna.nl (Chantal Rosmuller) Date: Thu, 5 Jun 2008 13:18:13 +0200 Subject: Error: Could not read object configuration data! Message-ID: <200806051318.13453.chantal@antenna.nl> Hi list, after upgrading from 1.4 to 2.6 on a debian system the webinterface is not working anymore, if I click on a menu link I get: Error: Could not read object configuration data! the nagios documentation says: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). I tried 1 but no errors same for option 2 3, I didn't compile but I used aptitude, so I guess that cannot be the problem? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chantal at antenna.nl Thu Jun 5 14:02:47 2008 From: chantal at antenna.nl (Chantal Rosmuller) Date: Thu, 5 Jun 2008 14:02:47 +0200 Subject: Error: Could not read object configuration data! In-Reply-To: <200806051318.13453.chantal@antenna.nl> References: <200806051318.13453.chantal@antenna.nl> Message-ID: <200806051402.47906.chantal@antenna.nl> On Thursday 05 June 2008 13:18:13 Chantal Rosmuller wrote: > Hi list, > > after upgrading from 1.4 to 2.6 on a debian system the webinterface is not > working anymore, if I click on a menu link I get: > > Error: Could not read object configuration data! > > the nagios documentation says: > > 1. Verify configuration options using the -v command-line option to > check for errors. > 2. Check the Nagios log file for messages relating to startup or status > data errors. > 3. Make sure you've compiled the main program and the CGIs to use the > same object data storage options (i.e. default text file or template-based > file). > > I tried 1 but no errors > same for option 2 > 3, I didn't compile but I used aptitude, so I guess that cannot be the > problem? > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null The nagios daemon is running by the way. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Thu Jun 5 14:06:44 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Thu, 5 Jun 2008 08:06:44 -0400 Subject: Monitor web server run multiple virtual web site In-Reply-To: <351524AA-1945-4514-8160-E5267799A3E7@ena.com> References: <351524AA-1945-4514-8160-E5267799A3E7@ena.com> Message-ID: <4847d6e0.1aad7e0a.59e8.591d@mx.google.com> I will look into that.. 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: Wednesday, June 04, 2008 3:12 PM To: nagios Mailinglist Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site On Jun 4, 2008, at 1:43 PM, Victor Lanza wrote: > Yes, but this only works with those sites that use basic > authentication..and > as far as I understand, no one has been able to get the windows > authentication to work with the check_http plugin.. check_http can only use basic auth. It's my understanding that WebInject can use NTLM though... This might be a helpful start -- http://www.webinject.org/plugin.html Google has more information as well. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Thu Jun 5 14:20:10 2008 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 5 Jun 2008 13:20:10 +0100 Subject: Monitor web server run multiple virtual web site In-Reply-To: <4847d6e0.1aad7e0a.59e8.591d@mx.google.com> References: <351524AA-1945-4514-8160-E5267799A3E7@ena.com> <4847d6e0.1aad7e0a.59e8.591d@mx.google.com> Message-ID: <7EF0EE5CB3B263488C8C18823239BEBA03DB9C48@HC-MBX02.herefordshire.gov.uk> I've recently done this. The details are in the Webinject forum here: http://www.webinject.org/cgi-bin/forums/YaBB.cgi?board=Development;actio n=display;num=1185818423 It works a treat. Cheers, Phil -- Phil Randal Networks Engineer Herefordshire Council Hereford, UK -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Victor Lanza Sent: 05 June 2008 13:07 To: 'Marc Powell'; 'nagios Mailinglist' Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site I will look into that.. 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: Wednesday, June 04, 2008 3:12 PM To: nagios Mailinglist Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site On Jun 4, 2008, at 1:43 PM, Victor Lanza wrote: > Yes, but this only works with those sites that use basic > authentication..and as far as I understand, no one has been able to > get the windows authentication to work with the check_http plugin.. check_http can only use basic auth. It's my understanding that WebInject can use NTLM though... This might be a helpful start -- http://www.webinject.org/plugin.html Google has more information as well. -- Marc ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 5 14:35:44 2008 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Thu, 5 Jun 2008 18:05:44 +0530 Subject: Alerts using IM Message-ID: Hi All, May be this query has already been answered on this list. I need to add a "service check" in nagios that sends out an IM alert in case of failure and recovery. I have set up ejabberd as the IM server. Found that imcom is an IM client that can be used from the command line to send out instant messages. I am trying to figure out how imcom can be used to write notification scripts. Anybody aware of how it can be done? Or do I need to use any other way/method/IM_client? Would be great if I get any suggestions. Thanks in advance Yogesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 15:01:12 2008 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jun 2008 08:01:12 -0500 Subject: Performance problems In-Reply-To: <4847B88C.7060107@nicole-haehnel.de> References: <4847B88C.7060107@nicole-haehnel.de> Message-ID: <3A45796E-0B6B-42C0-99DA-8DEF29CA3D13@ena.com> On Jun 5, 2008, at 4:57 AM, Nicole H?hnel wrote: > Hi, > > I'm running nagios 3.0.2 on a dell poweredge 2850 server with 2gb ram > and a xeon 2.80GHz cpu. > Also running on this server, ndo utils 1.47b, pnp, nagvis and > nagiosla.(os is newest rhel5) > Nagios checks 113 hosts and 660 services, most of them every 3 > minutes. > Server load is over 1.3 most of the time due to the mysql database, > I think. This sounds about right. 330 checks/240 seconds = 2.75 checks/sec. You'll have at least 1 process in the run queue at any given second so you have a load average of 1+. Why do you think this is a problem? It seems quite normal for any linux box and shouldn't be an issue. > Another problem is, I get frequently high ping times in the local > network the nagios server belongs to. There are many reasons this could be. High utilization of the links on the network, high utilization of the routers/switches, speed and duplex mismatches, bad cabling causing retransmits, etc... > What servers do you use for this count of checks. > Should I split it into two nagios servers? Until last year I was using Compaq DL360's (dual P3 1.4Ghz, 1G ram) to monitor 800+ services at 5 minute intervals + Cricket data collection for 10's of thousands of interfaces during that same interval. They were performing just fine. I replaced them with modern Sun boxes because they were way too old and I was worried about potential hardware failures. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Thu Jun 5 15:11:28 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 5 Jun 2008 09:11:28 -0400 Subject: OT: snmpwalk output format query In-Reply-To: <2D81E1BAE64EB343A9570B11C5E6927F0237F289@hqemhopn1.home.corp.agedwards.com> References: <20080604203436.GD674@cgi.jachomes.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F288@hqemhopn1.home.corp.agedwards.com> <20080604205820.GG674@cgi.jachomes.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F289@hqemhopn1.home.corp.agedwards.com> Message-ID: <20080605131128.GC4647@cgi.jachomes.com> On Wed, Jun 04, 2008 at 04:17:32PM -0500, Ford, Andy wrote: > Here's some real basic Perl to get you started: > > #!/usr/bin/perl > use warnings; > use strict; > > my @names = `snmpwalk -v2c -cpublic localhost system`; > my @numbers = `snmpwalk -On -v2c -cpublic localhost system`; > > foreach my $i (0..$#names) { > print "$names[$i] $numbers[$i]\n\n"; > } See what happens when you're not a perl guy? Thanks a bunch, Andy. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank at crop-circle.net Thu Jun 5 16:03:36 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Thu, 5 Jun 2008 10:03:36 -0400 Subject: Error: Could not read object configuration data! In-Reply-To: <200806051402.47906.chantal@antenna.nl> References: <200806051318.13453.chantal@antenna.nl> <200806051402.47906.chantal@antenna.nl> Message-ID: Is it possible that the upgrader changed permissions/ownership of some config file(s) in /etc/nagios/? On Thu, Jun 5, 2008 at 8:02 AM, Chantal Rosmuller wrote: > On Thursday 05 June 2008 13:18:13 Chantal Rosmuller wrote: > > Hi list, > > > > after upgrading from 1.4 to 2.6 on a debian system the webinterface is > not > > working anymore, if I click on a menu link I get: > > > > Error: Could not read object configuration data! > > > > the nagios documentation says: > > > > 1. Verify configuration options using the -v command-line option to > > check for errors. > > 2. Check the Nagios log file for messages relating to startup or > status > > data errors. > > 3. Make sure you've compiled the main program and the CGIs to use the > > same object data storage options (i.e. default text file or > template-based > > file). > > > > I tried 1 but no errors > > same for option 2 > > 3, I didn't compile but I used aptitude, so I guess that cannot be the > > problem? > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > The nagios daemon is running by the way. > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chantal at antenna.nl Thu Jun 5 16:09:24 2008 From: chantal at antenna.nl (Chantal Rosmuller) Date: Thu, 5 Jun 2008 16:09:24 +0200 Subject: Error: Could not read object configuration data! In-Reply-To: References: <200806051318.13453.chantal@antenna.nl> <200806051402.47906.chantal@antenna.nl> Message-ID: <200806051609.24605.chantal@antenna.nl> Yes it is, but I changed the permissions already and they are ok now, at least I think they should be okay: servername:~# ls -la /etc/nagios2 total 192 drwxr-xr-x 4 nagios www-data 4096 2008-06-05 15:00 . drwxr-xr-x 125 root root 8192 2008-06-05 11:02 .. -rw-r--r-- 1 nagios www-data 1598 2008-05-13 13:18 apache2.conf -rw-r--r-- 1 nagios root 13261 2008-06-05 14:01 cgi.cfg -rw-r--r-- 1 nagios www-data 1830 2008-06-05 10:46 checkcommands.cfgd drwxr-xr-x 2 nagios www-data 4096 2008-06-05 11:05 conf.d -rw-r--r-- 1 nagios www-data 1926 2008-06-05 10:46 contactgroups.cfg -rw-r--r-- 1 nagios www-data 3945 2008-06-05 10:46 contacts.cfg -rw-r--r-- 1 nagios www-data 1662 2008-06-05 10:46 dependencies.cfg -rw-r--r-- 1 nagios www-data 2256 2008-06-05 10:46 escalations.cfg -rw-r--r-- 1 nagios www-data 4585 2008-06-05 15:00 hostgroups.cfg -rw-r--r-- 1 nagios www-data 11072 2008-06-05 12:56 hosts.cfg -rw-r--r-- 1 nagios www-data 13544 2008-06-05 10:46 minimal.cfg -rw-r--r-- 1 nagios www-data 6542 2008-06-05 13:06 misccommands.cfg -rw-r--r-- 1 nagios www-data 21702 2008-06-05 12:35 nagios.cfg -rw-r--r-- 1 nagios www-data 4692 2008-06-05 10:46 nrpe.cfg -rw-r--r-- 1 nagios www-data 0 2008-06-05 10:46 nrpe_local.cfg -rw-r----- 1 nagios www-data 3100 2008-06-05 10:46 resource.cfg -rw-r--r-- 1 nagios www-data 6363 2008-06-05 10:46 services.cfg drwxr-xr-x 2 nagios www-data 4096 2007-03-04 23:56 stylesheets -rw-r--r-- 1 nagios www-data 1863 2008-06-05 10:46 timeperiods.cfg On Thursday 05 June 2008 16:03:36 Frank J. G?mez wrote: > Is it possible that the upgrader changed permissions/ownership of some > config file(s) in /etc/nagios/? > > On Thu, Jun 5, 2008 at 8:02 AM, Chantal Rosmuller > > wrote: > > On Thursday 05 June 2008 13:18:13 Chantal Rosmuller wrote: > > > Hi list, > > > > > > after upgrading from 1.4 to 2.6 on a debian system the webinterface is > > > > not > > > > > working anymore, if I click on a menu link I get: > > > > > > Error: Could not read object configuration data! > > > > > > the nagios documentation says: > > > > > > 1. Verify configuration options using the -v command-line option to > > > check for errors. > > > 2. Check the Nagios log file for messages relating to startup or > > > > status > > > > > data errors. > > > 3. Make sure you've compiled the main program and the CGIs to use > > > the same object data storage options (i.e. default text file or > > > > template-based > > > > > file). > > > > > > I tried 1 but no errors > > > same for option 2 > > > 3, I didn't compile but I used aptitude, so I guess that cannot be the > > > problem? > > > > > > > > > ----------------------------------------------------------------------- > > >-- Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > ::: reporting any issue. Messages without supporting info will risk > > > ::: being sent to /dev/null > > > > The nagios daemon is running by the way. > > > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Thu Jun 5 16:11:42 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 5 Jun 2008 10:11:42 -0400 Subject: Performance problems In-Reply-To: <3A45796E-0B6B-42C0-99DA-8DEF29CA3D13@ena.com> References: <4847B88C.7060107@nicole-haehnel.de> <3A45796E-0B6B-42C0-99DA-8DEF29CA3D13@ena.com> Message-ID: <20080605141142.GF4647@cgi.jachomes.com> On Thu, Jun 05, 2008 at 08:01:12AM -0500, Marc Powell wrote: > Until last year I was using Compaq DL360's (dual P3 1.4Ghz, 1G ram) to > monitor 800+ services at 5 minute intervals + Cricket data collection > for 10's of thousands of interfaces during that same interval. You're talking, there, about watching throughput on switchports and the like? That's my next gig; do you have a good pointer on setting Cricket up to do that sort of thing? It'll be my first time behind the scenes with C; Wikimedia uses it to monitor stuff, but I've only ever looked at the pretty pictures. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.frost1 at pepsi.com Thu Jun 5 16:18:04 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 5 Jun 2008 10:18:04 -0400 Subject: Probelm with NSClient++ In-Reply-To: <8facdc490806042338i7559db54he0c0c1585267326b@mail.gmail.com> References: <8facdc490806042338i7559db54he0c0c1585267326b@mail.gmail.com> Message-ID: ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael Mukherji Sent: Thursday, June 05, 2008 2:39 AM To: Nagios Users Mailinglist Subject: [Nagios-users] Probelm with NSClient++ Hello List I am using Nagios 3.0 to monitor few of my windows server using the nsclient++ , I am monitoring services and memory + CPU utilization with nsclient++, I get a critical alert saying (Return code of 139 is out of bounds) for the services and memory utilizations when ever the service fails , sometimes it even gives false alert as when i login to server i see that service running. Can anyone help me on this pls ? Also i would like to intregate nmap with nagios , to monitor open ports as well for servers , has anyone any idea about the feasibility /else is there any plugins available to check this !! regards Michael Michael, I can't say specifically what your NSclient++ issue is, but I can offer the following. I've seen this problem occur when I check something that doesn't exist. For example, I've had machines where I've used check_nt on the server side to check the D: drive on a Windows box, but that D: does not exist (I did this as part of a hostgroup check and one of those hosts did not have a D: drive). My best suggestion is to break down the command you're running from the nagios side (check_nt or preferrably, check_nrpe) to this host and run it to make sure it returns properly. I find many of those Windows-checking commands are complex enough that I can't be sure I have them right until I've worked them out from the command-line first. I don't know about nmap checking, but if you haven't already had a look at Nagios Exchange (www.nagiosexchange.org). Also, when I did a Google search for "nagios nmap plugin" I got several reasonable-looking hits. Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank at crop-circle.net Thu Jun 5 16:20:47 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Thu, 5 Jun 2008 10:20:47 -0400 Subject: Error: Could not read object configuration data! In-Reply-To: <200806051609.24605.chantal@antenna.nl> References: <200806051318.13453.chantal@antenna.nl> <200806051402.47906.chantal@antenna.nl> <200806051609.24605.chantal@antenna.nl> Message-ID: I'm by no means an expert -- just taking shots in the dark here, but... Can you run checks from the command line? If so, it suggests a problem specific to the CGI. If not, it would seem the problem is with Nagios per se. On Thu, Jun 5, 2008 at 10:09 AM, Chantal Rosmuller wrote: > Yes it is, but I changed the permissions already and they are ok now, at > least > I think they should be okay: > > > servername:~# ls -la /etc/nagios2 > total 192 > drwxr-xr-x 4 nagios www-data 4096 2008-06-05 15:00 . > drwxr-xr-x 125 root root 8192 2008-06-05 11:02 .. > -rw-r--r-- 1 nagios www-data 1598 2008-05-13 13:18 apache2.conf > -rw-r--r-- 1 nagios root 13261 2008-06-05 14:01 cgi.cfg > -rw-r--r-- 1 nagios www-data 1830 2008-06-05 10:46 checkcommands.cfgd > drwxr-xr-x 2 nagios www-data 4096 2008-06-05 11:05 conf.d > -rw-r--r-- 1 nagios www-data 1926 2008-06-05 10:46 contactgroups.cfg > -rw-r--r-- 1 nagios www-data 3945 2008-06-05 10:46 contacts.cfg > -rw-r--r-- 1 nagios www-data 1662 2008-06-05 10:46 dependencies.cfg > -rw-r--r-- 1 nagios www-data 2256 2008-06-05 10:46 escalations.cfg > -rw-r--r-- 1 nagios www-data 4585 2008-06-05 15:00 hostgroups.cfg > -rw-r--r-- 1 nagios www-data 11072 2008-06-05 12:56 hosts.cfg > -rw-r--r-- 1 nagios www-data 13544 2008-06-05 10:46 minimal.cfg > -rw-r--r-- 1 nagios www-data 6542 2008-06-05 13:06 misccommands.cfg > -rw-r--r-- 1 nagios www-data 21702 2008-06-05 12:35 nagios.cfg > -rw-r--r-- 1 nagios www-data 4692 2008-06-05 10:46 nrpe.cfg > -rw-r--r-- 1 nagios www-data 0 2008-06-05 10:46 nrpe_local.cfg > -rw-r----- 1 nagios www-data 3100 2008-06-05 10:46 resource.cfg > -rw-r--r-- 1 nagios www-data 6363 2008-06-05 10:46 services.cfg > drwxr-xr-x 2 nagios www-data 4096 2007-03-04 23:56 stylesheets > -rw-r--r-- 1 nagios www-data 1863 2008-06-05 10:46 timeperiods.cfg > > > On Thursday 05 June 2008 16:03:36 Frank J. G?mez wrote: > > Is it possible that the upgrader changed permissions/ownership of some > > config file(s) in /etc/nagios/? > > > > On Thu, Jun 5, 2008 at 8:02 AM, Chantal Rosmuller > > > > wrote: > > > On Thursday 05 June 2008 13:18:13 Chantal Rosmuller wrote: > > > > Hi list, > > > > > > > > after upgrading from 1.4 to 2.6 on a debian system the webinterface > is > > > > > > not > > > > > > > working anymore, if I click on a menu link I get: > > > > > > > > Error: Could not read object configuration data! > > > > > > > > the nagios documentation says: > > > > > > > > 1. Verify configuration options using the -v command-line option > to > > > > check for errors. > > > > 2. Check the Nagios log file for messages relating to startup or > > > > > > status > > > > > > > data errors. > > > > 3. Make sure you've compiled the main program and the CGIs to use > > > > the same object data storage options (i.e. default text file or > > > > > > template-based > > > > > > > file). > > > > > > > > I tried 1 but no errors > > > > same for option 2 > > > > 3, I didn't compile but I used aptitude, so I guess that cannot be > the > > > > problem? > > > > > > > > > > > > > ----------------------------------------------------------------------- > > > >-- Check out the new SourceForge.net Marketplace. > > > > It's the best place to buy or sell services for > > > > just about anything Open Source. > > > > http://sourceforge.net/services/buy/index.php > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > ::: reporting any issue. Messages without supporting info will risk > > > > ::: being sent to /dev/null > > > > > > The nagios daemon is running by the way. > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: 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 out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chantal at antenna.nl Thu Jun 5 16:42:56 2008 From: chantal at antenna.nl (Chantal Rosmuller) Date: Thu, 5 Jun 2008 16:42:56 +0200 Subject: Error: Could not read object configuration data! In-Reply-To: References: <200806051318.13453.chantal@antenna.nl> <200806051609.24605.chantal@antenna.nl> Message-ID: <200806051642.57003.chantal@antenna.nl> Thanks, The nagios server sends out email alerts so it is a cgi problem On Thursday 05 June 2008 16:20:47 Frank J. G?mez wrote: > I'm by no means an expert -- just taking shots in the dark here, but... > > Can you run checks from the command line? If so, it suggests a problem > specific to the CGI. If not, it would seem the problem is with Nagios per > se. > > On Thu, Jun 5, 2008 at 10:09 AM, Chantal Rosmuller > > wrote: > > Yes it is, but I changed the permissions already and they are ok now, at > > least > > I think they should be okay: > > > > > > servername:~# ls -la /etc/nagios2 > > total 192 > > drwxr-xr-x 4 nagios www-data 4096 2008-06-05 15:00 . > > drwxr-xr-x 125 root root 8192 2008-06-05 11:02 .. > > -rw-r--r-- 1 nagios www-data 1598 2008-05-13 13:18 apache2.conf > > -rw-r--r-- 1 nagios root 13261 2008-06-05 14:01 cgi.cfg > > -rw-r--r-- 1 nagios www-data 1830 2008-06-05 10:46 checkcommands.cfgd > > drwxr-xr-x 2 nagios www-data 4096 2008-06-05 11:05 conf.d > > -rw-r--r-- 1 nagios www-data 1926 2008-06-05 10:46 contactgroups.cfg > > -rw-r--r-- 1 nagios www-data 3945 2008-06-05 10:46 contacts.cfg > > -rw-r--r-- 1 nagios www-data 1662 2008-06-05 10:46 dependencies.cfg > > -rw-r--r-- 1 nagios www-data 2256 2008-06-05 10:46 escalations.cfg > > -rw-r--r-- 1 nagios www-data 4585 2008-06-05 15:00 hostgroups.cfg > > -rw-r--r-- 1 nagios www-data 11072 2008-06-05 12:56 hosts.cfg > > -rw-r--r-- 1 nagios www-data 13544 2008-06-05 10:46 minimal.cfg > > -rw-r--r-- 1 nagios www-data 6542 2008-06-05 13:06 misccommands.cfg > > -rw-r--r-- 1 nagios www-data 21702 2008-06-05 12:35 nagios.cfg > > -rw-r--r-- 1 nagios www-data 4692 2008-06-05 10:46 nrpe.cfg > > -rw-r--r-- 1 nagios www-data 0 2008-06-05 10:46 nrpe_local.cfg > > -rw-r----- 1 nagios www-data 3100 2008-06-05 10:46 resource.cfg > > -rw-r--r-- 1 nagios www-data 6363 2008-06-05 10:46 services.cfg > > drwxr-xr-x 2 nagios www-data 4096 2007-03-04 23:56 stylesheets > > -rw-r--r-- 1 nagios www-data 1863 2008-06-05 10:46 timeperiods.cfg > > > > On Thursday 05 June 2008 16:03:36 Frank J. G?mez wrote: > > > Is it possible that the upgrader changed permissions/ownership of some > > > config file(s) in /etc/nagios/? > > > > > > On Thu, Jun 5, 2008 at 8:02 AM, Chantal Rosmuller > > > > > > wrote: > > > > On Thursday 05 June 2008 13:18:13 Chantal Rosmuller wrote: > > > > > Hi list, > > > > > > > > > > after upgrading from 1.4 to 2.6 on a debian system the webinterface > > > > is > > > > > > not > > > > > > > > > working anymore, if I click on a menu link I get: > > > > > > > > > > Error: Could not read object configuration data! > > > > > > > > > > the nagios documentation says: > > > > > > > > > > 1. Verify configuration options using the -v command-line option > > > > to > > > > > > > check for errors. > > > > > 2. Check the Nagios log file for messages relating to startup or > > > > > > > > status > > > > > > > > > data errors. > > > > > 3. Make sure you've compiled the main program and the CGIs to > > > > > use the same object data storage options (i.e. default text file or > > > > > > > > template-based > > > > > > > > > file). > > > > > > > > > > I tried 1 but no errors > > > > > same for option 2 > > > > > 3, I didn't compile but I used aptitude, so I guess that cannot be > > > > the > > > > > > > problem? > > > > ----------------------------------------------------------------------- > > > > > > >-- Check out the new SourceForge.net Marketplace. > > > > > It's the best place to buy or sell services for > > > > > just about anything Open Source. > > > > > http://sourceforge.net/services/buy/index.php > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > > ::: reporting any issue. Messages without supporting info will risk > > > > > ::: being sent to /dev/null > > > > > > > > The nagios daemon is running by the way. > > > > ------------------------------------------------------------------------- > > > > > > Check out the new SourceForge.net Marketplace. > > > > It's the best place to buy or sell services for > > > > just about anything Open Source. > > > > http://sourceforge.net/services/buy/index.php > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ::: 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 out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.ford at wachovia.com Thu Jun 5 17:30:24 2008 From: andrew.ford at wachovia.com (Ford, Andy) Date: Thu, 5 Jun 2008 10:30:24 -0500 Subject: check_snmp_int.pl: over 100%? Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F28A@hqemhopn1.home.corp.agedwards.com> I'm trying to use check_snmp_int.pl (not standard, see http://nagios.manubulon.com/snmp_int.html) but when I try to get my results in percent form, I get over 100% results on at least on device: $./check_snmp_int.pl -HDEVICE -CXXX --name 'eth-s1p1 ' --perfcheck --perfspeed --warning=40,60 --critical=60,80 --prct eth-s1p1 Ethernet Layer Intel 10/100 Ethernet:UP (CRIT 180.3%/CRIT 468.1%):(1 UP): CRITICAL Am I just using the options wrong? Andrew Ford Wachovia Corporate Information Security 314-955-6647 desk 314-600-7025 cell andrew.ford at wachovia.com Wachovia Securities, LLC's outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. A.G. Edwards, a division of Wachovia Securities, LLC ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phanoko at gmail.com Thu Jun 5 17:56:08 2008 From: phanoko at gmail.com (matt wells) Date: Thu, 5 Jun 2008 08:56:08 -0700 Subject: nsca and comments questions.. Message-ID: So I have 2 servers server1 server2 - - server1 lives inside my network and server2 lives in a DMZ. All of my customers login to server2 in order to see the status of the networks I monitor. The two servers replicate the information with nsca. It seems that when a systems goes down it replicates perfectly but when I comment on it the comments or anything do not go. Also does server2 have to ping all the systems as well? They it currently is pinging everything along with server1. What did I do wrong? Thanks everyone. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhorrisb at ssc.wisc.edu Thu Jun 5 17:56:34 2008 From: rhorrisb at ssc.wisc.edu (Ryan Horrisberger) Date: Thu, 05 Jun 2008 10:56:34 -0500 Subject: Alerts using IM In-Reply-To: References: Message-ID: <48480CB2.6090606@ssc.wisc.edu> >May be this query has already been answered on this list. yup, and it is common etiquette to check and see before reposting. It was very recently in fact--3/18/08 if you want to dredge the archives for more info. This URL should help. http://www.gridpp.ac.uk/wiki/Nagios_jabber_notification Ryan Horrisberger -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3442 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Thu Jun 5 17:57:33 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Thu, 5 Jun 2008 11:57:33 -0400 Subject: check_http issues... Message-ID: <48480cf7.1aad7e0a.59e8.ffffad59@mx.google.com> I feel like this plugin hates me!... I get a critical status with a (Null) Status Information and I can't seem to figure out what I am doing wrong. My command looks like this: define command{ command_name check_http_arg command_line $USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$ } And my service definition looks like this: define service{ use master-service host mdfbbsw01 service_description Web Interface check_command check_http_arg!admin:'12345' } However from the command line (with root and nagios users) I execute this: /usr/local/nagios/libexec/check_http -I 10.10.4.10 -a admin:'12345' HTTP OK HTTP/1.1 200 OK - 16447 bytes in 0.150 seconds |time=0.150422s;;;0.000000 size=16447B;;;0 Can anyone see anything that I don't? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dani at tydnet.org Thu Jun 5 17:53:46 2008 From: dani at tydnet.org (Daniel =?iso-8859-1?q?L=F3pez?=) Date: Thu, 5 Jun 2008 17:53:46 +0200 Subject: check_snmp_int.pl: over 100%? In-Reply-To: <2D81E1BAE64EB343A9570B11C5E6927F0237F28A@hqemhopn1.home.corp.agedwards.com> References: <2D81E1BAE64EB343A9570B11C5E6927F0237F28A@hqemhopn1.home.corp.agedwards.com> Message-ID: <200806051753.46324.dani@tydnet.org> On Thu June 5 2008 17:30:24 Ford, Andy wrote: > I'm trying to use check_snmp_int.pl (not standard, see > http://nagios.manubulon.com/snmp_int.html) but when I try to get my > results in percent form, I get over 100% results on at least on device: > > > $./check_snmp_int.pl -HDEVICE -CXXX --name 'eth-s1p1 ' --perfcheck > --perfspeed --warning=40,60 --critical=60,80 --prct > eth-s1p1 Ethernet Layer Intel 10/100 Ethernet:UP (CRIT 180.3%/CRIT > 468.1%):(1 UP): CRITICAL > > > Am I just using the options wrong? > try this: check_cisco_int -H $HOSTADDRESS$ -C $USER4$ -B -u -r -f -n "$ARG1$" -kY -w 80,80 -c 90,90 -d 600 regards, dani ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.ford at wachovia.com Thu Jun 5 18:22:26 2008 From: andrew.ford at wachovia.com (Ford, Andy) Date: Thu, 5 Jun 2008 11:22:26 -0500 Subject: check_snmp_int.pl: over 100%? In-Reply-To: <200806051753.46324.dani@tydnet.org> References: <2D81E1BAE64EB343A9570B11C5E6927F0237F28A@hqemhopn1.home.corp.agedwards.com> <200806051753.46324.dani@tydnet.org> Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F28B@hqemhopn1.home.corp.agedwards.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Daniel L?pez > Sent: Thursday, June 05, 2008 10:54 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_snmp_int.pl: over 100%? > > On Thu June 5 2008 17:30:24 Ford, Andy wrote: > > I'm trying to use check_snmp_int.pl (not standard, see > > http://nagios.manubulon.com/snmp_int.html) but when I try to get my > > results in percent form, I get over 100% results on at > least on device: > > > > > > $./check_snmp_int.pl -HDEVICE -CXXX --name 'eth-s1p1 ' --perfcheck > > --perfspeed --warning=40,60 --critical=60,80 --prct > > eth-s1p1 Ethernet Layer Intel 10/100 Ethernet:UP (CRIT 180.3%/CRIT > > 468.1%):(1 UP): CRITICAL > > > > > > Am I just using the options wrong? > > > try this: > > check_cisco_int -H $HOSTADDRESS$ -C $USER4$ -B -u -r -f -n > "$ARG1$" -kY -w > 80,80 -c 90,90 -d 600 > Thanks Dani for the reply. I'm confused: is that a command definition or a custom plugin? If I use your options but replace "check_ciso_int" with "check_snmp_int.pl" I still get results over 100%. Andrew Ford Wachovia Corporate Information Security 314-955-6647 desk 314-600-7025 cell andrew.ford at wachovia.com Wachovia Securities, LLC's outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. A.G. Edwards, a division of Wachovia Securities, LLC ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 18:31:45 2008 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jun 2008 11:31:45 -0500 Subject: Performance problems In-Reply-To: <20080605141142.GF4647@cgi.jachomes.com> References: <4847B88C.7060107@nicole-haehnel.de> <3A45796E-0B6B-42C0-99DA-8DEF29CA3D13@ena.com> <20080605141142.GF4647@cgi.jachomes.com> Message-ID: <5945DD61-A107-41C2-BC9D-91FE817268AE@ena.com> On Jun 5, 2008, at 9:11 AM, Jay R. Ashworth wrote: > On Thu, Jun 05, 2008 at 08:01:12AM -0500, Marc Powell wrote: >> Until last year I was using Compaq DL360's (dual P3 1.4Ghz, 1G ram) >> to >> monitor 800+ services at 5 minute intervals + Cricket data collection >> for 10's of thousands of interfaces during that same interval. > > You're talking, there, about watching throughput on switchports and > the > like? That's my next gig; do you have a good pointer on setting > Cricket up to do that sort of thing? It'll be my first time behind > the Cricket's hardcore but pretty extensible. You have to have a good understanding of SNMP and rrdtool. http://cricket.sf.net is the only source of information that I am aware of. Note that general development ceased several years ago but there's not much that it lacks if you think of it as a framework. The user list is pretty inactive as well. If you do use it, the genRtrConfig and genDevConfig addons are extremely useful for adding in new devices. If I were doing it again, I'd give Cacti a serious look. When we adopted cricket, cacti didn't scale very well and it didn't appear to have obvious ways to script the creation of new devices which we could do simply with cricket. I don't know if those have changed but Cacti appears to be very polished. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 18:35:20 2008 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jun 2008 11:35:20 -0500 Subject: Error: Could not read object configuration data! In-Reply-To: <200806051609.24605.chantal@antenna.nl> References: <200806051318.13453.chantal@antenna.nl> <200806051402.47906.chantal@antenna.nl> <200806051609.24605.chantal@antenna.nl> Message-ID: <6D2D4F61-D5B8-46D2-BD0C-10CE799D3831@ena.com> On Jun 5, 2008, at 9:09 AM, Chantal Rosmuller wrote: > Yes it is, but I changed the permissions already and they are ok > now, at least > I think they should be okay: > > > servername:~# ls -la /etc/nagios2 The CGI's are actually trying to read the cached object data file and other files under var. object_cache_file=/usr/local/nagios/var/objects.cache They don't have to be group www-data, just readable by the web server. (i.e. 664). -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 18:45:45 2008 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jun 2008 11:45:45 -0500 Subject: nsca and comments questions.. In-Reply-To: References: Message-ID: On Jun 5, 2008, at 10:56 AM, matt wells wrote: > So I have 2 servers > server1 > server2 > - - > server1 lives inside my network and server2 lives in a DMZ. > All of my customers login to server2 in order to see the status of > the networks I monitor. > The two servers replicate the information with nsca. One sends to the other or both send to each other? > It seems that when a systems goes down it replicates perfectly but > when I comment on it the comments or anything do not go. That's correct. Event handlers, which I assume you are using to call send_nsca, only fire on check results. There's no built-in way to replicate comments, acknowledgements, or any other CGI initiated action (except forced checks). > Also does server2 have to ping all the systems as well? They it > currently is pinging everything along with server1. Not if you disable active checks or set the check period to none. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rich+nagios at quintinz.com Thu Jun 5 18:58:03 2008 From: rich+nagios at quintinz.com (Richard Quintin) Date: Thu, 5 Jun 2008 12:58:03 -0400 Subject: check_http issues... In-Reply-To: <48480cf7.1aad7e0a.59e8.ffffad59@mx.google.com> References: <48480cf7.1aad7e0a.59e8.ffffad59@mx.google.com> Message-ID: <822f14060806050958v7b698e90n773226be482be13b@mail.gmail.com> You're using -I and the command line and -H in your conf. This makes a difference. I haven't figured out all the details yet, but I believe it affects what gets sent in the header... On Thu, Jun 5, 2008 at 11:57 AM, Victor Lanza wrote: > I feel like this plugin hates me!... > > > > I get a critical status with a (Null) Status Information and I can't seem to > figure out what I am doing wrong. > > > > My command looks like this: > > define command{ > > command_name check_http_arg > > command_line $USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$ > > } > > > > And my service definition looks like this: > > define service{ > > use master-service > > host mdfbbsw01 > > service_description Web Interface > > check_command check_http_arg!admin:'12345' > > } > > > > > > > > However from the command line (with root and nagios users) I execute this: > > /usr/local/nagios/libexec/check_http -I 10.10.4.10 -a admin:'12345' > > > > HTTP OK HTTP/1.1 200 OK - 16447 bytes in 0.150 seconds > |time=0.150422s;;;0.000000 size=16447B;;;0 > > > > > > Can anyone see anything that I don't? > > > > Thanks, > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Thu Jun 5 19:06:06 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Thu, 5 Jun 2008 13:06:06 -0400 Subject: check_http issues... In-Reply-To: <822f14060806050958v7b698e90n773226be482be13b@mail.gmail.com> References: <822f14060806050958v7b698e90n773226be482be13b@mail.gmail.com> Message-ID: <48481d07.19ac7e0a.6400.3f3f@mx.google.com> I've actually tried both the H and I interchangeably and it only works on the command line..regardless of H or I.. -----Original Message----- From: richard at quintinz.com [mailto:richard at quintinz.com] On Behalf Of Richard Quintin Sent: Thursday, June 05, 2008 12:58 PM To: Victor Lanza Cc: nagios Mailinglist Subject: Re: [Nagios-users] check_http issues... You're using -I and the command line and -H in your conf. This makes a difference. I haven't figured out all the details yet, but I believe it affects what gets sent in the header... On Thu, Jun 5, 2008 at 11:57 AM, Victor Lanza wrote: > I feel like this plugin hates me!... > > > > I get a critical status with a (Null) Status Information and I can't seem to > figure out what I am doing wrong. > > > > My command looks like this: > > define command{ > > command_name check_http_arg > > command_line $USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$ > > } > > > > And my service definition looks like this: > > define service{ > > use master-service > > host mdfbbsw01 > > service_description Web Interface > > check_command check_http_arg!admin:'12345' > > } > > > > > > > > However from the command line (with root and nagios users) I execute this: > > /usr/local/nagios/libexec/check_http -I 10.10.4.10 -a admin:'12345' > > > > HTTP OK HTTP/1.1 200 OK - 16447 bytes in 0.150 seconds > |time=0.150422s;;;0.000000 size=16447B;;;0 > > > > > > Can anyone see anything that I don't? > > > > Thanks, > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rich+nagios at quintinz.com Thu Jun 5 19:17:57 2008 From: rich+nagios at quintinz.com (Richard Quintin) Date: Thu, 5 Jun 2008 13:17:57 -0400 Subject: check_http issues... In-Reply-To: <48481d07.19ac7e0a.6400.3f3f@mx.google.com> References: <822f14060806050958v7b698e90n773226be482be13b@mail.gmail.com> <48481d07.19ac7e0a.6400.3f3f@mx.google.com> Message-ID: <822f14060806051017n2cb5639dv476cc147f6fe945b@mail.gmail.com> And the host address for mdfbbsw01 is defined as 10.10.4.10? If so, I would take a look at check_debug to figure out what's going on. http://www.nagios.org/faqs/viewfaq.php?faq_id=379 On Thu, Jun 5, 2008 at 1:06 PM, Victor Lanza wrote: > I've actually tried both the H and I interchangeably and it only works on > the command line..regardless of H or I.. > > -----Original Message----- > From: richard at quintinz.com [mailto:richard at quintinz.com] On Behalf Of > Richard Quintin > Sent: Thursday, June 05, 2008 12:58 PM > To: Victor Lanza > Cc: nagios Mailinglist > Subject: Re: [Nagios-users] check_http issues... > > You're using -I and the command line and -H in your conf. This makes > a difference. I haven't figured out all the details yet, but I > believe it affects what gets sent in the header... > > On Thu, Jun 5, 2008 at 11:57 AM, Victor Lanza wrote: >> I feel like this plugin hates me!... >> >> >> >> I get a critical status with a (Null) Status Information and I can't seem > to >> figure out what I am doing wrong. >> >> >> >> My command looks like this: >> >> define command{ >> >> command_name check_http_arg >> >> command_line $USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$ >> >> } >> >> >> >> And my service definition looks like this: >> >> define service{ >> >> use master-service >> >> host mdfbbsw01 >> >> service_description Web Interface >> >> check_command check_http_arg!admin:'12345' >> >> } >> >> >> >> >> >> >> >> However from the command line (with root and nagios users) I execute this: >> >> /usr/local/nagios/libexec/check_http -I 10.10.4.10 -a admin:'12345' >> >> >> >> HTTP OK HTTP/1.1 200 OK - 16447 bytes in 0.150 seconds >> |time=0.150422s;;;0.000000 size=16447B;;;0 >> >> >> >> >> >> Can anyone see anything that I don't? >> >> >> >> Thanks, >> >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > Richard Quintin, DBA > Database & Application Administration > Virginia Tech > > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Thu Jun 5 20:28:21 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Thu, 5 Jun 2008 14:28:21 -0400 Subject: check_http issues... In-Reply-To: <822f14060806051017n2cb5639dv476cc147f6fe945b@mail.gmail.com> References: <822f14060806051017n2cb5639dv476cc147f6fe945b@mail.gmail.com> Message-ID: <48483052.1aa57e0a.1703.4e1d@mx.google.com> Ok....it gets weirder.. When I run the command again with that debug script, the log file doesn't get written. All users have access to write to the tmp directory by default so I don't know why it is not writing the log. I tried also running the debug script via the command line in case it was a permission issue. This time it did write the log file but it isn't much use since the check_http works from the command line anyways. I also tried this and got the same results: http://www.waggy.at/nagios/capture_plugin.htm My commands were: define command{ command_name check_http_arg command_line /$USER1$/check_debug.sh /$USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$ } define command{ command_name check_http_arg command_line /$USER1$/capture_plugin.pl /$USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$ } -----Original Message----- From: richard at quintinz.com [mailto:richard at quintinz.com] On Behalf Of Richard Quintin Sent: Thursday, June 05, 2008 1:18 PM To: Victor Lanza Cc: nagios Mailinglist Subject: Re: [Nagios-users] check_http issues... And the host address for mdfbbsw01 is defined as 10.10.4.10? If so, I would take a look at check_debug to figure out what's going on. http://www.nagios.org/faqs/viewfaq.php?faq_id=379 On Thu, Jun 5, 2008 at 1:06 PM, Victor Lanza wrote: > I've actually tried both the H and I interchangeably and it only works on > the command line..regardless of H or I.. > > -----Original Message----- > From: richard at quintinz.com [mailto:richard at quintinz.com] On Behalf Of > Richard Quintin > Sent: Thursday, June 05, 2008 12:58 PM > To: Victor Lanza > Cc: nagios Mailinglist > Subject: Re: [Nagios-users] check_http issues... > > You're using -I and the command line and -H in your conf. This makes > a difference. I haven't figured out all the details yet, but I > believe it affects what gets sent in the header... > > On Thu, Jun 5, 2008 at 11:57 AM, Victor Lanza wrote: >> I feel like this plugin hates me!... >> >> >> >> I get a critical status with a (Null) Status Information and I can't seem > to >> figure out what I am doing wrong. >> >> >> >> My command looks like this: >> >> define command{ >> >> command_name check_http_arg >> >> command_line $USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$ >> >> } >> >> >> >> And my service definition looks like this: >> >> define service{ >> >> use master-service >> >> host mdfbbsw01 >> >> service_description Web Interface >> >> check_command check_http_arg!admin:'12345' >> >> } >> >> >> >> >> >> >> >> However from the command line (with root and nagios users) I execute this: >> >> /usr/local/nagios/libexec/check_http -I 10.10.4.10 -a admin:'12345' >> >> >> >> HTTP OK HTTP/1.1 200 OK - 16447 bytes in 0.150 seconds >> |time=0.150422s;;;0.000000 size=16447B;;;0 >> >> >> >> >> >> Can anyone see anything that I don't? >> >> >> >> Thanks, >> >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > Richard Quintin, DBA > Database & Application Administration > Virginia Tech > > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 20:40:38 2008 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jun 2008 13:40:38 -0500 Subject: nsca and comments questions.. In-Reply-To: References: Message-ID: <069C357A-C3B2-4F11-8124-50BFBD02172F@ena.com> Please always reply on list so that others now, or in the future, can benefit from your experience. You'll also have better luck finding out your options since I only have my personal experiences to draw on. On Jun 5, 2008, at 1:04 PM, matt wells wrote: > Server1 sends to server2 only. One way communications. > > You mention > "There's no built-in way to > replicate comments, acknowledgements, or any other CGI initiated > action (except forced checks)." > Is there another way to do this? Nothing currently exists that I am aware of but there are certainly ways to do it. - create a client/daemon similar to NSCA that can send arbitrary external commands to the nagios external command pipe on remote machines - write an event-broker module that intercepts those events and sends appropriate commands to the above client or - tail -f nagios.log looking for those events and send appropriate commands to the above client. The client/daemon might be as simple as an authorized_keys ssh (untested) -- ssh nagios at otherhost 'echo "[timestamp] EXTERNALCOMMAND;options" > / usr/local/nagios/var/rw/nagios.cmd' I'd probably opt for calling a script, that the key was limited to running, that accepted the external command and options as variables then wrote to the pipe. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 20:45:47 2008 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jun 2008 13:45:47 -0500 Subject: check_http issues... In-Reply-To: <48483052.1aa57e0a.1703.4e1d@mx.google.com> References: <48483052.1aa57e0a.1703.4e1d@mx.google.com> Message-ID: <23CC502A-7768-40AE-86EE-2F0A8C6BA0FD@ena.com> On Jun 5, 2008, at 1:28 PM, Victor Lanza wrote: > Ok....it gets weirder.. > > When I run the command again with that debug script, the log file > doesn't > get written. All users have access to write to the tmp directory by > default > so I don't know why it is not writing the log. > /usr/local/nagios/libexec/check_http -I 10.10.4.10 -a admin:'12345' >> >>> What's special about the password that you're enclosing it in quotes? Do you see different behavior if you make it wrong, but not 'special'? How about if you hard set it in the command{} definition instead of passing it as a $ARGx$? -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmanuel at unb.ca Thu Jun 5 20:59:44 2008 From: kmanuel at unb.ca (Kevin Manuel) Date: Thu, 5 Jun 2008 15:59:44 -0300 Subject: event handler not working In-Reply-To: References: Message-ID: <00a401c8c73e$51b0cc20$f5126460$@ca> Hi, I'm trying to get an event handler to work with no success so I'm hoping somebody might have some suggestions. It appears as though Nagios is not calling the event handler at all when a service check is performed. I don't think it's a permissions thing because the event handler works properly when run by the nagios user at the command line: i.e. [root at flames bin]# su - nagios -c "/usr/local/nagios/libexec/eventhandlers/renotify-on-ok" I have removed all the arguments that are passed to the event handler to simplify troubleshooting and at this point the event handler should simply send an email message when the service check is performed. Code shown below. Thanks in advance. renotify-on-ok (only 3 lines): ============================== #!/usr/bin/perl $contactEmail = "kmanuel\@unb.ca"; `/bin/echo -e ' event handler works! ' | /bin/mail -s '** event handler works **' $contactEmail`; checkcommands.cfg: ===================== define command{ command_name renotify-on-ok command_line $USER1$/eventhandlers/renotify-on-ok } In templates.cfg the service is defined as follows: =================================================== define service{ use generic-service ; Name of service template to use name snmp-trap-alerting-service service_description SNMP Trap Alert is_volatile 1 check_period 24x7 active_checks_enabled 0 normal_check_interval 14400 retry_check_interval 14400 max_check_attempts 1 notification_interval 0 notification_period 24x7 notification_options w,u,c,r check_command check_none stalking_options o,w,u,c event_handler renotify-on-ok event_handler_enabled 1 register 0 } ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Thu Jun 5 21:08:57 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Thu, 5 Jun 2008 15:08:57 -0400 Subject: check_http issues... In-Reply-To: <23CC502A-7768-40AE-86EE-2F0A8C6BA0FD@ena.com> References: <23CC502A-7768-40AE-86EE-2F0A8C6BA0FD@ena.com> Message-ID: <484839d4.1aad7e0a.59e8.ffffc53e@mx.google.com> Ok here is what I tried.. 1. I passed the user:pass in the command file opposed to passing as an $ARGx$ and it returned a Warning state with a 401 Unauthorized. However it did create the log file this time. 2. I passed the user:pass without the quotes (still in the command file) and still got the same results in the Nagios interface and also got a log. What is weird about the log is that the password being sent is not the same as the one defined in the command file and I guess it has to do with the 'special' characters in the password. The password is: 123$45! The reason why I was passing it in single quotes was because the check_http plugin seemed to be able to pass it on to the site to authenticate with it just fine. If I removed the quotes, I got an access denied message. However this only works via the command line. Here is what I got in the logfiles: 2008-5-5 14:56:58 ------ debugging cmd=[/usr/local/nagios/libexec/check_http '-H' '10.10.4.10' '-a' 'admin:123$45!$'] output=[HTTP WARNING: HTTP/1.1 401 Unauthorized ] retcode=1 ------- 2008-5-5 14:58:13 ------ debugging cmd=[/usr/local/nagios/libexec/check_http '-H' '10.10.4.10' '-a' 'admin:1235!$'] output=[HTTP WARNING: HTTP/1.1 401 Unauthorized ] retcode=1 ------- Notice how on the first error it has the $ misplaced at the end as well as after the 3. In the 2nd one it doesn't have $ after 3, it has it at the end instead. The password is this way due to strict password rules here and I don't think I could use a simpler one. However, if it works via the command line I don't see why it shouldn't work through the nagios interface. :( -----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, June 05, 2008 2:46 PM To: nagios Mailinglist Subject: Re: [Nagios-users] check_http issues... On Jun 5, 2008, at 1:28 PM, Victor Lanza wrote: > Ok....it gets weirder.. > > When I run the command again with that debug script, the log file > doesn't > get written. All users have access to write to the tmp directory by > default > so I don't know why it is not writing the log. > /usr/local/nagios/libexec/check_http -I 10.10.4.10 -a admin:'12345' >> >>> What's special about the password that you're enclosing it in quotes? Do you see different behavior if you make it wrong, but not 'special'? How about if you hard set it in the command{} definition instead of passing it as a $ARGx$? -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Thu Jun 5 21:16:51 2008 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Thu, 5 Jun 2008 15:16:51 -0400 Subject: check_snmp Message-ID: <7f62d2420806051216ncdcfe56qdd0855cd43b895ff@mail.gmail.com> I've got two nagios installs with snmp giving different responses. Details: Host1 is an operational nagios 2.9 install on SuSE 10.1-64bit machine Host2 is a development machine, Suse 10.2-64bit with newly installed nagios 3.02 and nagios-plugins-1.4.12. I have all the perl modules necessary (Net SNMP, Crypt DES, Digest HMAC as well as libgd. running check_snmp -H SOMEHOST -o 1.3.6.1.4.1.674.10892.1.700.20.1.6.1.1 -C Nmystring% -P 1 -c 1:250 -u degC*10 -l 'Front side I/O Temp: ' returns on the operational host Front side I/O Temp: OK - 200 degC*10 | iso.3.6.1.4.1.674.10892.1.700.20.1.6.1.1=200 But from the development host, I get Front side I/O Temp: problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] SOMEHOST:161 1.3.6.1.4.1.674.10892.1.700.20.1.6.1.1 Both resolve the hostname the same and other plugins to same host (ping,Mysql) work fine. Strace of the command shows it finding all the same files until it times out. Where else can I look for differences? TIA ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.ford at wachovia.com Thu Jun 5 21:24:21 2008 From: andrew.ford at wachovia.com (Ford, Andy) Date: Thu, 5 Jun 2008 14:24:21 -0500 Subject: check_snmp In-Reply-To: <7f62d2420806051216ncdcfe56qdd0855cd43b895ff@mail.gmail.com> References: <7f62d2420806051216ncdcfe56qdd0855cd43b895ff@mail.gmail.com> Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F28C@hqemhopn1.home.corp.agedwards.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of dave stern - e-mail.pluribus.unum > Sent: Thursday, June 05, 2008 2:17 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_snmp > > I've got two nagios installs with snmp giving different responses. > > Details: > Host1 is an operational nagios 2.9 install on SuSE 10.1-64bit machine > > Host2 is a development machine, Suse 10.2-64bit with newly installed > nagios 3.02 and nagios-plugins-1.4.12. I have all the perl > modules necessary > (Net SNMP, Crypt DES, Digest HMAC as well as libgd. > > running > > check_snmp -H SOMEHOST -o 1.3.6.1.4.1.674.10892.1.700.20.1.6.1.1 -C > Nmystring% -P 1 -c 1:250 -u degC*10 -l 'Front side I/O Temp: ' > > returns on the operational host > Front side I/O Temp: OK - 200 degC*10 | > iso.3.6.1.4.1.674.10892.1.700.20.1.6.1.1=200 > > But from the development host, I get > Front side I/O Temp: problem - No data received from host > CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] SOMEHOST:161 > 1.3.6.1.4.1.674.10892.1.700.20.1.6.1.1 > > Both resolve the hostname the same and other plugins to same host > (ping,Mysql) work fine. > Strace of the command shows it finding all the same files > until it times out. > Where else can I look for differences? Look for an access control list of some kind on the target device which restricts who can query it via SNMP. Andrew Ford Wachovia Corporate Information Security 314-955-6647 desk 314-600-7025 cell andrew.ford at wachovia.com Wachovia Securities, LLC's outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. A.G. Edwards, a division of Wachovia Securities, LLC ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 21:27:35 2008 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jun 2008 14:27:35 -0500 Subject: event handler not working In-Reply-To: <00a401c8c73e$51b0cc20$f5126460$@ca> References: <00a401c8c73e$51b0cc20$f5126460$@ca> Message-ID: On Jun 5, 2008, at 1:59 PM, Kevin Manuel wrote: > Hi, > > I'm trying to get an event handler to work with no success so I'm > hoping > somebody might have some suggestions. It appears as though Nagios is > not > calling the event handler at all when a service check is performed. > I don't Nagios should log if it does. You also need to enable event handlers in nagios.cfg -- $ grep enable_event_handlers etc/nagios.cfg enable_event_handlers=1 -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Thu Jun 5 21:27:39 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 5 Jun 2008 15:27:39 -0400 Subject: check_snmp In-Reply-To: <2D81E1BAE64EB343A9570B11C5E6927F0237F28C@hqemhopn1.home.corp.agedwards.com> References: <7f62d2420806051216ncdcfe56qdd0855cd43b895ff@mail.gmail.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F28C@hqemhopn1.home.corp.agedwards.com> Message-ID: <20080605192739.GA5851@cgi.jachomes.com> On Thu, Jun 05, 2008 at 02:24:21PM -0500, Ford, Andy wrote: > > Both resolve the hostname the same and other plugins to same host > > (ping,Mysql) work fine. > > Strace of the command shows it finding all the same files > > until it times out. > > Where else can I look for differences? > > Look for an access control list of some kind on the target device which > restricts who can query it via SNMP. And, if that's difficult to do, take the working host offnet, and alias the other one's interface to it's IP. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 21:38:49 2008 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jun 2008 14:38:49 -0500 Subject: check_http issues... In-Reply-To: <484839d4.1aad7e0a.59e8.ffffc53e@mx.google.com> References: <484839d4.1aad7e0a.59e8.ffffc53e@mx.google.com> Message-ID: <1CD13B5E-3504-42CE-AA9A-0FC11D0C9613@ena.com> On Jun 5, 2008, at 2:08 PM, Victor Lanza wrote: > The password is: 123$45! > > The reason why I was passing it in single quotes was because the > check_http > plugin seemed to be able to pass it on to the site to authenticate > with it > just fine. If I removed the quotes, I got an access denied message. > However > this only works via the command line. > > Here is what I got in the logfiles: > > 2008-5-5 14:56:58 ------ debugging > cmd=[/usr/local/nagios/libexec/check_http '-H' '10.10.4.10' '-a' > 'admin:123$45!$'] > output=[HTTP WARNING: HTTP/1.1 401 Unauthorized > ] > retcode=1 > ------- > 2008-5-5 14:58:13 ------ debugging > cmd=[/usr/local/nagios/libexec/check_http '-H' '10.10.4.10' '-a' > 'admin:1235!$'] > output=[HTTP WARNING: HTTP/1.1 401 Unauthorized > ] > retcode=1 > ------- > > Notice how on the first error it has the $ misplaced at the end as > well as > after the 3. In the 2nd one it doesn't have $ after 3, it has it at > the end > instead. The password is this way due to strict password rules here > and I > don't think I could use a simpler one. However, if it works via the > command > line I don't see why it shouldn't work through the nagios > interface. :( I don't know what version of nagios you are using but this appears relevant and was submitted to nagios-devel late last week -- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480001 Note also that '!' has special meaning to nagios in service{} and host{} command_lines regardless of whether it's enclosed in quotes or not. Nagios-3 addresses that -- http://nagios.sourceforge.net/docs/3_0/whatsnew.html "Escaped command arguments - You can now pass bang (!) characters in your command arguments by escaping them with a backslash (\). If you need to include backslashes in your command arguments, they should also be escaped with a backslash." -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Thu Jun 5 21:49:24 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Thu, 5 Jun 2008 15:49:24 -0400 Subject: check_http issues... In-Reply-To: <1CD13B5E-3504-42CE-AA9A-0FC11D0C9613@ena.com> References: <1CD13B5E-3504-42CE-AA9A-0FC11D0C9613@ena.com> Message-ID: <48484350.1bb87e0a.0dfe.ffff88d8@mx.google.com> I'm using Nagios 3.0.1 with Plugins 1.4.11 Ahhhhh.. Well on another note if I were to use this password, where would I need to put the escape character? The password is: 123$45! I'll try that if not, I'll try to create a separate non admin user with enough rights to log in -----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, June 05, 2008 3:39 PM To: nagios Mailinglist Subject: Re: [Nagios-users] check_http issues... On Jun 5, 2008, at 2:08 PM, Victor Lanza wrote: > The password is: 123$45! > > The reason why I was passing it in single quotes was because the > check_http > plugin seemed to be able to pass it on to the site to authenticate > with it > just fine. If I removed the quotes, I got an access denied message. > However > this only works via the command line. > > Here is what I got in the logfiles: > > 2008-5-5 14:56:58 ------ debugging > cmd=[/usr/local/nagios/libexec/check_http '-H' '10.10.4.10' '-a' > 'admin:123$45!$'] > output=[HTTP WARNING: HTTP/1.1 401 Unauthorized > ] > retcode=1 > ------- > 2008-5-5 14:58:13 ------ debugging > cmd=[/usr/local/nagios/libexec/check_http '-H' '10.10.4.10' '-a' > 'admin:1235!$'] > output=[HTTP WARNING: HTTP/1.1 401 Unauthorized > ] > retcode=1 > ------- > > Notice how on the first error it has the $ misplaced at the end as > well as > after the 3. In the 2nd one it doesn't have $ after 3, it has it at > the end > instead. The password is this way due to strict password rules here > and I > don't think I could use a simpler one. However, if it works via the > command > line I don't see why it shouldn't work through the nagios > interface. :( I don't know what version of nagios you are using but this appears relevant and was submitted to nagios-devel late last week -- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480001 Note also that '!' has special meaning to nagios in service{} and host{} command_lines regardless of whether it's enclosed in quotes or not. Nagios-3 addresses that -- http://nagios.sourceforge.net/docs/3_0/whatsnew.html "Escaped command arguments - You can now pass bang (!) characters in your command arguments by escaping them with a backslash (\). If you need to include backslashes in your command arguments, they should also be escaped with a backslash." -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Thu Jun 5 21:52:37 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 5 Jun 2008 15:52:37 -0400 Subject: check_http issues... In-Reply-To: <48484350.1bb87e0a.0dfe.ffff88d8@mx.google.com> References: <1CD13B5E-3504-42CE-AA9A-0FC11D0C9613@ena.com> <48484350.1bb87e0a.0dfe.ffff88d8@mx.google.com> Message-ID: <20080605195237.GC5851@cgi.jachomes.com> On Thu, Jun 05, 2008 at 03:49:24PM -0400, Victor Lanza wrote: > Well on another note if I were to use this password, where would I need to > put the escape character? > > The password is: 123$45! You might need to escape both the $ and the !; both have special meaning to a shell, in addition to any meaning they may have to Nagios. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 21:58:10 2008 From: marc at ena.com (Marc Powell) Date: Thu, 5 Jun 2008 14:58:10 -0500 Subject: check_http issues... In-Reply-To: <48484350.1bb87e0a.0dfe.ffff88d8@mx.google.com> References: <48484350.1bb87e0a.0dfe.ffff88d8@mx.google.com> Message-ID: <77411C1A-2133-45CD-A0BF-774F397F0205@ena.com> On Jun 5, 2008, at 2:49 PM, Victor Lanza wrote: > I'm using Nagios 3.0.1 with Plugins 1.4.11 > > Ahhhhh.. > > Well on another note if I were to use this password, where would I > need to > put the escape character? > > The password is: 123$45! If the debian supplied patch works as expected to handle the inclusion of the extra '$' then it should be as simple as changing your service{} check_command to be -- check_command check_http_arg!admin:'123$45\!' I expect the $ to be ok as-is since the shell will see that enclosed in single-quotes an won't treat it as a shell variable. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.keaveney at gmail.com Thu Jun 5 23:08:59 2008 From: ray.keaveney at gmail.com (Ray Keaveney) Date: Thu, 5 Jun 2008 14:08:59 -0700 Subject: Mixed Nagios versions in a Distributed setup? Message-ID: <1F387DFD-28C7-46CE-AB50-0AE2B876DE15@gmail.com> Hello, I'm in the process of implementing a Distributed nagios system. Are there any known issues with using different nagios versions in the Distributed model? In my instance it would be Nagios 3.0.2 on the Central server and Nagios 2.x on the Distributed servers. Thanks, -Ray ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank at crop-circle.net Fri Jun 6 00:12:01 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Thu, 5 Jun 2008 18:12:01 -0400 Subject: NDO and round robin Message-ID: Hi, Is anyone using a round robin database with the NDO2DB plugin? I've seen tools that create an RRD from the Nagios log files, but what I'd like to do is have the NDO database kept under control, not the log files. In other words, if left unchecked, the NDO database can grow to be pretty huge. After looking at what's out there, I thought about just setting up some cron jobs to manage the data... but I thought I'd check in with the list first to see if I'd missed anything. Thanks! -Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 matthewjwhite.co.uk Fri Jun 6 01:26:34 2008 From: lists at matthewjwhite.co.uk (Lists) Date: Fri, 6 Jun 2008 00:26:34 +0100 Subject: FW: Configuring Active Directory authentication - Nagios 3.0.2 Message-ID: <6D4C6E386E282F478465FA779D37A88F2E37@home-dc.home.bisnet> Hi, I have spent the last week or two building a demo system and one of my requirements is that we can configure user access based on LDAP queries to our AD server. I am currently running the test box on Ubuntu Server 7 and I am having problems in getting the LDAP queries setup as my Linux knowledge is nowhere near as strong as my Windows. Has anyone configured this and maybe have the relevant snippets of code I need for my nagios config and also for apache as I don't think what I have in place is currently working for me! Any help is much appreciated as always. Regards, Matt White [ matt at matthewjwhite.co.uk ] [ http://www.matthewjwhite.co.uk ] WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. Lists accepts no liability for any damage caused by any virus transmitted by this email. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.Lists therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. Warning: Although Lists has taken reasonable precautions to ensure no viruses are present in this email, Lists cannot accept responsibility for any loss or damage arising from the use of this email or attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aedwards at sandvine.com Fri Jun 6 06:21:08 2008 From: aedwards at sandvine.com (Andrew Edwards) Date: Fri, 6 Jun 2008 00:21:08 -0400 Subject: error when including resource.cfg In-Reply-To: <93C487A372B3774CAEAA15D524CCF3D1228B23C2FF@G1W0485.americas.hpqcorp.net> References: <93C487A372B3774CAEAA15D524CCF3D1228B23C2FF@G1W0485.americas.hpqcorp.net> Message-ID: <5230D3C40B842D4F9FB3CD368021BEF702010938@exchange-2.sandvine.com> I have in my nagios.cfg cfg_dir=/usr/local/etc/nagios/objects/common cfg_dir=/usr/local/etc/nagios/objects/mfg but I do not include any parent dir's only these. I then tried copying the resource.cfg file into the commond dir and I get the same problem. Are there caviates to using the cfg_dir directive? I used to have relatively large config files (80-100k) and I've found it very usefull to break these up into many smaller files and I could include these one by one but it's very handy to use the cfg_dir. I do need my $USERx$ macros's so how can I work-around this problem? -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Thursday, June 05, 2008 12:17 AM To: Andrew Edwards; Thomas Guyot-Sionnest Cc: Nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] error when including resource.cfg > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Andrew Edwards > Sent: Wednesday, June 04, 2008 7:32 PM > To: Thomas Guyot-Sionnest > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] error when including resource.cfg > > I get the same result if I use the resource.cfg-sample provide with the > install. > > $ nagios -v /usr/local/etc/nagios/nagios.cfg > > Nagios 3.0.2 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 05-19-2008 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file > '/usr/local/etc/nagios/resource.cfg' on line 26. Have you, by any chance, told Nagios to load all files in /usr/local/etc/nagios using the cfg_dir directive, or told it to load it using the cfg_file directive rather than the resource_file one? That would cause the error you're seeing. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 6 10:08:10 2008 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 06 Jun 2008 10:08:10 +0200 Subject: FW: Configuring Active Directory authentication - Nagios 3.0.2 In-Reply-To: <6D4C6E386E282F478465FA779D37A88F2E37@home-dc.home.bisnet> References: <6D4C6E386E282F478465FA779D37A88F2E37@home-dc.home.bisnet> Message-ID: <4848F06A.40900@its-lehmann.de> Hello, 06.06.2008 01:26, Lists wrote: > > > Hi, > > > > I have spent the last week or two building a demo system and one of my > requirements is that we can configure user access based on LDAP queries > to our AD server. That's merely a question of getting the web server authenticate against LDAP. > > I am currently running the test box on Ubuntu Server 7 and I am having > problems in getting the LDAP queries setup as my Linux knowledge is > nowhere near as strong as my Windows. > That happens - don't worry, we won't hold that against you. > > Has anyone configured this and maybe have the relevant snippets of code > I need for my nagios config and also for apache as I don?t think what I > have in place is currently working for me! > I do something like this. Note that I'm not authenticating against an AD LDAP, but the basic principle should work. First step is to make sure you can, from your nagios box, access the AD LDAP. This *might* need kerberos for authentication - I never tried that, but the OpenLDAP programs do support kerberos as an authentication scheme, so I'm pretty sure with a bit of manual reading and experimenting you can do that. The problem is that, as far as I know, LDAP support in apache does not include kerberos authentication. A short google search for "apache auth against AD" seems to indicate that you do not need kerberos, so further experiments are probably useful... Then make sure you know how to access the user data in the LDAP tree. ldapsearch is a good tool for this. You need to set up your Nagios contacts with user names that are identifiable in AD LDAP first. Then use an apache configuration similar to this one (this is a bit streamlined): Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthBasicProvider ldap require ldap-filter objectClass=deitsMonitoringContact AuthLDAPURL ldap://localhost:389/ou=people,dc=xxxx,dc=de?uid?sub?(objectC lass=deitsMonitoringContact) The additional filter - in my case the deitsMonitoringContact - will need to be changed or removed for you. And, of course, you will probably need to adapt the AuthLDAPURL to your site. In my case I use the uid attribute to match the supplied username, but I get the impression that with AD you would use sAMAccountName. I wish you success! Arno > > Any help is much appreciated as always. > > > > Regards, > > > > Matt White > > [ matt at matthewjwhite.co.uk ] > > [ http://www.matthewjwhite.co.uk ] > > > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > Lists accepts no liability for any damage caused by any virus > transmitted by this email. E-mail transmission cannot be guaranteed to > be secure or error-free as information could be intercepted, corrupted, > lost, destroyed, arrive late or incomplete, or contain viruses.Lists > therefore does not accept liability for any errors or omissions in the > contents of this message, which arise as a result of e-mail transmission. > > Warning: Although Lists has taken reasonable precautions to ensure no > viruses are present in this email, Lists cannot accept responsibility > for any loss or damage arising from the use of this email or attachments. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chantal at antenna.nl Fri Jun 6 12:58:04 2008 From: chantal at antenna.nl (Chantal Rosmuller) Date: Fri, 6 Jun 2008 12:58:04 +0200 Subject: Error: Could not read object configuration data! In-Reply-To: <6D2D4F61-D5B8-46D2-BD0C-10CE799D3831@ena.com> References: <200806051318.13453.chantal@antenna.nl> <200806051609.24605.chantal@antenna.nl> <6D2D4F61-D5B8-46D2-BD0C-10CE799D3831@ena.com> Message-ID: <200806061258.04868.chantal@antenna.nl> Thanks your remark helped solve the problem,object_cache_file= was not defined in nagios.conf On Thursday 05 June 2008 18:35:20 Marc Powell wrote: > On Jun 5, 2008, at 9:09 AM, Chantal Rosmuller wrote: > > Yes it is, but I changed the permissions already and they are ok > > now, at least > > I think they should be okay: > > > > > > servername:~# ls -la /etc/nagios2 > > The CGI's are actually trying to read the cached object data file and > other files under var. > > object_cache_file=/usr/local/nagios/var/objects.cache > > They don't have to be group www-data, just readable by the web server. > (i.e. 664). > > -- > Marc > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyril.jaquier at jaqpot.net Fri Jun 6 13:00:51 2008 From: cyril.jaquier at jaqpot.net (Cyril Jaquier) Date: Fri, 06 Jun 2008 13:00:51 +0200 Subject: Flapping & notification Message-ID: <484918E3.5020507@jaqpot.net> Hi nagios users, We are currently using nagios 3.0.2 on Debian/testing. Everything works fine. However, something is really annoying with flapping detection and notification. Let's take an example. We have SMS notification using gnokii for CRITICAL and RECOVERED state. One service goes into the CRITICAL state and admins receive an SMS. Now, the host start flapping between CRITICAL and WARNING state so that flapping detection inhibits the notification. Then the service recovers but flapping detection is still enabled. After a while the flapping detection algorithm enables the notification again. At this moment, I expect nagios to send a notification saying that the service recovered. However, nothing happens and the admins do not know if the service is still CRITICAL or not. Maybe we are doing something wrong but I think this makes the flapping detection feature a bit "unreliable" as you will miss important events. Any suggestions? Thanks, Cyril Jaquier ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmanuel at unb.ca Fri Jun 6 13:04:12 2008 From: kmanuel at unb.ca (Kevin Manuel) Date: Fri, 6 Jun 2008 08:04:12 -0300 Subject: event handler not working In-Reply-To: <00a401c8c73e$51b0cc20$f5126460$@ca> References: <00a401c8c73e$51b0cc20$f5126460$@ca> Message-ID: <00b701c8c7c5$0d5220b0$27f66210$@ca> Hi, Nagios.cfg contains the following but there is no log of the event handler being called: log_event_handlers=1 enable_event_handlers=1 Any suggestions? Thanks in advance, Kevin -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: June-05-08 4:28 PM To: nagios Mailinglist Subject: Re: [Nagios-users] event handler not working On Jun 5, 2008, at 1:59 PM, Kevin Manuel wrote: > Hi, > > I'm trying to get an event handler to work with no success so I'm > hoping > somebody might have some suggestions. It appears as though Nagios is > not > calling the event handler at all when a service check is performed. > I don't Nagios should log if it does. You also need to enable event handlers in nagios.cfg -- $ grep enable_event_handlers etc/nagios.cfg enable_event_handlers=1 -- Marc -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kevin Manuel Sent: June-05-08 4:00 PM To: 'nagios Mailinglist' Subject: [Nagios-users] event handler not working Hi, I'm trying to get an event handler to work with no success so I'm hoping somebody might have some suggestions. It appears as though Nagios is not calling the event handler at all when a service check is performed. I don't think it's a permissions thing because the event handler works properly when run by the nagios user at the command line: i.e. [root at flames bin]# su - nagios -c "/usr/local/nagios/libexec/eventhandlers/renotify-on-ok" I have removed all the arguments that are passed to the event handler to simplify troubleshooting and at this point the event handler should simply send an email message when the service check is performed. Code shown below. Thanks in advance. renotify-on-ok (only 3 lines): ============================== #!/usr/bin/perl $contactEmail = "kmanuel\@unb.ca"; `/bin/echo -e ' event handler works! ' | /bin/mail -s '** event handler works **' $contactEmail`; misccommands.cfg: ===================== define command{ command_name renotify-on-ok command_line $USER1$/eventhandlers/renotify-on-ok } In templates.cfg the service is defined as follows: =================================================== define service{ use generic-service ; Name of service template to use name snmp-trap-alerting-service service_description SNMP Trap Alert is_volatile 1 check_period 24x7 active_checks_enabled 0 normal_check_interval 14400 retry_check_interval 14400 max_check_attempts 1 notification_interval 0 notification_period 24x7 notification_options w,u,c,r check_command check_none stalking_options o,w,u,c event_handler renotify-on-ok event_handler_enabled 1 register 0 } ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmanuel at unb.ca Fri Jun 6 13:49:52 2008 From: kmanuel at unb.ca (Kevin Manuel) Date: Fri, 6 Jun 2008 08:49:52 -0300 Subject: event handler not working In-Reply-To: <00b701c8c7c5$0d5220b0$27f66210$@ca> References: <00a401c8c73e$51b0cc20$f5126460$@ca> <00b701c8c7c5$0d5220b0$27f66210$@ca> Message-ID: <00c101c8c7cb$6f201080$4d603180$@ca> I should add that I am trying to invoke the event handler through passive service checks supplied by an external command (the external commands and passive service checks work fine, but I'm wondering if something needs to be configured differently for Nagios to call the event handler) -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kevin Manuel Sent: June-06-08 8:04 AM To: 'nagios Mailinglist' Subject: Re: [Nagios-users] event handler not working Hi, Nagios.cfg contains the following but there is no log of the event handler being called: log_event_handlers=1 enable_event_handlers=1 Any suggestions? Thanks in advance, Kevin -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: June-05-08 4:28 PM To: nagios Mailinglist Subject: Re: [Nagios-users] event handler not working On Jun 5, 2008, at 1:59 PM, Kevin Manuel wrote: > Hi, > > I'm trying to get an event handler to work with no success so I'm > hoping > somebody might have some suggestions. It appears as though Nagios is > not > calling the event handler at all when a service check is performed. > I don't Nagios should log if it does. You also need to enable event handlers in nagios.cfg -- $ grep enable_event_handlers etc/nagios.cfg enable_event_handlers=1 -- Marc -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kevin Manuel Sent: June-05-08 4:00 PM To: 'nagios Mailinglist' Subject: [Nagios-users] event handler not working Hi, I'm trying to get an event handler to work with no success so I'm hoping somebody might have some suggestions. It appears as though Nagios is not calling the event handler at all when a service check is performed. I don't think it's a permissions thing because the event handler works properly when run by the nagios user at the command line: i.e. [root at flames bin]# su - nagios -c "/usr/local/nagios/libexec/eventhandlers/renotify-on-ok" I have removed all the arguments that are passed to the event handler to simplify troubleshooting and at this point the event handler should simply send an email message when the service check is performed. Code shown below. Thanks in advance. renotify-on-ok (only 3 lines): ============================== #!/usr/bin/perl $contactEmail = "kmanuel\@unb.ca"; `/bin/echo -e ' event handler works! ' | /bin/mail -s '** event handler works **' $contactEmail`; misccommands.cfg: ===================== define command{ command_name renotify-on-ok command_line $USER1$/eventhandlers/renotify-on-ok } In templates.cfg the service is defined as follows: =================================================== define service{ use generic-service ; Name of service template to use name snmp-trap-alerting-service service_description SNMP Trap Alert is_volatile 1 check_period 24x7 active_checks_enabled 0 normal_check_interval 14400 retry_check_interval 14400 max_check_attempts 1 notification_interval 0 notification_period 24x7 notification_options w,u,c,r check_command check_none stalking_options o,w,u,c event_handler renotify-on-ok event_handler_enabled 1 register 0 } ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyril.jaquier at jaqpot.net Fri Jun 6 13:08:03 2008 From: cyril.jaquier at jaqpot.net (Cyril Jaquier) Date: Fri, 06 Jun 2008 13:08:03 +0200 Subject: Flapping & notification In-Reply-To: <484918E3.5020507@jaqpot.net> References: <484918E3.5020507@jaqpot.net> Message-ID: <48491A93.2040307@jaqpot.net> > We are currently using nagios 3.0.2 on Debian/testing. Everything works > fine. However, something is really annoying with flapping detection and > notification. Let's take an example. > Sorry, we are using 3.0.1. Regards, Cyril Jaquier ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 6 14:14:50 2008 From: marc at ena.com (Marc Powell) Date: Fri, 6 Jun 2008 07:14:50 -0500 Subject: error when including resource.cfg In-Reply-To: <5230D3C40B842D4F9FB3CD368021BEF702010938@exchange-2.sandvine.com> References: <5230D3C40B842D4F9FB3CD368021BEF702010938@exchange-2.sandvine.com> Message-ID: On Jun 5, 2008, at 11:21 PM, Andrew Edwards wrote: > I have in my nagios.cfg > > cfg_dir=/usr/local/etc/nagios/objects/common > cfg_dir=/usr/local/etc/nagios/objects/mfg > > but I do not include any parent dir's only these. I then tried > copying > the resource.cfg file into the commond dir and I get the same problem. > > Are there caviates to using the cfg_dir directive? I used to have Yes -- They must only contain things that would otherwise be defined as cfg_file in nagios.cfg. As Patrick pointed out, resource.cfg is not one of those types of files. -- Marc > > -----Original Message----- > From: Morris, Patrick [mailto:patrick.morris at hp.com] > > Have you, by any chance, told Nagios to load all files in > /usr/local/etc/nagios using the cfg_dir directive, or told it to > load it > using the cfg_file directive rather than the resource_file one? That > would cause the error you're seeing. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 6 14:48:55 2008 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Fri, 6 Jun 2008 18:18:55 +0530 Subject: Alerts using IM In-Reply-To: <48480CB2.6090606@ssc.wisc.edu> References: <48480CB2.6090606@ssc.wisc.edu> Message-ID: Hello Ryan, Yes, I should have checked the archives before sending the query. I will do that henceforward. Anyways, thanks for the help and forwarded URL. I found one more perl script at http://www.nagiosexchange.org called notification_via_jabber.txt in the Home > Utilities > AddOn Projects > Notifications > Jabber section. It worked very nicely. Thanks Yogesh On 6/5/08, Ryan Horrisberger wrote: > > May be this query has already been answered on this list. >> > > yup, and it is common etiquette to check and see before reposting. It was > very recently in fact--3/18/08 if you want to dredge the archives for more > info. This URL should help. > > http://www.gridpp.ac.uk/wiki/Nagios_jabber_notification > > Ryan Horrisberger > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jakub.laszczynski at gmail.com Fri Jun 6 15:13:05 2008 From: jakub.laszczynski at gmail.com (=?ISO-8859-2?Q?Jakub_=A3aszczy=F1ski?=) Date: Fri, 6 Jun 2008 15:13:05 +0200 Subject: Flapping & notification In-Reply-To: <48491A93.2040307@jaqpot.net> References: <484918E3.5020507@jaqpot.net> <48491A93.2040307@jaqpot.net> Message-ID: On Fri, Jun 6, 2008 at 1:08 PM, Cyril Jaquier wrote: > >> We are currently using nagios 3.0.2 on Debian/testing. Everything works >> fine. However, something is really annoying with flapping detection and >> notification. Let's take an example. >> > > Sorry, we are using 3.0.1. > > Regards, > > Cyril Jaquier > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Same here. I would like to know something about it. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aedwards at sandvine.com Fri Jun 6 15:41:57 2008 From: aedwards at sandvine.com (Andrew Edwards) Date: Fri, 6 Jun 2008 09:41:57 -0400 Subject: error when including resource.cfg In-Reply-To: References: <5230D3C40B842D4F9FB3CD368021BEF702010938@exchange-2.sandvine.com> Message-ID: <5230D3C40B842D4F9FB3CD368021BEF70201093A@exchange-2.sandvine.com> Okay, I see the problem now. I had specified resource.cfg as a cfg_file instead of a resource_file. Thanks for the help, Andrew -----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, June 06, 2008 8:15 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] error when including resource.cfg On Jun 5, 2008, at 11:21 PM, Andrew Edwards wrote: > I have in my nagios.cfg > > cfg_dir=/usr/local/etc/nagios/objects/common > cfg_dir=/usr/local/etc/nagios/objects/mfg > > but I do not include any parent dir's only these. I then tried > copying > the resource.cfg file into the commond dir and I get the same problem. > > Are there caviates to using the cfg_dir directive? I used to have Yes -- They must only contain things that would otherwise be defined as cfg_file in nagios.cfg. As Patrick pointed out, resource.cfg is not one of those types of files. -- Marc > > -----Original Message----- > From: Morris, Patrick [mailto:patrick.morris at hp.com] > > Have you, by any chance, told Nagios to load all files in > /usr/local/etc/nagios using the cfg_dir directive, or told it to > load it > using the cfg_file directive rather than the resource_file one? That > would cause the error you're seeing. ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 6 16:40:05 2008 From: marc at ena.com (Marc Powell) Date: Fri, 6 Jun 2008 09:40:05 -0500 Subject: event handler not working In-Reply-To: <00c101c8c7cb$6f201080$4d603180$@ca> References: <00a401c8c73e$51b0cc20$f5126460$@ca> <00b701c8c7c5$0d5220b0$27f66210$@ca> <00c101c8c7cb$6f201080$4d603180$@ca> Message-ID: <41524EF8-C647-48EA-AA23-EF9666EB2A7A@ena.com> On Jun 6, 2008, at 6:49 AM, Kevin Manuel wrote: > I should add that I am trying to invoke the event handler through > passive > service checks supplied by an external command (the external > commands and > passive service checks work fine, but I'm wondering if something > needs to be > configured differently for Nagios to call the event handler) > Based on my reading of the code, when it comes to event handlers there's no difference between an active and passive check. Nagios will _not_ run a service event handler if the host is in a non-OK state though. Is that the case for you? Have you enabled Debug? If so, what's the output during an event when a handler should fire? -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 6 21:32:10 2008 From: marc at ena.com (Marc Powell) Date: Fri, 6 Jun 2008 14:32:10 -0500 Subject: snmpwalk as external command or customize "Status information" In-Reply-To: <8c6f7f450806061130m21e30c5v782a842a21d77dc0@mail.gmail.com> References: <8c6f7f450805301145l76db87ffx7a9b051250a31845@mail.gmail.com> <339DC8D8-4A91-40AB-B309-5CFCC8C1FC58@ena.com> <8c6f7f450806061130m21e30c5v782a842a21d77dc0@mail.gmail.com> Message-ID: <02C88169-D0DF-4657-A9A1-EA83D8199634@ena.com> Please always respond on list so that others, now and in the future, learn from you experience. On Jun 6, 2008, at 1:30 PM, Sergio Belkin wrote: >>> >>> define command{ >>> command_name snmpwalk >>> command_line $USER5$/snmppwalk -v2c -c "mi community" >>> $HOSTADDRESS$ -Oqv $ARGS1$ >>> } >> 1) You can't use arbitrary system commands as nagios plugins. Nagios >> expects plugins to output results in a particular way and quit with >> specific exit codes corresponding to status. See the Developer >> Guidelines at http://nagiosplug.sf.net if you're interested in >> learning more. >> 2) Return code of 127 is a system level exit code. It means that the >> file/program doesn't exist. Regardless of whether snmppwalk would >> work >> as a nagios plugin, the program isn't where you've said it is (> of $USER5$>/snmppwalk). You probably meant $USER5$/snmpwalk. > > Thanks again, Yes I had a typo, however, stil it won't work :( It's not meant to because of (1). -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Sat Jun 7 03:52:01 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 6 Jun 2008 21:52:01 -0400 Subject: multiple downtime alerts on restart Message-ID: <13F36D2926AD444697093282F20041B7074071C8@buf-ex01.cymfony.com> Has anyone noticed that if a host is in downtime and you restart or reload nagios that notifications are automatically sent out again regarding the downtime? For example, right now I have a linux host that is being moved to a different location and I have it in downtime for a few days. I made some changes to a few windows services and restarted nagios a couple times and each time it restarted it sent an email stating that downtime started for that one linux host (though it's been in downtime for a couple days already). I noticed this doesn't happen if it's a service in downtime, only for a host. I couldn't find anything in the documentation or faq on this. Is this supposed to be like that? Running Nagios 3.0.1 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmanuel at unb.ca Sat Jun 7 15:18:47 2008 From: kmanuel at unb.ca (Kevin Manuel) Date: Sat, 7 Jun 2008 10:18:47 -0300 Subject: event handler not working In-Reply-To: <41524EF8-C647-48EA-AA23-EF9666EB2A7A@ena.com> References: <00a401c8c73e$51b0cc20$f5126460$@ca> <00b701c8c7c5$0d5220b0$27f66210$@ca> <00c101c8c7cb$6f201080$4d603180$@ca> <41524EF8-C647-48EA-AA23-EF9666EB2A7A@ena.com> Message-ID: <01a401c8c8a1$04f64f40$0ee2edc0$@ca> Hi Marc, I am actually trying to use the event handler to send a message when the host is already in an OK state and an additional service=OK is received. I have not enable debug - how do I go about this? Kevin -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: June-06-08 11:40 AM To: nagios Mailinglist Subject: Re: [Nagios-users] event handler not working On Jun 6, 2008, at 6:49 AM, Kevin Manuel wrote: > I should add that I am trying to invoke the event handler through > passive > service checks supplied by an external command (the external > commands and > passive service checks work fine, but I'm wondering if something > needs to be > configured differently for Nagios to call the event handler) > Based on my reading of the code, when it comes to event handlers there's no difference between an active and passive check. Nagios will _not_ run a service event handler if the host is in a non-OK state though. Is that the case for you? Have you enabled Debug? If so, what's the output during an event when a handler should fire? -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From suuuper at messinalug.org Sat Jun 7 23:03:29 2008 From: suuuper at messinalug.org (Giovanni Mancuso) Date: Sat, 07 Jun 2008 23:03:29 +0200 Subject: End User Interface for nagios 3.x Message-ID: <484AF7A1.7070505@messinalug.org> Hi to all, i download the nagios version 3.0.2 but i don't find a End User Intarface to configure it. I find most software but only for nagios 2.x Is there a version for nagios 3.0.2?? Thanks ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From suuuper at messinalug.org Sun Jun 8 01:26:02 2008 From: suuuper at messinalug.org (Giovanni Mancuso) Date: Sun, 08 Jun 2008 01:26:02 +0200 Subject: Problem with nagios host configuration Message-ID: <484B190A.80906@messinalug.org> Hi to all, i insert in my nagios.cfg the sequent line: cfg_file=/usr/local/nagios/etc/server/portal1.cfg and in this file the content is the sequent: cat /usr/local/nagios/etc/server/portal1.cfg define host{ name portal1 ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day notification_interval 120 ; Resend notifications every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default address 192.168.10.31 } if i execute: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg |grep -i 'hosts' Checking hosts... Checked 1 hosts. It finds only localhost configuration host, but if i execute the strace of nagios -v i see that the script read the portal1 config file. Have you any idea??? Sorry for my English Thanks ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mangesh.dhamale at sumasoft.net Sun Jun 8 09:37:44 2008 From: mangesh.dhamale at sumasoft.net (Mangesh Dhamale) Date: Sun, 8 Jun 2008 13:07:44 +0530 Subject: check_ldap: Please specify the host name Message-ID: hi, My service output Ldap Status UNKNOWN 06-08-2008 12:29:01 0d 0h 21m 5s 3/3 check_ldap: Please specify the host name I have configured ldap on Nagios Server as follows, vi commands.cfg define command{ command_name check_ldap command_line $USER1$/check_nrpe!check_ldap -H $HOSTADDRESS$ -p $ARG1$ -b $ARG2$ } vi localhost define service{ use generic-service host_name server service_description Ldap Status check_command check_nrpe!check_ldap -H 192.168.100.80 } and remote site (on ldap server) vi nrpe.cfg command[check_ldap]=/usr/local/nagios/libexec/check_ldap -w 5 -c 10 anyone help, what wrong with this configuration. Regards, Mangesh Dhamale ----------------------------------------------------------------- System Administrator Suma Soft Pvt. Ltd. Suma Center, IInd Floor, Opp. Himali Society, Near Mangeshkar Hospital, Erandwane, Pune - 411004 Ph : +91-20-40130400 Extn : 327 Cell : +91-98508 87775 www.sumasoft.com ------------------------------------------------------------------ ---------------------------------------------- Confidentiality Note: This e -mail message and any attachments to it are intended only for the named reci pients and may contain legally privileged and/or confidential information. I f you are not one of the intended recipients, please forward this mail to ab use at sumasoft.net and do not duplicate or forward this e-mail message and imm ediately delete it from your computer. ------------------------------------- --------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From howachen at gmail.com Sun Jun 8 14:48:42 2008 From: howachen at gmail.com (howard chen) Date: Sun, 8 Jun 2008 20:48:42 +0800 Subject: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! Message-ID: Hi, I have followed the tutorial on this page to install nagios on CentOS5.1 http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html I have repeated the whole procedures at least "3" time, but still can't get it to work... Say when I try to enable a notification in the web interface, error always return: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! I know the problem came from permission, so I managed to get this work by: chmod 777 /usr/local/nagios/var/rw/nagios.cmd But seems when I restarted the nagios, permission reset, so I am looking for the correct method to set the permission. Below is the information which might be useful: =================== ls -l /usr/local/nagios/var/rw/nagios.cmd prw-rw---- 1 nagios nagcmd 0 Jun 8 20:46 /usr/local/nagios/var/rw/nagios.cmd id nagios uid=504(nagios) gid=504(nagios) groups=504(nagios),505(nagcmd) cat /etc/group | grep nagcmd nagcmd:x:505:apache,nagios Regards. Howard ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jun 8 15:31:00 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 08 Jun 2008 09:31:00 -0400 Subject: multiple downtime alerts on restart In-Reply-To: <13F36D2926AD444697093282F20041B7074071C8@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B7074071C8@buf-ex01.cymfony.com> Message-ID: <484BDF14.6020809@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/06/08 09:52 PM, Seth Simmons wrote: > > > Has anyone noticed that if a host is in downtime and you restart or > reload nagios that notifications are automatically sent out again > regarding the downtime? > > > > For example, right now I have a linux host that is being moved to a > different location and I have it in downtime for a few days. I made > some changes to a few windows services and restarted nagios a couple > times and each time it restarted it sent an email stating that downtime > started for that one linux host (though it?s been in downtime for a > couple days already). I noticed this doesn?t happen if it?s a service > in downtime, only for a host. This is most likely a bug, you should post that info to the -devel mailing list. You could work around this by starting with notifications disabled (nagios.cfg setting) and enable them right after restarts. Although I don't have this specific problem (I don't send downtime notifications) I do this way so when I add hosts and restart it doesn't start paging if something is wrong... Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIS98T6dZ+Kt5BchYRAqejAKDDUrNh9ZA5GaL7XT+cUdo7pe39JACfUfqL Hd4QimVSWR2GvJqDZ5m0o8w= =zCn9 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Sun Jun 8 16:44:30 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Sun, 8 Jun 2008 10:44:30 -0400 Subject: OT: snmpwalk output format query In-Reply-To: <2D81E1BAE64EB343A9570B11C5E6927F0237F289@hqemhopn1.home.corp.agedwards.com> References: <20080604203436.GD674@cgi.jachomes.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F288@hqemhopn1.home.corp.agedwards.com> <20080604205820.GG674@cgi.jachomes.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F289@hqemhopn1.home.corp.agedwards.com> Message-ID: <20080608144430.GC19561@cgi.jachomes.com> On Wed, Jun 04, 2008 at 04:17:32PM -0500, Ford, Andy wrote: > Here's some real basic Perl to get you started: > > #!/usr/bin/perl > use warnings; > use strict; > > my @names = `snmpwalk -v2c -cpublic localhost system`; > my @numbers = `snmpwalk -On -v2c -cpublic localhost system`; > > foreach my $i (0..$#names) { > print "$names[$i] $numbers[$i]\n\n"; > } Apparently, it's slightly too basic... or my switch is pretty stupid. :-) As I had wondered might happen, those two commands apparently do not enumerate deterministically the same (though I can't see why they wouldn't...); the MIB items slip out of sync by the end. It's a start though, and I have a perl guy in house. Thanks again. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.ford at wachovia.com Sun Jun 8 19:51:09 2008 From: andrew.ford at wachovia.com (Ford, Andy) Date: Sun, 8 Jun 2008 12:51:09 -0500 Subject: OT: snmpwalk output format query In-Reply-To: <20080608144430.GC19561@cgi.jachomes.com> References: <20080604203436.GD674@cgi.jachomes.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F288@hqemhopn1.home.corp.agedwards.com> <20080604205820.GG674@cgi.jachomes.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F289@hqemhopn1.home.corp.agedwards.com> <20080608144430.GC19561@cgi.jachomes.com> Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F290@hqemhopn1.home.corp.agedwards.com> > > > > #!/usr/bin/perl > > use warnings; > > use strict; > > > > my @names = `snmpwalk -v2c -cpublic localhost system`; > > my @numbers = `snmpwalk -On -v2c -cpublic localhost system`; > > > > foreach my $i (0..$#names) { > > print "$names[$i] $numbers[$i]\n\n"; > > } > > Apparently, it's slightly too basic... or my switch is pretty > stupid. :-) > > As I had wondered might happen, those two commands apparently do not > enumerate deterministically the same (though I can't see why they > wouldn't...); the MIB items slip out of sync by the end. It's a start > though, and I have a perl guy in house. Wow, that's a surprising result. I guess I'd do this then: Get the names via a walk, then loop over the walk results and do a separate snmpget -On on each OID name. Wachovia Securities, LLC's outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. A.G. Edwards, a division of Wachovia Securities, LLC ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.ford at wachovia.com Sun Jun 8 20:05:42 2008 From: andrew.ford at wachovia.com (Ford, Andy) Date: Sun, 8 Jun 2008 13:05:42 -0500 Subject: check_snmp_int.pl: over 100%? In-Reply-To: <200806061012.42325.dani@tydnet.org> References: <2D81E1BAE64EB343A9570B11C5E6927F0237F28A@hqemhopn1.home.corp.agedwards.com> <200806051753.46324.dani@tydnet.org> <2D81E1BAE64EB343A9570B11C5E6927F0237F28B@hqemhopn1.home.corp.agedwards.com> <200806061012.42325.dani@tydnet.org> Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F292@hqemhopn1.home.corp.agedwards.com> > > > On Thu June 5 2008 17:30:24 Ford, Andy wrote: > > > > I'm trying to use check_snmp_int.pl (not standard, see > > > > http://nagios.manubulon.com/snmp_int.html) but when I > try to get my > > > > results in percent form, I get over 100% results on at > > > > > > least on device: > > > > $./check_snmp_int.pl -HDEVICE -CXXX --name 'eth-s1p1 ' > --perfcheck > > > > --perfspeed --warning=40,60 --critical=60,80 --prct > > > > eth-s1p1 Ethernet Layer Intel 10/100 Ethernet:UP (CRIT > 180.3%/CRIT > > > > 468.1%):(1 UP): CRITICAL > > > > > > > > > > > > Am I just using the options wrong? > > > > > > try this: > > > > > > check_cisco_int -H $HOSTADDRESS$ -C $USER4$ -B -u -r -f -n > > > "$ARG1$" -kY -w > > > 80,80 -c 90,90 -d 600 > > > > Thanks Dani for the reply. > > > > I'm confused: is that a command definition or a custom plugin? > > > > If I use your options but replace "check_ciso_int" with > "check_snmp_int.pl" > > I still get results over 100%. > > I think my device has got erroneous info in it's reported ifSpeeds: RFC1213-MIB::ifSpeed.1 = Gauge32: 100000 RFC1213-MIB::ifSpeed.2 = Gauge32: 100000 RFC1213-MIB::ifSpeed.3 = Gauge32: 100000 RFC1213-MIB::ifSpeed.4 = Gauge32: 100000 RFC1213-MIB::ifSpeed.5 = Gauge32: 100000 RFC1213-MIB::ifSpeed.6 = Gauge32: 100000 RFC1213-MIB::ifSpeed.7 = Gauge32: 10000 RFC1213-MIB::ifSpeed.8 = Gauge32: 10000 Those can't be right for these kind of interfaces, can they? RFC1213-MIB::ifDescr.1 = STRING: "eth-s1p1 Ethernet Layer Intel 10/100 Ethernet" RFC1213-MIB::ifDescr.2 = STRING: "eth-s1p2 Ethernet Layer Intel 10/100 Ethernet" RFC1213-MIB::ifDescr.3 = STRING: "eth-s1p3 Ethernet Layer Intel 10/100 Ethernet" RFC1213-MIB::ifDescr.4 = STRING: "eth-s1p4 Ethernet Layer Intel 10/100 Ethernet" RFC1213-MIB::ifDescr.5 = STRING: "eth-s4p1 Ethernet Layer Intel Gigabit Ethernet" RFC1213-MIB::ifDescr.6 = STRING: "eth-s4p2 Ethernet Layer Intel Gigabit Ethernet" RFC1213-MIB::ifDescr.7 = STRING: "eth-s4p3 Ethernet Layer Intel Gigabit Ethernet" RFC1213-MIB::ifDescr.8 = STRING: "eth-s4p4 Ethernet Layer Intel Gigabit Ethernet" I wonder if I need to just multiply by 1,000 or something. Andrew Ford Wachovia Corporate Information Security 314-955-6647 desk 314-600-7025 cell andrew.ford at wachovia.com Wachovia Securities, LLC's outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. A.G. Edwards, a division of Wachovia Securities, LLC ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 matthewjwhite.co.uk Sun Jun 8 20:54:58 2008 From: lists at matthewjwhite.co.uk (Matt White) Date: Sun, 8 Jun 2008 19:54:58 +0100 Subject: FW: Configuring Active Directory authentication - Nagios 3.0.2 In-Reply-To: <4848F06A.40900@its-lehmann.de> References: <6D4C6E386E282F478465FA779D37A88F2E37@home-dc.home.bisnet> <4848F06A.40900@its-lehmann.de> Message-ID: <6D4C6E386E282F478465FA779D37A88F2E3C@home-dc.home.bisnet> Hi Thanks for the reply I have made a few changes and after running through the config the nagios.conf under /etc/apache2/conf.d is as follows: # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER # Last Modified: 11-26-2005 # # This file contains examples of entries that need # to be incorporated into your Apache web server # configuration file. Customize the paths, etc. as # needed to fit your system. ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access(LDAP)" AuthType Basic AuthBasicProvider ldap AuthLDAPBindDN "cn=Matt White,ou=Users,ou=White Family,dc=home,dc=bisnet" AuthLDAPBindPassword "###pass###" AuthLDAPURL "ldap://HOME-DC:389/OU=Users,OU=White Family,DC=home,DC=bisnet?sAMAccountName?sub?(objectClass=*)" require group "cn=NagiosAccess,OU=Security Groups,OU=White Family,DC=Home,DC=bisnet" Alias /nagios "/usr/local/nagios/share" # SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access(LDAP2)" AuthType Basic AuthBasicProvider ldap AuthLDAPBindDN "cn=Matt White,ou=Users,ou=White Family,dc=home,dc=bisnet" AuthLDAPBindPassword "###pass###" AuthLDAPURL "ldap://HOME-DC:389/OU=Users,OU=White Family,DC=home,DC=bisnet?sAMAccountName?sub?(objectClass=*)" require valid-user When I browse to http://192.168.1.13/nagios I get the Nagios Access(LDAP2) prompt at which I have tried \ which errors in /var/log/apache2/error.log but if I use just I get nothing listed at all but the login prompt just reappears. If I use LDAPSearch I get the following results: /usr/bin/ldapsearch -h HOME-DC.Home.bisnet -D "cn=Matt White,ou=Users,ou=White Family,dc=home,dc=bisnet" -b "OU=Users,OU=White Family,DC=home,DC=bisnet" -x -w ###pass### "(&(objectClass=user)(!(objectClass=computer)))" sAMAccountName # extended LDIF # # LDAPv3 # base with scope subtree # filter: (&(objectClass=user)(!(objectClass=computer))) # requesting: sAMAccountName # # nagios admin, Users, White Family, home.bisnet dn: CN=nagios admin,OU=Users,OU=White Family,DC=home,DC=bisnet sAMAccountName: nagiosadmin # Matt White, Users, White Family, home.bisnet dn: CN=Matt White,OU=Users,OU=White Family,DC=home,DC=bisnet sAMAccountName: matt # Simon White, Users, White Family, home.bisnet dn: CN=Simon White,OU=Users,OU=White Family,DC=home,DC=bisnet sAMAccountName: simon # Liz White, Users, White Family, home.bisnet dn: CN=Liz White,OU=Users,OU=White Family,DC=home,DC=bisnet sAMAccountName: liz # Tony White, Users, White Family, home.bisnet dn: CN=Tony White,OU=Users,OU=White Family,DC=home,DC=bisnet sAMAccountName: Tony White # search result search: 2 result: 0 Success # numResponses: 6 # numEntries: 5 As you can see this returns values but I am unsure as to why I am now getting more error messages. OS I am running is Ubuntu Server 7 If you need more pieces of config then let me know Kind regards, Regards, Matt White [ matt at matthewjwhite.co.uk ] [ http://www.matthewjwhite.co.uk ] -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Arno Lehmann Sent: 06 June 2008 09:08 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FW: Configuring Active Directory authentication - Nagios 3.0.2 Hello, 06.06.2008 01:26, Lists wrote: > > > Hi, > > > > I have spent the last week or two building a demo system and one of my > requirements is that we can configure user access based on LDAP queries > to our AD server. That's merely a question of getting the web server authenticate against LDAP. > > I am currently running the test box on Ubuntu Server 7 and I am having > problems in getting the LDAP queries setup as my Linux knowledge is > nowhere near as strong as my Windows. > That happens - don't worry, we won't hold that against you. > > Has anyone configured this and maybe have the relevant snippets of code > I need for my nagios config and also for apache as I don't think what I > have in place is currently working for me! > I do something like this. Note that I'm not authenticating against an AD LDAP, but the basic principle should work. First step is to make sure you can, from your nagios box, access the AD LDAP. This *might* need kerberos for authentication - I never tried that, but the OpenLDAP programs do support kerberos as an authentication scheme, so I'm pretty sure with a bit of manual reading and experimenting you can do that. The problem is that, as far as I know, LDAP support in apache does not include kerberos authentication. A short google search for "apache auth against AD" seems to indicate that you do not need kerberos, so further experiments are probably useful... Then make sure you know how to access the user data in the LDAP tree. ldapsearch is a good tool for this. You need to set up your Nagios contacts with user names that are identifiable in AD LDAP first. Then use an apache configuration similar to this one (this is a bit streamlined): Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthBasicProvider ldap require ldap-filter objectClass=deitsMonitoringContact AuthLDAPURL ldap://localhost:389/ou=people,dc=xxxx,dc=de?uid?sub?(objectC lass=deitsMonitoringContact) The additional filter - in my case the deitsMonitoringContact - will need to be changed or removed for you. And, of course, you will probably need to adapt the AuthLDAPURL to your site. In my case I use the uid attribute to match the supplied username, but I get the impression that with AD you would use sAMAccountName. I wish you success! Arno > > Any help is much appreciated as always. > > > > Regards, > > > > Matt White > > [ matt at matthewjwhite.co.uk ] > > [ http://www.matthewjwhite.co.uk ] > > > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > Lists accepts no liability for any damage caused by any virus > transmitted by this email. E-mail transmission cannot be guaranteed to > be secure or error-free as information could be intercepted, corrupted, > lost, destroyed, arrive late or incomplete, or contain viruses.Lists > therefore does not accept liability for any errors or omissions in the > contents of this message, which arise as a result of e-mail transmission. > > Warning: Although Lists has taken reasonable precautions to ensure no > viruses are present in this email, Lists cannot accept responsibility > for any loss or damage arising from the use of this email or attachments. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ - > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. Matt White accepts no liability for any damage caused by any virus transmitted by this email. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.Matt White therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. Warning: Although Matt White has taken reasonable precautions to ensure no viruses are present in this email, Matt White cannot accept responsibility for any loss or damage arising from the use of this email or attachments. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iknewitalready at gmail.com Mon Jun 9 10:15:37 2008 From: iknewitalready at gmail.com (Shoaibi) Date: Mon, 9 Jun 2008 14:15:37 +0600 Subject: Integration of Nagios with my application Message-ID: <92dab8800806090115r37d439aaw4a6c97fee2faa877@mail.gmail.com> I have a Java Web Application aka Servlet. It has its own users database in a file which is of the format: username, md5Password, email, cellnumber user1,asdasjdas3qq0,user1 at somemail.com, 0123456789 Now these users can login to my application. What my application want to provide to these users is: 1. Get the hostip, hostalias, hostname from user1 and add it to hosts.cfg (does hosts.cfg allow multiple entries with totally same data?), i can do this.. it isnt much problem. Plus do i need these users to be in nagios users database as well for the sake of alerts via email/sms? If yes, what type of information do i require? and where should i put it? or can i avoid adding my application users to that? Coz if i need to add my users there in nagios database as well, i will have to maintain the data consistency between nagios database and my application user database... 2. List all the available services on the host that could be monitored using nagios current setup, if possible private as well. I have to show these services with check boxes before their name, so that user1 needs to only check the checkbox to start monitoring the services. What my problem is that how do i get a list of all monitorable services on the remote host in a string? whereas remote host could be windows as well as linux? or may be, remote host could even be local. As a start point, just tell me if its local and nix based, ubuntu to be specific. 3. After the user1 has selected the services he want to monitor, i will have to write the services.cfg by myself, thats a little problem. Isnt the syntax different for different type of hosts? e.g. windows or linux? or different type of services? Plus i also wanna add his entry for the notify_sms, how can i write his cell number here? i mean is there way that instead of writing the $CONTACT i write his number? 4.user2 might also subscribe for alerts for the same service, and may be on the same host as user1 using the same process... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ml at nicole-haehnel.de Mon Jun 9 10:52:51 2008 From: ml at nicole-haehnel.de (=?UTF-8?B?Tmljb2xlIEjDpGhuZWw=?=) Date: Mon, 09 Jun 2008 10:52:51 +0200 Subject: Antwort: Performance problems In-Reply-To: References: Message-ID: <484CEF63.9020306@nicole-haehnel.de> Thanks for the detailed answer. I'll try with more ram and your settings. Thanks! Nicole Sascha.Runschke at gfkl.com schrieb: > > nagios-users-bounces at lists.sourceforge.net schrieb am 05.06.2008 11:57:32: > > > I'm running nagios 3.0.2 on a dell poweredge 2850 server with 2gb ram > > and a xeon 2.80GHz cpu. > > Also running on this server, ndo utils 1.47b, pnp, nagvis and > > nagiosla.(os is newest rhel5) > > Nagios checks 113 hosts and 660 services, most of them every 3 minutes. > > Server load is over 1.3 most of the time due to the mysql database, > I think. > > Another problem is, I get frequently high ping times in the local > > network the nagios server belongs to. > > > > What servers do you use for this count of checks. > > Should I split it into two nagios servers? > > > > It would be nice to get some suggestions. > > I'm running nearly the same set, just missing nagiosla, on RHEL5.2. > > Machine is a HP DL360 Quad-Core E5405 @ 2.00GHz with 5GB Ram. > Local 10k SAS hdd only, no SAN, local mysql. > 400 hosts, 1500 servicechecks. > 1400 servicechecks are scheduled every minute, 100 once per day. > > I do get roundabout 1100-1200 checks throughput each minute, > averaging 80% of the expected checks each minute with a very > good latency. > > Check Execution Time: 0.01 sec 10.02 sec 0.417 sec > Check Latency: 0.00 sec 7.19 sec 1.623 sec > > I've done extensive performance tests and in summary the best > practices to speed up things: > > - RAM, RAM, RAM. Both for mysql (see below) and for increased > filesystem buffers. > > - Reserve enough memory for mysql to keep things buffered as > long as possible: > > I'm currently using these settings: > > innodb_buffer_pool_size = 1024M > innodb_additional_mem_pool_size = 64M > innodb_log_file_size = 512M > innodb_log_buffer_size = 64M > innodb_flush_log_at_trx_commit = 1 > > Beware: this will spike up mysql memory usage to nearly 2GB virtual > and roundabout 1GB of resident memory. > > - use npcd for bulk processing performance data for pnp. Direct > injections for each performance result will stall your checks > and result in huge check latency > > - set "data_processing_options=4061953" in your ndomod.cfg > By default ndo parses and injects every event from nagios, > which results in unnecessary mysql queries and bloats the > database over time - even more slowing down ndo since it > automatically purges old data. With this option you won't have > any aging data and the database only holds realtime info > Attention: This setting is totally perfect with Nagvis, but I have > no clue if nagiosla needs ndo and what information - so double check > that. > > - I'm using "use_large_installation_tweaks=1" too, but I'm not sure > if it would have any impact on your scenario. > > - I've manually built an SQL index over some tables for ndo, but I > doubt it would have much impact on your scenario either. > > hth > > Regards > Sascha > > -- > Sascha Runschke > Netzwerk- und Systemmanagement > Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) > 102-1102105 > > > GFKL Financial Services AG > Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till > Ergenzinger, Dr. Tom Haverkamp > Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma > Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 9 11:00:34 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 09 Jun 2008 11:00:34 +0200 Subject: snmpwalk as external command or customize "Status information" In-Reply-To: <8c6f7f450805301145l76db87ffx7a9b051250a31845@mail.gmail.com> References: <8c6f7f450805301145l76db87ffx7a9b051250a31845@mail.gmail.com> Message-ID: <484CF132.9010105@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sergio Belkin wrote: | Hi, | | I am using check_snmp plugin and is quite useful, but in some cases | I'd like that "Status Information" in "Status Detail For This Host" | to print only the value, not something as "/usr/bin/snmpget -t 1 -r 5 | -m RAPID-CITY -v 2c -c 'my community' 10.1.0.4:161 | 1.3.6.1.4.1.2272.1.3.1.0" You need to write a small script to act as your plugin. That script will ~ execute the snmpget or snmpwalk command and interpretate the output for you. It should then set the return code to signal the proper status to nagios and you can select which part of the output will be passed through to nagios as text. If I had a serious need for this I would write a perl script. 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) iD8DBQFITPEwBvzDRVjxmYERAgRDAKCSB7+JnnGHe/v2wpA+2hXwB4PnLACguJDK g1z8z9YGtnXSarrz/qmOGP8= =HPUL -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 12:25:01 2008 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 09 Jun 2008 12:25:01 +0200 Subject: FW: Configuring Active Directory authentication - Nagios 3.0.2 In-Reply-To: <6D4C6E386E282F478465FA779D37A88F2E3B@home-dc.home.bisnet> References: <6D4C6E386E282F478465FA779D37A88F2E37@home-dc.home.bisnet> <4848F06A.40900@its-lehmann.de> <6D4C6E386E282F478465FA779D37A88F2E3B@home-dc.home.bisnet> Message-ID: <484D04FD.5060603@its-lehmann.de> Hi Matt, please, send replies to the list so the whole discussion is in the archives... 08.06.2008 16:27, Matt White wrote: > Hi Arno, > > I have just looked at the relevant part of my httpd.conf and I have two > sections listed: > Directory "/usr/local/nagios/sbin" > And > Directory "/usr/local/nagios/share" > > Do I need to put the same config settings in for both Directory > listings? Yes. At least, I'd say that is the normal way because you want users to authenticate when accessing the dynamically created pages as well as the static ones. Arno > > Regards, > > Matt White > [ matt at matthewjwhite.co.uk ] > [ http://www.matthewjwhite.co.uk ] > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Arno > Lehmann > Sent: 06 June 2008 09:08 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] FW: Configuring Active Directory > authentication - Nagios 3.0.2 > > Hello, > > 06.06.2008 01:26, Lists wrote: >> >> Hi, >> >> >> >> I have spent the last week or two building a demo system and one of my > >> requirements is that we can configure user access based on LDAP > queries >> to our AD server. > > That's merely a question of getting the web server authenticate > against LDAP. > >> I am currently running the test box on Ubuntu Server 7 and I am having > >> problems in getting the LDAP queries setup as my Linux knowledge is >> nowhere near as strong as my Windows. >> > > That happens - don't worry, we won't hold that against you. > >> Has anyone configured this and maybe have the relevant snippets of > code >> I need for my nagios config and also for apache as I don't think what > I >> have in place is currently working for me! >> > > I do something like this. Note that I'm not authenticating against an > AD LDAP, but the basic principle should work. > > First step is to make sure you can, from your nagios box, access the > AD LDAP. This *might* need kerberos for authentication - I never tried > that, but the OpenLDAP programs do support kerberos as an > authentication scheme, so I'm pretty sure with a bit of manual reading > and experimenting you can do that. The problem is that, as far as I > know, LDAP support in apache does not include kerberos authentication. > A short google search for "apache auth against AD" seems to indicate > that you do not need kerberos, so further experiments are probably > useful... > > Then make sure you know how to access the user data in the LDAP tree. > ldapsearch is a good tool for this. > > You need to set up your Nagios contacts with user names that are > identifiable in AD LDAP first. > > Then use an apache configuration similar to this one (this is a bit > streamlined): > > > Options ExecCGI > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthBasicProvider ldap > require ldap-filter objectClass=deitsMonitoringContact > AuthLDAPURL > ldap://localhost:389/ou=people,dc=xxxx,dc=de?uid?sub?(objectC > lass=deitsMonitoringContact) > > > The additional filter - in my case the deitsMonitoringContact - will > need to be changed or removed for you. > And, of course, you will probably need to adapt the AuthLDAPURL to > your site. > In my case I use the uid attribute to match the supplied username, but > I get the impression that with AD you would use sAMAccountName. > > I wish you success! > > Arno > > >> Any help is much appreciated as always. >> >> >> >> Regards, >> >> >> >> Matt White >> >> [ matt at matthewjwhite.co.uk ] >> >> [ http://www.matthewjwhite.co.uk ] >> >> >> >> WARNING: Computer viruses can be transmitted via email. The recipient >> should check this email and any attachments for the presence of > viruses. >> Lists accepts no liability for any damage caused by any virus >> transmitted by this email. E-mail transmission cannot be guaranteed to > >> be secure or error-free as information could be intercepted, > corrupted, >> lost, destroyed, arrive late or incomplete, or contain viruses.Lists >> therefore does not accept liability for any errors or omissions in the > >> contents of this message, which arise as a result of e-mail > transmission. >> Warning: Although Lists has taken reasonable precautions to ensure no >> viruses are present in this email, Lists cannot accept responsibility >> for any loss or damage arising from the use of this email or > attachments. >> >> > ------------------------------------------------------------------------ >> > ------------------------------------------------------------------------ > - >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> >> >> > ------------------------------------------------------------------------ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 9 12:39:21 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 09 Jun 2008 12:39:21 +0200 Subject: check_snmp_int.pl: over 100%? In-Reply-To: <2D81E1BAE64EB343A9570B11C5E6927F0237F28A@hqemhopn1.home.corp.agedwards.com> References: <2D81E1BAE64EB343A9570B11C5E6927F0237F28A@hqemhopn1.home.corp.agedwards.com> Message-ID: <484D0859.80202@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ford, Andy wrote: | I'm trying to use check_snmp_int.pl (not standard, see | http://nagios.manubulon.com/snmp_int.html) but when I try to get my | results in percent form, I get over 100% results on at least on device: | | | $./check_snmp_int.pl -HDEVICE -CXXX --name 'eth-s1p1 ' --perfcheck | --perfspeed --warning=40,60 --critical=60,80 --prct | eth-s1p1 Ethernet Layer Intel 10/100 Ethernet:UP (CRIT 180.3%/CRIT | 468.1%):(1 UP): CRITICAL You are instructing it to report how much the speed goes over the configured maximum. And you set the maximum to 60 Kb/s in and 80 kb/s out. It seems you have in fact 108 kb/s in and 375 kb/s out as the actual traffic flow. So the alert is valid. If you add the -u parameter your would trigger warning on the percentage ~ of the interface. So you need to reach 40% of your maximum speed before you reach the warning level. It is also important to see what the maximum port speed is according to your config. But I must admit the help info on this plugin is not exactly clear. A number of options seem to be described in rather puzzling terms which are open to speculation of what is meant exactly. This may be due to translation errors. 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) iD8DBQFITQhXBvzDRVjxmYERAhSmAJ9fqYwXIv3erkn7MbKDSr3+H/7cuACeO3F7 iNKo9IdvX2WmELknOV68LnM= =gHku -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 12:45:47 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 09 Jun 2008 12:45:47 +0200 Subject: Nagios with NDOUtils is not working any more. In-Reply-To: <28cea030806040005o574fe41fxc41975c37e9bbf7@mail.gmail.com> References: <28cea030806040005o574fe41fxc41975c37e9bbf7@mail.gmail.com> Message-ID: <484D09DB.1030309@op5.se> seb wrote: >> I was able to write to database and I already have setting to removed >> the oldest data from database. So problem was somewhere else. > > It seems to me ndo problems are often related to mysql performance... > On my smallish nagios test instance (50 hosts - 300 services), the > db weighs ~300 Mb / 1M records, and everything works fine since > I switched to innodb storage engine. Don't know whether it's really > related (table locking vs. record locking)... > I think ndo is able to cause a good deal of stress to any "untuned" > mysql server, the README could be updated to include a couple > of tuning tips (innodb pool sizing, small query cache as most > requests seem to contain variable arguments, pre-allocating > innodb storage, etc..). If a mysql wizard reads this, please give > your advice :) > Just adding some few indexes to the database would help the load enormously. I remember Ton Voon giving a speech at Nagios Konferenz in germany last year, stating that analyzing the queries and then creating the appropriate indexes boosted performance by as close to 300000% (querytimes dropped from 146secs down to 0.2). This is off the top of my head though, so take the numbers with a grain of salt. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 14:27:36 2008 From: fvanhee at gmail.com (Frederik Vanhee) Date: Mon, 9 Jun 2008 14:27:36 +0200 Subject: Nagios server hardware dimensions Message-ID: <9c1cb51c0806090527j3c616116gb7542c53bd51eaff@mail.gmail.com> Hello, I'm thinking about a hardware upgrade of my Nagios server. I have a setup with 1500 hosts and 9000 services (from which 2500 services are active and the other 6500 passive). I use the 'classic' Nagios interface for consulting + the Nagvis frontend with the ndo backend. In addition, I use Nagiosgrapher for graphing purposes. Now I'm in doubt if I would split the Nagios server in two servers : -one for the Nagios process + webinterface + nagiosgrapher -second as database-server for the ndo-backend Or maybe another configuration ? Would it be more interesting to invest in one server with more RAM and more powerful cpu's or is it more interesting to split it into two servers ? Any suggestions, Vanhee Frederik -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 14:31:02 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 09 Jun 2008 14:31:02 +0200 Subject: Nagios VM In-Reply-To: <48C4B0E24DA90B4481C2ED21F591A30F1A747D871D@SV0099.cernum.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A747D871D@SV0099.cernum.com> Message-ID: <484D2286.8060006@op5.se> Tim Van Caeyzeele wrote: > Hi All, > > I was wondering if anyone has a full up and running nagios 3.02 > installation with some extra features in it and is willing to share > it ? I know some projects exists (nagiosvma/nagios-on-cd/...), but > they all work on nagios 2x > > The reason I'm asking: > > I spent 2 weeks configuring nagios 3.02 with several plugins > (n2rrd/nagvis), customized website and custom check scripts and just > ended up with a broken hard disk... -> 2 weeks work down the drain > GRR L > > I managed to get some cfg files back however ;) > > Before starting back all the way from square, I wanted to check with > you guys ;) > Make frequent backups. Nagios relies heavily on the system clock running nicely over a long period of time. VMWare isn't very good at that sort of thing, so you'd be better off running it on a stand-alone server. Besides the clock issue, would you *really* want to monitor your VMWare server from within the VMWare server itself? It's like testing if a gun works by looking down the barrel and pressing the trigger half a dozen times. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Van.Caeyzeele at cernum.com Mon Jun 9 14:34:24 2008 From: Tim.Van.Caeyzeele at cernum.com (Tim Van Caeyzeele) Date: Mon, 9 Jun 2008 14:34:24 +0200 Subject: Nagios VM In-Reply-To: <484D2286.8060006@op5.se> References: <48C4B0E24DA90B4481C2ED21F591A30F1A747D871D@SV0099.cernum.com> <484D2286.8060006@op5.se> Message-ID: <48C4B0E24DA90B4481C2ED21F591A30F1A747D88BB@SV0099.cernum.com> Hi Andreas, Thanks for your feedback. Offcourse I'm not using the vmware setup to monitor itself ;) It was monitoring the complete network. Anyway, I started of with a clean sheet, installed it on a standalone server. It's rebuilt for 98% which brings me to the part of decent backups...I'm not a linux wizz at all! Would you have some good recommandations for backing up my system in a simple way so I can rebuilt it after a crash ? Would a ghost image work (just for the OS and plugins) combined with periodical copies of the cfg files ? Thanks, Tim. -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: maandag 9 juni 2008 14:31 To: Tim Van Caeyzeele Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios VM Tim Van Caeyzeele wrote: > Hi All, > > I was wondering if anyone has a full up and running nagios 3.02 > installation with some extra features in it and is willing to share > it ? I know some projects exists (nagiosvma/nagios-on-cd/...), but > they all work on nagios 2x > > The reason I'm asking: > > I spent 2 weeks configuring nagios 3.02 with several plugins > (n2rrd/nagvis), customized website and custom check scripts and just > ended up with a broken hard disk... -> 2 weeks work down the drain > GRR L > > I managed to get some cfg files back however ;) > > Before starting back all the way from square, I wanted to check with > you guys ;) > Make frequent backups. Nagios relies heavily on the system clock running nicely over a long period of time. VMWare isn't very good at that sort of thing, so you'd be better off running it on a stand-alone server. Besides the clock issue, would you *really* want to monitor your VMWare server from within the VMWare server itself? It's like testing if a gun works by looking down the barrel and pressing the trigger half a dozen times. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sguilbaud+nagios at gmail.com Mon Jun 9 14:43:47 2008 From: sguilbaud+nagios at gmail.com (seb) Date: Mon, 9 Jun 2008 14:43:47 +0200 Subject: Nagios with NDOUtils is not working any more. In-Reply-To: <484D09DB.1030309@op5.se> References: <28cea030806040005o574fe41fxc41975c37e9bbf7@mail.gmail.com> <484D09DB.1030309@op5.se> Message-ID: <28cea030806090543u43a530cek592c61e2fe5dafab@mail.gmail.com> > Just adding some few indexes to the database would help the load > enormously. I remember Ton Voon giving a speech at Nagios Konferenz > in germany last year, stating that analyzing the queries and then > creating the appropriate indexes boosted performance by as close > to 300000% (querytimes dropped from 146secs down to 0.2). > > This is off the top of my head though, so take the numbers with a > grain of salt. I've asked mysql to log queries not using indexes, and ended adding a couple of indexes on a table or two. One of the SELECTs used by PNP was not using any index at all. I was tempted to add an index on all "datetime" fields but it would be overkill :) Now mysql outputs no warning (and no slow queries) but my test instance is too smalll... Time for me to monitor everything twice and see what happens :) -- seb ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 14:44:00 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 09 Jun 2008 14:44:00 +0200 Subject: Nagios VM In-Reply-To: <48C4B0E24DA90B4481C2ED21F591A30F1A747D88BB@SV0099.cernum.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A747D871D@SV0099.cernum.com> <484D2286.8060006@op5.se> <48C4B0E24DA90B4481C2ED21F591A30F1A747D88BB@SV0099.cernum.com> Message-ID: <484D2590.2080605@op5.se> Tim Van Caeyzeele wrote: > Hi Andreas, > Hi. Please don't top-post. It makes it terribly difficult to follow the flow of a multiple-question/answer email. > Thanks for your feedback. > > Offcourse I'm not using the vmware setup to monitor itself ;) It was > monitoring the complete network. Well, the VMWare server is probably part of that network, so... But anyways. > > It's rebuilt for 98% which brings me to the part of decent > backups...I'm not a linux wizz at all! Would you have some good > recommandations for backing up my system in a simple way so I can > rebuilt it after a crash ? Would a ghost image work (just for the OS > and plugins) combined with periodical copies of the cfg files ? > To make a decent backup of Nagios you need to keep configuration files, logfiles and all the .sav files under the var directory of your nagios installation. The software itself is easy to restore, so it's not so important to back that up. You only need the logs if you want to be able to get reports out of Nagios after a crash, btw. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 9 16:39:47 2008 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Mon, 09 Jun 2008 16:39:47 +0200 Subject: NagiosGrapher weird entries in logfile Message-ID: <874DF7F7CC45E8DE4984AFC4@Dirks-MacBook-Pro.local> Hi Folks, is this the right place to ask for help with NagiosGrapher? If not, please point me to an appropriate mailing list. I am trying to run NagiosGrapher on Centos 5. I have installed and configured it according to Wolfgang Barths new Nagios book, but I am running into a weird problem. I have configured Nagios to write the service perf data into a file which is renamed with a time stamp using the service_perfdata_file_processing_command directive. That works fine. The resulting files are named service-perfdata with the unix timestamp as extension. NagiosGrapher is configured with "interface file" and "perffile_path /path/to/perffiles/". It apparently reads the files, but there is two weird entries in ngraph.log: ... REGEX: No blocks found for XXXXXXX # while x is the timestamp extension of the perfdata file ... PIPE: [SERVICEPERFDATA] ... # although no pipe is used for transferring performance data The perfdata entries in the PIPE lines are correct, they contain all needed data. I have also configured NagiosGrapher to include /etc/nagios/ngraph.d/ and placed a ping.ncfg there (copies from the examples). It refers to service "ping" which is used in the nagios config as service_name. NagiosGrapher does not generate any rrd dbs in /var/lib/nagios/rrd/ which is configured to be the rrdpath. Any hint or help is appreciated. Dirk ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 9 17:36:18 2008 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Mon, 9 Jun 2008 16:36:18 +0100 Subject: No output from plugin Message-ID: I have a new command which I have implemented as a Nagios plugin. Running the command as user nagios on the client gives the correct output (currently the string " : test ()") and return code 2 which is what I require. Running the command "/usr/bin/nagios/plugins/check_nrpe -H CLIENT -t 30 -c COMMAND" on a Nagios server (in this case a slave server) also gives the correct output and return code. Running the command as a plugin gives the reply "(No output from plugin)". I have checked that the script puts its output to standard output and have added the line "use lib /usr/lib/nagios/plugins; use plugins" to the command script (as suggested by the FAQ) without any change. Does anyone have any suggestions to correct this problem ? Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank at crop-circle.net Mon Jun 9 19:08:26 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Mon, 9 Jun 2008 13:08:26 -0400 Subject: NSCP (CheckFileSize) strips backslashes from file paths Message-ID: Hello, I would like to monitor a Windows server on our network. Before installing anything on that machine, however, I thought I'd test NSCP (aka NSClient++) on my laptop (Windows XP Professional, SP2). I am getting some very weird results. The following service is defined on the Nagios server in my services.cfg file: define service{ > host_name frank > service_description Outlook PST > check_command check_nrpe!check_pst_size > use serviceTemplate > } > On my Windows machine, I've added this command to the NSC.ini file: check_pst_size=inject CheckFileSize ShowAll MaxWarn=50K MaxCrit=75K > File:PST=c:\\dell\DELLCIRC.ICO When I start NSClient++.exe from the DOS command line using the "/test" flag, I can watch everything as it happens (everything is logged to the screen). The prompt asks me to "Enter command to inject or exit to terminate...", and when I enter "check_pst_size", I get exactly what I expect. However, when I ask Nagios to perform the check, the slashes get stripped. In the /test output, I see: "Injecting: CheckFileSize: ShowAll, MaxWarn=50K, MaxCrit=75K, File:PST=c:dellDELLCIRC.ICO" ... instead of what I normally get, which is: "Injecting: CheckFileSize: ShowAll, MaxWarn=50K, MaxCrit=75K, File:PST=c:\\dell\DELLCIRC.ICO" I don't understand what's different, since in both cases "check_pst_size" is defined on the client machine, and NRPE's only job is basically to tell the client which command to run. And here's another thing: when I allow Nagios to do its scheduled check, the backslashes get stripped and the returned file size is 0. However, if I get on the Nagios server's CLI and type "/usr/nagios/libexec/check_nrpe -H 10.128.128.16 -c check_pst_size", I get the correct results. Nagios is 2.11 on Gentoo. NSCP is 0.3.1. Any ideas? I'm not sure what to do next... Thanks! -Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Mon Jun 9 19:44:46 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Mon, 9 Jun 2008 13:44:46 -0400 Subject: service nagios start Message-ID: <484d6c11.3d742c0a.7f5c.ffff9f6d@mx.google.com> Hi all, I'm using Nagios 3.0.2 and I'm having an issue where my nagios.cmd disappeared. I managed to reproduce this and it seems to happen when I execute the following "Service nagios Start" when nagios is already started. I believe on previous versions it would tell me that the nagios service was already started. Does anyone else experience this? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ra-schaal.de Mon Jun 9 19:49:08 2008 From: nagios at ra-schaal.de (Florian Schaal) Date: Mon, 09 Jun 2008 19:49:08 +0200 Subject: Problem with nagios host configuration In-Reply-To: <484B190A.80906@messinalug.org> References: <484B190A.80906@messinalug.org> Message-ID: <484D6D14.2070907@ra-schaal.de> Giovanni Mancuso schrieb: define host{ use generic-host host_name portal1 alias portal1 address 192.168.10.31 } should work. you can?t just modify a template. > Hi to all, > i insert in my nagios.cfg the sequent line: > cfg_file=/usr/local/nagios/etc/server/portal1.cfg > > and in this file the content is the sequent: > > cat /usr/local/nagios/etc/server/portal1.cfg > define host{ > name portal1 ; The name of this host template > use generic-host ; This template inherits other values > from the generic-host template > check_period 24x7 ; By default, Linux hosts are > checked round the clock > check_interval 5 ; Actively check the host every 5 minutes > retry_interval 1 ; Schedule host check retries at 1 > minute intervals > max_check_attempts 10 ; Check each Linux host 10 times (max) > check_command check-host-alive ; Default command to check > Linux hosts > notification_period workhours ; Linux admins hate to be woken > up, so we only notify during the day > notification_interval 120 ; Resend notifications every 2 hours > notification_options d,u,r ; Only send notifications for > specific host states > contact_groups admins ; Notifications get sent to the > admins by default > address 192.168.10.31 > } > > > if i execute: > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg |grep > -i 'hosts' > Checking hosts... > Checked 1 hosts. > > It finds only localhost configuration host, but if i execute the strace > of nagios -v i see that the script read the portal1 config file. > > Have you any idea??? > > Sorry for my English > > Thanks > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebelk at gmail.com Mon Jun 9 20:24:09 2008 From: sebelk at gmail.com (Sergio Belkin) Date: Mon, 9 Jun 2008 15:24:09 -0300 Subject: Graphs switch ports Message-ID: <8c6f7f450806091124y59300873q8e2fec0e111e3c1e@mail.gmail.com> Hi I'd want to get graphs from throughput, packets, errors, etc of each port from about 30 nwtwork switches. Say each network switch has 26 ports. Currently I am using check_snmp to obtain "plain data" but I'd want to make a "graph template" and then replicate for the rest of the ports and the network switches. In other words I don't wanna make to do 26x30 graph by hand. Also, I'd want to modify snmp output, for example, convert bits into Kbytes. How can I do that? What plugins should I use? Does make sense use mrtg along with nagios? Thanks in advance!! -- -- Open Kairos http://www.openkairos.com Watch More TV http://sebelk.blogspot.com Sergio Belkin - ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Mon Jun 9 20:48:22 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Mon, 9 Jun 2008 14:48:22 -0400 Subject: check_http issues... In-Reply-To: <77411C1A-2133-45CD-A0BF-774F397F0205@ena.com> References: <77411C1A-2133-45CD-A0BF-774F397F0205@ena.com> Message-ID: <484d7afa.2c012c0a.66b2.ffffa7b7@mx.google.com> Hi all, Sooo I upgraded from 3.0.1 to 3.0.2 in the hopes that the fix for the extra $ would be fixed in it but it doesn't seem to be. I've set up the commands with the escapes like so: check_command check_http_arg!admin:'123$45\!' check_command check_http_arg!admin:'123\$45\!' and in both instances I get the following while debugging: check_command check_http_arg!admin:'123$45\!$' -----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, June 05, 2008 3:58 PM To: nagios Mailinglist Subject: Re: [Nagios-users] check_http issues... On Jun 5, 2008, at 2:49 PM, Victor Lanza wrote: > I'm using Nagios 3.0.1 with Plugins 1.4.11 > > Ahhhhh.. > > Well on another note if I were to use this password, where would I > need to > put the escape character? > > The password is: 123$45! If the debian supplied patch works as expected to handle the inclusion of the extra '$' then it should be as simple as changing your service{} check_command to be -- check_command check_http_arg!admin:'123$45\!' I expect the $ to be ok as-is since the shell will see that enclosed in single-quotes an won't treat it as a shell variable. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 22:17:04 2008 From: marc at ena.com (Marc Powell) Date: Mon, 9 Jun 2008 15:17:04 -0500 Subject: check_http issues... In-Reply-To: <484d7afa.2c012c0a.66b2.ffffa7b7@mx.google.com> References: <484d7afa.2c012c0a.66b2.ffffa7b7@mx.google.com> Message-ID: <69D2D683-8911-4FD3-B454-5BBD31244ECD@ena.com> On Jun 9, 2008, at 1:48 PM, Victor Lanza wrote: > Hi all, > > Sooo I upgraded from 3.0.1 to 3.0.2 in the hopes that the fix for > the extra > $ would be fixed in it but it doesn't seem to be. From http://www.nagios.org, naigos-3.0.2 was released on 5/19. The bug report was submitted to nagios-devel on 5/30 - http://news.gmane.org/gmane.network.nagios.devel . Time travel is not (yet) permitted. ;) You could always apply the patch yourself and try it. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Mon Jun 9 22:24:16 2008 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Mon, 09 Jun 2008 16:24:16 -0400 Subject: check_ldap: Please specify the host name In-Reply-To: References: Message-ID: <484D9170.2080600@iweb.com> "check_ldap" is executed on the remote host via NRPE, not the local host. Your command definition "check_ldap" in commands.cfg is therefore not used. You should include -H $ARG1$ somewhere in your command definition in nrpe.cfg on your remote host or hardcode it. Mathieu Mangesh Dhamale wrote: > hi, > > My service output > > Ldap Status UNKNOWN 06-08-2008 12:29:01 0d 0h 21m 5s 3/3 check_ldap: > Please specify the host name > > > I have configured ldap on Nagios Server as follows, > > vi commands.cfg > > define command{ > command_name check_ldap > command_line $USER1$/check_nrpe!check_ldap -H $HOSTADDRESS$ > -p $ARG1$ -b $ARG2$ > } > vi localhost > > define service{ > use generic-service > host_name server > service_description Ldap Status > check_command check_nrpe!check_ldap -H 192.168.100.80 > } > and remote site (on ldap server) > > vi nrpe.cfg > > command[check_ldap]=/usr/local/nagios/libexec/check_ldap -w 5 -c 10 > > anyone help, what wrong with this configuration. > > > Regards, > > Mangesh Dhamale ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 22:26:05 2008 From: marc at ena.com (Marc Powell) Date: Mon, 9 Jun 2008 15:26:05 -0500 Subject: Problem with nagios host configuration In-Reply-To: <484B190A.80906@messinalug.org> References: <484B190A.80906@messinalug.org> Message-ID: On Jun 7, 2008, at 6:26 PM, Giovanni Mancuso wrote: > > > if i execute: > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg | > grep > -i 'hosts' > Checking hosts... > Checked 1 hosts. > > It finds only localhost configuration host, but if i execute the > strace > of nagios -v i see that the script read the portal1 config file. > > Have you any idea??? Post the entire output of nagios -v. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 22:28:21 2008 From: marc at ena.com (Marc Powell) Date: Mon, 9 Jun 2008 15:28:21 -0500 Subject: event handler not working In-Reply-To: <01a401c8c8a1$04f64f40$0ee2edc0$@ca> References: <00a401c8c73e$51b0cc20$f5126460$@ca> <00b701c8c7c5$0d5220b0$27f66210$@ca> <00c101c8c7cb$6f201080$4d603180$@ca> <41524EF8-C647-48EA-AA23-EF9666EB2A7A@ena.com> <01a401c8c8a1$04f64f40$0ee2edc0$@ca> Message-ID: <0AB861BB-399C-4B64-B0E2-E4EFC0393F40@ena.com> On Jun 7, 2008, at 8:18 AM, Kevin Manuel wrote: > Hi Marc, > > I am actually trying to use the event handler to send a message when > the > host is already in an OK state and an additional service=OK is > received. I > have not enable debug - how do I go about this? See the last 4 directives of -- http://nagios.sourceforge.net/docs/3_0/configmain.html -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Mon Jun 9 22:37:19 2008 From: bjlockie at lockie.ca (James) Date: Mon, 9 Jun 2008 16:37:19 -0400 (EDT) Subject: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! In-Reply-To: References: Message-ID: On Sun, June 8, 2008 8:48 am, howard chen wrote: > Hi, > > > I have followed the tutorial on this page to install nagios on CentOS5.1 > > > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html > > > > I have repeated the whole procedures at least "3" time, but still > can't get it to work... > > Say when I try to enable a notification in the web interface, error > always return: > > Error: Could not open command file > '/usr/local/nagios/var/rw/nagios.cmd' for update! > > > I know the problem came from permission, so I managed to get this work > by: > > > chmod 777 /usr/local/nagios/var/rw/nagios.cmd > > > But seems when I restarted the nagios, permission reset, so I am > looking for the correct method to set the permission. > > > Below is the information which might be useful: > =================== > ls -l /usr/local/nagios/var/rw/nagios.cmd prw-rw---- 1 nagios nagcmd 0 Jun > 8 20:46 /usr/local/nagios/var/rw/nagios.cmd > > > > id nagios uid=504(nagios) gid=504(nagios) groups=504(nagios),505(nagcmd) > > > cat /etc/group | grep nagcmd nagcmd:x:505:apache,nagios > > > > > Regards. > > > Howard > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 the permissions on the directory: /local/nagios/var/rw The file is a pipe that is created when nagios is run. It should not exist is nagios is stopped. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 22:46:31 2008 From: marc at ena.com (Marc Powell) Date: Mon, 9 Jun 2008 15:46:31 -0500 Subject: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! In-Reply-To: References: Message-ID: On Jun 8, 2008, at 7:48 AM, howard chen wrote: > > But seems when I restarted the nagios, permission reset, so I am > looking for the correct method to set the permission. > > > Below is the information which might be useful: > =================== > ls -l /usr/local/nagios/var/rw/nagios.cmd > prw-rw---- 1 nagios nagcmd 0 Jun 8 20:46 /usr/local/nagios/var/rw/ > nagios.cmd > > > id nagios > uid=504(nagios) gid=504(nagios) groups=504(nagios),505(nagcmd) > > > cat /etc/group | grep nagcmd > nagcmd:x:505:apache,nagios > apache has been restarted since adding it to the nagcmd group? Also, if you have SELinux enabled, the quickstart only talks about setting context for share and sbin, not the rw directory. Apache is going to need write access to var/rw/nagios.cmd in order to write data to the pipe. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dani at tydnet.org Mon Jun 9 23:04:28 2008 From: dani at tydnet.org (Daniel =?iso-8859-1?q?L=F3pez?=) Date: Mon, 9 Jun 2008 23:04:28 +0200 Subject: check_snmp_int.pl: over 100%? In-Reply-To: <2D81E1BAE64EB343A9570B11C5E6927F0237F292@hqemhopn1.home.corp.agedwards.com> References: <2D81E1BAE64EB343A9570B11C5E6927F0237F28A@hqemhopn1.home.corp.agedwards.com> <200806061012.42325.dani@tydnet.org> <2D81E1BAE64EB343A9570B11C5E6927F0237F292@hqemhopn1.home.corp.agedwards.com> Message-ID: <200806092304.28972.dani@tydnet.org> On Sun June 8 2008 20:05:42 Ford, Andy wrote: > I think my device has got erroneous info in it's reported ifSpeeds: > > RFC1213-MIB::ifSpeed.1 = Gauge32: 100000 > RFC1213-MIB::ifSpeed.2 = Gauge32: 100000 > RFC1213-MIB::ifSpeed.3 = Gauge32: 100000 > RFC1213-MIB::ifSpeed.4 = Gauge32: 100000 > RFC1213-MIB::ifSpeed.5 = Gauge32: 100000 > RFC1213-MIB::ifSpeed.6 = Gauge32: 100000 > RFC1213-MIB::ifSpeed.7 = Gauge32: 10000 > RFC1213-MIB::ifSpeed.8 = Gauge32: 10000 > > Those can't be right for these kind of interfaces, can they? > > RFC1213-MIB::ifDescr.1 = STRING: "eth-s1p1 Ethernet Layer Intel 10/100 > Ethernet" > RFC1213-MIB::ifDescr.2 = STRING: "eth-s1p2 Ethernet Layer Intel 10/100 > Ethernet" > RFC1213-MIB::ifDescr.3 = STRING: "eth-s1p3 Ethernet Layer Intel 10/100 > Ethernet" > RFC1213-MIB::ifDescr.4 = STRING: "eth-s1p4 Ethernet Layer Intel 10/100 > Ethernet" > RFC1213-MIB::ifDescr.5 = STRING: "eth-s4p1 Ethernet Layer Intel Gigabit > Ethernet" > RFC1213-MIB::ifDescr.6 = STRING: "eth-s4p2 Ethernet Layer Intel Gigabit > Ethernet" > RFC1213-MIB::ifDescr.7 = STRING: "eth-s4p3 Ethernet Layer Intel Gigabit > Ethernet" > RFC1213-MIB::ifDescr.8 = STRING: "eth-s4p4 Ethernet Layer Intel Gigabit > Ethernet" > > I wonder if I need to just multiply by 1,000 or something. > http://www.mg-soft.si/mgMibExplorer-samples/RFC1213-MIB.html#ifspeed -- 1.3.6.1.2.1.2.2.1.5 ifSpeed OBJECT-TYPE SYNTAX Gauge ACCESS read-only STATUS mandatory DESCRIPTION "An estimate of the interface's current bandwidth in bits per second. For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made, this object should contain the nominal bandwidth." dani ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 23:07:05 2008 From: marc at ena.com (Marc Powell) Date: Mon, 9 Jun 2008 16:07:05 -0500 Subject: check_ldap: Please specify the host name In-Reply-To: References: Message-ID: <89178857-42ED-4E76-A03D-367A257A1FB9@ena.com> On Jun 8, 2008, at 2:37 AM, Mangesh Dhamale wrote: > hi, > > My service output > > Ldap Status UNKNOWN 06-08-2008 12:29:01 0d 0h 21m 5s 3/3 check_ldap: > Please specify the host name > > > I have configured ldap on Nagios Server as follows, > > vi commands.cfg > > define command{ > command_name check_ldap > command_line $USER1$/check_nrpe!check_ldap -H $HOSTADDRESS > $ -p $ARG1$ -b $ARG2$ > } This command isn't being used. > vi localhost > > define service{ > use generic-service > host_name server > service_description Ldap Status > check_command check_nrpe!check_ldap -H > 192.168.100.80 > } > and remote site (on ldap server) > > vi nrpe.cfg > > command[check_ldap]=/usr/local/nagios/libexec/check_ldap -w 5 -c 10 > The error would appear to be coming from here. check_ldap requires a - H parameter, among others (-w -c -b, etc...). run 'check_ldap --help' for parameters and help. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 9 23:38:00 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 9 Jun 2008 14:38:00 -0700 Subject: check_ldap: Please specify the host name In-Reply-To: References: Message-ID: <20080609213800.GS8165@bakgwai.americas.hpqcorp.net> On Sun, 08 Jun 2008, Mangesh Dhamale wrote: > hi, > > My service output > > Ldap Status UNKNOWN 06-08-2008 12:29:01 0d 0h 21m 5s 3/3 check_ldap: Please specify the host name > > > command[check_ldap]=/usr/local/nagios/libexec/check_ldap -w 5 -c 10 As the error indicates, you need to specify a host name. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Ellmers at firstgroup.com Tue Jun 10 00:19:16 2008 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Mon, 9 Jun 2008 23:19:16 +0100 Subject: CN=Jason Ellmers/OU=FirstInfo/O=FirstGroup is out of the office. Message-ID: I will be Out of the Office Start Date: 09/06/2008. End Date: 10/06/2008. Thank you for your mail. I am currently away from the office, returning on 10th June If you need a fault escalating please call the service desk on 0038696 (0870 241 5500) with the case reference and ask for Martina Nicholson who has overall responsibility for the Service Desk ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.com ********************************************************************** ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From germang at gmail.com Tue Jun 10 01:18:16 2008 From: germang at gmail.com (=?ISO-8859-1?Q?Germ=E1n_Guti=E9rrez?=) Date: Mon, 9 Jun 2008 20:18:16 -0300 Subject: check_ldap: Please specify the host name In-Reply-To: References: Message-ID: (snip) > command_line $USER1$/check_nrpe!check_ldap -H $HOSTADDRESS$ -p $ARG1$ -b $ARG2$ (snip) > define service{ > use generic-service > host_name server > service_description Ldap Status > check_command check_nrpe!check_ldap -H 192.168.100.80 > } $HOSTADDRESS$ will be replaced by "server" $ARG1$ will be replaced by 192.168.100.80 and $ARG2$ will be empty. looks like you need to pass proper parameters to the check_nrpe/check_ldap scripts. -- Saludos, Germ?n Delivering common sense since 1969. 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 05:17:23 2008 From: marc at ena.com (Marc Powell) Date: Mon, 9 Jun 2008 22:17:23 -0500 Subject: check_ldap: Please specify the host name In-Reply-To: References: Message-ID: <24ED9F76-BF95-456B-B7E7-F40A70BE7111@ena.com> On Jun 9, 2008, at 6:18 PM, Germ?n Guti?rrez wrote: > (snip) >> command_line $USER1$/check_nrpe!check_ldap -H $HOSTADDRESS >> $ -p $ARG1$ -b $ARG2$ Note that 'command_name check_ldap' was snipped.' > (snip) >> define service{ >> use generic-service >> host_name server >> service_description Ldap Status >> check_command check_nrpe!check_ldap -H >> 192.168.100.80 >> } > $HOSTADDRESS$ will be replaced by "server" > $ARG1$ will be replaced by 192.168.100.80 > and $ARG2$ will be empty. Just to clear up any confusion, IFF the command at the top were named check_nrpe and the service above used it as a result, $HOSTADDRESS$ would be the address from the host{} definition for 'server' (unknown to us), $ARG1$ would be 'check_ldap -H 192.168.100.80' and $ARG2$ would be null. The resulting command would have failed anyway for a number of reasons -- /path/to/plugins/check_nrpe!check_ldap -H -p check_ldap - H 192.168.100.80 -b > looks like you need to pass proper parameters to the > check_nrpe/check_ldap scripts. More than that for sure. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyril.jaquier at jaqpot.net Tue Jun 10 08:45:13 2008 From: cyril.jaquier at jaqpot.net (Cyril Jaquier) Date: Tue, 10 Jun 2008 08:45:13 +0200 Subject: Flapping & notification In-Reply-To: <484918E3.5020507@jaqpot.net> References: <484918E3.5020507@jaqpot.net> Message-ID: <484E22F9.2060103@jaqpot.net> > We are currently using nagios 3.0.2 on Debian/testing. Everything works > fine. However, something is really annoying with flapping detection and > notification. Let's take an example. > Does nobody else experiment this behavior? Or should I ask on the nagios-devel mailing list? Thanks, Cyril ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Tue Jun 10 09:50:03 2008 From: michael at medin.name (Michael Medin) Date: Tue, 10 Jun 2008 06:50:03 -0100 (GMT+1) Subject: NSCP (CheckFileSize) strips backslashes from file paths In-Reply-To: References: Message-ID: <25928.193.180.216.132.1213084203.squirrel@ssl.nakednuns.org> Hello, Do you escape the back-slashes in the nagios config? Try running from the command line (ie. not nagios) like so: check_nrpe ... -c CheckFileSize -a ShowAll MaxWarn=50K MaxCrit=75K 'File:PST=c:\dell\DELLCIRC.ICO' (note the ticks) Also for back-slashes to work you need to enable an option in the NSCP config (something about dangerous meta chars, as well as allow options IIRC) (I can look it up for you if you want, but am at work now, so have to pretend I am working :) // Michael Medin > Hello, > > I would like to monitor a Windows server on our network. Before > installing > anything on that machine, however, I thought I'd test NSCP (aka > NSClient++) > on my laptop (Windows XP Professional, SP2). I am getting some very weird > results. > > The following service is defined on the Nagios server in my services.cfg > file: > > define service{ >> host_name frank >> service_description Outlook PST >> check_command check_nrpe!check_pst_size >> use serviceTemplate >> } >> > > On my Windows machine, I've added this command to the NSC.ini file: > > check_pst_size=inject CheckFileSize ShowAll MaxWarn=50K MaxCrit=75K >> File:PST=c:\\dell\DELLCIRC.ICO > > > When I start NSClient++.exe from the DOS command line using the "/test" > flag, I can watch everything as it happens (everything is logged to the > screen). The prompt asks me to "Enter command to inject or exit to > terminate...", and when I enter "check_pst_size", I get exactly what I > expect. However, when I ask Nagios to perform the check, the slashes get > stripped. In the /test output, I see: > > "Injecting: CheckFileSize: ShowAll, MaxWarn=50K, MaxCrit=75K, > File:PST=c:dellDELLCIRC.ICO" > > ... instead of what I normally get, which is: > > "Injecting: CheckFileSize: ShowAll, MaxWarn=50K, MaxCrit=75K, > File:PST=c:\\dell\DELLCIRC.ICO" > > I don't understand what's different, since in both cases "check_pst_size" > is > defined on the client machine, and NRPE's only job is basically to tell > the > client which command to run. And here's another thing: when I allow > Nagios > to do its scheduled check, the backslashes get stripped and the returned > file size is 0. However, if I get on the Nagios server's CLI and type > "/usr/nagios/libexec/check_nrpe -H 10.128.128.16 -c check_pst_size", I get > the correct results. > > Nagios is 2.11 on Gentoo. NSCP is 0.3.1. > > Any ideas? I'm not sure what to do next... > > Thanks! > -Frank > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From k.proskurin at fxclub.org Tue Jun 10 10:20:42 2008 From: k.proskurin at fxclub.org (Proskurin Kirill) Date: Tue, 10 Jun 2008 12:20:42 +0400 Subject: End User Interface for nagios 3.x In-Reply-To: <484AF7A1.7070505@messinalug.org> References: <484AF7A1.7070505@messinalug.org> Message-ID: <484E395A.1090609@fxclub.org> Giovanni Mancuso wrote: > Hi to all, > i download the nagios version 3.0.2 but i don't find a End User > Intarface to configure it. > I find most software but only for nagios 2.x > Is there a version for nagios 3.0.2?? > > Thanks It is no one right now as im know. Im think you want to look at Centerion Beta www.centreon.com and NagiosQL beta. -- Best regards, Proskurin Kirill ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yaniv.fer at gmail.com Tue Jun 10 11:09:40 2008 From: yaniv.fer at gmail.com (Yaniv) Date: Tue, 10 Jun 2008 12:09:40 +0300 Subject: event handler question (if event handler is what I need?) Message-ID: <484e44ec.0d87460a.3773.ffffe2db@mx.google.com> Hello Nagios users I am new to nagios and have a question about event handlers. (if event handler is what I need?) I am monitoring a windows client with NSClient++ 0.3.1.12 2008-03-11 Now I have this at my windows.cfg file (on the nagios server) define service{ use generic-service host_name ghost-server service_description E:\ Ghost-images Drive Space check_command check_nt!USEDDISKSPACE!-l e -w 80 -c 90 } I would like a script that I have located at /root/scripts/test.sh to be executed if the hard drive get's to the warning state and critical state. How would I do that? Thanks for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cosmin at weburl.ro Tue Jun 10 13:27:08 2008 From: cosmin at weburl.ro (cosmin at weburl.ro) Date: Tue, 10 Jun 2008 14:27:08 +0300 Subject: Nagios instalation problems on cpanel server Message-ID: <3540FA0DBFA2490298D5BCE6FCCDB315@cosminn> Hello, We have an server with cPanel installed and as it`s configurations are different it generates errors. we have centos 5 on server created an account from whm with user nagios in the cpanel server the default web folder is in /home/nagios/public_html/ this is the default www path /home/nagios/public_html/cgi-bin/ is the path for cgi when writing the .configure like: ./configure --prefix=/home/nagios/public_html --with-cgiurl=/cgi-bin --with-htmurl=/ --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagios cpanel automatically created the user nagios and the group nagios even with these parameters nagios was installed in /share/ and the cgi in /sbin/ tryed to install Version 3.0.2 May 19, 2008 when opening an cgi it says Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster at nagios.... and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. the plugin ./configure --prefix=/home/nagios/public_html --with-nagios-user=nagios --with-nagios-group=nagios what have I do wrong ? the daemon is runing $ [1212740247] Caught SIGTERM, shutting down... [1212740247] Successfully shutdown... (PID=3894) [1212740252] Nagios 3.0.2 starting... (PID=4707) [1212740252] Local time is Fri Jun 06 11:17:32 EEST 2008 [1212740252] LOG VERSION: 2.0 [1212740252] Finished daemonizing... (New PID=4708) but the cgi`s are not runing.... regards, Cosmin __________ Information from ESET Smart Security, version of virus signature database 3172 (20080610) __________ The message was checked by ESET Smart Security. http://www.eset.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From k.proskurin at fxclub.org Tue Jun 10 13:28:36 2008 From: k.proskurin at fxclub.org (Proskurin Kirill) Date: Tue, 10 Jun 2008 15:28:36 +0400 Subject: Service dependence Message-ID: <484E6564.6020808@fxclub.org> Hello all. Im using Nagios 3.0.2 on FreeBSD 6.x system. All work fine. Im want to make this thing: If check_alive service is critical(host is down) - do not check any service on that host and *mark* it as critical. And the same thing - if one service on remote host is critical - *mark* as critical other service. And, if it is possible, log to "Status Information" field what service1 critical because service2 is critical. For example: If check_mysql on host1 - critical Mark as critical check_http on host2. Status Information: "check_mysql on host1 - critical" It is possible? -- Best Regards, Proskurin Kirill www.forexclub.ru ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 14:03:27 2008 From: marc at ena.com (Marc Powell) Date: Tue, 10 Jun 2008 07:03:27 -0500 Subject: event handler question (if event handler is what I need?) In-Reply-To: <484e44ec.0d87460a.3773.ffffe2db@mx.google.com> References: <484e44ec.0d87460a.3773.ffffe2db@mx.google.com> Message-ID: <12B7D960-2AF1-43B1-8FE9-94003B974AF7@ena.com> On Jun 10, 2008, at 4:09 AM, Yaniv wrote: > Hello Nagios users Hello! Please send to this list using text/plain e-mail. Sending HTML does not-so-wonderful things for the archives and for users who receive the list via digest. > I am new to nagios and have a question about event handlers? (if > event handler is what I need?) Yes, that sounds like just what you need. > I would like a script that I have located at /root/scripts/test.sh > to be executed if the hard drive get?s to the warning state and > critical state? Perfect, even down to running a script on the nagios box. Very straigtforward. > How would I do that? http://nagios.sourceforge.net/docs/3_0/eventhandlers.html -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f.bonnet at esiee.fr Tue Jun 10 15:02:48 2008 From: f.bonnet at esiee.fr (Frank Bonnet) Date: Tue, 10 Jun 2008 15:02:48 +0200 Subject: newbie : hosts pending Message-ID: <484E7B78.2050702@esiee.fr> Hello I started a new nagios server ( FreeBSD 6.3 ) and all hosts except localhost appear "PENDING" from the web interface , I suppose I missed some configuration but I'm pretty new to Nagios , the version I use is 3.0.2 Help / links welcome Thanks a lot. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Tue Jun 10 15:04:06 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Tue, 10 Jun 2008 18:34:06 +0530 Subject: Fwd: The results of your email commands In-Reply-To: <48475081.6060605@aei.ca> References: <25251aec0806032302t49847fb1ied59d4d3c804dc65@mail.gmail.com> <48475081.6060605@aei.ca> Message-ID: <25251aec0806100604x72c46809hc968189f1c7a738a@mail.gmail.com> Thank you That fixed my problem On Thu, Jun 5, 2008 at 8:03 AM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 04/06/08 02:02 AM, asam30 at gmail.com wrote: > > Hi, > > > > I am trying to install nagios plugins on solaris spac 10. It was able to > > configure fine but problems comes up while compiling. > > > > # make > > gcc: language strconst not recognized > > gcc: check_mysql.c: linker input file unused because linking not done > > mv: cannot access .deps/check_mysql-check_mysql.Tpo > > make[2]: *** [check_mysql-check_mysql.o] Error 2 > > make[2]: Leaving directory > `/usr/local/nagios/nagios-plugins-1.4.11/plugins' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.11' > > make: *** [all] Error 2 > > # which make > > /usr/local/bin/make > > I've downloaded gnu make from sunfreeware.com > > from the below suggestion, > > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=78 > > > > I was actually getting the error in the above url but as per the > > suggestion I've downloaded make-3.81 and installed it. Then it reportes > > the above error which I gave here. > > > > Please suggest > > This is most likely because your mysql was compiled with sun cc with > non-gcc compiler flags. Two options here: > > 1. If you don't need check_mysql*, just configure with "--without-mysql" > > 2. If you need mysql checks, edit plugins/Makefile, look for MYSQLCFLAGS > and remove any non-gcc flag there. > > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIR1CB6dZ+Kt5BchYRAr0iAKCeq1KuqNskm4nenx3ZNCz2NxQq/QCgwraw > a/xrbMxORHcqk24In3cqCQE= > =72QW > -----END PGP SIGNATURE----- > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Van.Caeyzeele at cernum.com Tue Jun 10 15:23:41 2008 From: Tim.Van.Caeyzeele at cernum.com (Tim Van Caeyzeele) Date: Tue, 10 Jun 2008 15:23:41 +0200 Subject: newbie : hosts pending In-Reply-To: <484E7B78.2050702@esiee.fr> References: <484E7B78.2050702@esiee.fr> Message-ID: <48C4B0E24DA90B4481C2ED21F591A30F1A747D8952@SV0099.cernum.com> -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Frank Bonnet Sent: dinsdag 10 juni 2008 15:03 To: nagios Mailinglist Subject: [Nagios-users] newbie : hosts pending Hello I started a new nagios server ( FreeBSD 6.3 ) and all hosts except localhost appear "PENDING" from the web interface , I suppose I missed some configuration but I'm pretty new to Nagios , the version I use is 3.0.2 Help / links welcome Thanks a lot. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 You can force a check by clicking on the pending check and chosing reschedule check... Perhaps this helps ? Regards, Tim. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Tue Jun 10 16:03:12 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Tue, 10 Jun 2008 10:03:12 -0400 Subject: Browser display config Message-ID: Hello List, I am displaying several Nagios servers using Firefox with a tab for each server. I would like to put the name of the server on the display screen so that when the tabs switch, I will know which server is being displayed. Does anybody know if this is possible and if so How do I go about doing this. Thank you for any help. Harry Harry M. Hart Systems integrator SAIC USJFCOM JIOC DCGS-A (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Tue Jun 10 16:16:23 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Tue, 10 Jun 2008 19:46:23 +0530 Subject: CHECK_NRPE: Socket timeout after 10 seconds. Message-ID: <25251aec0806100716m5d7be886oa302b6fc9952ad19@mail.gmail.com> Hi, I have successfully installed and configured nagios on redhat linux box and now I'm trying to monitor nagios client on solaris 10 box. I've installed nagios plugins and nrpe fine. But when try to run check_nrpe from nagios server it gives the following error, [nagios at lnxtestsrv1 libexec]$ ./check_nrpe -H 10.192.2.60 -c check_root CHECK_NRPE: Socket timeout after 10 seconds. on the solaris box when I run the same command it works. root at sol-box # /usr/local/nagios/libexec/check_disk -w 20% -c 10% -W 10% -K 5% -p / DISK OK - free space: / 9311 MB (95% inode=97%);| /=439MB;7880;8865;0;9850 The nrpe deamon works fine on the remote solaris box and I can even telnet to it from nagios server. I need to know how to restart the xinetd service on the solaris box ? root at sol-box # /usr/local/nagios/libexec/check_nrpe -H localhost NRPE v2.12 Please suggest how to fix this? Thanks -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 16:28:25 2008 From: marc at ena.com (Marc Powell) Date: Tue, 10 Jun 2008 09:28:25 -0500 Subject: Browser display config In-Reply-To: References: Message-ID: <295A2A8F-83BB-425E-B56B-4C8DD038B618@ena.com> On Jun 10, 2008, at 9:03 AM, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > Hello List, > > I am displaying several Nagios servers using Firefox with a tab for > each > server. I would like to put the name of the server on the display > screen > so that when the tabs switch, I will know which server is being > displayed. > > Does anybody know if this is possible and if so How do I go about > doing > this. Changing the text in ~nagios/share/index.html should do it. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 10 16:32:14 2008 From: fvanhee at gmail.com (Frederik Vanhee) Date: Tue, 10 Jun 2008 16:32:14 +0200 Subject: Nagios server hardware Message-ID: <9c1cb51c0806100732s5590e752mf71260bbc88e58f2@mail.gmail.com> Hello, I'm thinking about a hardware upgrade of my Nagios server. I have a setup with 1500 hosts and 9000 services (from which 2500 services are active and the other 6500 passive). I use the 'classic' Nagios interface for consulting + the Nagvis frontend with the ndo backend. In addition, I use Nagiosgrapher for graphing purposes. Now I'm in doubt if I would split the Nagios server in two servers : -one for the Nagios process + webinterface + nagiosgrapher -second as database-server for the ndo-backend Or maybe another configuration ? Would it be more interesting to invest in one server with more RAM and more powerful cpu's or is it more interesting to split it into two server ? Any suggestions are welcome, Vanhee Frederik -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmanuel at unb.ca Tue Jun 10 16:32:44 2008 From: kmanuel at unb.ca (Kevin Manuel) Date: Tue, 10 Jun 2008 11:32:44 -0300 Subject: event handler not working In-Reply-To: <0AB861BB-399C-4B64-B0E2-E4EFC0393F40@ena.com> References: <00a401c8c73e$51b0cc20$f5126460$@ca> <00b701c8c7c5$0d5220b0$27f66210$@ca> <00c101c8c7cb$6f201080$4d603180$@ca> <41524EF8-C647-48EA-AA23-EF9666EB2A7A@ena.com> <01a401c8c8a1$04f64f40$0ee2edc0$@ca> <0AB861BB-399C-4B64-B0E2-E4EFC0393F40@ena.com> Message-ID: <00f301c8cb06$d891b850$89b528f0$@ca> Hi, I can see where the event handler has been called in the log. Any idea what the error message below would mean? Also, the service event handler is not called unless the state changes (i.e. 2-OK's in a row - event handler only called for the first one). Do you know if Is there a way to change this behaviour? [1213107234] SERVICE EVENT HANDLER: snmptrap_test;SNMP Trap Alert;CRITICAL;HARD;1;renotify-on-ok [1213107234] **ePN failed to compile /usr/local/nagios/libexec/renotify-on-ok: "Global symbol "$contactEmail" requires explicit package name at (eval 12) line 40, Global symbol "$notificationNumber" requires explicit package name at (eval 12) line 49. Global symbol "$notificationType" requires explicit package name at (eval 12) line 5" at /usr/local/nagios/bin/p1.pl line 237. Thanks in advance, Keivn -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: June-09-08 5:28 PM To: nagios Mailinglist Subject: Re: [Nagios-users] event handler not working On Jun 7, 2008, at 8:18 AM, Kevin Manuel wrote: > Hi Marc, > > I am actually trying to use the event handler to send a message when > the > host is already in an OK state and an additional service=OK is > received. I > have not enable debug - how do I go about this? See the last 4 directives of -- http://nagios.sourceforge.net/docs/3_0/configmain.html -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank at crop-circle.net Tue Jun 10 16:34:14 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Tue, 10 Jun 2008 10:34:14 -0400 Subject: Browser display config In-Reply-To: <295A2A8F-83BB-425E-B56B-4C8DD038B618@ena.com> References: <295A2A8F-83BB-425E-B56B-4C8DD038B618@ena.com> Message-ID: Or you could go with a non-Nagios solution: https://addons.mozilla.org/en-US/firefox/addon/2987. On Tue, Jun 10, 2008 at 10:28 AM, Marc Powell wrote: > > On Jun 10, 2008, at 9:03 AM, Hart, Harry M. CTR USJFCOM > SUPPORT.SUPPORT JTC-I wrote: > > > Hello List, > > > > I am displaying several Nagios servers using Firefox with a tab for > > each > > server. I would like to put the name of the server on the display > > screen > > so that when the tabs switch, I will know which server is being > > displayed. > > > > Does anybody know if this is possible and if so How do I go about > > doing > > this. > > Changing the text in ~nagios/share/index.html should do > it. > > -- > Marc > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 16:05:01 2008 From: marc at ena.com (Marc Powell) Date: Tue, 10 Jun 2008 09:05:01 -0500 Subject: newbie : hosts pending In-Reply-To: <484E7B78.2050702@esiee.fr> References: <484E7B78.2050702@esiee.fr> Message-ID: On Jun 10, 2008, at 8:02 AM, Frank Bonnet wrote: > Hello > > I started a new nagios server ( FreeBSD 6.3 ) and all hosts except > localhost > appear "PENDING" from the web interface , I suppose I missed some > configuration > but I'm pretty new to Nagios , the version I use is 3.0.2 In a standard configuration, all hosts require service{} checks and hosts are never checked until a service on that host fails. It seems that you have no services associated with those hosts so they are never being checked. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Tue Jun 10 16:53:24 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Tue, 10 Jun 2008 10:53:24 -0400 Subject: Browser display config In-Reply-To: <295A2A8F-83BB-425E-B56B-4C8DD038B618@ena.com> References: <295A2A8F-83BB-425E-B56B-4C8DD038B618@ena.com> Message-ID: Thanks for the response. That worked for me. Harry Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, June 10, 2008 10:28 AM To: nagios Mailinglist Subject: Re: [Nagios-users] Browser display config On Jun 10, 2008, at 9:03 AM, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > Hello List, > > I am displaying several Nagios servers using Firefox with a tab for > each server. I would like to put the name of the server on the display > screen so that when the tabs switch, I will know which server is being > displayed. > > Does anybody know if this is possible and if so How do I go about > doing this. Changing the text in ~nagios/share/index.html should do it. -- Marc ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rsmall at ireit.com Tue Jun 10 17:34:39 2008 From: rsmall at ireit.com (ROBERT SMALL) Date: Tue, 10 Jun 2008 10:34:39 -0500 Subject: Nagios v3 & WAP Message-ID: I recently upgraded from Nagios2 to version3, and it?s running beautifully. All except for the WAP interface. I?ve searched the web, and the archives and haven?t found anything that might help. When my users go to the wap interface (which worked GREAT under v2) and try to acknowledge a problem (either a host or a service), they get: Error: You're not authorized to commit that command! I?ve made sure that they all have access to: Authorization Requirements: If you are authorized for system information you can view Nagios process information. If you are authorized for all hosts you can view status data for all hosts and services. If you are authorized for all services you can view status data for all services. And they are authenticating. If you are an authenticated contact you can view status data for all hosts and services for which you are a contact. Any ideas and help would be appreicated. Thanks! Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue Jun 10 17:35:08 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 10 Jun 2008 11:35:08 -0400 Subject: snmpwalk as external command or customize "Status information" In-Reply-To: <484CF132.9010105@vanderkooij.org> References: <8c6f7f450805301145l76db87ffx7a9b051250a31845@mail.gmail.com> <484CF132.9010105@vanderkooij.org> Message-ID: <20080610153508.GC28582@cgi.jachomes.com> On Mon, Jun 09, 2008 at 11:00:34AM +0200, Hugo van der Kooij wrote: > You need to write a small script to act as your plugin. That script will > ~ execute the snmpget or snmpwalk command and interpretate the output for > you. > > It should then set the return code to signal the proper status to nagios > and you can select which part of the output will be passed through to > nagios as text. > > If I had a serious need for this I would write a perl script. And use Net::SNMP, instead of shelling out to a command. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue Jun 10 17:49:58 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 10 Jun 2008 11:49:58 -0400 Subject: Graphs switch ports In-Reply-To: <8c6f7f450806091124y59300873q8e2fec0e111e3c1e@mail.gmail.com> References: <8c6f7f450806091124y59300873q8e2fec0e111e3c1e@mail.gmail.com> Message-ID: <20080610154958.GD28582@cgi.jachomes.com> On Mon, Jun 09, 2008 at 03:24:09PM -0300, Sergio Belkin wrote: > Say each network switch has 26 ports. Currently I am using check_snmp > to obtain "plain data" but I'd want to make a "graph template" and > then replicate for the rest of the ports and the network switches. In > other words I don't wanna make to do 26x30 graph by hand. > Also, I'd want to modify snmp output, for example, convert bits into Kbytes. > > How can I do that? What plugins should I use? Does make sense use mrtg > along with nagios? Or Cricket or Ganglia, yes. Nagios isn't really well suited to that sort of running performance monitoring/graphing/logging, from what I can tell. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue Jun 10 17:54:27 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 10 Jun 2008 11:54:27 -0400 Subject: Services on down hosts Message-ID: <20080610155427.GE28582@cgi.jachomes.com> Stupid question of the week: I see that Nagios 3 represents as CRITICAL services on hosts which are down. Since most services are OK-WARNING-CRITICAL; ie: ascending points on a numeric continum which *cannot be measured if the host is down*, wouldn't it make more sense if those services went UNKNOWN if the host wasn't running? Ok, I guess I can see both approaches to that as being sensible in some circumstances; is there a knob to change that behaviour for a service, or something less obvious than a knob? Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.ford at wachovia.com Tue Jun 10 18:46:27 2008 From: andrew.ford at wachovia.com (Ford, Andy) Date: Tue, 10 Jun 2008 11:46:27 -0500 Subject: Graphs switch ports In-Reply-To: <8c6f7f450806091124y59300873q8e2fec0e111e3c1e@mail.gmail.com> References: <8c6f7f450806091124y59300873q8e2fec0e111e3c1e@mail.gmail.com> Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F29D@hqemhopn1.home.corp.agedwards.com> > I'd want to get graphs from throughput, packets, errors, etc of each > port from about 30 nwtwork switches. > > Say each network switch has 26 ports. Currently I am using check_snmp > to obtain "plain data" but I'd want to make a "graph template" and > then replicate for the rest of the ports and the network switches. In > other words I don't wanna make to do 26x30 graph by hand. > Also, I'd want to modify snmp output, for example, convert > bits into Kbytes. > > How can I do that? What plugins should I use? Does make sense use mrtg > along with nagios? For this job, I like Nagios with the snmp_int plugin (http://nagios.manubulon.com/snmp_int.html), graphed with pnp (http://www.ederdrom.de/pnp/about#system_requirements). The plugin is a very complex, but well worth the effort of understanding it. Andrew Ford Wachovia Corporate Information Security 314-955-6647 desk 314-600-7025 cell andrew.ford at wachovia.com Wachovia Securities, LLC's outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. A.G. Edwards, a division of Wachovia Securities, LLC ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.ford at wachovia.com Tue Jun 10 19:26:08 2008 From: andrew.ford at wachovia.com (Ford, Andy) Date: Tue, 10 Jun 2008 12:26:08 -0500 Subject: check_snmp_int.pl: over 100%? In-Reply-To: <484D0859.80202@vanderkooij.org> References: <2D81E1BAE64EB343A9570B11C5E6927F0237F28A@hqemhopn1.home.corp.agedwards.com> <484D0859.80202@vanderkooij.org> Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F29F@hqemhopn1.home.corp.agedwards.com> > -----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: Monday, June 09, 2008 5:39 AM > Ford, Andy wrote: > | I'm trying to use check_snmp_int.pl (not standard, see > | http://nagios.manubulon.com/snmp_int.html) but when I try to get my > | results in percent form, I get over 100% results on at > least on device: > | > | > | $./check_snmp_int.pl -HDEVICE -CXXX --name 'eth-s1p1 ' --perfcheck > | --perfspeed --warning=40,60 --critical=60,80 --prct > | eth-s1p1 Ethernet Layer Intel 10/100 Ethernet:UP (CRIT 180.3%/CRIT > | 468.1%):(1 UP): CRITICAL > > You are instructing it to report how much the speed goes over the > configured maximum. And you set the maximum to 60 Kb/s in and > 80 kb/s out. > > It seems you have in fact 108 kb/s in and 375 kb/s out as the actual > traffic flow. So the alert is valid. > > If you add the -u parameter your would trigger warning on the > percentage > ~ of the interface. So you need to reach 40% of your maximum > speed before > you reach the warning level. Actually, the "--prct" is the long options version of "-u" for percent checks. > > But I must admit the help info on this plugin is not exactly clear. A > number of options seem to be described in rather puzzling terms which > are open to speculation of what is meant exactly. This may be due to > translation errors. It is complex and the help is ambiguous, no doubt. I'm finding, though, that the effort of experimenting with the plugin to get what I wanted is worthwhile. The final answer to the "over 100%" problem was that the device being queried (a Nokia firewall), was putting erroneous values into the ifSpeed MIB, inserting kbs instead of bps. Vendor has a fix in a newer OS. Andrew Ford Wachovia Corporate Information Security 314-955-6647 desk 314-600-7025 cell andrew.ford at wachovia.com Wachovia Securities, LLC's outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. A.G. Edwards, a division of Wachovia Securities, LLC ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 19:35:23 2008 From: marc at ena.com (Marc Powell) Date: Tue, 10 Jun 2008 12:35:23 -0500 Subject: event handler not working In-Reply-To: <00f301c8cb06$d891b850$89b528f0$@ca> References: <00a401c8c73e$51b0cc20$f5126460$@ca> <00b701c8c7c5$0d5220b0$27f66210$@ca> <00c101c8c7cb$6f201080$4d603180$@ca> <41524EF8-C647-48EA-AA23-EF9666EB2A7A@ena.com> <01a401c8c8a1$04f64f40$0ee2edc0$@ca> <0AB861BB-399C-4B64-B0E2-E4EFC0393F40@ena.com> <00f301c8cb06$d891b850$89b528f0$@ca> Message-ID: On Jun 10, 2008, at 9:32 AM, Kevin Manuel wrote: > Hi, > > I can see where the event handler has been called in the log. Any > idea what > the error message below would mean? Yes, see below.. > Also, the service event handler is not called unless the state > changes (i.e. > 2-OK's in a row - event handler only called for the first one). Do > you know > if Is there a way to change this behaviour? I do not believe that there is, at least for OK states. For non-OK states. is_volatile _might_ work for you -- http://nagios.sourceforge.net/docs/3_0/volatileservices.html > [1213107234] SERVICE EVENT HANDLER: snmptrap_test;SNMP Trap > Alert;CRITICAL;HARD;1;renotify-on-ok > [1213107234] **ePN failed to compile > /usr/local/nagios/libexec/renotify-on-ok: "Global symbol > "$contactEmail" > requires explicit package name at (eval 12) line 40, > Global symbol "$notificationNumber" requires explicit package name > at (eval > 12) line 49. > Global symbol "$notificationType" requires explicit package name at > (eval > 12) line 5" at /usr/local/nagios/bin/p1.pl line 237. These errors mean that you have compiled nagios with the embedded perl interpreter enabled. That means that perl programs executed by nagios must satisfy a higher standard of design to run (http://nagios.sourceforge.net/docs/3_0/epnplugins.html ). This program does not. You have several options -- 1) Disable use of ePN for this plugin specifically by changing the command line 'command_line /path/to/perl $USER1$/...' were path/to/ perl is the path to your perl binary or 2) If using nagios-3, include the text '# nagios: -epn' within your plugin (http://nagios.sourceforge.net/docs/3_0/embeddedperl.html) or 3) if using nagios-3, disable implicit use of the ePN (http://nagios.sourceforge.net/docs/3_0/configmain.html#use_embedded_perl_implicitly ) or 4) if using nagios-3, disable use of ePN globally (http://nagios.sourceforge.net/docs/3_0/configmain.html#enable_embedded_perl ) -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Wed Jun 11 01:35:04 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Tue, 10 Jun 2008 15:35:04 -0800 Subject: Windows Service detail continued In-Reply-To: <24A51EB69D6.00000275izz_abdullah@inbox.com> References: <24a20dde828.00000270izz_abdullah@inbox.com> Message-ID: <926B020BDDE.0000009Eizz_abdullah@inbox.com> I got it working from the check command and it returns to the GUI now...I made a typo :( Correct check_command: check_nt!COUNTER!-l "\\Process(OUTLOOK)\\Working Set" With more assistance from meulie.net forum, (http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?11229) I got the data I needed. Now I have another question, and maybe it has been answered before, but looking at the GUI currently, for this process it shows: Outlook Memory Usage in Bytes OK 11-06-2008 07:29:18 0d 22h 15m 8s 1/3 74694700 Which is correct when compared to Task Manager. What I want to know is, can I divide this by 1024 to get into kb AND format it with a comma? :) I know that is a lot to ask...but would be nice. There is an optional output for the COUNTER variable, but am unsure of exactly how it works, and if this is even the route I should take. Greatly appreciate any help in advance. Best Regards, Izz > -----Original Message----- > From: izz_abdullah at inbox.com > Sent: Sun, 1 Jun 2008 22:02:29 -0800 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Windows Service detail continued > > I guess I should have put in the command again as a refresher: > check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l "Process\(Outlook)\Working > Set" > this works from the terminal of the Nagios server. > > Thanks again, > Izz > >> -----Original Message----- >> From: izz_abdullah at inbox.com >> Sent: Sun, 1 Jun 2008 22:01:07 -0800 >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Windows Service detail continued >> >> Can I just write a shell script to do this for me? check_nt works just >> fine with returning the value from the server's terminal console, but as >> stated before, this doesn't work if I put into the service definitions. >> I'm using NSClient++. >> >> Also, I am very familiar with WMI scripting, but how to get this >> information back to the Nagios GUI? That's my problem at hand. I can >> do >> it from the console, but want everything in the GUI as power users will >> be monitoring this. It needs to be a monitor, not an "ok, now let's >> check". :-) >> >> Thanks in advance, >> Izz >> >> >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Anthony >> Montibello >> Sent: Friday, May 23, 2008 6:19 AM >> To: Izz Abdullah >> Cc: nagios >> Subject: Re: [Nagios-users] Performance data for service >> >> You could try testing with >> NC_NEt(http://sourceforge.net/projects/nc-net) >> or NSCLinet (http://nsclient.ready2run.nl/) >> >> They are both copatible with Check_nt so there will be minimal to no >> reconfiguration needed on Nagios side, However the default listen port >> is 1248 so you would need to at least configure that on the client side. >> >> check_nt does not have a showall for COunters , so that should not havee >> helped anything. Run the command help and check the documentation for >> your windows plugin. Also check the service description >> >> I prefer to use the following definition: >> define command{ >> command_name check_nt_with_L >> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD -v >> $ARG1$ -l "$ARG2$" $ARG3$ >> } >> then the check command: >> check_nt!COUNTER!Process\(Outlook)\Working Set >> since the passing to the Command definision may be losing your "" >> NC_Net would return a -1 when your Counter fails to actually connect but >> I do not know what nsclient++ returns on a bad counter. >> You may need to test from the command line what nsclient++ returns when >> the COunter is incorrect syntex. >> Tony (Author of NC_NEt) >> On Thu, May 22, 2008 at 5:49 AM, Izz Abdullah >> wrote: >> Ok, so I found an example using the COUNTER object. From the Nagios >> server I can run the following and get correct data back: >> >> check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l >> "Process\(Outlook)\Working >> Set" >> this returns memory for me... >> >> but when i put this into the windows.cfg file as: >> check_nt!COUNTER!-l "Process\(Outlook)\Working Set" >> >> it verifies as no errors, but the GUI is showing 0, which is not the >> same >> as from the command-line. I also tried the -d SHOWALL option and that >> didn't work. Any ideas? >> >> Thanks in advance, >> Izz >> >> -----Original Message----- >> From: amontibello at gmail.com >> Sent: Tue, 20 May 2008 22:00:12 -0400 >> To: izz_abdullah at inbox.com >> Subject: Re: [Nagios-users] Performance data for service >> You should be able to get this data through the Process performance >> counter object with the instance set to the process name (as long as you >> can map the process name to an actual counter instance) >> >> or you should be able to get this data through a WMI querry >> >> Or you can write a script or program and get the data through NC_NEt or >> a >> NRPE plugin >> >> TOny (author of NC_Net) >> On Tue, May 20, 2008 at 5:05 AM, Izz Abdullah >> wrote: >> Not necessarily explorer.exe. >> >> I am looking more at some java instances, (java.exe, etc.). I want to >> know CPU load as well as Memory usage of a process. >> >> Thanks, >> Izz >> >>> -----Original Message----- >>> From: adesperateuser at googlemail.com >>> Sent: Tue, 20 May 2008 10:49:48 +0200 >>> To: nagios-users at lists.sourceforge.net >>> Subject: Re: [Nagios-users] Performance data for service >>> >>> Hi Izz, >>> >>> Izz Abdullah schrieb: >>>> I have enabled performance data for my monitored Windows 2k3 server. >>>> I >>>> am receiving performance data, not extremely clear, but receiving, for >>>> the defaulted services. What I want is to see performance data on >>>> running processes as well (e.g. the Explorer.exe process has nothing >>>> in >>>> the performance data field). Can someone please assist? >>> >>> What kind of performance data would you expect from explorer.exe? With >>> some services, it just doesn't make much sense to have performance >>> analyzed, in my opinion. >>> >>> Greetz, Marcus >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> 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 >> ____________________________________________________________ >> FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! >> Check it out at http://www.inbox.com/earth >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> 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 2008. >> 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 >> >> ____________________________________________________________ >> GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at >> http://www.inbox.com/smileys >> Works with AIM?, MSN? Messenger, Yahoo!? Messenger, ICQ?, Google Talk? >> and most webmails >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> 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 > > ____________________________________________________________ > GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at > http://www.inbox.com/smileys > Works with AIM?, MSN? Messenger, Yahoo!? Messenger, ICQ?, Google Talk? > and most webmails > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > 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 ____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop! Check it out at http://www.inbox.com/marineaquarium ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.keaveney at gmail.com Wed Jun 11 01:53:10 2008 From: ray.keaveney at gmail.com (Ray Keaveney) Date: Tue, 10 Jun 2008 16:53:10 -0700 Subject: Mixed Nagios 2.x and Nagios 3.x Distributed setup? Message-ID: I am in the process of setting up Distributed Nagios install. Within this process I am also planning on a staged upgrade of Nagios 2.x boxes to Nagios 3.x. However in the mean time until that is 100% complete, I may have Nagios 2.x Distributed role servers reporting to a Nagios 3.x Central server. I have done some basic testing to ensure that a Nagios 2.x Distributed role server can send its checks passively to a Nagios 3.x central server via NSCA but nothing extensive as of yet. Has anyone ran a mixed Nagios 2.x and 3.x Distributed setup? Words of wisdom/caution? Thank you, -Ray ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 11 03:56:30 2008 From: marc at ena.com (Marc Powell) Date: Tue, 10 Jun 2008 20:56:30 -0500 Subject: Mixed Nagios 2.x and Nagios 3.x Distributed setup? In-Reply-To: References: Message-ID: On Jun 10, 2008, at 6:53 PM, Ray Keaveney wrote: > > Has anyone ran a mixed Nagios 2.x and 3.x Distributed setup? > > Words of wisdom/caution? There's no reason it shouldn't work. The NSCA protocol is meant to be backward compatible. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Wed Jun 11 07:31:00 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Tue, 10 Jun 2008 21:31:00 -0800 Subject: NRPE host on Solaris 10 Message-ID: <958697DCD40.00000327izz_abdullah@inbox.com> I have followed the instructions I found at http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/ but to no avail. At the end of it all, when I try ./check_nrpe -H localhost it gives me a 0 bytes received from daemon. The first check in the list of /usr/local/nagios/libexec/check_disk -w 10 -c 5 -p / gives data...I don't know what's wrong here...I haven't configured a Solaris box to be monitored...any ideas / assistance? Thanks, Izz ____________________________________________________________ GET FREE 5GB EMAIL - Check out spam free email with many cool features! Visit http://www.inbox.com/email to find out more! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 11 07:51:58 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 11 Jun 2008 07:51:58 +0200 Subject: problems with check_icmp In-Reply-To: References: Message-ID: <484F67FE.40306@op5.se> Rodrigo Augusto Fagundes Pacheco wrote: > Dear Andreas, > > My problem with check_icmp is the big difference between the values running > with the same syntax. the hosts are in the same bus network that my Nagios > server, with less than 1ms the RTA.Percebo that the problem is happening > only in our host of lan and not hosts of wan. > > > > See examples: > > running manually CLi: > > genesis1:/usr/local/nagios/libexec# ./check_icmp -n 5 -H 10.109.0.101 > OK - 10.109.0.101: rta 0,143ms, lost 0%|rta=0,143ms;200,000;500,000;0; > pl=0%;40;80;; > > > displayed by nagios > And I'm telling you that a round-trip average difference of 5 milliseconds is definitely not cause to go looking for bugs. It's simply one of those things that happen, depending on network load, or how much load the host is under, or the state of the cable, or any of a hundred other different reasons. The test-run output from the forum you linked in your previous mail also shows some higher latency figures when run from the command-line, which is perfectly acceptable. It was good that you sent me the picture though, cause now I can tell you to increase your warning thresholds for your PING checks. No human will ever notice a difference between 0ms and 50ms, so for your LAN checks, you almost certainly want to set it to 50ms for warnings. HTH (hope that helps) Now please don't bother me again about this issue. It's taken up too much time already, and none of the conversation has (up until now) been on nagios-users at lists.sourceforge.net where it could actually have helped someone else. I'm posting it to there though, and also to nagiosplug-help but solely for archival purposes (hi, future; sorry for cross-posting) so that future admins finding 5-10ms discrepancies between different runs of a PING plugin can find an answer there instead of looking me up. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 11 08:19:14 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 11 Jun 2008 08:19:14 +0200 Subject: Services on down hosts In-Reply-To: <20080610155427.GE28582@cgi.jachomes.com> References: <20080610155427.GE28582@cgi.jachomes.com> Message-ID: <484F6E62.6060906@op5.se> Jay R. Ashworth wrote: > Stupid question of the week: > > I see that Nagios 3 represents as CRITICAL services on hosts which are > down. > Those CRITICAL tests are actually test-results. Since sometimes host checks fail horribly for other reasons than them actually obtaining an answer and that answer passing some sort of threshold, Nagios will keep running service checks for the host the same way it always has, but notifications for the services are suppressed. > Since most services are OK-WARNING-CRITICAL; ie: ascending points on a > numeric continum which *cannot be measured if the host is down*, > wouldn't it make more sense if those services went UNKNOWN if the host > wasn't running? > No. UNKNOWN is reserved for when plugins get fed nonsense arguments, or can't, due to some really weird errors, complete the check it's supposed to do (such as getting IO errors when trying to write to a network socket). > Ok, I guess I can see both approaches to that as being sensible in some > circumstances; is there a knob to change that behaviour for a service, No. > or something less obvious than a knob? > Yes. Write an event-broker-module that upon a hard host-state change alters the state of the services on that host to whatever you like. You also need to prevent the status from changing in later service checks, or you'd only have a very short period of time when the services are actually in the state you pick. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Van.Caeyzeele at cernum.com Wed Jun 11 09:33:51 2008 From: Tim.Van.Caeyzeele at cernum.com (Tim Van Caeyzeele) Date: Wed, 11 Jun 2008 09:33:51 +0200 Subject: NRPE 2.12 installation issue Message-ID: <48C4B0E24DA90B4481C2ED21F591A30F1A747D898B@SV0099.cernum.com> Hi Guys, I've just tried installing NRPE 2.12 for monitoring my servers eventviewer etc.. However I'm getting the following error: 1) I downloaded the latest stable version 2.12 2) I extracted the tarball 3) I ran the ./configure script 4) I tried the make install wich gives me the following error: root at SV0007:~/downloads/nrpe-2.12# make install make: *** No rule to make target `install'. Stop. Any ideas anyone ? Most likely it's easy to solve, but I don't know how.. Regards, Tim Van Caeyzeele IT Administrator Cernum | Kareelstraat 48 | 9300 Aalst | Belgium | T +32 53 80 26 40 | F +32 53 80 26 35 tim.van.caeyzeele at cernum.com www.cernum.com ? please consider the environment before printing this email ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.deblende at dhl.com Wed Jun 11 09:36:56 2008 From: tom.deblende at dhl.com (Tom DE BLENDE (EECC) (DHL)) Date: Wed, 11 Jun 2008 09:36:56 +0200 Subject: NRPE 2.12 installation issue In-Reply-To: <48C4B0E24DA90B4481C2ED21F591A30F1A747D898B@SV0099.cernum.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A747D898B@SV0099.cernum.com> Message-ID: <51E526870A2BE041B2A56BBDC389BADC03B3EF32@PRGDCEX007.prg-dc.dhl.com> Try "make all" ;-) From the docs: iv. Install the NRPE daemon Download the source code tarball of the NRPE addon (visit http://www.nagios.org/download/ for links to the latest versions). At the time of writing, the latest version of NRPE was 2.8. cd ~/downloads wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nrpe-2.8.tar.gz Extract the NRPE source code tarball. tar xzf nrpe-2.8.tar.gz cd nrpe-2.8 Compile the NRPE addon. ./configure make all Install the NRPE plugin (for testing), daemon, and sample daemon config file. make install-plugin make install-daemon make install-daemon-config -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tim Van Caeyzeele Sent: Wednesday, June 11, 2008 09:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE 2.12 installation issue Hi Guys, I've just tried installing NRPE 2.12 for monitoring my servers eventviewer etc.. However I'm getting the following error: 1) I downloaded the latest stable version 2.12 2) I extracted the tarball 3) I ran the ./configure script 4) I tried the make install wich gives me the following error: root at SV0007:~/downloads/nrpe-2.12# make install make: *** No rule to make target `install'. Stop. Any ideas anyone ? Most likely it's easy to solve, but I don't know how.. Regards, Tim Van Caeyzeele IT Administrator Cernum | Kareelstraat 48 | 9300 Aalst | Belgium | T +32 53 80 26 40 | F +32 53 80 26 35 tim.van.caeyzeele at cernum.com www.cernum.com P please consider the environment before printing this email ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Van.Caeyzeele at cernum.com Wed Jun 11 09:38:06 2008 From: Tim.Van.Caeyzeele at cernum.com (Tim Van Caeyzeele) Date: Wed, 11 Jun 2008 09:38:06 +0200 Subject: NRPE 2.12 installation issue In-Reply-To: <51E526870A2BE041B2A56BBDC389BADC03B3EF32@PRGDCEX007.prg-dc.dhl.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A747D898B@SV0099.cernum.com> <51E526870A2BE041B2A56BBDC389BADC03B3EF32@PRGDCEX007.prg-dc.dhl.com> Message-ID: <48C4B0E24DA90B4481C2ED21F591A30F1A747D898D@SV0099.cernum.com> Hi Tom, Sorry for not being complete, I tried that aswell ;) root at SV0007:~/downloads/nrpe-2.12# make all make: *** No rule to make target `all'. Stop. Tim. -----Original Message----- From: Tom DE BLENDE (EECC) (DHL) [mailto:tom.deblende at dhl.com] Sent: woensdag 11 juni 2008 9:37 To: Tim Van Caeyzeele; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Try "make all" ;-) From the docs: iv. Install the NRPE daemon Download the source code tarball of the NRPE addon (visit http://www.nagios.org/download/ for links to the latest versions). At the time of writing, the latest version of NRPE was 2.8. cd ~/downloads wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nrpe-2.8.tar.gz Extract the NRPE source code tarball. tar xzf nrpe-2.8.tar.gz cd nrpe-2.8 Compile the NRPE addon. ./configure make all Install the NRPE plugin (for testing), daemon, and sample daemon config file. make install-plugin make install-daemon make install-daemon-config -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tim Van Caeyzeele Sent: Wednesday, June 11, 2008 09:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE 2.12 installation issue Hi Guys, I've just tried installing NRPE 2.12 for monitoring my servers eventviewer etc.. However I'm getting the following error: 1) I downloaded the latest stable version 2.12 2) I extracted the tarball 3) I ran the ./configure script 4) I tried the make install wich gives me the following error: root at SV0007:~/downloads/nrpe-2.12# make install make: *** No rule to make target `install'. Stop. Any ideas anyone ? Most likely it's easy to solve, but I don't know how.. Regards, Tim Van Caeyzeele IT Administrator Cernum | Kareelstraat 48 | 9300 Aalst | Belgium | T +32 53 80 26 40 | F +32 53 80 26 35 tim.van.caeyzeele at cernum.com www.cernum.com P please consider the environment before printing this email ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.deblende at dhl.com Wed Jun 11 09:45:59 2008 From: tom.deblende at dhl.com (Tom DE BLENDE (EECC) (DHL)) Date: Wed, 11 Jun 2008 09:45:59 +0200 Subject: NRPE 2.12 installation issue In-Reply-To: <48C4B0E24DA90B4481C2ED21F591A30F1A747D898D@SV0099.cernum.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A747D898B@SV0099.cernum.com> <51E526870A2BE041B2A56BBDC389BADC03B3EF32@PRGDCEX007.prg-dc.dhl.com> <48C4B0E24DA90B4481C2ED21F591A30F1A747D898D@SV0099.cernum.com> Message-ID: <51E526870A2BE041B2A56BBDC389BADC03B3EF8D@PRGDCEX007.prg-dc.dhl.com> Tim, Did ./configure run successfully? Can you double check? Tom -----Original Message----- From: Tim Van Caeyzeele [mailto:Tim.Van.Caeyzeele at cernum.com] Sent: Wednesday, June 11, 2008 09:38 To: Tom DE BLENDE (EECC) (DHL); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Hi Tom, Sorry for not being complete, I tried that aswell ;) root at SV0007:~/downloads/nrpe-2.12# make all make: *** No rule to make target `all'. Stop. Tim. -----Original Message----- From: Tom DE BLENDE (EECC) (DHL) [mailto:tom.deblende at dhl.com] Sent: woensdag 11 juni 2008 9:37 To: Tim Van Caeyzeele; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Try "make all" ;-) From the docs: iv. Install the NRPE daemon Download the source code tarball of the NRPE addon (visit http://www.nagios.org/download/ for links to the latest versions). At the time of writing, the latest version of NRPE was 2.8. cd ~/downloads wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nrpe-2.8.tar.gz Extract the NRPE source code tarball. tar xzf nrpe-2.8.tar.gz cd nrpe-2.8 Compile the NRPE addon. ./configure make all Install the NRPE plugin (for testing), daemon, and sample daemon config file. make install-plugin make install-daemon make install-daemon-config -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tim Van Caeyzeele Sent: Wednesday, June 11, 2008 09:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE 2.12 installation issue Hi Guys, I've just tried installing NRPE 2.12 for monitoring my servers eventviewer etc.. However I'm getting the following error: 1) I downloaded the latest stable version 2.12 2) I extracted the tarball 3) I ran the ./configure script 4) I tried the make install wich gives me the following error: root at SV0007:~/downloads/nrpe-2.12# make install make: *** No rule to make target `install'. Stop. Any ideas anyone ? Most likely it's easy to solve, but I don't know how.. Regards, Tim Van Caeyzeele IT Administrator Cernum | Kareelstraat 48 | 9300 Aalst | Belgium | T +32 53 80 26 40 | F +32 53 80 26 35 tim.van.caeyzeele at cernum.com www.cernum.com P please consider the environment before printing this email ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Van.Caeyzeele at cernum.com Wed Jun 11 10:07:12 2008 From: Tim.Van.Caeyzeele at cernum.com (Tim Van Caeyzeele) Date: Wed, 11 Jun 2008 10:07:12 +0200 Subject: NRPE 2.12 installation issue In-Reply-To: <51E526870A2BE041B2A56BBDC389BADC03B3EF8D@PRGDCEX007.prg-dc.dhl.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A747D898B@SV0099.cernum.com> <51E526870A2BE041B2A56BBDC389BADC03B3EF32@PRGDCEX007.prg-dc.dhl.com> <48C4B0E24DA90B4481C2ED21F591A30F1A747D898D@SV0099.cernum.com> <51E526870A2BE041B2A56BBDC389BADC03B3EF8D@PRGDCEX007.prg-dc.dhl.com> Message-ID: <48C4B0E24DA90B4481C2ED21F591A30F1A747D8995@SV0099.cernum.com> Hi Tom, It runs ok except for the SSL part checking for SSL headers... configure: error: Cannot find ssl headers Tim. -----Original Message----- From: Tom DE BLENDE (EECC) (DHL) [mailto:tom.deblende at dhl.com] Sent: woensdag 11 juni 2008 9:46 To: Tim Van Caeyzeele; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Tim, Did ./configure run successfully? Can you double check? Tom -----Original Message----- From: Tim Van Caeyzeele [mailto:Tim.Van.Caeyzeele at cernum.com] Sent: Wednesday, June 11, 2008 09:38 To: Tom DE BLENDE (EECC) (DHL); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Hi Tom, Sorry for not being complete, I tried that aswell ;) root at SV0007:~/downloads/nrpe-2.12# make all make: *** No rule to make target `all'. Stop. Tim. -----Original Message----- From: Tom DE BLENDE (EECC) (DHL) [mailto:tom.deblende at dhl.com] Sent: woensdag 11 juni 2008 9:37 To: Tim Van Caeyzeele; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Try "make all" ;-) From the docs: iv. Install the NRPE daemon Download the source code tarball of the NRPE addon (visit http://www.nagios.org/download/ for links to the latest versions). At the time of writing, the latest version of NRPE was 2.8. cd ~/downloads wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nrpe-2.8.tar.gz Extract the NRPE source code tarball. tar xzf nrpe-2.8.tar.gz cd nrpe-2.8 Compile the NRPE addon. ./configure make all Install the NRPE plugin (for testing), daemon, and sample daemon config file. make install-plugin make install-daemon make install-daemon-config -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tim Van Caeyzeele Sent: Wednesday, June 11, 2008 09:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE 2.12 installation issue Hi Guys, I've just tried installing NRPE 2.12 for monitoring my servers eventviewer etc.. However I'm getting the following error: 1) I downloaded the latest stable version 2.12 2) I extracted the tarball 3) I ran the ./configure script 4) I tried the make install wich gives me the following error: root at SV0007:~/downloads/nrpe-2.12# make install make: *** No rule to make target `install'. Stop. Any ideas anyone ? Most likely it's easy to solve, but I don't know how.. Regards, Tim Van Caeyzeele IT Administrator Cernum | Kareelstraat 48 | 9300 Aalst | Belgium | T +32 53 80 26 40 | F +32 53 80 26 35 tim.van.caeyzeele at cernum.com www.cernum.com P please consider the environment before printing this email ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.deblende at dhl.com Wed Jun 11 10:19:45 2008 From: tom.deblende at dhl.com (Tom DE BLENDE (EECC) (DHL)) Date: Wed, 11 Jun 2008 10:19:45 +0200 Subject: NRPE 2.12 installation issue In-Reply-To: <48C4B0E24DA90B4481C2ED21F591A30F1A747D8995@SV0099.cernum.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A747D898B@SV0099.cernum.com> <51E526870A2BE041B2A56BBDC389BADC03B3EF32@PRGDCEX007.prg-dc.dhl.com> <48C4B0E24DA90B4481C2ED21F591A30F1A747D898D@SV0099.cernum.com> <51E526870A2BE041B2A56BBDC389BADC03B3EF8D@PRGDCEX007.prg-dc.dhl.com> <48C4B0E24DA90B4481C2ED21F591A30F1A747D8995@SV0099.cernum.com> Message-ID: <51E526870A2BE041B2A56BBDC389BADC03B3F0CB@PRGDCEX007.prg-dc.dhl.com> Tom OK, then it didn't run OK ;-) Install openssl-devel and try again. Good luck, Tom -----Original Message----- From: Tim Van Caeyzeele [mailto:Tim.Van.Caeyzeele at cernum.com] Sent: Wednesday, June 11, 2008 10:07 To: Tom DE BLENDE (EECC) (DHL); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Hi Tom, It runs ok except for the SSL part checking for SSL headers... configure: error: Cannot find ssl headers Tim. -----Original Message----- From: Tom DE BLENDE (EECC) (DHL) [mailto:tom.deblende at dhl.com] Sent: woensdag 11 juni 2008 9:46 To: Tim Van Caeyzeele; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Tim, Did ./configure run successfully? Can you double check? Tom -----Original Message----- From: Tim Van Caeyzeele [mailto:Tim.Van.Caeyzeele at cernum.com] Sent: Wednesday, June 11, 2008 09:38 To: Tom DE BLENDE (EECC) (DHL); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Hi Tom, Sorry for not being complete, I tried that aswell ;) root at SV0007:~/downloads/nrpe-2.12# make all make: *** No rule to make target `all'. Stop. Tim. -----Original Message----- From: Tom DE BLENDE (EECC) (DHL) [mailto:tom.deblende at dhl.com] Sent: woensdag 11 juni 2008 9:37 To: Tim Van Caeyzeele; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Try "make all" ;-) From the docs: iv. Install the NRPE daemon Download the source code tarball of the NRPE addon (visit http://www.nagios.org/download/ for links to the latest versions). At the time of writing, the latest version of NRPE was 2.8. cd ~/downloads wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nrpe-2.8.tar.gz Extract the NRPE source code tarball. tar xzf nrpe-2.8.tar.gz cd nrpe-2.8 Compile the NRPE addon. ./configure make all Install the NRPE plugin (for testing), daemon, and sample daemon config file. make install-plugin make install-daemon make install-daemon-config -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tim Van Caeyzeele Sent: Wednesday, June 11, 2008 09:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE 2.12 installation issue Hi Guys, I've just tried installing NRPE 2.12 for monitoring my servers eventviewer etc.. However I'm getting the following error: 1) I downloaded the latest stable version 2.12 2) I extracted the tarball 3) I ran the ./configure script 4) I tried the make install wich gives me the following error: root at SV0007:~/downloads/nrpe-2.12# make install make: *** No rule to make target `install'. Stop. Any ideas anyone ? Most likely it's easy to solve, but I don't know how.. Regards, Tim Van Caeyzeele IT Administrator Cernum | Kareelstraat 48 | 9300 Aalst | Belgium | T +32 53 80 26 40 | F +32 53 80 26 35 tim.van.caeyzeele at cernum.com www.cernum.com P please consider the environment before printing this email ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Van.Caeyzeele at cernum.com Wed Jun 11 10:34:20 2008 From: Tim.Van.Caeyzeele at cernum.com (Tim Van Caeyzeele) Date: Wed, 11 Jun 2008 10:34:20 +0200 Subject: NRPE 2.12 installation issue In-Reply-To: <51E526870A2BE041B2A56BBDC389BADC03B3F0CB@PRGDCEX007.prg-dc.dhl.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A747D898B@SV0099.cernum.com> <51E526870A2BE041B2A56BBDC389BADC03B3EF32@PRGDCEX007.prg-dc.dhl.com> <48C4B0E24DA90B4481C2ED21F591A30F1A747D898D@SV0099.cernum.com> <51E526870A2BE041B2A56BBDC389BADC03B3EF8D@PRGDCEX007.prg-dc.dhl.com> <48C4B0E24DA90B4481C2ED21F591A30F1A747D8995@SV0099.cernum.com> <51E526870A2BE041B2A56BBDC389BADC03B3F0CB@PRGDCEX007.prg-dc.dhl.com> Message-ID: <48C4B0E24DA90B4481C2ED21F591A30F1A747D899E@SV0099.cernum.com> Aah great, Problem solved! I'm running ubuntu and I installed libcurl13-openssl-dev which did the trick ;) Thnx for the support Tom! Regards, Tim. -----Original Message----- From: Tom DE BLENDE (EECC) (DHL) [mailto:tom.deblende at dhl.com] Sent: woensdag 11 juni 2008 10:20 To: Tim Van Caeyzeele; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Tom OK, then it didn't run OK ;-) Install openssl-devel and try again. Good luck, Tom -----Original Message----- From: Tim Van Caeyzeele [mailto:Tim.Van.Caeyzeele at cernum.com] Sent: Wednesday, June 11, 2008 10:07 To: Tom DE BLENDE (EECC) (DHL); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Hi Tom, It runs ok except for the SSL part checking for SSL headers... configure: error: Cannot find ssl headers Tim. -----Original Message----- From: Tom DE BLENDE (EECC) (DHL) [mailto:tom.deblende at dhl.com] Sent: woensdag 11 juni 2008 9:46 To: Tim Van Caeyzeele; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Tim, Did ./configure run successfully? Can you double check? Tom -----Original Message----- From: Tim Van Caeyzeele [mailto:Tim.Van.Caeyzeele at cernum.com] Sent: Wednesday, June 11, 2008 09:38 To: Tom DE BLENDE (EECC) (DHL); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Hi Tom, Sorry for not being complete, I tried that aswell ;) root at SV0007:~/downloads/nrpe-2.12# make all make: *** No rule to make target `all'. Stop. Tim. -----Original Message----- From: Tom DE BLENDE (EECC) (DHL) [mailto:tom.deblende at dhl.com] Sent: woensdag 11 juni 2008 9:37 To: Tim Van Caeyzeele; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE 2.12 installation issue Try "make all" ;-) From the docs: iv. Install the NRPE daemon Download the source code tarball of the NRPE addon (visit http://www.nagios.org/download/ for links to the latest versions). At the time of writing, the latest version of NRPE was 2.8. cd ~/downloads wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nrpe-2.8.tar.gz Extract the NRPE source code tarball. tar xzf nrpe-2.8.tar.gz cd nrpe-2.8 Compile the NRPE addon. ./configure make all Install the NRPE plugin (for testing), daemon, and sample daemon config file. make install-plugin make install-daemon make install-daemon-config -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tim Van Caeyzeele Sent: Wednesday, June 11, 2008 09:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE 2.12 installation issue Hi Guys, I've just tried installing NRPE 2.12 for monitoring my servers eventviewer etc.. However I'm getting the following error: 1) I downloaded the latest stable version 2.12 2) I extracted the tarball 3) I ran the ./configure script 4) I tried the make install wich gives me the following error: root at SV0007:~/downloads/nrpe-2.12# make install make: *** No rule to make target `install'. Stop. Any ideas anyone ? Most likely it's easy to solve, but I don't know how.. Regards, Tim Van Caeyzeele IT Administrator Cernum | Kareelstraat 48 | 9300 Aalst | Belgium | T +32 53 80 26 40 | F +32 53 80 26 35 tim.van.caeyzeele at cernum.com www.cernum.com P please consider the environment before printing this email ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Wed Jun 11 11:21:58 2008 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 11 Jun 2008 10:21:58 +0100 Subject: NRPE host on Solaris 10 In-Reply-To: <958697DCD40.00000327izz_abdullah@inbox.com> References: <958697DCD40.00000327izz_abdullah@inbox.com> Message-ID: <9BE0CA68DE32EC4B94849D2C9A9A099453D12590@monaco.fit.local> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Izz Abdullah > > I have followed the instructions I found at > http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe- > on-solaris-10/ > > but to no avail. At the end of it all, when I try > ./check_nrpe -H localhost > > it gives me a 0 bytes received from daemon. The first check in the > list of > /usr/local/nagios/libexec/check_disk -w 10 -c 5 -p / > gives data...I don't know what's wrong here...I haven't configured a > Solaris box to be monitored...any ideas / assistance? >From your description, it seems like the plugins are working OK but the problem is with the service itself. That's not surprising, SMF on Solaris 10 can be tricky to get right. I'd double check the entire section in those instructions from "With Solaris 10, we don't use either inetd ..." to "Modify your hosts.allow ...". In particular make sure your inetd.conf entry is on one line (as the instructions say but then split over three lines because of the narrow width of the page). If it's still not working, post back with the relevant section of inetd.conf and the output of svcs svc:/network/nrpe/tcp:default and inetadm -l svc:/network/nrpe/tcp:default -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter.sanyal at googlemail.com Wed Jun 11 11:58:44 2008 From: peter.sanyal at googlemail.com (Peter Sanyal) Date: Wed, 11 Jun 2008 15:28:44 +0530 Subject: Help:Nagios : NDOUTILS:Postgresql : Message-ID: <532aa8dd0806110258i119b23cex55f4638420fd9527@mail.gmail.com> Dear List I am running nagios on ubuntu , I am installing ndoutils 1.4b7 , as this is in beta so before i go ahead i want to make sure that everything is OK.I compiled ndoutils with following O/P. "checking for mysql_connect in -lmysqlclient..." says no so how to solve this ..........also do i need to install PostgreSQL library as in the installation note ndoutils says it does nt support postgresql. I haven't installed this library so let me know incase i require this to run ndo utils smoothly. checking for mysql_store_result in -lmysqlclient... yes checking for mysql_connect in -lmysqlclient... no checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes MySQL library and include file(s) were found! 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. thanks peter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yaniv.fer at gmail.com Wed Jun 11 14:09:03 2008 From: yaniv.fer at gmail.com (Yaniv) Date: Wed, 11 Jun 2008 15:09:03 +0300 Subject: event handler question (if event handler is what I need?) In-Reply-To: <12B7D960-2AF1-43B1-8FE9-94003B974AF7@ena.com> References: <484e44ec.0d87460a.3773.ffffe2db@mx.google.com> <12B7D960-2AF1-43B1-8FE9-94003B974AF7@ena.com> Message-ID: <484fc079.0a87460a.099e.ffffccf7@mx.google.com> Marc Thank you... the documentation is very good and it answered all my questions about event handler... And it works now... thanks again -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, June 10, 2008 15:03 Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] event handler question (if event handler is what I need?) On Jun 10, 2008, at 4:09 AM, Yaniv wrote: > Hello Nagios users Hello! Please send to this list using text/plain e-mail. Sending HTML does not-so-wonderful things for the archives and for users who receive the list via digest. > I am new to nagios and have a question about event handlers. (if > event handler is what I need?) Yes, that sounds like just what you need. > I would like a script that I have located at /root/scripts/test.sh > to be executed if the hard drive get's to the warning state and > critical state. Perfect, even down to running a script on the nagios box. Very straigtforward. > How would I do that? http://nagios.sourceforge.net/docs/3_0/eventhandlers.html -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. Version: 8.0.100 / Virus Database: 270.2.0/1493 - Release Date: 09/06/2008 17:25 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 11 15:47:10 2008 From: marc at ena.com (Marc Powell) Date: Wed, 11 Jun 2008 08:47:10 -0500 Subject: event handler not working In-Reply-To: <017701c8cbc2$76e37050$64aa50f0$@ca> References: <00a401c8c73e$51b0cc20$f5126460$@ca> <00b701c8c7c5$0d5220b0$27f66210$@ca> <00c101c8c7cb$6f201080$4d603180$@ca> <41524EF8-C647-48EA-AA23-EF9666EB2A7A@ena.com> <01a401c8c8a1$04f64f40$0ee2edc0$@ca> <0AB861BB-399C-4B64-B0E2-E4EFC0393F40@ena.com> <00f301c8cb06$d891b850$89b528f0$@ca> <017701c8cbc2$76e37050$64aa50f0$@ca> Message-ID: <08741405-2E21-4AD1-A70A-5A811BF913E7@ena.com> On Jun 11, 2008, at 7:55 AM, Kevin Manuel wrote: > Thanks Marc, it works now. Except there doesn't appear to be a way > to invoke > the event handler when multiple OK states are reported, which was > the reason > for creating the event handler in the first place. I guess I will > have to > use something other than Nagios for this type of monitoring, but I > appreciate all of your help. I don't know what you're final goal is but you might consider creating a simple wrapper for the plugin you're executing and have it execute the event handler in the background, such that the wrapper script terminates before the nagios timeout, if the status meets your criteria. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Wed Jun 11 15:52:18 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 11 Jun 2008 09:52:18 -0400 Subject: Services on down hosts In-Reply-To: <484F6E62.6060906@op5.se> References: <20080610155427.GE28582@cgi.jachomes.com> <484F6E62.6060906@op5.se> Message-ID: <20080611135218.GE1545@cgi.jachomes.com> On Wed, Jun 11, 2008 at 08:19:14AM +0200, Andreas Ericsson wrote: > Jay R. Ashworth wrote: > >Stupid question of the week: > > > >I see that Nagios 3 represents as CRITICAL services on hosts which are > >down. > > Those CRITICAL tests are actually test-results. Since sometimes host > checks fail horribly for other reasons than them actually obtaining > an answer and that answer passing some sort of threshold, Nagios will > keep running service checks for the host the same way it always has, > but notifications for the services are suppressed. Aha. So they show up as CRIT, but if the host was already notified as DOWN, then I won't get paged for the services as well. Ok; that's not too bad... (though I haven't actually set up notification yet :-). > >Since most services are OK-WARNING-CRITICAL; ie: ascending points on a > >numeric continum which *cannot be measured if the host is down*, > >wouldn't it make more sense if those services went UNKNOWN if the host > >wasn't running? > > No. UNKNOWN is reserved for when plugins get fed nonsense arguments, > or can't, due to some really weird errors, complete the check it's > supposed to do (such as getting IO errors when trying to write to > a network socket). Well, since (to take an example), CRITICAL load means "a loadaverage over 8" (on my 8-core Opteron), and we don't *know* the load average if the machine isn't reachable to return a value... then the nrpe checker on the console in fact *is* getting an IO error when trying to, ok, read from a network socket. > Yes. Write an event-broker-module that upon a hard host-state change > alters the state of the services on that host to whatever you like. > You also need to prevent the status from changing in later service > checks, or you'd only have a very short period of time when the services > are actually in the state you pick. IOW: this is not something lots of people are clamoring for. Got it. I think if I'm going to invest a lot of work into code, I'll spend it reskinning the clunky looking cgi's instead. :-) Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Wed Jun 11 15:57:41 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 11 Jun 2008 09:57:41 -0400 Subject: SOLVED: NRPE 2.12 installation issue In-Reply-To: <48C4B0E24DA90B4481C2ED21F591A30F1A747D899E@SV0099.cernum.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A747D898B@SV0099.cernum.com> <51E526870A2BE041B2A56BBDC389BADC03B3EF32@PRGDCEX007.prg-dc.dhl.com> <48C4B0E24DA90B4481C2ED21F591A30F1A747D898D@SV0099.cernum.com> <51E526870A2BE041B2A56BBDC389BADC03B3EF8D@PRGDCEX007.prg-dc.dhl.com> <48C4B0E24DA90B4481C2ED21F591A30F1A747D8995@SV0099.cernum.com> <51E526870A2BE041B2A56BBDC389BADC03B3F0CB@PRGDCEX007.prg-dc.dhl.com> <48C4B0E24DA90B4481C2ED21F591A30F1A747D899E@SV0099.cernum.com> Message-ID: <20080611135741.GF1545@cgi.jachomes.com> On Wed, Jun 11, 2008 at 10:34:20AM +0200, Tim Van Caeyzeele wrote: > Aah great, > > Problem solved! > > I'm running ubuntu and I installed libcurl13-openssl-dev which did the trick ;) > > Thnx for the support Tom! And, generally: #### If you are compiling programs on a Linux distribution that uses package management (RPM, DEB, whatever) to install software, and you find tat configures or makes are dying because they can't find libraries or header files, there is almost certainly an extra package file you need to install. These are conventionally called -dev or -devel, and otherwise named after whatever package they go with. #### That is all. This is a recording. Congrats on getting it built. :-) Cheers, -- jra > Regards, > > Tim. > > -----Original Message----- > From: Tom DE BLENDE (EECC) (DHL) [mailto:tom.deblende at dhl.com] > Sent: woensdag 11 juni 2008 10:20 > To: Tim Van Caeyzeele; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE 2.12 installation issue > > Tom > > OK, then it didn't run OK ;-) Install openssl-devel and try again. > > Good luck, > Tom > > -----Original Message----- > From: Tim Van Caeyzeele [mailto:Tim.Van.Caeyzeele at cernum.com] > Sent: Wednesday, June 11, 2008 10:07 > To: Tom DE BLENDE (EECC) (DHL); nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE 2.12 installation issue > > Hi Tom, > > It runs ok except for the SSL part > > checking for SSL headers... configure: error: Cannot find ssl headers > > Tim. > > -----Original Message----- > From: Tom DE BLENDE (EECC) (DHL) [mailto:tom.deblende at dhl.com] > Sent: woensdag 11 juni 2008 9:46 > To: Tim Van Caeyzeele; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE 2.12 installation issue > > Tim, > > Did ./configure run successfully? Can you double check? > > Tom > > > -----Original Message----- > From: Tim Van Caeyzeele [mailto:Tim.Van.Caeyzeele at cernum.com] > Sent: Wednesday, June 11, 2008 09:38 > To: Tom DE BLENDE (EECC) (DHL); nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE 2.12 installation issue > > Hi Tom, > > Sorry for not being complete, I tried that aswell ;) > > root at SV0007:~/downloads/nrpe-2.12# make all > make: *** No rule to make target `all'. Stop. > > Tim. > > -----Original Message----- > From: Tom DE BLENDE (EECC) (DHL) [mailto:tom.deblende at dhl.com] > Sent: woensdag 11 juni 2008 9:37 > To: Tim Van Caeyzeele; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE 2.12 installation issue > > Try "make all" ;-) From the docs: > > iv. Install the NRPE daemon > Download the source code tarball of the NRPE addon (visit > http://www.nagios.org/download/ for links to the latest versions). At > the time of writing, the latest version of NRPE was 2.8. > cd ~/downloads > wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nrpe-2.8.tar.gz > Extract the NRPE source code tarball. > tar xzf nrpe-2.8.tar.gz > cd nrpe-2.8 > Compile the NRPE addon. > ./configure > make all > Install the NRPE plugin (for testing), daemon, and sample daemon config > file. > make install-plugin > make install-daemon > make install-daemon-config > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tim Van > Caeyzeele > Sent: Wednesday, June 11, 2008 09:34 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE 2.12 installation issue > > Hi Guys, > > I've just tried installing NRPE 2.12 for monitoring my servers > eventviewer etc.. > > However I'm getting the following error: > > 1) I downloaded the latest stable version 2.12 > 2) I extracted the tarball > 3) I ran the ./configure script > 4) I tried the make install wich gives me the following error: > > root at SV0007:~/downloads/nrpe-2.12# make install > make: *** No rule to make target `install'. Stop. > > Any ideas anyone ? Most likely it's easy to solve, but I don't know > how.. > > Regards, > > Tim Van Caeyzeele > IT Administrator > > Cernum | Kareelstraat 48 | 9300 Aalst | Belgium | T +32 53 80 26 40 | F > +32 53 80 26 35 tim.van.caeyzeele at cernum.com www.cernum.com P please > consider the environment before printing this email > > ------------------------------------------------------------------------ > - > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for just about anything Open > Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satishkumarp2k1 at gmail.com Wed Jun 11 16:27:17 2008 From: satishkumarp2k1 at gmail.com (Satish Kumar P) Date: Wed, 11 Jun 2008 19:57:17 +0530 Subject: check_vmfs Message-ID: Hi, Can someone guide me a link from where I can download check_vmfs Nagios plugin to monitor virtual guest operating systems? Or kindly share information regarding any other plugins you might have used (if any) for this purpose. Thanks in advance. Thanks & Regards, Satish Kumar P -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank at crop-circle.net Wed Jun 11 16:51:28 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Wed, 11 Jun 2008 10:51:28 -0400 Subject: Help:Nagios : NDOUTILS:Postgresql : In-Reply-To: <532aa8dd0806110258i119b23cex55f4638420fd9527@mail.gmail.com> References: <532aa8dd0806110258i119b23cex55f4638420fd9527@mail.gmail.com> Message-ID: I don't know why ndoutils is in beta, but it has been for a long time -- the most current version has been out for almost a year. I think it's in fairly wide use, and a lot of other addons depend on it. I sent out a similar email myself before installing it and received several responses from others using the software. It hasn't given me any problems. PostgresQL need not be installed. I don't know if aptitude will insist on it as a dependency, but you don't need it. Looks like you are trying to install it with Postgres support though -- there's probably a flag you want to turn off so that it doesn't try to do that. Good luck! On Wed, Jun 11, 2008 at 5:58 AM, Peter Sanyal wrote: > Dear List > > I am running nagios on ubuntu , I am installing ndoutils 1.4b7 , as this is > in beta so before i go ahead i want to make sure that everything is OK.I > compiled ndoutils with following O/P. "checking for mysql_connect in > -lmysqlclient..." says no so how to solve this ..........also do i need to > install PostgreSQL library as in the installation note ndoutils says it does > nt support postgresql. > > I haven't installed this library so let me know incase i require this to > run ndo utils smoothly. > > > checking for mysql_store_result in -lmysqlclient... yes > checking for mysql_connect in -lmysqlclient... no > checking mysql/mysql.h usability... yes > checking mysql/mysql.h presence... yes > checking for mysql/mysql.h... yes > MySQL library and include file(s) were found! > 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. > > > thanks > peter > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 11 17:54:48 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 11 Jun 2008 17:54:48 +0200 Subject: Services on down hosts In-Reply-To: <20080611135218.GE1545@cgi.jachomes.com> References: <20080610155427.GE28582@cgi.jachomes.com> <484F6E62.6060906@op5.se> <20080611135218.GE1545@cgi.jachomes.com> Message-ID: <484FF548.9090208@op5.se> Jay R. Ashworth wrote: > On Wed, Jun 11, 2008 at 08:19:14AM +0200, Andreas Ericsson wrote: >> Jay R. Ashworth wrote: >>> Stupid question of the week: >>> >>> I see that Nagios 3 represents as CRITICAL services on hosts which are >>> down. >> Those CRITICAL tests are actually test-results. Since sometimes host >> checks fail horribly for other reasons than them actually obtaining >> an answer and that answer passing some sort of threshold, Nagios will >> keep running service checks for the host the same way it always has, >> but notifications for the services are suppressed. > > Aha. So they show up as CRIT, but if the host was already notified as > DOWN, then I won't get paged for the services as well. Ok; that's not > too bad... (though I haven't actually set up notification yet :-). > Yes. >>> Since most services are OK-WARNING-CRITICAL; ie: ascending points on a >>> numeric continum which *cannot be measured if the host is down*, >>> wouldn't it make more sense if those services went UNKNOWN if the host >>> wasn't running? >> No. UNKNOWN is reserved for when plugins get fed nonsense arguments, >> or can't, due to some really weird errors, complete the check it's >> supposed to do (such as getting IO errors when trying to write to >> a network socket). > > Well, since (to take an example), CRITICAL load means "a loadaverage > over 8" (on my 8-core Opteron), and we don't *know* the load average if > the machine isn't reachable to return a value... then the nrpe checker > on the console in fact *is* getting an IO error when trying to, ok, > read from a network socket. > I was more thinking along the lines of errno being set to EIO when attempting to read(2) from an already connected network socket, although there are two schools about that too (some wants all failures to always alert, while some wants a lot of things to be in UNKNOWN state). Not being able to connect clearly signals there is something wrong with the service though, while an EIO signals that there's something wrong with the Nagios hosts' kernel or hardware. >> Yes. Write an event-broker-module that upon a hard host-state change >> alters the state of the services on that host to whatever you like. >> You also need to prevent the status from changing in later service >> checks, or you'd only have a very short period of time when the services >> are actually in the state you pick. > > IOW: this is not something lots of people are clamoring for. Got it. > They are, but there are more people clamoring for the opposite, and since that's what we've already got, we're not about to change it ;-) > I think if I'm going to invest a lot of work into code, I'll spend it > reskinning the clunky looking cgi's instead. :-) > That could well be a wasted effort. Several UI's already exist, and more are in the brewing. I'd suggest having a look at op5.org within a week or so instead, and check nagios.org and nagios-community.org for news about GUI's (op5.org will only have a reports gui though, while nagios.org will primarily take care of the equivalent of status.cgi et al). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.shumard at defenseweb.com Wed Jun 11 19:51:18 2008 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Wed, 11 Jun 2008 10:51:18 -0700 Subject: Nagios Check on CAC Enabled Websites. In-Reply-To: References: Message-ID: I am assuming that no one has had to do this or is not sure how to, due to there has been no responses. If anyone knows of a plugin that will support supplying a client certificate for authentication to a CAC enabled website I would appreciate any information you can give me on this. Thank you, Jeff -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff Shumard - DefenseWeb Technologies Sent: Friday, May 30, 2008 1:30 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Check on CAC Enabled Websites. Has anyone tried or been able to run Nagios http checks for a CAC enabled website. We have just been told that we need to enable one of our websites with CAC cards enabled. If you have can you please tell me if you were able to do it or if there is a plug-in that will support it. Thank you, Jeff ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.ford at wachovia.com Wed Jun 11 20:34:18 2008 From: andrew.ford at wachovia.com (Ford, Andy) Date: Wed, 11 Jun 2008 13:34:18 -0500 Subject: Nagios Check on CAC Enabled Websites. In-Reply-To: References: Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F2A2@hqemhopn1.home.corp.agedwards.com> > -----Original Message----- > Of Jeff Shumard - DefenseWeb Technologies > Sent: Wednesday, June 11, 2008 12:51 PM > I am assuming that no one has had to do this or is not sure > how to, due > to there has been no responses. If anyone knows of a plugin that will > support supplying a client certificate for authentication to a CAC > enabled website I would appreciate any information you can give me on > this. I haven't had to do this, but supposing that there is no existing Nagios plugin, here's how I would proceed: I'll bet wget and/or curl would support doing this from the command line. Then just wrap it in a shell script to create a Nagios plugin. If curl or wget won't oblige you, or you just want to get fancier, try the Perl module LWP as a basis for a plugin. Here's some examples that seem to show how to use LWP with CAC: http://www.gridsite.org/wiki/Perl_Clients Andrew Ford Wachovia Corporate Information Security 314-955-6647 desk 314-600-7025 cell andrew.ford at wachovia.com Wachovia Securities, LLC's outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. A.G. Edwards, a division of Wachovia Securities, LLC ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 12 00:24:39 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 12 Jun 2008 00:24:39 +0200 Subject: Services on down hosts In-Reply-To: <20080611175046.GM1545@cgi.jachomes.com> References: <20080610155427.GE28582@cgi.jachomes.com> <484F6E62.6060906@op5.se> <20080611135218.GE1545@cgi.jachomes.com> <484FF548.9090208@op5.se> <20080611175046.GM1545@cgi.jachomes.com> Message-ID: <485050A7.5090305@op5.se> Bringing this back on-list. I'd appreciate if you could use "reply-to-all" instead of just "reply", as some of this discussion is probably of interest to the rest of the community as well. Thanks. Jay R. Ashworth wrote: > On Wed, Jun 11, 2008 at 05:54:48PM +0200, Andreas Ericsson wrote: >>> Well, since (to take an example), CRITICAL load means "a loadaverage >>> over 8" (on my 8-core Opteron), and we don't *know* the load average if >>> the machine isn't reachable to return a value... then the nrpe checker >>> on the console in fact *is* getting an IO error when trying to, ok, >>> read from a network socket. >> I was more thinking along the lines of errno being set to EIO when >> attempting to read(2) from an already connected network socket, although >> there are two schools about that too (some wants all failures to always >> alert, while some wants a lot of things to be in UNKNOWN state). >> >> Not being able to connect clearly signals there is something wrong >> with the service though, while an EIO signals that there's something >> wrong with the Nagios hosts' kernel or hardware. > > My problem with that is that not all of what Nagios monitors is > "services", in the meaning we usually give to that term. Much of it is > "attributes" -- load average and diskspace on a machine being great > examples. > True that, but the service of storing a file on disk (or, for some retarded filesystems, reading one from a disk) requires there to be a minimum of free space available. It's what makes up the platform on which the *real* services rest. Hence servicegroups (which together make up what a service-provider would call a service). > IMHO, anything you're trying to monitor that's actually a "service" -- > IE: a public facing website -- shouldn't be directly attached to a host, > anyway... > > What if you're Google? Which host do you attach "http://www.google.com" to? > All the query distributors (google works by having several front-end servers distributing the incoming queries to quite a large army of query responders, which have access to the gdfs (google distributed filesystem) for doing the actual lookups). Since a monitoring tool is only worth something if it tells you *where* things break rather than only that things are broken, that makes perfect sense for a monitoring system even if that's not the case for the service provider or its sales people. > >>> I think if I'm going to invest a lot of work into code, I'll spend it >>> reskinning the clunky looking cgi's instead. :-) >> That could well be a wasted effort. Several UI's already exist, and more >> are in the brewing. I'd suggest having a look at op5.org within a week or >> so instead, and check nagios.org and nagios-community.org for news about >> GUI's (op5.org will only have a reports gui though, while nagios.org >> will primarily take care of the equivalent of status.cgi et al). > > By UI, I presume you do *not* mean what someone else (IMHO) incorrectly > used that term to mean earlier today -- a configuration front-end tool. > No, I do not. I mean an interface displaying current and historical host and service status. > I see that op5 is "Coming Soon". > Indeed it is. Content is scheduled to be added this friday, although in what shape said content will be is anyone's guess (although I've got a shrewd idea it won't be 100% completed and super-easy to use from day one, as there's a lot of work to be done). > Are you suggesting that *Ethan* is reworking the status.cgi? Cause I > see no leaders about that on nagios.org. Yes, Ethan has been working on a new webbased user interface for Nagios in the past eight or so weeks. According to his speech at the Nordic Nagios Meet it's possible it will be a commercial venture. That is, companies capitalizing from Nagios in one way or another may have to buy it, while non-profit organizations and home-users will probably get to download it for free. He was a bit hazy on the details and he refused to give a release date, so "wait and see" is the best I can say, I'm afraid. > And nagios-community.org doesn't seem to exist... > nagios-community.org doesn't exist, but nagioscommunity.org does. Sorry for the confusion. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 12 01:29:13 2008 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 12 Jun 2008 11:29:13 +1200 Subject: check_vmfs In-Reply-To: References: Message-ID: <6B587E8C999646469B54486AF219584602D2130689@UXCHANGE7-1.UoA.auckland.ac.nz> Check on nagiosexchange.org There's the check_esx2 plugin to check ESX servers and their guests. Its currently being reworked to support ESX3 better. I also have a plugin (run via NRPE) that checks vmem and vcpu on a linux/windows guest using the VMWare library API. Also check_vmfs that checks for free space in the vmfs filesystems on the ESX server for free space. This needs to be run via cron and sends NSCA alerts. Steve ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Satish Kumar P Sent: Thursday, 12 June 2008 02:27 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_vmfs Hi, Can someone guide me a link from where I can download check_vmfs Nagios plugin to monitor virtual guest operating systems? Or kindly share information regarding any other plugins you might have used (if any) for this purpose. Thanks in advance. Thanks & Regards, Satish Kumar P -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Thu Jun 12 07:41:25 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Wed, 11 Jun 2008 21:41:25 -0800 Subject: NRPE host on Solaris 10 In-Reply-To: <9BE0CA68DE32EC4B94849D2C9A9A099453D12590@monaco.fit.local> References: <958697dcd40.00000327izz_abdullah@inbox.com> Message-ID: still the same error: Received 0 bytes from daemon... results from the two commands requested (everything looks ok to me): # svcs svc:/network/nrpe/tcp:default STATE STIME FMRI online Jun_10 svc:/network/nrpe/tcp:default # inetadm -l svc:/network/nrpe/tcp:default SCOPE NAME=VALUE name="nrpe" endpoint_type="stream" proto="tcp" isrpc=FALSE wait=FALSE exec="/usr/sfw/sbin/tcpd -c /usr/local/nagios/etc/nrpe.cfg -i" arg0="/usr/local/nagios/bin/nrpe" user="nagios" default bind_addr="" default bind_fail_max=-1 default bind_fail_interval=-1 default max_con_rate=-1 default max_copies=-1 default con_rate_offline=-1 default failrate_cnt=40 default failrate_interval=60 default inherit_env=TRUE default tcp_trace=FALSE tcp_wrappers=TRUE # The only thing I see different between this output and that on the site listed where I installed the remote host NRPE is there is no default for tcp_wrappers and no connection_backlog. But this shouldn't be the problem, right? Thanks again for your assistance, Izz > -----Original Message----- > From: philc at foundation-it.com > Sent: Wed, 11 Jun 2008 10:21:58 +0100 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NRPE host on Solaris 10 > >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Izz Abdullah >> >> I have followed the instructions I found at >> http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe- >> on-solaris-10/ >> >> but to no avail. At the end of it all, when I try >> ./check_nrpe -H localhost >> >> it gives me a 0 bytes received from daemon. The first check in the >> list of >> /usr/local/nagios/libexec/check_disk -w 10 -c 5 -p / >> gives data...I don't know what's wrong here...I haven't configured a >> Solaris box to be monitored...any ideas / assistance? > > >From your description, it seems like the plugins are working OK but the > problem is with the service itself. That's not surprising, SMF on Solaris > 10 can be tricky to get right. I'd double check the entire section in > those instructions from "With Solaris 10, we don't use either inetd ..." > to "Modify your hosts.allow ...". In particular make sure your inetd.conf > entry is on one line (as the instructions say but then split over three > lines because of the narrow width of the page). If it's still not > working, post back with the relevant section of inetd.conf and the output > of > > svcs svc:/network/nrpe/tcp:default > > and > > inetadm -l svc:/network/nrpe/tcp:default > > -- > Phil Costelloe > Foundation IT, Hermitage Berkshire RG18 9SE > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ward at loockx.be Thu Jun 12 11:04:39 2008 From: ward at loockx.be (Ward Loockx) Date: Thu, 12 Jun 2008 11:04:39 +0200 Subject: NDOutils load configuration Message-ID: <4850E6A7.7080706@loockx.be> Hello, I've setup NDOutils with nagios, But is it possible to manage the mysql database to update the config instead of using config files? Is there an option for this? Because I only can see that NDOutils is used for pushing data to mysql but not for pulling. Anbody an idea if this is possible ? Thanks, Ward ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschneemann at suse.de Thu Jun 12 13:30:30 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 12 Jun 2008 13:30:30 +0200 Subject: Monitoring data throuhput from SAN switches Message-ID: <200806121330.30687.cschneemann@suse.de> Hi, I want to monitor the data throughput from SAN Switchen in nagios, so that I can use pnp after that to visualise it. I can't believe that I would be the first one who wants to do this ;) Any recommendations? Is there already a plugin for this? I'm playing around with snmp, but I don't want to reinvent the wheel ;) Greetings -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone:??+49 (0)911 - 740 53 0 e-mail:?cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ng23.net Thu Jun 12 13:35:42 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 12 Jun 2008 12:35:42 +0100 Subject: nrpe error - nrpe 1.9 - RHEL 5.2 Message-ID: <48510A0E.3070103@ng23.net> Hi This is an nrpe question so sorry if this is not the right place - I am trying to monitor a hp disk array and chassis and i have done this before using check_hparray and check_hpasm without issue, Now however i come accross a situation where nrpe is not starting as the user 'nagios' # /etc/init.d/nrpe restart Shutting down nrpe: [ OK ] Starting nrpe: [ OK ] nrpe[16836]: Warning: Could not get group entry for 'nagios' nrpe[16836]: Warning: Could not get passwd entry for 'nagios' # ps auxwww | grep nrpe 4294967295 16836 0.0 0.0 740 388 ? Ss 11:32 0:00 /opt/nagios/bin/nrpe -c /opt/nagios/etc/nrpe.cfg -d so you can see its not running as the nagios user (Nagios is a NIS map) BUT # getent passwd nagios nagios:NP:666:666:Nagios Monitoring:/home/nagios:/bin/bash So the box can get the users creds - also # su - nagios [nagios at xxxxxx0204 ~]$ # cat /opt/nagios/etc/nrpe.cfg | grep nagios nrpe_user=nagios nrpe_group=nagios Any thoughts as to what the issue could be? thanks ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 truthisfreedom.org.uk Thu Jun 12 14:41:21 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Thu, 12 Jun 2008 13:41:21 +0100 Subject: Installing Nagios 3 on Debian Etch Message-ID: <20080612134121.7d7fec10@tclmmw.in.tiger-computing.com> Hi All, Just thought I'd let you know that I've cribbed together a few notes on installing Nagios 3 on Debian etch. I've put them on my blog (http://www.truthisfreedom.org.uk/) and when I get a minute I'll try and turn it into a proper how-to for the wiki. Let me know if there's any edits required etc, Cheers, M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirko.stefanelli at gmail.com Thu Jun 12 14:49:10 2008 From: mirko.stefanelli at gmail.com (mirko stefanelli) Date: Thu, 12 Jun 2008 05:49:10 -0700 Subject: mirko stefanelli desidera chattare Message-ID: <9eaab8b80806120549y4de61ba4p@mail.gmail.com> ----------------------------------------------------------------------- mirko stefanelli desidera poter comunicare con te usando i nuovi interessanti prodotti di Google. Se possiedi gi? Gmail o Google Talk, apri il link http://mail.google.com/mail/b-2b1178f8fa-607adc77d5-bc23d2ef3bfda62b Fai clic su questo link per iniziare a chattare con mirko stefanelli. Per ottenere Gmail, un account di posta elettronica gratuito offerto da Google, con oltre 2800 megabyte di spazio libero e chattare con mirko stefanelli, apri la pagina: http://mail.google.com/mail/a-2b1178f8fa-607adc77d5-a15a22db90 Gmail offre: ? Messaggistica istantanea integrata direttamente in Gmail ? Potente protezione anti-spam - Funzione integrata di ricerca dei messaggi e un innovativo metodo di organizzazione dei messaggi in "conversazioni" - Nessun annuncio popup o banner fuori contesto, solo annunci di testo e informazioni correlate pertinenti al contenuto dei messaggi. E tutto questo pu? essere tuo gratis! Ma aspetta, c'? dell'altro! Aprendo un account Gmail, avrai anche l'accesso a Google Talk, il servizio di messaggistica istantanea di Google: http://www.google.com/talk/intl/it/ Google Talk offre: - Chat su Web da utilizzare ovunque, senza doverla scaricare - Un elenco di contatti sincronizzato con il tuo account Gmail - Chiamate vocali da PC a PC gratuite e di elevata qualit?, scaricando il client Google Talk Gmail e Google Talk sono ancora in fase beta. Stiamo lavorando intensamente per aggiungere nuove funzionalit? e migliorare quelle gi? esistenti. Per questo, di tanto in tanto potremo chiederti commenti e suggerimenti. Apprezziamo la tua collaborazione. Aiutaci a migliorare sempre di pi? i nostri prodotti! Grazie Il team di Google Per ulteriori informazioni su Gmail e Google Talk, consulta la pagina http://mail.google.com/mail/help/intl/it/about.html http://www.google.com/talk/intl/it/about.html (Se facendo clic su uno degli URL visualizzati in questo messaggio non si apre alcun link, copia e incolla l'URL nella barra degli indirizzi del tuo browser). ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From emanuel.massano at fccn.pt Thu Jun 12 15:21:55 2008 From: emanuel.massano at fccn.pt (Emanuel Massano) Date: Thu, 12 Jun 2008 14:21:55 +0100 Subject: Host check retries Message-ID: <485122F3.5090700@fccn.pt> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: recovery.png Type: image/png Size: 1413 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: critical.png Type: image/png Size: 1385 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschneemann at suse.de Thu Jun 12 15:26:35 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 12 Jun 2008 15:26:35 +0200 Subject: Monitoring data throuhput from SAN switches In-Reply-To: <200806121330.30687.cschneemann@suse.de> References: <200806121330.30687.cschneemann@suse.de> Message-ID: <200806121526.36135.cschneemann@suse.de> On Thursday June 12 2008 02:25:49 pm Max wrote: > On Thu, Jun 12, 2008 at 7:30 AM, Christian Schneemann > > wrote: > > Hi, > > > > I want to monitor the data throughput from SAN Switchen in nagios, so > > that I can use pnp after that to visualise it. > > > > I can't believe that I would be the first one who wants to do this ;) > > > > Any recommendations? Is there already a plugin for this? > > > > I'm playing around with snmp, but I don't want to reinvent the wheel ;) > > For most SAN switches you do not have to reinvent the wheel :), just > use one of the many plugins available that allow you to query IF-MIB > metrics. Hi, I want to monitor the FC-Ports, not the ethernetports. I've played around with the FCMGMT-MIB. And here with connUnitPortStatCountTxObjects and connUnitPortStatCountRxObjects. My problem is, that tey are hex values and they are to big for perl's hex() function. (perl 5.8.8) > > - Max -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 12 15:30:12 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 12 Jun 2008 15:30:12 +0200 Subject: Monitoring data throuhput from SAN switches In-Reply-To: <200806121526.36135.cschneemann@suse.de> References: <200806121330.30687.cschneemann@suse.de> <200806121526.36135.cschneemann@suse.de> Message-ID: <485124E4.7030602@ederdrom.de> Christian Schneemann schrieb: > On Thursday June 12 2008 02:25:49 pm Max wrote: >> On Thu, Jun 12, 2008 at 7:30 AM, Christian Schneemann >> >> wrote: >>> Hi, >>> >>> I want to monitor the data throughput from SAN Switchen in nagios, so >>> that I can use pnp after that to visualise it. >>> >>> I can't believe that I would be the first one who wants to do this ;) >>> >>> Any recommendations? Is there already a plugin for this? >>> >>> I'm playing around with snmp, but I don't want to reinvent the wheel ;) >> For most SAN switches you do not have to reinvent the wheel :), just >> use one of the many plugins available that allow you to query IF-MIB >> metrics. > Hi, > I want to monitor the FC-Ports, not the ethernetports. > > I've played around with the FCMGMT-MIB. And here with > connUnitPortStatCountTxObjects and connUnitPortStatCountRxObjects. > My problem is, that tey are hex values and they are to big for perl's hex() > function. (perl 5.8.8) Hi Christian, try swFCPortTxWord and swFCPortRxWord ( tested on Brocade switches ) J?rg ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschneemann at suse.de Thu Jun 12 15:50:05 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 12 Jun 2008 15:50:05 +0200 Subject: Monitoring data throuhput from SAN switches In-Reply-To: <485124E4.7030602@ederdrom.de> References: <200806121330.30687.cschneemann@suse.de> <200806121526.36135.cschneemann@suse.de> <485124E4.7030602@ederdrom.de> Message-ID: <200806121550.06349.cschneemann@suse.de> On Thursday June 12 2008 03:30:12 pm Joerg Linge wrote: > Christian Schneemann schrieb: > > On Thursday June 12 2008 02:25:49 pm Max wrote: > >> On Thu, Jun 12, 2008 at 7:30 AM, Christian Schneemann > >> > >> wrote: > >>> Hi, > >>> > >>> I want to monitor the data throughput from SAN Switchen in nagios, so > >>> that I can use pnp after that to visualise it. > >>> > >>> I can't believe that I would be the first one who wants to do this ;) > >>> > >>> Any recommendations? Is there already a plugin for this? > >>> > >>> I'm playing around with snmp, but I don't want to reinvent the wheel ;) > >> > >> For most SAN switches you do not have to reinvent the wheel :), just > >> use one of the many plugins available that allow you to query IF-MIB > >> metrics. > > > > Hi, > > I want to monitor the FC-Ports, not the ethernetports. > > > > I've played around with the FCMGMT-MIB. And here with > > connUnitPortStatCountTxObjects and connUnitPortStatCountRxObjects. > > My problem is, that tey are hex values and they are to big for perl's > > hex() function. (perl 5.8.8) > > Hi Christian, > > try swFCPortTxWord and swFCPortRxWord ( tested on Brocade switches ) thanks, wich MIB are they in? I can't find them > > J?rg > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone:??+49 (0)911 - 740 53 0 e-mail:?cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirko.stefanelli at gmail.com Thu Jun 12 15:47:38 2008 From: mirko.stefanelli at gmail.com (mirko stefanelli) Date: Thu, 12 Jun 2008 15:47:38 +0200 Subject: Dummy objects?!?!? Message-ID: <9eaab8b80806120647x5c9f85c2wc8de85576e6a5cb3@mail.gmail.com> Hi all, I need to add, if can be possible, some dummy object in status map. how can I add some object that are only container object (without ipaddress). For example: Location --host1 |--host2 |--host3 Thanks in advance. Best Regards, Mirko. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Thu Jun 12 16:05:22 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 12 Jun 2008 10:05:22 -0400 Subject: Services on down hosts In-Reply-To: <485050A7.5090305@op5.se> References: <20080610155427.GE28582@cgi.jachomes.com> <484F6E62.6060906@op5.se> <20080611135218.GE1545@cgi.jachomes.com> <484FF548.9090208@op5.se> <20080611175046.GM1545@cgi.jachomes.com> <485050A7.5090305@op5.se> Message-ID: <20080612140522.GA7246@cgi.jachomes.com> On Thu, Jun 12, 2008 at 12:24:39AM +0200, Andreas Ericsson wrote: > Bringing this back on-list. I'd appreciate if you could use > "reply-to-all" instead of just "reply", as some of this discussion > is probably of interest to the rest of the community as well. > Thanks. Sorry; my version of mutt doesn't handle large numbers of 'lists' directives well; this list wasn't being recognized for List reply, and I hadn't fixed it and was using Group reply instead. Fixed now. > Jay R. Ashworth wrote: > >On Wed, Jun 11, 2008 at 05:54:48PM +0200, Andreas Ericsson wrote: > >>>Well, since (to take an example), CRITICAL load means "a loadaverage > >>>over 8" (on my 8-core Opteron), and we don't *know* the load average if > >>>the machine isn't reachable to return a value... then the nrpe checker > >>>on the console in fact *is* getting an IO error when trying to, ok, > >>>read from a network socket. > >>I was more thinking along the lines of errno being set to EIO when > >>attempting to read(2) from an already connected network socket, although > >>there are two schools about that too (some wants all failures to always > >>alert, while some wants a lot of things to be in UNKNOWN state). > >> > >>Not being able to connect clearly signals there is something wrong > >>with the service though, while an EIO signals that there's something > >>wrong with the Nagios hosts' kernel or hardware. > > > >My problem with that is that not all of what Nagios monitors is > >"services", in the meaning we usually give to that term. Much of it is > >"attributes" -- load average and diskspace on a machine being great > >examples. > > True that, but the service of storing a file on disk (or, for some > retarded filesystems, reading one from a disk) requires there to be a > minimum of free space available. It's what makes up the platform on > which the *real* services rest. Hence servicegroups (which together > make up what a service-provider would call a service). Could you expand on that? Do you mean to imply that a good use for a servicegroup is "all the physical services upon which my public website rests", as I think I read in your reply there? > >IMHO, anything you're trying to monitor that's actually a "service" -- > >IE: a public facing website -- shouldn't be directly attached to a host, > >anyway... > > > >What if you're Google? Which host do you attach "http://www.google.com" > >to? > > All the query distributors (google works by having several front-end servers > distributing the incoming queries to quite a large army of query responders, > which have access to the gdfs (google distributed filesystem) for doing the > actual lookups). Since a monitoring tool is only worth something if it tells > you *where* things break rather than only that things are broken, that > makes perfect sense for a monitoring system even if that's not the case for > the service provider or its sales people. Ok, Google was a poor choice. Conversely, though, there may be cases where... or maybe there aren't. let me muse on this some more. > >>>I think if I'm going to invest a lot of work into code, I'll spend it > >>>reskinning the clunky looking cgi's instead. :-) > >>That could well be a wasted effort. Several UI's already exist, and more > >>are in the brewing. I'd suggest having a look at op5.org within a week or > >>so instead, and check nagios.org and nagios-community.org for news about > >>GUI's (op5.org will only have a reports gui though, while nagios.org > >>will primarily take care of the equivalent of status.cgi et al). > > > >By UI, I presume you do *not* mean what someone else (IMHO) incorrectly > >used that term to mean earlier today -- a configuration front-end tool. > > No, I do not. I mean an interface displaying current and historical > host and service status. Ok. I'll sit back and wait for a bit. > >I see that op5 is "Coming Soon". > > Indeed it is. Content is scheduled to be added this friday, although in > what shape said content will be is anyone's guess (although I've got a > shrewd idea it won't be 100% completed and super-easy to use from day > one, as there's a lot of work to be done). Understandable. > >Are you suggesting that *Ethan* is reworking the status.cgi? Cause I > >see no leaders about that on nagios.org. > > Yes, Ethan has been working on a new webbased user interface for Nagios > in the past eight or so weeks. According to his speech at the Nordic > Nagios Meet it's possible it will be a commercial venture. That is, > companies capitalizing from Nagios in one way or another may have to > buy it, while non-profit organizations and home-users will probably > get to download it for free. He was a bit hazy on the details and he > refused to give a release date, so "wait and see" is the best I can > say, I'm afraid. Got it. > > And nagios-community.org doesn't seem to exist... > > nagios-community.org doesn't exist, but nagioscommunity.org does. > Sorry for the confusion. I should have known better; I've been there, but it was a long day... Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 12 16:11:30 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 12 Jun 2008 16:11:30 +0200 Subject: Monitoring data throuhput from SAN switches In-Reply-To: <200806121550.06349.cschneemann@suse.de> References: <200806121330.30687.cschneemann@suse.de> <200806121526.36135.cschneemann@suse.de> <485124E4.7030602@ederdrom.de> <200806121550.06349.cschneemann@suse.de> Message-ID: <48512E92.4040301@ederdrom.de> Christian Schneemann schrieb: > On Thursday June 12 2008 03:30:12 pm Joerg Linge wrote: >> Christian Schneemann schrieb: >>> On Thursday June 12 2008 02:25:49 pm Max wrote: >>>> On Thu, Jun 12, 2008 at 7:30 AM, Christian Schneemann >>>> >>>> wrote: >>>>> Hi, >>>>> >>>>> I want to monitor the data throughput from SAN Switchen in nagios, so >>>>> that I can use pnp after that to visualise it. >>>>> >>>>> I can't believe that I would be the first one who wants to do this ;) >>>>> >>>>> Any recommendations? Is there already a plugin for this? >>>>> >>>>> I'm playing around with snmp, but I don't want to reinvent the wheel ;) >>>> For most SAN switches you do not have to reinvent the wheel :), just >>>> use one of the many plugins available that allow you to query IF-MIB >>>> metrics. >>> Hi, >>> I want to monitor the FC-Ports, not the ethernetports. >>> >>> I've played around with the FCMGMT-MIB. And here with >>> connUnitPortStatCountTxObjects and connUnitPortStatCountRxObjects. >>> My problem is, that tey are hex values and they are to big for perl's >>> hex() function. (perl 5.8.8) >> Hi Christian, >> >> try swFCPortTxWord and swFCPortRxWord ( tested on Brocade switches ) > thanks, wich MIB are they in? I can't find them Just a little code example. Not enough to put the plugin on nagiosexchange Joerg [...] my $swFCPortPhyState = ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.3.$opt_P"; my $swFCPortLabel = ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.36.$opt_P"; my $swFCPortTxWords = ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11.$opt_P"; my $swFCPortRxWords = ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.12.$opt_P"; my $result = $session->get_request( -varbindlist => [$swFCPortPhyState, $swFCPortTxWords, $swFCPortRxWords, $swFCPortLabel] ); $session->close; if (!defined($result)) { printf("ERROR: %s.\n", $session->error); exit 1; } $opt_P = $opt_P-1; my $PerfData = "|TxWord=$result->{$swFCPortTxWords}c;;;; RxWord=$result->{$swFCPortRxWords}c;;;;"; my $label = $result->{$swFCPortLabel}; for ($result->{$swFCPortPhyState}){ if (/1/){ print "CRITICAL: No Card found in Port $opt_P ($label) $PerfData\n" and exit 2;}; if (/2/){ print "OK: No Gbic found in Port $opt_P ($label) $PerfData\n" and exit 0;}; if (/3/){ print "CRITICAL: Laser fault on Port $opt_P ($label) $PerfData\n" and exit 2;}; if (/4/){ print "CRITICAL: Port $opt_P is not recieving Light ($label) $PerfData\n" and exit 2;}; if (/5/){ print "CRITICAL: Port $opt_P is not in Sync ($label) $PerfData\n" and exit 2;}; if (/6/){ print "OK: Port $opt_P is in Sync ($label) $PerfData\n" and exit 0;}; if (/7/){ print "CRITICAL: Power fault on Port $opt_P ($label) $PerfData\n" and exit 2;}; if (/8/){ print "CRITICAL: Diag Fault on Port $opt_P ($label) $PerfData\n" and exit 2;}; if (/9/){ print "CRITICAL::Lock Ref on Port $opt_P ($label) $PerfData\n" and exit 2;}; } print "UNKNOWN: State id $result->{$swFCPortPhyState} not known for Port $opt_P\n"; exit 3; ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 12 16:21:28 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 12 Jun 2008 14:21:28 +0000 Subject: NDOutils load configuration In-Reply-To: <4850E6A7.7080706@loockx.be> References: <4850E6A7.7080706@loockx.be> Message-ID: <93C487A372B3774CAEAA15D524CCF3D1228B54B5A8@G1W0485.americas.hpqcorp.net> > I've setup NDOutils with nagios, But is it possible to manage the mysql > database to update the config instead of using config files? > Is there an option for this? Because I only can see that NDOutils is > used for pushing data to mysql but not for pulling. > > Anbody an idea if this is possible ? Currently, no. Nagios will only read its config from the config files. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschneemann at suse.de Thu Jun 12 16:43:18 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 12 Jun 2008 16:43:18 +0200 Subject: Monitoring data throuhput from SAN switches In-Reply-To: <48512E92.4040301@ederdrom.de> References: <200806121330.30687.cschneemann@suse.de> <200806121550.06349.cschneemann@suse.de> <48512E92.4040301@ederdrom.de> Message-ID: <200806121643.19138.cschneemann@suse.de> On Thursday June 12 2008 04:11:30 pm Joerg Linge wrote: > Christian Schneemann schrieb: > > On Thursday June 12 2008 03:30:12 pm Joerg Linge wrote: > >> Christian Schneemann schrieb: > >>> On Thursday June 12 2008 02:25:49 pm Max wrote: > >>>> On Thu, Jun 12, 2008 at 7:30 AM, Christian Schneemann > >>>> > >>>> wrote: > >>>>> Hi, > >>>>> > >>>>> I want to monitor the data throughput from SAN Switchen in nagios, so > >>>>> that I can use pnp after that to visualise it. > >>>>> > >>>>> I can't believe that I would be the first one who wants to do this ;) > >>>>> > >>>>> Any recommendations? Is there already a plugin for this? > >>>>> > >>>>> I'm playing around with snmp, but I don't want to reinvent the wheel > >>>>> ;) > >>>> > >>>> For most SAN switches you do not have to reinvent the wheel :), just > >>>> use one of the many plugins available that allow you to query IF-MIB > >>>> metrics. > >>> > >>> Hi, > >>> I want to monitor the FC-Ports, not the ethernetports. > >>> > >>> I've played around with the FCMGMT-MIB. And here with > >>> connUnitPortStatCountTxObjects and connUnitPortStatCountRxObjects. > >>> My problem is, that tey are hex values and they are to big for perl's > >>> hex() function. (perl 5.8.8) > >> > >> Hi Christian, > >> > >> try swFCPortTxWord and swFCPortRxWord ( tested on Brocade switches ) > > > > thanks, wich MIB are they in? I can't find them > > Just a little code example. thanks. It seems that this is brocade specific, I've tested the OIDs on our Brocade switches and it returns values, but on a Q-Logic SANBox I get: SNMPv2-SMI::enterprises.1588.2.1.1.1.6.2.1.3 = No Such Object available on this agent at this OID :( I don't like this vendorspecific things :( But thanks, so we have at least some code for our Brocade switches. Thanks, Christian > > Not enough to put the plugin on nagiosexchange > Joerg > > [...] > my $swFCPortPhyState = ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.3.$opt_P"; > my $swFCPortLabel = ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.36.$opt_P"; > my $swFCPortTxWords = ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11.$opt_P"; > my $swFCPortRxWords = ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.12.$opt_P"; > > my $result = $session->get_request( > -varbindlist => [$swFCPortPhyState, $swFCPortTxWords, > $swFCPortRxWords, $swFCPortLabel] > ); > > $session->close; > > if (!defined($result)) { > printf("ERROR: %s.\n", $session->error); > exit 1; > } > > $opt_P = $opt_P-1; > > my $PerfData = "|TxWord=$result->{$swFCPortTxWords}c;;;; > RxWord=$result->{$swFCPortRxWords}c;;;;"; > my $label = $result->{$swFCPortLabel}; > for ($result->{$swFCPortPhyState}){ > if (/1/){ print "CRITICAL: No Card found in Port $opt_P ($label) > $PerfData\n" and exit 2;}; > if (/2/){ print "OK: No Gbic found in Port $opt_P ($label) $PerfData\n" > and exit 0;}; > if (/3/){ print "CRITICAL: Laser fault on Port $opt_P ($label) > $PerfData\n" and exit 2;}; > if (/4/){ print "CRITICAL: Port $opt_P is not recieving Light ($label) > $PerfData\n" and exit 2;}; > if (/5/){ print "CRITICAL: Port $opt_P is not in Sync ($label) > $PerfData\n" and exit 2;}; > if (/6/){ print "OK: Port $opt_P is in Sync ($label) $PerfData\n" and > exit 0;}; > if (/7/){ print "CRITICAL: Power fault on Port $opt_P ($label) > $PerfData\n" and exit 2;}; > if (/8/){ print "CRITICAL: Diag Fault on Port $opt_P ($label) > $PerfData\n" and exit 2;}; > if (/9/){ print "CRITICAL::Lock Ref on Port $opt_P ($label) $PerfData\n" > and exit 2;}; > } > > print "UNKNOWN: State id $result->{$swFCPortPhyState} not known for Port > $opt_P\n"; > exit 3; > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone:??+49 (0)911 - 740 53 0 e-mail:?cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ng23.net Thu Jun 12 17:57:09 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 12 Jun 2008 16:57:09 +0100 Subject: nrpe error - nrpe 1.9 - RHEL 5.2 In-Reply-To: <48510A0E.3070103@ng23.net> References: <48510A0E.3070103@ng23.net> Message-ID: <48514755.5060307@ng23.net> > > This is an nrpe question so sorry if this is not the right place - I am > trying to monitor a hp disk array and chassis and i have done this > before using check_hparray and check_hpasm without issue, > > Now however i come accross a situation where nrpe is not starting as the > user 'nagios' > > # /etc/init.d/nrpe restart > Shutting down nrpe: [ OK ] > Starting nrpe: [ OK ] > > nrpe[16836]: Warning: Could not get group entry for 'nagios' > nrpe[16836]: Warning: Could not get passwd entry for 'nagios' > > # ps auxwww | grep nrpe > 4294967295 16836 0.0 0.0 740 388 ? Ss 11:32 0:00 > /opt/nagios/bin/nrpe -c /opt/nagios/etc/nrpe.cfg -d > > so you can see its not running as the nagios user (Nagios is a NIS map) > > BUT > > # getent passwd nagios > nagios:NP:666:666:Nagios Monitoring:/home/nagios:/bin/bash > > So the box can get the users creds - also > > # su - nagios > [nagios at xxxxxx0204 ~]$ > > # cat /opt/nagios/etc/nrpe.cfg | grep nagios > nrpe_user=nagios > nrpe_group=nagios > OK i recompiled nrpe and it now runs as the nagios user - i have a different issue though ;) Even if i run check_nrpe locally on the box i get the following error # ./check_nrpe -H xxxxxx0204 -c check_hpasm UNKNOWN - insufficient rights to call sudo /sbin/hpasmcli BUT nrpe is running as the user nagios $ ps auxwww | grep nrpe nagios 23963 0.0 0.0 10232 876 ? Ss 15:10 0:00 /opt/nagios/bin/nrpe -c /opt/nagios/etc/nrpe.cfg -d and if i run the plugin exactly how its called from nrpe using the nagios user it works fine [nagios at xxxxxx0204 ~]$ /opt/nagios/libexec/check_hpasm OK - Chassis Status OK so anyone got any thoughts on how to debug this? thanks > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dani at tydnet.org Thu Jun 12 18:07:07 2008 From: dani at tydnet.org (Daniel =?iso-8859-1?q?L=F3pez?=) Date: Thu, 12 Jun 2008 18:07:07 +0200 Subject: nrpe error - nrpe 1.9 - RHEL 5.2 In-Reply-To: <48514755.5060307@ng23.net> References: <48510A0E.3070103@ng23.net> <48514755.5060307@ng23.net> Message-ID: <200806121807.07177.dani@tydnet.org> On Thu June 12 2008 17:57:09 Tom Brown wrote: > # ./check_nrpe -H xxxxxx0204 -c check_hpasm > UNKNOWN - insufficient rights to call sudo /sbin/hpasmcli > > BUT nrpe is running as the user nagios > > $ ps auxwww | grep nrpe > nagios 23963 0.0 0.0 10232 876 ? Ss 15:10 0:00 > /opt/nagios/bin/nrpe -c /opt/nagios/etc/nrpe.cfg -d > > and if i run the plugin exactly how its called from nrpe using the > nagios user it works fine > > [nagios at xxxxxx0204 ~]$ /opt/nagios/libexec/check_hpasm > OK - Chassis Status OK > > so anyone got any thoughts on how to debug this? > Hi, I bet it's a sudo issue, maybe related to restrictions executing sudo outside a real tty. There was an option in sudoers config related to this. eventually try to use capture_plugin.pl ... it works nice. regards, dani ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vinogratzky at gmx.ch Thu Jun 12 18:08:10 2008 From: vinogratzky at gmx.ch (Vinogratzky) Date: Thu, 12 Jun 2008 18:08:10 +0200 Subject: Dropping packet with future timestamp, NSCA Message-ID: <20080612160810.GA22949@loewe.site> Hi list, I have some passive checks with NSCA and my clients are a few seconds ahead. The server rejects the package with: ---8<--- nsca[10986]: Dropping packet with future timestamp. ---8<--- max_packet_age=0 doesn't help here. Any hints? (No, I'm not able to sync the Clients with ntp.) Thx, Chris ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vinogratzky at gmx.ch Thu Jun 12 18:09:30 2008 From: vinogratzky at gmx.ch (Vinogratzky) Date: Thu, 12 Jun 2008 18:09:30 +0200 Subject: Dropping packet with future timestamp, NSCA Message-ID: <20080612160930.GB22949@loewe.site> Hi list, I have some passive checks with NSCA and my clients are a few seconds ahead. The server rejects the package with: ---8<--- nsca[10986]: Dropping packet with future timestamp. ---8<--- max_packet_age=0 doesn't help here. Any hints? (No, I'm not able to sync the Clients with ntp.) Thx, Chris ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ng23.net Thu Jun 12 18:20:32 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 12 Jun 2008 17:20:32 +0100 Subject: nrpe error - nrpe 1.9 - RHEL 5.2 In-Reply-To: <200806121807.07177.dani@tydnet.org> References: <48510A0E.3070103@ng23.net> <48514755.5060307@ng23.net> <200806121807.07177.dani@tydnet.org> Message-ID: <48514CD0.7060707@ng23.net> > > > I bet it's a sudo issue, maybe related to restrictions executing sudo outside > a real tty. There was an option in sudoers config related to this. > > eventually try to use capture_plugin.pl ... it works nice. > > perhaps something like that as this config works fine on RHEL4 machines - Its just on RHEL5 where the issue is, i will look at some options to /etc/sudoers ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ng23.net Thu Jun 12 18:23:10 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 12 Jun 2008 17:23:10 +0100 Subject: nrpe error - nrpe 1.9 - RHEL 5.2 In-Reply-To: <48514CD0.7060707@ng23.net> References: <48510A0E.3070103@ng23.net> <48514755.5060307@ng23.net> <200806121807.07177.dani@tydnet.org> <48514CD0.7060707@ng23.net> Message-ID: <48514D6E.4010704@ng23.net> > perhaps something like that as this config works fine on RHEL4 machines > - Its just on RHEL5 where the issue is, i will look at some options to > /etc/sudoers > > thanks Daniel, it was this line causing the issue Defaults requiretty it now works! cheers ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satishkumarp2k1 at gmail.com Thu Jun 12 19:32:08 2008 From: satishkumarp2k1 at gmail.com (Satish Kumar P) Date: Thu, 12 Jun 2008 23:02:08 +0530 Subject: check_vmfs In-Reply-To: <6B587E8C999646469B54486AF219584602D2130689@UXCHANGE7-1.UoA.auckland.ac.nz> References: <6B587E8C999646469B54486AF219584602D2130689@UXCHANGE7-1.UoA.auckland.ac.nz> Message-ID: Thanks a lot. check_snmp_vmfs.pl has worked for my requirement. Just one more query: Is there any nagios plugin to monitor ssh keys on remote servers?? Thanks in advance. Thanks & Regards, Satish Kumar P On Thu, Jun 12, 2008 at 4:59 AM, Steve Shipway wrote: > Check on nagiosexchange.org > > > > There's the check_esx2 plugin to check ESX servers and their guests. Its > currently being reworked to support ESX3 better. I also have a plugin (run > via NRPE) that checks vmem and vcpu on a linux/windows guest using the > VMWare library API. Also check_vmfs that checks for free space in the vmfs > filesystems on the ESX server for free space. This needs to be run via cron > and sends NSCA alerts. > > > > Steve > > > ------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Satish Kumar P > *Sent:* Thursday, 12 June 2008 02:27 > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] check_vmfs > > > > Hi, > > Can someone guide me a link from where I can download check_vmfs Nagios > plugin to monitor virtual guest operating systems? > Or kindly share information regarding any other plugins you might have used > (if any) for this purpose. > > Thanks in advance. > > Thanks & Regards, > Satish Kumar P > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 12 20:32:35 2008 From: fvanhee at gmail.com (Frederik Vanhee) Date: Thu, 12 Jun 2008 20:32:35 +0200 Subject: Nagios server hardware dimensions In-Reply-To: <48510A0E.3070103@ng23.net> References: <48510A0E.3070103@ng23.net> Message-ID: <48516BC3.6010104@gmail.com> Hello, I'm thinking about a hardware upgrade of my Nagios server. I have a setup with 1500 hosts and 9000 services (from which 2500 services are active and the other 6500 passive). I use the 'classic' Nagios interface for consulting + the Nagvis frontend with the ndo backend. In addition, I use Nagiosgrapher for graphing purposes. Now I'm in doubt if I would split the Nagios server in two servers : -one for the Nagios process + webinterface + nagiosgrapher -second as database-server for the ndo-backend Or maybe another configuration ? Would it be more interesting to invest in one server with more RAM and more powerful cpu's or is it more interesting to split it into two servers ? Any suggestions, Vanhee Frederik ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 12 20:54:23 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Thu, 12 Jun 2008 12:54:23 -0600 Subject: Nagios server hardware dimensions In-Reply-To: <48516BC3.6010104@gmail.com> References: <48510A0E.3070103@ng23.net> <48516BC3.6010104@gmail.com> Message-ID: <1213296863.18711.38.camel@localhost> Please stop posting the same exact thing on a daily basis. Sending multiple posts on consecutive days is *not* going to help you. Quite the opposite, in fact. On Thu, 2008-06-12 at 20:32 +0200, Frederik Vanhee wrote: > Hello, > > I'm thinking about a hardware upgrade of my Nagios server. > I have a setup with 1500 hosts and 9000 services (from which 2500 > services are active and the other 6500 passive). > I use the 'classic' Nagios interface for consulting + the Nagvis > frontend with the ndo backend. > In addition, I use Nagiosgrapher for graphing purposes. > > Now I'm in doubt if I would split the Nagios server in two servers : > > -one for the Nagios process + webinterface + nagiosgrapher > -second as database-server for the ndo-backend > > Or maybe another configuration ? > Would it be more interesting to invest in one server with more RAM and > more powerful cpu's or is it more interesting to split it into two servers ? > > Any suggestions, > > Vanhee Frederik > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 12 21:18:42 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 12 Jun 2008 21:18:42 +0200 Subject: Services on down hosts In-Reply-To: <20080612140522.GA7246@cgi.jachomes.com> References: <20080610155427.GE28582@cgi.jachomes.com> <484F6E62.6060906@op5.se> <20080611135218.GE1545@cgi.jachomes.com> <484FF548.9090208@op5.se> <20080611175046.GM1545@cgi.jachomes.com> <485050A7.5090305@op5.se> <20080612140522.GA7246@cgi.jachomes.com> Message-ID: <48517692.1010609@op5.se> Jay R. Ashworth wrote: >>> On Wed, Jun 11, 2008 at 05:54:48PM +0200, Andreas Ericsson wrote: >>>>> Well, since (to take an example), CRITICAL load means "a loadaverage >>>>> over 8" (on my 8-core Opteron), and we don't *know* the load average if >>>>> the machine isn't reachable to return a value... then the nrpe checker >>>>> on the console in fact *is* getting an IO error when trying to, ok, >>>>> read from a network socket. >>>> I was more thinking along the lines of errno being set to EIO when >>>> attempting to read(2) from an already connected network socket, although >>>> there are two schools about that too (some wants all failures to always >>>> alert, while some wants a lot of things to be in UNKNOWN state). >>>> >>>> Not being able to connect clearly signals there is something wrong >>>> with the service though, while an EIO signals that there's something >>>> wrong with the Nagios hosts' kernel or hardware. >>> My problem with that is that not all of what Nagios monitors is >>> "services", in the meaning we usually give to that term. Much of it is >>> "attributes" -- load average and diskspace on a machine being great >>> examples. >> True that, but the service of storing a file on disk (or, for some >> retarded filesystems, reading one from a disk) requires there to be a >> minimum of free space available. It's what makes up the platform on >> which the *real* services rest. Hence servicegroups (which together >> make up what a service-provider would call a service). > > Could you expand on that? Do you mean to imply that a good use for a > servicegroup is "all the physical services upon which my public website > rests", as I think I read in your reply there? > Yes, that's what I mean. Groups are first and foremost a visual aid (never mind configuration, as that can be scripted). Having some random point-and-click monkey on duty watching the servicegroup summary will give you a quick warning of what the users will claim has broken down when they call to complain. >>> IMHO, anything you're trying to monitor that's actually a "service" -- >>> IE: a public facing website -- shouldn't be directly attached to a host, >>> anyway... >>> >>> What if you're Google? Which host do you attach "http://www.google.com" >>> to? >> All the query distributors (google works by having several front-end servers >> distributing the incoming queries to quite a large army of query responders, >> which have access to the gdfs (google distributed filesystem) for doing the >> actual lookups). Since a monitoring tool is only worth something if it tells >> you *where* things break rather than only that things are broken, that >> makes perfect sense for a monitoring system even if that's not the case for >> the service provider or its sales people. > > Ok, Google was a poor choice. > > Conversely, though, there may be cases where... or maybe there aren't. > let me muse on this some more. > Muse away. :) I'm fairly convinced the net op team will still demand a system that shows them where the problem is though, while the it support team just want to know what to say when the customers/users/whatever calls in and claim "the mail isn't working" (servicegroups help there). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jakub.laszczynski at gmail.com Thu Jun 12 22:07:56 2008 From: jakub.laszczynski at gmail.com (=?ISO-8859-2?Q?Jakub_=A3aszczy=F1ski?=) Date: Thu, 12 Jun 2008 22:07:56 +0200 Subject: Flapping & notification In-Reply-To: <484E22F9.2060103@jaqpot.net> References: <484918E3.5020507@jaqpot.net> <484E22F9.2060103@jaqpot.net> Message-ID: On Tue, Jun 10, 2008 at 8:45 AM, Cyril Jaquier wrote: > >> We are currently using nagios 3.0.2 on Debian/testing. Everything works >> fine. However, something is really annoying with flapping detection and >> notification. Let's take an example. >> > > Does nobody else experiment this behavior? Or should I ask on the > nagios-devel mailing list? > > Thanks, > > Cyril > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 think just me, or nobody else doesn't know they do :) -- Jakub ?aszczy?ski ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 12 22:11:20 2008 From: fvanhee at gmail.com (Frederik Vanhee) Date: Thu, 12 Jun 2008 22:11:20 +0200 Subject: Nagios server hardware dimensions In-Reply-To: <1213296863.18711.38.camel@localhost> References: <48510A0E.3070103@ng23.net> <48516BC3.6010104@gmail.com> <1213296863.18711.38.camel@localhost> Message-ID: <485182E8.1020100@gmail.com> Aaron M. Segura wrote: > Please stop posting the same exact thing on a daily basis. Sending > multiple posts on consecutive days is *not* going to help you. Quite > the opposite, in fact. > > On Thu, 2008-06-12 at 20:32 +0200, Frederik Vanhee wrote: > >> Hello, >> >> I'm thinking about a hardware upgrade of my Nagios server. >> I have a setup with 1500 hosts and 9000 services (from which 2500 >> services are active and the other 6500 passive). >> I use the 'classic' Nagios interface for consulting + the Nagvis >> frontend with the ndo backend. >> In addition, I use Nagiosgrapher for graphing purposes. >> >> Now I'm in doubt if I would split the Nagios server in two servers : >> >> -one for the Nagios process + webinterface + nagiosgrapher >> -second as database-server for the ndo-backend >> >> Or maybe another configuration ? >> Would it be more interesting to invest in one server with more RAM and >> more powerful cpu's or is it more interesting to split it into two servers ? >> >> Any suggestions, >> >> Vanhee Frederik >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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'm sorry if I posted this entry multiple times. I never saw my item appear in the mailing I get from 'Nagios-users', so I thought something went wrong with the posting of this item. But apparently it did succeed. Regards, Frederik ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave.list at pixelhammer.com Thu Jun 12 22:22:27 2008 From: dave.list at pixelhammer.com (DAve) Date: Thu, 12 Jun 2008 16:22:27 -0400 Subject: Nagios, on a remote server Message-ID: <48518583.7020009@pixelhammer.com> Good afternoon, We use Nagios here and we would like to have a Nagios install outside of our network. We are in the midwest with our fiber coming out of Chicago. Ideally we would like to get a BSD/Linux host serviced by the west or east coast to monitor our public services. We can certainly find a hosting provider to use, but I am interested in any recommendations. We are fine with a virtual server, but we need full control. The server will only host a Nagios install polling back to our server's public interfaces. Thanks, DAve -- In 50 years, our descendants will look back on the early years of the internet, and much like we now look back on men with rockets on their back and feathers glued to their arms, marvel that we had the intelligence to wipe the drool from our chins. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at gmail.com Thu Jun 12 22:27:06 2008 From: throck at gmail.com (Tom Throckmorton) Date: Thu, 12 Jun 2008 16:27:06 -0400 Subject: Flapping & notification In-Reply-To: <484918E3.5020507@jaqpot.net> References: <484918E3.5020507@jaqpot.net> Message-ID: <4851869A.50504@gmail.com> On 6/6/08 7:00 AM, Cyril Jaquier wrote: > Hi nagios users, > > We are currently using nagios 3.0.2 on Debian/testing. Everything works > fine. However, something is really annoying with flapping detection and > notification. Let's take an example. > > We have SMS notification using gnokii for CRITICAL and RECOVERED state. > One service goes into the CRITICAL state and admins receive an SMS. Now, > the host start flapping between CRITICAL and WARNING state so that > flapping detection inhibits the notification. Then the service recovers > but flapping detection is still enabled. After a while the flapping > detection algorithm enables the notification again. > > At this moment, I expect nagios to send a notification saying that the > service recovered. However, nothing happens and the admins do not know > if the service is still CRITICAL or not. > > Maybe we are doing something wrong but I think this makes the flapping > detection feature a bit "unreliable" as you will miss important events. > > Any suggestions? Hi, Nagios is behaving as expected - I'd suggest you re-read the docs on notifications, particularly the section on service and host filters: (from http://nagios.sourceforge.net/docs/3_0/notifications.html) > The second filter for host or service notification is a check to see > if the host or service is flapping (if you enabled flap detection). > If the service or host is currently flapping, no one gets notified. > Otherwise it gets passed to the next filter. You might want to adjust your notification_options to include flapping start/stop, that is, in your host definition/template: notification_options d,r,f ...or for your service: notification_options c,r,f Cheers, -tt ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forsaken at targaryen.us Fri Jun 13 00:35:50 2008 From: forsaken at targaryen.us (Forsaken) Date: Thu, 12 Jun 2008 18:35:50 -0400 Subject: A couple newb questions Message-ID: <20080612183550.61da165a@tywin> Hi there, I'm fairly new to dealing with nagios. I'm currently running nagios 2.10 on OpenBSD (using their package) My first question is thus - Are hostgroups pretty much just a cosmetic gathering for viewing in a web interface, or can they serve some practical use during configuration. For example, if I define a hostgroup of servers as web servers, is there any way for me to then define a service check for http that can reference the hostgroup instead of having to list individual member servers? For the record, I'm aware that setups are easily scripted and there are a wealth of tools out there to make it easy. I'm still dealing with the basics, and my lab environment is small enough that I can do the config files by hand without wanting to poke large pointed objects through my eyeballs. I'm mostly just trying to understand how everything relates to each other. Now, to stave off the inevitable question as to why I'm learning on the 2.x branch of Nagios instead of the most current - I'm using David Josephsen's book as my primer, and since it covers the 2.x branch, that's what I'm using. Once I'm comfortable enough with the software, I would like to work with the current stuff. To get to the question - if someone could give me a nutshell version of the major differences between 2.x and 3.x, I'd appreciate it. Thank you all in advance for your time, and my apologies if I'm running over old ground. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From portcitycs at gmail.com Fri Jun 13 01:18:24 2008 From: portcitycs at gmail.com (Lyle Scott III) Date: Thu, 12 Jun 2008 19:18:24 -0400 Subject: NRPE problems.. blank arugments Message-ID: <5a1835cd0806121618g37811204g93f2578d29adc7a5@mail.gmail.com> Hey there.. i am having a problem with my NRPE plugins when using argument maros. Am i making a syntax error or what? I have looked at it too long today to tell :) I have confirmed the package was configured with command args enabled and I did turn on dont_blam_nrpe. As stated later, the plugin and nrpe work great if i take out the argument macro and do a static command and supply the plugin with static arguments via nrpe_local.cfg. I have copied snippets of relevant files: ############ SERVER ############## (host config) check_command check_nrpe!check_smartmon!/dev/hda ############ CLIENT ################ (/etc/nagios/nrpe.cfg dont_blame_nrpe=1 (also have arguments compiled in) (/etc/nagios/nrpe_local.cfg) command[check_smartmon]=/usr/bin/sudo /usr/lib/nagios/plugins/check_smartmon -d $ARG1$ ###the following works if i edit $ARG1$ argument out the host config ###command[check_smartmon]=/usr/bin/sudo /usr/lib/nagios/plugins/check_smartmon -d /dev/hda (/var/log/syslog) Jun 12 18:44:21 backup nrpe[12489]: Host is asking for command 'check_smartmon' to be run... Jun 12 18:44:21 backup nrpe[12489]: Running command: /usr/bin/sudo /usr/lib/nagios/plugins/check_smartmon -d Jun 12 18:44:22 backup nrpe[12489]: Command completed with return code 2 and output: Jun 12 18:44:22 backup nrpe[12489]: Return Code: 2, Output: NRPE: Unable to read output Jun 12 18:44:22 backup nrpe[12489]: Connection from 192.168.222.118 closed. thanks much! -- Lyle Scott, III -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 13 03:05:11 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 12 Jun 2008 18:05:11 -0700 Subject: A couple newb questions In-Reply-To: <20080612183550.61da165a@tywin> References: <20080612183550.61da165a@tywin> Message-ID: <20080613010511.GF7191@bakgwai.americas.hpqcorp.net> On Thu, 12 Jun 2008, Forsaken wrote: > Hi there, > > I'm fairly new to dealing with nagios. I'm currently running nagios > 2.10 on OpenBSD (using their package) > > My first question is thus - > > Are hostgroups pretty much just a cosmetic gathering for viewing in a > web interface, or can they serve some practical use during > configuration. > > For example, if I define a hostgroup of servers as web servers, is > there any way for me to then define a service check for http that can > reference the hostgroup instead of having to list individual member > servers? Yes, you can specify hostgroup_name instead of hostname. Nearly all my configs are set up like this, even in the case of one-shot servers, to make scaling easier. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Fri Jun 13 03:25:55 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Thu, 12 Jun 2008 17:25:55 -0800 Subject: NRPE host on Solaris 10 In-Reply-To: References: <958697dcd40.00000327izz_abdullah@inbox.com> <9be0ca68de32ec4b94849d2c9a9a099453d12590@monaco.fit.local> Message-ID: Also, I should mention this is the latest NRPE version, but more importantly, we ran ./configure without SSL as I have had too many problems with it. Thanks again, Izz > -----Original Message----- > From: izz_abdullah at inbox.com > Sent: Wed, 11 Jun 2008 21:41:25 -0800 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NRPE host on Solaris 10 > > still the same error: Received 0 bytes from daemon... > > results from the two commands requested (everything looks ok to me): > > # svcs svc:/network/nrpe/tcp:default > STATE STIME FMRI > online Jun_10 svc:/network/nrpe/tcp:default > > # inetadm -l svc:/network/nrpe/tcp:default > SCOPE NAME=VALUE > name="nrpe" > endpoint_type="stream" > proto="tcp" > isrpc=FALSE > wait=FALSE > exec="/usr/sfw/sbin/tcpd -c /usr/local/nagios/etc/nrpe.cfg -i" > arg0="/usr/local/nagios/bin/nrpe" > user="nagios" > default bind_addr="" > default bind_fail_max=-1 > default bind_fail_interval=-1 > default max_con_rate=-1 > default max_copies=-1 > default con_rate_offline=-1 > default failrate_cnt=40 > default failrate_interval=60 > default inherit_env=TRUE > default tcp_trace=FALSE > tcp_wrappers=TRUE > # > > The only thing I see different between this output and that on the site > listed where I installed the remote host NRPE is there is no default for > tcp_wrappers and no connection_backlog. But this shouldn't be the > problem, right? > > Thanks again for your assistance, > Izz > >> -----Original Message----- >> From: philc at foundation-it.com >> Sent: Wed, 11 Jun 2008 10:21:58 +0100 >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] NRPE host on Solaris 10 >> >>> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >>> bounces at lists.sourceforge.net] On Behalf Of Izz Abdullah >>> >>> I have followed the instructions I found at >>> http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe- >>> on-solaris-10/ >>> >>> but to no avail. At the end of it all, when I try >>> ./check_nrpe -H localhost >>> >>> it gives me a 0 bytes received from daemon. The first check in the >>> list of >>> /usr/local/nagios/libexec/check_disk -w 10 -c 5 -p / >>> gives data...I don't know what's wrong here...I haven't configured a >>> Solaris box to be monitored...any ideas / assistance? >> >> >From your description, it seems like the plugins are working OK but the >> problem is with the service itself. That's not surprising, SMF on >> Solaris >> 10 can be tricky to get right. I'd double check the entire section in >> those instructions from "With Solaris 10, we don't use either inetd ..." >> to "Modify your hosts.allow ...". In particular make sure your >> inetd.conf >> entry is on one line (as the instructions say but then split over three >> lines because of the narrow width of the page). If it's still not >> working, post back with the relevant section of inetd.conf and the >> output >> of >> >> svcs svc:/network/nrpe/tcp:default >> >> and >> >> inetadm -l svc:/network/nrpe/tcp:default >> >> -- >> Phil Costelloe >> Foundation IT, Hermitage Berkshire RG18 9SE >> >> >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Fri Jun 13 05:20:57 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Thu, 12 Jun 2008 19:20:57 -0800 Subject: NRPE host on Solaris 10 (now can monitor from server, but local issue on remote host) In-Reply-To: References: <958697dcd40.00000327izz_abdullah@inbox.com> <9be0ca68de32ec4b94849d2c9a9a099453d12590@monaco.fit.local> Message-ID: This is interesting: although running the check_nrpe -H localhost on the remote host returns the error, I am able to monitor from the actual Nagios server. And yes, LOCAL, localhost, 127.0.0.1, etc. are in the hosts.allow file. I thought I would take the chance and see if I could monitor since I was receiving some data from the command line, just this one error. And sure enough, can. Now my question is WHY this is like this? Thanks again, Izz > -----Original Message----- > From: izz_abdullah at inbox.com > Sent: Thu, 12 Jun 2008 17:25:55 -0800 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NRPE host on Solaris 10 > > Also, I should mention this is the latest NRPE version, but more > importantly, we ran ./configure without SSL as I have had too many > problems with it. > > Thanks again, > Izz > >> -----Original Message----- >> From: izz_abdullah at inbox.com >> Sent: Wed, 11 Jun 2008 21:41:25 -0800 >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] NRPE host on Solaris 10 >> >> still the same error: Received 0 bytes from daemon... >> >> results from the two commands requested (everything looks ok to me): >> >> # svcs svc:/network/nrpe/tcp:default >> STATE STIME FMRI >> online Jun_10 svc:/network/nrpe/tcp:default >> >> # inetadm -l svc:/network/nrpe/tcp:default >> SCOPE NAME=VALUE >> name="nrpe" >> endpoint_type="stream" >> proto="tcp" >> isrpc=FALSE >> wait=FALSE >> exec="/usr/sfw/sbin/tcpd -c /usr/local/nagios/etc/nrpe.cfg >> -i" >> arg0="/usr/local/nagios/bin/nrpe" >> user="nagios" >> default bind_addr="" >> default bind_fail_max=-1 >> default bind_fail_interval=-1 >> default max_con_rate=-1 >> default max_copies=-1 >> default con_rate_offline=-1 >> default failrate_cnt=40 >> default failrate_interval=60 >> default inherit_env=TRUE >> default tcp_trace=FALSE >> tcp_wrappers=TRUE >> # >> >> The only thing I see different between this output and that on the site >> listed where I installed the remote host NRPE is there is no default for >> tcp_wrappers and no connection_backlog. But this shouldn't be the >> problem, right? >> >> Thanks again for your assistance, >> Izz >> >>> -----Original Message----- >>> From: philc at foundation-it.com >>> Sent: Wed, 11 Jun 2008 10:21:58 +0100 >>> To: nagios-users at lists.sourceforge.net >>> Subject: Re: [Nagios-users] NRPE host on Solaris 10 >>> >>>> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >>>> bounces at lists.sourceforge.net] On Behalf Of Izz Abdullah >>>> >>>> I have followed the instructions I found at >>>> http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe- >>>> on-solaris-10/ >>>> >>>> but to no avail. At the end of it all, when I try >>>> ./check_nrpe -H localhost >>>> >>>> it gives me a 0 bytes received from daemon. The first check in the >>>> list of >>>> /usr/local/nagios/libexec/check_disk -w 10 -c 5 -p / >>>> gives data...I don't know what's wrong here...I haven't configured a >>>> Solaris box to be monitored...any ideas / assistance? >>> >>> >From your description, it seems like the plugins are working OK but >>> the >>> problem is with the service itself. That's not surprising, SMF on >>> Solaris >>> 10 can be tricky to get right. I'd double check the entire section in >>> those instructions from "With Solaris 10, we don't use either inetd >>> ..." >>> to "Modify your hosts.allow ...". In particular make sure your >>> inetd.conf >>> entry is on one line (as the instructions say but then split over three >>> lines because of the narrow width of the page). If it's still not >>> working, post back with the relevant section of inetd.conf and the >>> output >>> of >>> >>> svcs svc:/network/nrpe/tcp:default >>> >>> and >>> >>> inetadm -l svc:/network/nrpe/tcp:default >>> >>> -- >>> Phil Costelloe >>> Foundation IT, Hermitage Berkshire RG18 9SE >>> >>> >>> >>> >>> ------------------------------------------------------------------------- >>> Check out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://sourceforge.net/services/buy/index.php >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From howachen at gmail.com Fri Jun 13 06:26:50 2008 From: howachen at gmail.com (howard chen) Date: Fri, 13 Jun 2008 12:26:50 +0800 Subject: Change nagios monitoring port Message-ID: Hi For example, my sshd is running at a port 4000, how to change nagios use this port for alert instead? Thanks. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forsaken at targaryen.us Fri Jun 13 06:32:49 2008 From: forsaken at targaryen.us (Forsaken) Date: Fri, 13 Jun 2008 00:32:49 -0400 Subject: Change nagios monitoring port In-Reply-To: References: Message-ID: <20080613003249.5b40d951@tywin> On Fri, 13 Jun 2008 12:26:50 +0800 "howard chen" wrote: If all of your hosts are running on port 4000, just add -p 4000 onto the end of the command check, like so: define command{ command_name check_ssh command_line $USER1$/check_ssh -H $HOSTADDRESS$ -p 4000 } > Hi > > For example, my sshd is running at a port 4000, how to change nagios > use this port for alert instead? > > Thanks. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Fri Jun 13 08:33:07 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Fri, 13 Jun 2008 12:03:07 +0530 Subject: nagios-plugins-1.4.12 Message-ID: <6b16fb4c0806122333h17e32d19x13dcabd7316da3e5@mail.gmail.com> hi I have installed [I--] [M~] net-analyzer/nagios-plugins-1.4.12 on Gentoo OS when i do sudo qlist nagios-plugins, I dont see check_mysql and check_mysql_query plugin. Also i have double checked /usr/nagios/libexec/ there isnt too. Any ideas. Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frimik at gmail.com Fri Jun 13 09:29:43 2008 From: frimik at gmail.com (Mikael Fridh) Date: Fri, 13 Jun 2008 09:29:43 +0200 Subject: Dummy objects?!?!? In-Reply-To: <9eaab8b80806120647x5c9f85c2wc8de85576e6a5cb3@mail.gmail.com> References: <9eaab8b80806120647x5c9f85c2wc8de85576e6a5cb3@mail.gmail.com> Message-ID: <323f67830806130029i77665e8ey7263285ef1ae810a@mail.gmail.com> On 6/12/08, mirko stefanelli wrote: > Hi all, > > I need to add, if can be possible, some dummy object in status map. > how can I add some object that are only container object (without > ipaddress). Add a host and a dummy host_check command that always return OK. Set notifications_enabled 0. Something like that should do it. -- Fridh ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f.bonnet at esiee.fr Fri Jun 13 09:31:19 2008 From: f.bonnet at esiee.fr (Frank Bonnet) Date: Fri, 13 Jun 2008 09:31:19 +0200 Subject: Which platform to run NAGIOS ? Message-ID: <48522247.1050402@esiee.fr> Hello After testing NAGIOS 3 on several platforms I wonder which one is the most used ? I have tested on several UNIXs ( Debian lenny , Opensuse 11 , FreebSD 6.3 ) and I cannot really decide where to go ... So I think the best way will boe to start it on the most used Platform in order to have the larger support from admins / users as the machine will be administered by several persons in the futur. Is there some report of NAGIOS usage on the Internet ? Thank you ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 13 09:37:04 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 13 Jun 2008 09:37:04 +0200 Subject: Which platform to run NAGIOS ? In-Reply-To: <48522247.1050402@esiee.fr> References: <48522247.1050402@esiee.fr> Message-ID: <485223A0.7080700@op5.se> Frank Bonnet wrote: > Hello > > After testing NAGIOS 3 on several platforms I wonder which one is the most used ? > > I have tested on several UNIXs ( Debian lenny , Opensuse 11 , FreebSD 6.3 ) and > I cannot really decide where to go ... > > So I think the best way will boe to start it on the most used Platform in order > to have the larger support from admins / users as the machine will be administered > by several persons in the futur. > > Is there some report of NAGIOS usage on the Internet ? > No, but in my experience most users run it on a Linux-based system. Some have problems on *BSD variants, but it's been a while since we saw anything on this list. HTH -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jochen at smartbit.be Fri Jun 13 09:37:30 2008 From: jochen at smartbit.be (jochen at smartbit.be) Date: Fri, 13 Jun 2008 09:37:30 +0200 Subject: Which platform to run NAGIOS ? In-Reply-To: <48522247.1050402@esiee.fr> References: <48522247.1050402@esiee.fr> Message-ID: <20080613093730.cd0jn3hl6skwccg0@webmail.smartbit.be> Hello Frank, perhaps this page of the Nagios website will answer your question: http://www.nagios.org/userprofiles/ Kind Regards, Jochen Billen Citeren Frank Bonnet : > Hello > > After testing NAGIOS 3 on several platforms I wonder which one is > the most used ? > > I have tested on several UNIXs ( Debian lenny , Opensuse 11 , > FreebSD 6.3 ) and > I cannot really decide where to go ... > > So I think the best way will boe to start it on the most used > Platform in order > to have the larger support from admins / users as the machine will > be administered > by several persons in the futur. > > Is there some report of NAGIOS usage on the Internet ? > > Thank you > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 truthisfreedom.org.uk Fri Jun 13 10:18:48 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Fri, 13 Jun 2008 09:18:48 +0100 Subject: A couple newb questions In-Reply-To: <20080612183550.61da165a@tywin> References: <20080612183550.61da165a@tywin> Message-ID: <20080613091848.0e3ee96c@tclmmw.in.tiger-computing.com> On Thu, 12 Jun 2008 18:35:50 -0400 Forsaken wrote: > Are hostgroups pretty much just a cosmetic gathering for viewing in a > web interface, or can they serve some practical use during > configuration. Absolutely! We've got a hostgroup called "debian servers" and any server in this list automatically has the version checked to make sure there's no weird upgrades going on etc. It also means that when "Lenny" reaches stable, we only need to change one config file and it immediately provides us with a report on which servers require an upgrade. The script at the moment is configured to be OK if the /etc/debian_version contains the string "4.0", warn on "3.1" and error on everything else. This makes upgrading much much easier! Cheers, M. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 13 10:18:33 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Fri, 13 Jun 2008 10:18:33 +0200 Subject: NRPE host on Solaris 10 (now can monitor from server, but local issue on remote host) In-Reply-To: References: <958697dcd40.00000327izz_abdullah@inbox.com> <9be0ca68de32ec4b94849d2c9a9a099453d12590@monaco.fit.local> Message-ID: <184E3F696E604341B2D96227FFD0B8C50564C96C@dnce02.ent.ti.com> Hello, Did you check your /etc/services for "nrpe 5666/tcp"? Regards, Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East 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 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Izz Abdullah Sent: Friday, June 13, 2008 5:21 AM To: nagios Subject: Re: [Nagios-users] NRPE host on Solaris 10 (now can monitor from server, but local issue on remote host) This is interesting: although running the check_nrpe -H localhost on the remote host returns the error, I am able to monitor from the actual Nagios server. And yes, LOCAL, localhost, 127.0.0.1, etc. are in the hosts.allow file. I thought I would take the chance and see if I could monitor since I was receiving some data from the command line, just this one error. And sure enough, can. Now my question is WHY this is like this? Thanks again, Izz > -----Original Message----- > From: izz_abdullah at inbox.com > Sent: Thu, 12 Jun 2008 17:25:55 -0800 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NRPE host on Solaris 10 > > Also, I should mention this is the latest NRPE version, but more > importantly, we ran ./configure without SSL as I have had too many > problems with it. > > Thanks again, > Izz > >> -----Original Message----- >> From: izz_abdullah at inbox.com >> Sent: Wed, 11 Jun 2008 21:41:25 -0800 >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] NRPE host on Solaris 10 >> >> still the same error: Received 0 bytes from daemon... >> >> results from the two commands requested (everything looks ok to me): >> >> # svcs svc:/network/nrpe/tcp:default >> STATE STIME FMRI >> online Jun_10 svc:/network/nrpe/tcp:default >> >> # inetadm -l svc:/network/nrpe/tcp:default >> SCOPE NAME=VALUE >> name="nrpe" >> endpoint_type="stream" >> proto="tcp" >> isrpc=FALSE >> wait=FALSE >> exec="/usr/sfw/sbin/tcpd -c /usr/local/nagios/etc/nrpe.cfg >> -i" >> arg0="/usr/local/nagios/bin/nrpe" >> user="nagios" >> default bind_addr="" >> default bind_fail_max=-1 >> default bind_fail_interval=-1 >> default max_con_rate=-1 >> default max_copies=-1 >> default con_rate_offline=-1 >> default failrate_cnt=40 >> default failrate_interval=60 >> default inherit_env=TRUE >> default tcp_trace=FALSE >> tcp_wrappers=TRUE >> # >> >> The only thing I see different between this output and that on the site >> listed where I installed the remote host NRPE is there is no default for >> tcp_wrappers and no connection_backlog. But this shouldn't be the >> problem, right? >> >> Thanks again for your assistance, >> Izz >> >>> -----Original Message----- >>> From: philc at foundation-it.com >>> Sent: Wed, 11 Jun 2008 10:21:58 +0100 >>> To: nagios-users at lists.sourceforge.net >>> Subject: Re: [Nagios-users] NRPE host on Solaris 10 >>> >>>> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >>>> bounces at lists.sourceforge.net] On Behalf Of Izz Abdullah >>>> >>>> I have followed the instructions I found at >>>> http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe- >>>> on-solaris-10/ >>>> >>>> but to no avail. At the end of it all, when I try >>>> ./check_nrpe -H localhost >>>> >>>> it gives me a 0 bytes received from daemon. The first check in the >>>> list of >>>> /usr/local/nagios/libexec/check_disk -w 10 -c 5 -p / >>>> gives data...I don't know what's wrong here...I haven't configured a >>>> Solaris box to be monitored...any ideas / assistance? >>> >>> >From your description, it seems like the plugins are working OK but >>> the >>> problem is with the service itself. That's not surprising, SMF on >>> Solaris >>> 10 can be tricky to get right. I'd double check the entire section in >>> those instructions from "With Solaris 10, we don't use either inetd >>> ..." >>> to "Modify your hosts.allow ...". In particular make sure your >>> inetd.conf >>> entry is on one line (as the instructions say but then split over three >>> lines because of the narrow width of the page). If it's still not >>> working, post back with the relevant section of inetd.conf and the >>> output >>> of >>> >>> svcs svc:/network/nrpe/tcp:default >>> >>> and >>> >>> inetadm -l svc:/network/nrpe/tcp:default >>> >>> -- >>> Phil Costelloe >>> Foundation IT, Hermitage Berkshire RG18 9SE >>> >>> >>> >>> >>> ------------------------------------------------------------------------- >>> Check out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://sourceforge.net/services/buy/index.php >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f.bonnet at esiee.fr Fri Jun 13 10:30:36 2008 From: f.bonnet at esiee.fr (Frank Bonnet) Date: Fri, 13 Jun 2008 10:30:36 +0200 Subject: Which platform to run NAGIOS ? In-Reply-To: <20080613093730.cd0jn3hl6skwccg0@webmail.smartbit.be> References: <48522247.1050402@esiee.fr> <20080613093730.cd0jn3hl6skwccg0@webmail.smartbit.be> Message-ID: <4852302C.7000509@esiee.fr> Hello Jochen Interresting , thank you :-) Frank jochen at smartbit.be wrote: > Hello Frank, > > perhaps this page of the Nagios website will answer your question: > http://www.nagios.org/userprofiles/ > > Kind Regards, > Jochen Billen > > Citeren Frank Bonnet : > >> Hello >> >> After testing NAGIOS 3 on several platforms I wonder which one is >> the most used ? >> >> I have tested on several UNIXs ( Debian lenny , Opensuse 11 , >> FreebSD 6.3 ) and >> I cannot really decide where to go ... >> >> So I think the best way will boe to start it on the most used >> Platform in order >> to have the larger support from admins / users as the machine will >> be administered >> by several persons in the futur. >> >> Is there some report of NAGIOS usage on the Internet ? >> >> Thank you >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Fri Jun 13 10:40:41 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Fri, 13 Jun 2008 00:40:41 -0800 Subject: NRPE host on Solaris 10 (now can monitor from server, but local issue on remote host) In-Reply-To: <184E3F696E604341B2D96227FFD0B8C50564C96C@dnce02.ent.ti.com> References: <958697dcd40.00000327izz_abdullah@inbox.com> <9be0ca68de32ec4b94849d2c9a9a099453d12590@monaco.fit.local> Message-ID: Of course. It is there. That's why the Nagios server can communicate with the remote host. The remote host just seems to have a problem to check itself ;-) Thanks again, Izz > -----Original Message----- > From: v-alloo at ti.com > Sent: Fri, 13 Jun 2008 10:18:33 +0200 > To: izz_abdullah at inbox.com, nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE host on Solaris 10 (now can monitor from > server, but local issue on remote host) > > Hello, > Did you check your /etc/services for "nrpe 5666/tcp"? > Regards, > > Vincent Alloo > TI France Design Systems Operations Manager > Europe and Middle East 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 > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Izz > Abdullah > Sent: Friday, June 13, 2008 5:21 AM > To: nagios > Subject: Re: [Nagios-users] NRPE host on Solaris 10 (now can monitor from > server, but local issue on remote host) > > This is interesting: > although running the check_nrpe -H localhost on the remote host returns > the error, I am able to monitor from the actual Nagios server. And yes, > LOCAL, localhost, 127.0.0.1, etc. are in the hosts.allow file. > > I thought I would take the chance and see if I could monitor since I was > receiving some data from the command line, just this one error. And sure > enough, can. Now my question is WHY this is like this? > > Thanks again, > Izz > >> -----Original Message----- >> From: izz_abdullah at inbox.com >> Sent: Thu, 12 Jun 2008 17:25:55 -0800 >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] NRPE host on Solaris 10 >> >> Also, I should mention this is the latest NRPE version, but more >> importantly, we ran ./configure without SSL as I have had too many >> problems with it. >> >> Thanks again, >> Izz >> >>> -----Original Message----- >>> From: izz_abdullah at inbox.com >>> Sent: Wed, 11 Jun 2008 21:41:25 -0800 >>> To: nagios-users at lists.sourceforge.net >>> Subject: Re: [Nagios-users] NRPE host on Solaris 10 >>> >>> still the same error: Received 0 bytes from daemon... >>> >>> results from the two commands requested (everything looks ok to me): >>> >>> # svcs svc:/network/nrpe/tcp:default >>> STATE STIME FMRI >>> online Jun_10 svc:/network/nrpe/tcp:default >>> >>> # inetadm -l svc:/network/nrpe/tcp:default >>> SCOPE NAME=VALUE >>> name="nrpe" >>> endpoint_type="stream" >>> proto="tcp" >>> isrpc=FALSE >>> wait=FALSE >>> exec="/usr/sfw/sbin/tcpd -c /usr/local/nagios/etc/nrpe.cfg >>> -i" >>> arg0="/usr/local/nagios/bin/nrpe" >>> user="nagios" >>> default bind_addr="" >>> default bind_fail_max=-1 >>> default bind_fail_interval=-1 >>> default max_con_rate=-1 >>> default max_copies=-1 >>> default con_rate_offline=-1 >>> default failrate_cnt=40 >>> default failrate_interval=60 >>> default inherit_env=TRUE >>> default tcp_trace=FALSE >>> tcp_wrappers=TRUE >>> # >>> >>> The only thing I see different between this output and that on the site >>> listed where I installed the remote host NRPE is there is no default >>> for >>> tcp_wrappers and no connection_backlog. But this shouldn't be the >>> problem, right? >>> >>> Thanks again for your assistance, >>> Izz >>> >>>> -----Original Message----- >>>> From: philc at foundation-it.com >>>> Sent: Wed, 11 Jun 2008 10:21:58 +0100 >>>> To: nagios-users at lists.sourceforge.net >>>> Subject: Re: [Nagios-users] NRPE host on Solaris 10 >>>> >>>>> From: nagios-users-bounces at lists.sourceforge.net >>>>> [mailto:nagios-users- >>>>> bounces at lists.sourceforge.net] On Behalf Of Izz Abdullah >>>>> >>>>> I have followed the instructions I found at >>>>> http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe- >>>>> on-solaris-10/ >>>>> >>>>> but to no avail. At the end of it all, when I try >>>>> ./check_nrpe -H localhost >>>>> >>>>> it gives me a 0 bytes received from daemon. The first check in the >>>>> list of >>>>> /usr/local/nagios/libexec/check_disk -w 10 -c 5 -p / >>>>> gives data...I don't know what's wrong here...I haven't configured a >>>>> Solaris box to be monitored...any ideas / assistance? >>>> >>>> >From your description, it seems like the plugins are working OK but >>>> the >>>> problem is with the service itself. That's not surprising, SMF on >>>> Solaris >>>> 10 can be tricky to get right. I'd double check the entire section in >>>> those instructions from "With Solaris 10, we don't use either inetd >>>> ..." >>>> to "Modify your hosts.allow ...". In particular make sure your >>>> inetd.conf >>>> entry is on one line (as the instructions say but then split over >>>> three >>>> lines because of the narrow width of the page). If it's still not >>>> working, post back with the relevant section of inetd.conf and the >>>> output >>>> of >>>> >>>> svcs svc:/network/nrpe/tcp:default >>>> >>>> and >>>> >>>> inetadm -l svc:/network/nrpe/tcp:default >>>> >>>> -- >>>> Phil Costelloe >>>> Foundation IT, Hermitage Berkshire RG18 9SE >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> Check out the new SourceForge.net Marketplace. >>>> It's the best place to buy or sell services for >>>> just about anything Open Source. >>>> http://sourceforge.net/services/buy/index.php >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: 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 out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://sourceforge.net/services/buy/index.php >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ____________________________________________________________ GET FREE 5GB EMAIL - Check out spam free email with many cool features! Visit http://www.inbox.com/email to find out more! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 truthisfreedom.org.uk Fri Jun 13 10:44:39 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Fri, 13 Jun 2008 09:44:39 +0100 Subject: Which platform to run NAGIOS ? In-Reply-To: <48522247.1050402@esiee.fr> References: <48522247.1050402@esiee.fr> Message-ID: <20080613094439.2ee6ea0c@tclmmw.in.tiger-computing.com> On Fri, 13 Jun 2008 09:31:19 +0200 Frank Bonnet wrote: > I have tested on several UNIXs ( Debian lenny , Opensuse 11 , FreebSD > 6.3 ) and I cannot really decide where to go ... It runs fine on Debian Etch if you don't want to use an "unstable" version of Debian. There's a quick (and very rough) how-to at http://www.truthisfreedom.org.uk/2008/06/installing-nagios3-on-debian-etch/ I'm hoping to add a bit on setting up Nagios Looking Glass as well at some point. M. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forsaken at targaryen.us Fri Jun 13 11:15:38 2008 From: forsaken at targaryen.us (Forsaken) Date: Fri, 13 Jun 2008 05:15:38 -0400 Subject: Which platform to run NAGIOS ? In-Reply-To: <20080613093730.cd0jn3hl6skwccg0@webmail.smartbit.be> References: <48522247.1050402@esiee.fr> <20080613093730.cd0jn3hl6skwccg0@webmail.smartbit.be> Message-ID: <20080613051538.222fa47d@tywin> On Fri, 13 Jun 2008 09:37:30 +0200 jochen at smartbit.be wrote: Awesome, I run my nagios install on the least popular platform! Even 'Other' has more! > Hello Frank, > > perhaps this page of the Nagios website will answer your question: > http://www.nagios.org/userprofiles/ > > Kind Regards, > Jochen Billen > > Citeren Frank Bonnet : > > > Hello > > > > After testing NAGIOS 3 on several platforms I wonder which one is > > the most used ? > > > > I have tested on several UNIXs ( Debian lenny , Opensuse 11 , > > FreebSD 6.3 ) and > > I cannot really decide where to go ... > > > > So I think the best way will boe to start it on the most used > > Platform in order > > to have the larger support from admins / users as the machine > > will be administered > > by several persons in the futur. > > > > Is there some report of NAGIOS usage on the Internet ? > > > > Thank you > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.ford at wachovia.com Fri Jun 13 11:48:58 2008 From: andrew.ford at wachovia.com (Ford, Andy) Date: Fri, 13 Jun 2008 04:48:58 -0500 Subject: Check_snmp_process.pl full path problem with tmp file Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F02A154DD@hqemhopn1.home.corp.agedwards.com> I've hit a little snag using the check_snmp_process.pl plugin: when I use the -f option to check a full path, the temp file cannot be written because of the "/" characters in the name of the temp file generated by the plugin. Error example: 1 process matching /opt/CPshrd-R62/bin/cpd (> 0) (<= 1):OK, Mem : 6.6Mb OK! ERROR writing file /tmp/tmp_Nagios_proc.XhostnameX./opt/CPshrd-R62/bin/cpd !, No data for CPU (1 line(s)):UNKNOWN Has anyone else tried to resolve this? My first thought is to stick a regex in the plugin to convert "/" to "_", but I haven't looked at the code yet. Andrew Ford Wachovia Corporate Information Security 314-955-6647 desk 314-600-7025 cell Wachovia Securities, LLC's outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. A.G. Edwards, a division of Wachovia Securities, LLC ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Fri Jun 13 13:36:34 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Fri, 13 Jun 2008 17:06:34 +0530 Subject: Version of check_nrpe plugin and the NRPE daemon Message-ID: <6b16fb4c0806130436u323de223tfd944bfd042752b8@mail.gmail.com> Hi, I am referring to http://www.nagios.org/faqs/viewfaq.php?faq_id=191&expand=false&showdesc=falsefor Make sure you are using the same version of the check_nrpe plugin and the NRPE daemon. How can i check the version of check_nrpe plugin and the NRPE daemon. Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Fri Jun 13 13:41:57 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Fri, 13 Jun 2008 17:11:57 +0530 Subject: Version of check_nrpe plugin and the NRPE daemon In-Reply-To: <6b16fb4c0806130436u323de223tfd944bfd042752b8@mail.gmail.com> References: <6b16fb4c0806130436u323de223tfd944bfd042752b8@mail.gmail.com> Message-ID: <25251aec0806130441h4eab4f74y6f7d2f39081381f6@mail.gmail.com> you can check the nrpe version on the remote host using the following command on the nagios server, [nagios at lnxtestsrv1 libexec]$ /home/nagios/nagios/libexec/check_nrpe -H NRPE v2.12 It helps. -Shankar On Fri, Jun 13, 2008 at 5:06 PM, Kaushal Shriyan wrote: > Hi, > > I am referring to > http://www.nagios.org/faqs/viewfaq.php?faq_id=191&expand=false&showdesc=falsefor Make sure you are using the same version of the check_nrpe plugin and > the NRPE daemon. > > How can i check the version of check_nrpe plugin and the NRPE daemon. > > Thanks and Regards > > Kaushal > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 13 13:52:16 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Fri, 13 Jun 2008 13:52:16 +0200 Subject: NRPE host on Solaris 10 (now can monitor from server, but local issue on remote host) In-Reply-To: References: <958697dcd40.00000327izz_abdullah@inbox.com> <9be0ca68de32ec4b94849d2c9a9a099453d12590@monaco.fit.local> Message-ID: <184E3F696E604341B2D96227FFD0B8C50564CBBC@dnce02.ent.ti.com> You can get a try by removing tcp_wrappers from SVC nrpe service. Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East 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 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Izz Abdullah Sent: Friday, June 13, 2008 10:41 AM To: nagios Subject: Re: [Nagios-users] NRPE host on Solaris 10 (now can monitor from server, but local issue on remote host) Of course. It is there. That's why the Nagios server can communicate with the remote host. The remote host just seems to have a problem to check itself ;-) Thanks again, Izz > -----Original Message----- > From: v-alloo at ti.com > Sent: Fri, 13 Jun 2008 10:18:33 +0200 > To: izz_abdullah at inbox.com, nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE host on Solaris 10 (now can monitor from > server, but local issue on remote host) > > Hello, > Did you check your /etc/services for "nrpe 5666/tcp"? > Regards, > > Vincent Alloo > TI France Design Systems Operations Manager > Europe and Middle East 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 > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Izz > Abdullah > Sent: Friday, June 13, 2008 5:21 AM > To: nagios > Subject: Re: [Nagios-users] NRPE host on Solaris 10 (now can monitor from > server, but local issue on remote host) > > This is interesting: > although running the check_nrpe -H localhost on the remote host returns > the error, I am able to monitor from the actual Nagios server. And yes, > LOCAL, localhost, 127.0.0.1, etc. are in the hosts.allow file. > > I thought I would take the chance and see if I could monitor since I was > receiving some data from the command line, just this one error. And sure > enough, can. Now my question is WHY this is like this? > > Thanks again, > Izz > >> -----Original Message----- >> From: izz_abdullah at inbox.com >> Sent: Thu, 12 Jun 2008 17:25:55 -0800 >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] NRPE host on Solaris 10 >> >> Also, I should mention this is the latest NRPE version, but more >> importantly, we ran ./configure without SSL as I have had too many >> problems with it. >> >> Thanks again, >> Izz >> >>> -----Original Message----- >>> From: izz_abdullah at inbox.com >>> Sent: Wed, 11 Jun 2008 21:41:25 -0800 >>> To: nagios-users at lists.sourceforge.net >>> Subject: Re: [Nagios-users] NRPE host on Solaris 10 >>> >>> still the same error: Received 0 bytes from daemon... >>> >>> results from the two commands requested (everything looks ok to me): >>> >>> # svcs svc:/network/nrpe/tcp:default >>> STATE STIME FMRI >>> online Jun_10 svc:/network/nrpe/tcp:default >>> >>> # inetadm -l svc:/network/nrpe/tcp:default >>> SCOPE NAME=VALUE >>> name="nrpe" >>> endpoint_type="stream" >>> proto="tcp" >>> isrpc=FALSE >>> wait=FALSE >>> exec="/usr/sfw/sbin/tcpd -c /usr/local/nagios/etc/nrpe.cfg >>> -i" >>> arg0="/usr/local/nagios/bin/nrpe" >>> user="nagios" >>> default bind_addr="" >>> default bind_fail_max=-1 >>> default bind_fail_interval=-1 >>> default max_con_rate=-1 >>> default max_copies=-1 >>> default con_rate_offline=-1 >>> default failrate_cnt=40 >>> default failrate_interval=60 >>> default inherit_env=TRUE >>> default tcp_trace=FALSE >>> tcp_wrappers=TRUE >>> # >>> >>> The only thing I see different between this output and that on the site >>> listed where I installed the remote host NRPE is there is no default >>> for >>> tcp_wrappers and no connection_backlog. But this shouldn't be the >>> problem, right? >>> >>> Thanks again for your assistance, >>> Izz >>> >>>> -----Original Message----- >>>> From: philc at foundation-it.com >>>> Sent: Wed, 11 Jun 2008 10:21:58 +0100 >>>> To: nagios-users at lists.sourceforge.net >>>> Subject: Re: [Nagios-users] NRPE host on Solaris 10 >>>> >>>>> From: nagios-users-bounces at lists.sourceforge.net >>>>> [mailto:nagios-users- >>>>> bounces at lists.sourceforge.net] On Behalf Of Izz Abdullah >>>>> >>>>> I have followed the instructions I found at >>>>> http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe- >>>>> on-solaris-10/ >>>>> >>>>> but to no avail. At the end of it all, when I try >>>>> ./check_nrpe -H localhost >>>>> >>>>> it gives me a 0 bytes received from daemon. The first check in the >>>>> list of >>>>> /usr/local/nagios/libexec/check_disk -w 10 -c 5 -p / >>>>> gives data...I don't know what's wrong here...I haven't configured a >>>>> Solaris box to be monitored...any ideas / assistance? >>>> >>>> >From your description, it seems like the plugins are working OK but >>>> the >>>> problem is with the service itself. That's not surprising, SMF on >>>> Solaris >>>> 10 can be tricky to get right. I'd double check the entire section in >>>> those instructions from "With Solaris 10, we don't use either inetd >>>> ..." >>>> to "Modify your hosts.allow ...". In particular make sure your >>>> inetd.conf >>>> entry is on one line (as the instructions say but then split over >>>> three >>>> lines because of the narrow width of the page). If it's still not >>>> working, post back with the relevant section of inetd.conf and the >>>> output >>>> of >>>> >>>> svcs svc:/network/nrpe/tcp:default >>>> >>>> and >>>> >>>> inetadm -l svc:/network/nrpe/tcp:default >>>> >>>> -- >>>> Phil Costelloe >>>> Foundation IT, Hermitage Berkshire RG18 9SE >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> Check out the new SourceForge.net Marketplace. >>>> It's the best place to buy or sell services for >>>> just about anything Open Source. >>>> http://sourceforge.net/services/buy/index.php >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: 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 out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://sourceforge.net/services/buy/index.php >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ____________________________________________________________ GET FREE 5GB EMAIL - Check out spam free email with many cool features! Visit http://www.inbox.com/email to find out more! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 13 14:01:54 2008 From: marc at ena.com (Marc Powell) Date: Fri, 13 Jun 2008 07:01:54 -0500 Subject: A couple newb questions In-Reply-To: <20080612183550.61da165a@tywin> References: <20080612183550.61da165a@tywin> Message-ID: On Jun 12, 2008, at 5:35 PM, Forsaken wrote: > > To get to the question - if someone could give me a nutshell version > of > the major differences between 2.x and 3.x, I'd appreciate it. http://nagios.sourceforge.net/docs/3_0/whatsnew.html -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 13 14:08:28 2008 From: marc at ena.com (Marc Powell) Date: Fri, 13 Jun 2008 07:08:28 -0500 Subject: nagios-plugins-1.4.12 In-Reply-To: <6b16fb4c0806122333h17e32d19x13dcabd7316da3e5@mail.gmail.com> References: <6b16fb4c0806122333h17e32d19x13dcabd7316da3e5@mail.gmail.com> Message-ID: <4D7439CE-B91E-4991-8BE1-5EEDB936DDF2@ena.com> On Jun 13, 2008, at 1:33 AM, Kaushal Shriyan wrote: > hi > > I have installed [I--] [M~] net-analyzer/nagios-plugins-1.4.12 on > Gentoo OS > when i do sudo qlist nagios-plugins, I dont see check_mysql and > check_mysql_query plugin. Also i have double checked /usr/nagios/ > libexec/ there isnt too. I don't have experience with Gentoo specifically but in order for check_mysql to be compiled you need to have the mysql development libraries installed. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Fri Jun 13 14:31:10 2008 From: ampranti at gmail.com (Andreas Brandino) Date: Fri, 13 Jun 2008 15:31:10 +0300 Subject: Nagios & cisco 3G HWIC Message-ID: Hi all, i am trying to monitor a 3G HWIC interface to a cisco router. Has anyone tried that? How can i check if that card is attached to the GSM network ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Fri Jun 13 14:37:27 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Fri, 13 Jun 2008 18:07:27 +0530 Subject: nagios-plugins-1.4.12 In-Reply-To: <3CB18FFE1CDC71449BCCEC0FFD983110AFE598@NUMAIL.norwich.edu> References: <6b16fb4c0806122333h17e32d19x13dcabd7316da3e5@mail.gmail.com> <3CB18FFE1CDC71449BCCEC0FFD983110AFE598@NUMAIL.norwich.edu> Message-ID: <6b16fb4c0806130537k4e0a200ave85af41656658717@mail.gmail.com> On Fri, Jun 13, 2008 at 5:51 PM, James Pratt wrote: > I would guess you are missing mysqlclient libs if it didn't build those > two automatically? > > > > Try emerging msyqlclient and/or mysqlclient-devel , then redo the plugin > ebuild. > > > > Regards, > > jamie > > > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Kaushal Shriyan > *Sent:* Friday, June 13, 2008 2:33 AM > *To:* nagios Mailinglist > *Subject:* [Nagios-users] nagios-plugins-1.4.12 > > > > hi > > I have installed [I--] [M~] net-analyzer/nagios-plugins-1.4.12 on Gentoo OS > when i do sudo qlist nagios-plugins, I dont see check_mysql and > check_mysql_query plugin. Also i have double checked /usr/nagios/libexec/ > there isnt too. > > Any ideas. > > Thanks and Regards > > Kaushal > > Hi James I have this in my host /usr/lib64/mysql/libmysqlclient_r.so.15.0.0 /usr/lib64/mysql/libmysqlclient_r.so.15 /usr/lib64/mysql/libmysqlclient_r.so /usr/lib64/mysql/libmysqlclient_r.la /usr/lib64/mysql/libmysqlclient_r.a /usr/lib64/mysql/libmysqlclient.so.15.0.0 /usr/lib64/mysql/libmysqlclient.so.15 /usr/lib64/mysql/libmysqlclient.so /usr/lib64/mysql/libmysqlclient.la /usr/lib64/mysql/libmysqlclient.a /usr/lib64/libmysqlclient_r.so.15.0.0 /usr/lib64/libmysqlclient_r.so.15.0 /usr/lib64/libmysqlclient_r.so.15 /usr/lib64/libmysqlclient_r.so /usr/lib64/libmysqlclient.so.15.0.0 /usr/lib64/libmysqlclient.so.15.0 /usr/lib64/libmysqlclient.so.15 /usr/lib64/libmysqlclient.so Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Fri Jun 13 15:17:02 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Fri, 13 Jun 2008 09:17:02 -0400 Subject: Dell PowerConnect Switches + Nagios Message-ID: <48527353.1736640a.4760.42ef@mx.google.com> Has Anyone tried to monitor Dell PowerConnect switches? I have several switches and their web interface is the Dell OpenManage and therefore is able to submit SNMP traps. Has anyone tried such setup or has any suggestions on how I can pass these traps to Nagios? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.bourdeau at dga.defense.gouv.fr Fri Jun 13 15:37:40 2008 From: frank.bourdeau at dga.defense.gouv.fr (frank.bourdeau at dga.defense.gouv.fr) Date: Fri, 13 Jun 2008 15:37:40 +0200 Subject: RE Dell PowerConnect Switches + Nagios In-Reply-To: <48527353.1736640a.4760.42ef@mx.google.com> References: <48527353.1736640a.4760.42ef@mx.google.com> Message-ID: Hi, You can pass snmp traps to nagios with snmptt. Look here for more information about snmptt -> http://xavier.dusart.free.fr/nagios/snmptraps.html This is in french but easy to understand, i think Good luck Frank [ENVOYE PAR INTERNET] "Victor Lanza" Envoy? par : nagios-users-bounces at lists.sourceforge.net 13/06/2008 15:17 A "'nagios Mailinglist'" cc Objet [Nagios-users] Dell PowerConnect Switches + Nagios Has Anyone tried to monitor Dell PowerConnect switches? I have several switches and their web interface is the Dell OpenManage and therefore is able to submit SNMP traps. Has anyone tried such setup or has any suggestions on how I can pass these traps to Nagios? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From howachen at gmail.com Fri Jun 13 16:02:49 2008 From: howachen at gmail.com (howard chen) Date: Fri, 13 Jun 2008 22:02:49 +0800 Subject: Change nagios monitoring port In-Reply-To: <20080613003249.5b40d951@tywin> References: <20080613003249.5b40d951@tywin> Message-ID: Hi On Fri, Jun 13, 2008 at 12:32 PM, Forsaken wrote: > On Fri, 13 Jun 2008 12:26:50 +0800 > "howard chen" wrote: > > If all of your hosts are running on port 4000, just add -p 4000 onto > the end of the command check, like so: > > define command{ > command_name check_ssh > command_line $USER1$/check_ssh -H $HOSTADDRESS$ -p 4000 > } Yes, some of them are 4000, but some of them maybe listening others... so are there other methods? Thank you. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vinogratzky at gmx.ch Fri Jun 13 16:44:30 2008 From: vinogratzky at gmx.ch (Vinogratzky) Date: Fri, 13 Jun 2008 16:44:30 +0200 Subject: Dropping packet with future timestamp, NSCA In-Reply-To: <20080612160810.GA22949@loewe.site> References: <20080612160810.GA22949@loewe.site> Message-ID: <20080613144430.GA14008@loewe.site> Just change the source: ---8<--- /* check the timestamp in the packet */ packet_time=(time_t)ntohl(receive_packet.timestamp); time(¤t_time); //if(packet_time>current_time){ // syslog(LOG_ERR,"Dropping packet with future // timestamp."); // /*return;*/ // close(sock); // if(mode==SINGLE_PROCESS_DAEMON) // return; // else // do_exit(STATE_OK); // } //else{ packet_age= abs ( (unsigned long)(current_time-packet_time) ); syslog(LOG_ERR,"Time diff: %lu seconds", packet_age); if(max_packet_age>0 && (packet_age>max_packet_age)){ syslog(LOG_ERR,"Dropping packet with stale timestamp - packet was %lu seconds old or new.",packet_age); /*return;*/ close(sock); if(mode==SINGLE_PROCESS_DAEMON) return; else do_exit(STATE_OK); } // } ---8<--- If you want, you can see now the "Time diff" in the syslog. Workes for me. Perhaps that should be an option in the next release! Chris On Do, Jun 12, 2008 at 06:08:10 +0200, Vinogratzky wrote: > Hi list, > > I have some passive checks with NSCA and my clients are a few seconds > ahead. > The server rejects the package with: > ---8<--- > nsca[10986]: Dropping packet with future timestamp. > ---8<--- > > max_packet_age=0 > doesn't help here. > > Any hints? > (No, I'm not able to sync the Clients with ntp.) > > Thx, > Chris > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 truthisfreedom.org.uk Fri Jun 13 16:19:09 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Fri, 13 Jun 2008 15:19:09 +0100 Subject: Change nagios monitoring port In-Reply-To: References: <20080613003249.5b40d951@tywin> Message-ID: <20080613151909.4dc2e5f5@tclmmw.in.tiger-computing.com> On Fri, 13 Jun 2008 22:02:49 +0800 "howard chen" wrote: > Yes, some of them are 4000, but some of them maybe listening others... > so are there other methods? We have three "check_commands_nrpe.cfg" files in our Nagios2 setup: check_commands_nrpe.cfg check_commands_nrpe_5667.cfg check_commands_nrpe_5668.cfg They are identical listings of the check commands save that the port numbers are different (5666,5667 and 5668 accordingly). This means that when we define a host that is behind another host (i.e. monitoring Servers on a LAN from a WAN Connection) we just forward port 5667 on the public IP to port 5666 on the private IP and it all works. Having said all of that, we're moving to an OpenVPN-based solution for any machines that are in the current setup to remove the reliance on a single point of failure. M. -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Fri Jun 13 16:55:34 2008 From: philc at foundation-it.com (Phil Costelloe) Date: Fri, 13 Jun 2008 15:55:34 +0100 Subject: NRPE host on Solaris 10 (now can monitor from server, but local issue on remote host) In-Reply-To: References: <958697dcd40.00000327izz_abdullah@inbox.com> <9be0ca68de32ec4b94849d2c9a9a099453d12590@monaco.fit.local> Message-ID: <9BE0CA68DE32EC4B94849D2C9A9A099453D12594@monaco.fit.local> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Izz Abdullah > Sent: 13 June 2008 04:21 > To: nagios > Subject: Re: [Nagios-users] NRPE host on Solaris 10 (now can monitor > from server, but local issue on remote host) > > This is interesting: > although running the check_nrpe -H localhost on the remote host returns > the error, I am able to monitor from the actual Nagios server. And > yes, LOCAL, localhost, 127.0.0.1, etc. are in the hosts.allow file. > > I thought I would take the chance and see if I could monitor since I > was receiving some data from the command line, just this one error. > And sure enough, can. Now my question is WHY this is like this? What's the value of the allowed_hosts directive in your nrpe.cfg? -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Fri Jun 13 17:05:11 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Fri, 13 Jun 2008 11:05:11 -0400 Subject: A couple newb questions In-Reply-To: <20080613091848.0e3ee96c@tclmmw.in.tiger-computing.com> References: <20080612183550.61da165a@tywin> <20080613091848.0e3ee96c@tclmmw.in.tiger-computing.com> Message-ID: <20080613150511.GB13790@cgi.jachomes.com> On Fri, Jun 13, 2008 at 09:18:48AM +0100, Matthew Macdonald-Wallace wrote: > We've got a hostgroup called "debian servers" and any server in this > list automatically has the version checked to make sure there's no > weird upgrades going on etc. > > It also means that when "Lenny" reaches stable, we only need to change > one config file and it immediately provides us with a report on which > servers require an upgrade. > > The script at the moment is configured to be OK if > the /etc/debian_version contains the string "4.0", warn on "3.1" and > error on everything else. That sounds like a neat idea. Could you provide one more layer of detail on that? Which plugin do you use? Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Fri Jun 13 17:43:46 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Fri, 13 Jun 2008 11:43:46 -0400 Subject: nagios-plugins-1.4.12 In-Reply-To: <6b16fb4c0806122333h17e32d19x13dcabd7316da3e5@mail.gmail.com> References: <6b16fb4c0806122333h17e32d19x13dcabd7316da3e5@mail.gmail.com> Message-ID: <20080613154346.GC13790@cgi.jachomes.com> On Fri, Jun 13, 2008 at 12:03:07PM +0530, Kaushal Shriyan wrote: > I have installed [I--] [M~] net-analyzer/nagios-plugins-1.4.12 on Gentoo OS > when i do sudo qlist nagios-plugins, I dont see check_mysql and > check_mysql_query plugin. Also i have double checked /usr/nagios/libexec/ > there isnt too. Scroll back through the output of ./configure when you do it, and it will likely tell you something useful... Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rsmall at ireit.com Fri Jun 13 19:44:01 2008 From: rsmall at ireit.com (ROBERT SMALL) Date: Fri, 13 Jun 2008 12:44:01 -0500 Subject: Nagios v3 & email being sent to $ Message-ID: I have lots of messages in my nagios installation being sent to $. I have searched my contacts and other configs and cannot find it. We all get email and notifications but there are the occasional $ emails and I found ?em stuck in /var/spool/nagios/dead.letter (freebsd). Does anyone have any ideas? Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 13 19:46:24 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 13 Jun 2008 10:46:24 -0700 Subject: Nagios v3 & email being sent to $ In-Reply-To: References: Message-ID: <20080613174624.GH7191@bakgwai.americas.hpqcorp.net> On Fri, 13 Jun 2008, ROBERT SMALL wrote: > I have lots of messages in my nagios installation being sent to $. > > I have searched my contacts and other configs and cannot find it. We all get email and notifications but there are the occasional $ emails and I found ?em stuck in /var/spool/nagios/dead.letter (freebsd). > > Does anyone have any ideas? Other than that you almost certainly have an error in one of your config files that you haven't found yet, nope. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 13 20:03:33 2008 From: CWaters at jeld-wen.com (Chris Waters) Date: Fri, 13 Jun 2008 11:03:33 -0700 Subject: Nagios v3 & email being sent to $ In-Reply-To: References: Message-ID: <30D62F21FD4BE1448C156D2A3E30039703EA61D8@jwmail01.jeld-wen.com> Looks like an improperly defined macro somewhere in your notification definition. Can you display your notification command? 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 ROBERT SMALL Sent: Friday, June 13, 2008 10:44 AM To: Nagios Users Mailinglist Subject: [Nagios-users] Nagios v3 & email being sent to $ I have lots of messages in my nagios installation being sent to $. I have searched my contacts and other configs and cannot find it. We all get email and notifications but there are the occasional $ emails and I found 'em stuck in /var/spool/nagios/dead.letter (freebsd). Does anyone have any ideas? Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Fri Jun 13 20:23:34 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Fri, 13 Jun 2008 14:23:34 -0400 Subject: check_http issues... In-Reply-To: <69D2D683-8911-4FD3-B454-5BBD31244ECD@ena.com> References: <69D2D683-8911-4FD3-B454-5BBD31244ECD@ena.com> Message-ID: <4852bb2b.0735640a.6f3c.7643@mx.google.com> Just wanted to say thanks and report that the fix worked perfectly. I can pass that password without even having to escape any character. -----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, June 09, 2008 4:17 PM To: nagios Mailinglist Subject: Re: [Nagios-users] check_http issues... On Jun 9, 2008, at 1:48 PM, Victor Lanza wrote: > Hi all, > > Sooo I upgraded from 3.0.1 to 3.0.2 in the hopes that the fix for > the extra > $ would be fixed in it but it doesn't seem to be. From http://www.nagios.org, naigos-3.0.2 was released on 5/19. The bug report was submitted to nagios-devel on 5/30 - http://news.gmane.org/gmane.network.nagios.devel . Time travel is not (yet) permitted. ;) You could always apply the patch yourself and try it. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rsmall at ireit.com Fri Jun 13 20:24:53 2008 From: rsmall at ireit.com (ROBERT SMALL) Date: Fri, 13 Jun 2008 13:24:53 -0500 Subject: Nagios v3 & email being sent to $ In-Reply-To: <30D62F21FD4BE1448C156D2A3E30039703EA61D8@jwmail01.jeld-wen.com> References: <30D62F21FD4BE1448C156D2A3E30039703EA61D8@jwmail01.jeld-wen.com> Message-ID: Other than changing the ?***** Nagios ***** to ***** Nagios 1 ***** I haven?t made any changes to the notifications, in fact, I copied and pasted it out of the samples to make sure. Thanks!!! # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios 1 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios 1 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } On 6/13/08 1:03 PM, "Chris Waters" wrote: > Looks like an improperly defined macro somewhere in your notification > definition. Can you display your notification command? > > 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 ROBERT SMALL > Sent: Friday, June 13, 2008 10:44 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Nagios v3 & email being sent to $ > > I have lots of messages in my nagios installation being sent to $. > > I have searched my contacts and other configs and cannot find it. We all get > email and notifications but there are the occasional $ emails and I found ?em > stuck in /var/spool/nagios/dead.letter (freebsd). > > Does anyone have any ideas? > > Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mugnoz.pilar at gmail.com Fri Jun 13 20:33:23 2008 From: mugnoz.pilar at gmail.com (=?ISO-8859-1?Q?Pili_Mu=F1oz_Gargallo?=) Date: Fri, 13 Jun 2008 20:33:23 +0200 Subject: Dell PowerConnect Switches + Nagios In-Reply-To: <48527353.1736640a.4760.42ef@mx.google.com> References: <48527353.1736640a.4760.42ef@mx.google.com> Message-ID: <53317ec10806131133we6bb887se6adaf22d6988aea@mail.gmail.com> Hi, i was trying to get the syslocation from MIB-2 from Dell PowerConnect switches using the check_snmp pluging from nagios-plugin1.14.11 but i haven?t managed. I have created an user and a read only password in Local user database menu. Googling i found the comand check_snmp -u "load average" -t 3 -P 3 -H 192.168.2.1 -L authPriv -U xxxxxx -a MD5 -A yyyyyy -X zzzzzz -o laLoad.2 -U is user, i supose it is the name which i can login in the interface, -A authpassword, i supose it is the password to log in the interface -X privpassword, ??? if anyone could tell where i could find more information about it i would be very gratefull Best wishes Pili 2008/6/13 Victor Lanza : > Has Anyone tried to monitor Dell PowerConnect switches? I have several > switches and their web interface is the Dell OpenManage and therefore is > able to submit SNMP traps. Has anyone tried such setup or has any > suggestions on how I can pass these traps to Nagios? > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 13 22:43:09 2008 From: marc at ena.com (Marc Powell) Date: Fri, 13 Jun 2008 15:43:09 -0500 Subject: Change nagios monitoring port In-Reply-To: References: <20080613003249.5b40d951@tywin> Message-ID: <06F2F502-F9BD-497C-AD33-CDB142A949D5@ena.com> On Jun 13, 2008, at 9:02 AM, howard chen wrote: > > Yes, some of them are 4000, but some of them maybe listening others... > so are there other methods? Yes, you could pass the port number from the service definition as an argument to the command. If using nagios-3, see 'Macros and how they work'. If using nagios-2, see 'Using macros in commands'. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 13 22:49:06 2008 From: marc at ena.com (Marc Powell) Date: Fri, 13 Jun 2008 15:49:06 -0500 Subject: Nagios v3 & email being sent to $ In-Reply-To: References: Message-ID: On Jun 13, 2008, at 1:24 PM, ROBERT SMALL wrote: > Other than changing the ?***** Nagios ***** to ***** Nagios 1 ***** > I haven?t made any changes to the notifications, in fact, I copied > and pasted it out of the samples to make sure. > > Thanks!!! > > > # 'notify-host-by-email' command definition > > # 'notify-service-by-email' command definition $CONTACTEMAIL$ comes from the email parameter of the contact{} definitions. Anything unusual about any of those? Do they follow standard e-mail address conventions? -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Sat Jun 14 10:17:09 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Sat, 14 Jun 2008 13:47:09 +0530 Subject: check_mysql_query Message-ID: <6b16fb4c0806140117q738ee550u6bbeb32e183212f3@mail.gmail.com> Hi, I want to set a nagios alert whenever the count(*) of a specific table in test DB (MySQL) on a specific host crosses 200000 using mysql_check_query plugin I have referred to http://nagiosplugins.org/man/check_mysql_query for -w and -c option which says -w, --warning=RANGE Warning range (format: start:end). Alert if outside this range -c, --critical=RANGE How can i set this in nagios(nrpe.cfg) on the remote host. Any example would be really helpful I have set it like the below in the nrpe.cfg file command[check_mysql_query]=/usr/nagios/libexec/check_mysql_query -q "Select count(*) from table" -w1:5 -H localhost -P 3306 -d test -u test -p example command[check_mysql_query]=/usr/nagios/libexec/check_mysql_query -q "Select count(*) from table" -c200000 -H localhost -P 3306 -d test -u test -p example Not sure if the above command is right. Any ideas Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 14 10:58:35 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 14 Jun 2008 10:58:35 +0200 Subject: check_mysql_query In-Reply-To: <6b16fb4c0806140117q738ee550u6bbeb32e183212f3@mail.gmail.com> References: <6b16fb4c0806140117q738ee550u6bbeb32e183212f3@mail.gmail.com> Message-ID: <4853883B.3070107@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kaushal Shriyan wrote: | I have set it like the below in the nrpe.cfg file | | command[check_mysql_query]=/usr/nagios/libexec/check_mysql_query -q | "Select count(*) from table" -w1:5 -H localhost -P 3306 -d test -u test | -p example | command[check_mysql_query]=/usr/nagios/libexec/check_mysql_query -q | "Select count(*) from table" -c200000 -H localhost -P 3306 -d test -u | test -p example What happens if you execute the command by hand? But you should not use duplicate entries. I think NRPE should actually reject it and/or fail to startup. 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) iD8DBQFIU4g6BvzDRVjxmYERArKeAJ4vd+KJTYlW5DlS7uzcKyDOjWo6kQCgngfX Vv5Fp5je2Ka2O2yVchfLnds= =Nt2c -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 14 11:00:31 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 14 Jun 2008 11:00:31 +0200 Subject: NagiosGrapher weird entries in logfile In-Reply-To: <874DF7F7CC45E8DE4984AFC4@Dirks-MacBook-Pro.local> References: <874DF7F7CC45E8DE4984AFC4@Dirks-MacBook-Pro.local> Message-ID: <485388AF.7080705@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dirk H. Schulz wrote: | Hi Folks, | | is this the right place to ask for help with NagiosGrapher? If not, please | point me to an appropriate mailing list. | | I am trying to run NagiosGrapher on Centos 5. I have installed and | configured it according to Wolfgang Barths new Nagios book, but I am | running into a weird problem. I think most of us have not read that book. So you need to be more specific with your examples. 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) iD8DBQFIU4iuBvzDRVjxmYERAmlnAKCn23zg8LCEQTFSstI50yX+8M9WKQCcDflN m27rimeazAqyvBV90j9eKkQ= =GXJP -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 14 11:06:02 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 14 Jun 2008 11:06:02 +0200 Subject: Nagios VM In-Reply-To: <48C4B0E24DA90B4481C2ED21F591A30F1A747D88BB@SV0099.cernum.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A747D871D@SV0099.cernum.com> <484D2286.8060006@op5.se> <48C4B0E24DA90B4481C2ED21F591A30F1A747D88BB@SV0099.cernum.com> Message-ID: <485389FA.6030007@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tim Van Caeyzeele wrote: | Offcourse I'm not using the vmware setup to monitor itself ;) It was monitoring the complete network. You seem to have missed the point. A VmWare system is known to be less accurate with the clock. So your nagios installation on top of that may suffer from that. | Anyway, I started of with a clean sheet, installed it on a standalone server. | | It's rebuilt for 98% which brings me to the part of decent backups...I'm not a linux wizz at all! Would you have some good recommandations for backing up my system in a simple way so I can rebuilt it after a crash ? | Would a ghost image work (just for the OS and plugins) combined with periodical copies of the cfg files ? Ghost may be nice for those XP images. But if you know what you changed then you know what to backup. I have two servers that have a backup user on each and I use rsync+ssh to backup config files and such on a daily bases to the other server. 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) iD8DBQFIU4n4BvzDRVjxmYERAkNiAJ47pjgIB+eSd6dqfZX+ZY463v7sVACeNFVG 5O4Ssg4ejCRwSgJHWuyUm/w= =P7tD -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joes.mailing.lists at gmail.com Sat Jun 14 16:15:37 2008 From: joes.mailing.lists at gmail.com (Novak Joe) Date: Sat, 14 Jun 2008 23:15:37 +0900 Subject: nagios and ec2 Message-ID: <2e45e80806140715u1d942253sf1987cfe7a0e2719@mail.gmail.com> Hi, I'm interested in setting up nagios for use with amazon's ec2 service. A quick search of gmane did not turn up any results for the term 'ec2' in this list, but I wonder if anyone has experience using it with aws. I am interested in running nagios as part of an autonomous decentralized system, such that in effect every host in the system is running nagios and everyone is checking up on everyone else, albeit with the monitoring details varying slightly depending on the host type. Is this feasible, does it make any sense? From what I've read so far it seems like nagios was not designed and is not widely applied to this kind of usage scenario, however from a cost perspective it is preferable for me to run nagios on every host I have up, rather than paying for a minimum of 2 additional hosts which are completely dedicated to nagios and monitoring. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rsmall at ireit.com Sat Jun 14 16:35:31 2008 From: rsmall at ireit.com (ROBERT SMALL) Date: Sat, 14 Jun 2008 09:35:31 -0500 Subject: Nagios v3 & email being sent to $ In-Reply-To: References: Message-ID: No, nothing strange, I sent my contacts to some of the other admins at the office and they all said they were fine. This is happing on both of my nagios boxes... On 6/13/08 3:49 PM, "Marc Powell" wrote: > > On Jun 13, 2008, at 1:24 PM, ROBERT SMALL wrote: > >> Other than changing the ?***** Nagios ***** to ***** Nagios 1 ***** >> I haven?t made any changes to the notifications, in fact, I copied >> and pasted it out of the samples to make sure. >> >> Thanks!!! >> >> >> # 'notify-host-by-email' command definition >> > >> # 'notify-service-by-email' command definition > > $CONTACTEMAIL$ comes from the email parameter of the contact{} > definitions. Anything unusual about any of those? Do they follow > standard e-mail address conventions? > > -- > Marc > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jun 14 23:02:35 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sat, 14 Jun 2008 17:02:35 -0400 Subject: Nagios VM In-Reply-To: <484D2286.8060006@op5.se> References: <48C4B0E24DA90B4481C2ED21F591A30F1A747D871D@SV0099.cernum.com> <484D2286.8060006@op5.se> Message-ID: <1213477355.2823.135.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Mon, 2008-06-09 at 14:31 +0200, Andreas Ericsson wrote: > Besides the clock issue, would you *really* want to monitor your > VMWare server from within the VMWare server itself? Virtualization is a requirement in many environments. High Availability / Multi-Facility redundancy is a requirement in those facilities as well. A properly deployed Nagios will have a self-promoting standby slave that in another facility that will take over the notification role and inform contacts about a failed master VM / Hypervisor. ~BAS ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jun 14 23:17:13 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sat, 14 Jun 2008 17:17:13 -0400 Subject: Mixed Nagios versions in a Distributed setup? In-Reply-To: <1F387DFD-28C7-46CE-AB50-0AE2B876DE15@gmail.com> References: <1F387DFD-28C7-46CE-AB50-0AE2B876DE15@gmail.com> Message-ID: <1213478233.2823.147.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Thu, 2008-06-05 at 14:08 -0700, Ray Keaveney wrote: > Central server and Nagios 2.x on the Distributed servers. More-specifically? Are you notifying from your central and forwarding / submitting passive checks from your slave? Does your slave self promote? Are you running a centralized config file system? Are your nagios-plugins version different? ~BAS ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Mon Jun 16 02:49:42 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Sun, 15 Jun 2008 16:49:42 -0800 Subject: NRPE host on Solaris 10 (now can monitor from server, but local issue on remote host) In-Reply-To: <9BE0CA68DE32EC4B94849D2C9A9A099453D12594@monaco.fit.local> References: <958697dcd40.00000327izz_abdullah@inbox.com> <9be0ca68de32ec4b94849d2c9a9a099453d12590@monaco.fit.local> Message-ID: The allowed hosts only has the local loopback : 127.0.0.1 which confuses me a bit as the monitoring server is allowed to get the information. I would imagine it's being over-ridden by the hosts.allow file which allows the monitoring server IP in. As for the tcp_wrappers...I haven't tried yet. Will try soon and post back. Any ideas on why i didn't have to allow the monitoring server IP in the allowed_hosts directive of nrpe.cfg? Thanks again for all the assistance, Izz > -----Original Message----- > From: philc at foundation-it.com > Sent: Fri, 13 Jun 2008 15:55:34 +0100 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NRPE host on Solaris 10 (now can monitor from > server, but local issue on remote host) > > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Izz Abdullah >> Sent: 13 June 2008 04:21 >> To: nagios >> Subject: Re: [Nagios-users] NRPE host on Solaris 10 (now can monitor >> from server, but local issue on remote host) >> >> This is interesting: >> although running the check_nrpe -H localhost on the remote host returns >> the error, I am able to monitor from the actual Nagios server. And >> yes, LOCAL, localhost, 127.0.0.1, etc. are in the hosts.allow file. >> >> I thought I would take the chance and see if I could monitor since I >> was receiving some data from the command line, just this one error. >> And sure enough, can. Now my question is WHY this is like this? > > What's the value of the allowed_hosts directive in your nrpe.cfg? > > -- > Phil Costelloe > Foundation IT, Hermitage Berkshire RG18 9SE > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop! Check it out at http://www.inbox.com/marineaquarium ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From k.proskurin at fxclub.org Mon Jun 16 08:33:22 2008 From: k.proskurin at fxclub.org (Proskurin Kirill) Date: Mon, 16 Jun 2008 10:33:22 +0400 Subject: Service dependence In-Reply-To: <484E6564.6020808@fxclub.org> References: <484E6564.6020808@fxclub.org> Message-ID: <48560932.8040603@fxclub.org> Anyone?.. > Hello all. > > Im using Nagios 3.0.2 on FreeBSD 6.x system. > All work fine. > > Im want to make this thing: > If check_alive service is critical(host is down) - do not check any > service on that host and *mark* it as critical. > > And the same thing - if one service on remote host is critical - *mark* > as critical other service. > > And, if it is possible, log to "Status Information" field what service1 > critical because service2 is critical. > > For example: > If check_mysql on host1 - critical > Mark as critical check_http on host2. > Status Information: "check_mysql on host1 - critical" > > It is possible? > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sander at pictura-dp.nl Mon Jun 16 09:31:03 2008 From: sander at pictura-dp.nl (Sander Klein) Date: Mon, 16 Jun 2008 09:31:03 +0200 Subject: Service dependence In-Reply-To: <48560932.8040603@fxclub.org> References: <484E6564.6020808@fxclub.org> <48560932.8040603@fxclub.org> Message-ID: <485616B7.9070503@pictura-dp.nl> Hi, Proskurin Kirill wrote: > Anyone?.. > >> For example: >> If check_mysql on host1 - critical >> Mark as critical check_http on host2. >> Status Information: "check_mysql on host1 - critical" >> You should have a look at http://nagios.sourceforge.net/docs/3_0/dependencies.html Greets, Sander ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From k.proskurin at fxclub.org Mon Jun 16 10:51:22 2008 From: k.proskurin at fxclub.org (Proskurin Kirill) Date: Mon, 16 Jun 2008 12:51:22 +0400 Subject: Service dependence In-Reply-To: <485616B7.9070503@pictura-dp.nl> References: <484E6564.6020808@fxclub.org> <48560932.8040603@fxclub.org> <485616B7.9070503@pictura-dp.nl> Message-ID: <4856298A.4090203@fxclub.org> Sander Klein wrote: > You should have a look at > http://nagios.sourceforge.net/docs/3_0/dependencies.html > Im look on it and then im write my post. Im ask some questions what is not highlighted on this doc... or im read it bad?... Let me give a example on real config: define host{ use unix-server host_name host1 alias Alias address 1.1.1.1 hostgroups Filials } define service{ use generic-service host_name host1 service_description PING check_command check_ping!200.0,20%!600.0,60% } define service{ use generic-service host_name host1 service_description Check RBL check_command check_rbl } define servicedependency{ host_name host1 service_description Check RBL dependent_host_name host1 dependent_service_description PING execution_failure_criteria w,u,c notification_failure_criteria w,u,c } As im understand IF service Check RBL on host1 will be critical - service PING will be critical too? But nofing happend. -- Best regards, Proskurin Kirill ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 11:00:15 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 16 Jun 2008 11:00:15 +0200 Subject: Service dependence In-Reply-To: <4856298A.4090203@fxclub.org> References: <484E6564.6020808@fxclub.org> <48560932.8040603@fxclub.org> <485616B7.9070503@pictura-dp.nl> <4856298A.4090203@fxclub.org> Message-ID: <48562B9F.8090905@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Proskurin Kirill wrote: | | define servicedependency{ | host_name host1 | service_description Check RBL | dependent_host_name host1 | dependent_service_description PING | execution_failure_criteria w,u,c | notification_failure_criteria w,u,c | } | | | As im understand IF service Check RBL on host1 will be critical - | service PING will be critical too? But nofing happend. No. It will mean that any depeding service will go to unreachable instead of critical. So if you do not notify on unreachable services you will not be swarmed with critical alerts. And the usage of whitespaces should be avoided to prevent mismatches. 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) iD8DBQFIViueBvzDRVjxmYERAuAKAJwOih7XHKKNwxplwWo6sJ5xVYxNzgCbBRfQ QZvmEf4+UaC8WdW/upqSfaY= =fB+5 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Mon Jun 16 11:26:23 2008 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 16 Jun 2008 10:26:23 +0100 Subject: NRPE host on Solaris 10 (now can monitor from server, but local issue on remote host) In-Reply-To: References: <958697dcd40.00000327izz_abdullah@inbox.com> <9be0ca68de32ec4b94849d2c9a9a099453d12590@monaco.fit.local> Message-ID: <9BE0CA68DE32EC4B94849D2C9A9A099453B79434@monaco.fit.local> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Izz Abdullah > > The allowed hosts only has the local loopback : 127.0.0.1 which > confuses me a bit as the monitoring server is allowed to get the > information. I would imagine it's being over-ridden by the hosts.allow > file which allows the monitoring server IP in. > > As for the tcp_wrappers...I haven't tried yet. Will try soon and post > back. Any ideas on why i didn't have to allow the monitoring server IP > in the allowed_hosts directive of nrpe.cfg? allowed_hosts is only applied if nrpe is running as a daemon. If you're running under a service framework such as inetd/xinetd and apparently SMF according to your experience, it's ignored. The Solaris 10 servers I was monitoring were decommissioned last week so I can't help much with examples of a running configuration unfortunately. -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dani at ai3.itb.ac.id Mon Jun 16 12:54:55 2008 From: dani at ai3.itb.ac.id (dani) Date: Mon, 16 Jun 2008 17:54:55 +0700 (WIT) Subject: snmpwalk as external command or customize "Status information" In-Reply-To: <8c6f7f450805301145l76db87ffx7a9b051250a31845@mail.gmail.com> References: <8c6f7f450805301145l76db87ffx7a9b051250a31845@mail.gmail.com> Message-ID: <20080616174728.F17969@ai3.itb.ac.id> Hi Sergio, please check your community, at the manual check you've enter "my community" and in the command line you've enter "mi community" and snmpwalk did not reside at nagios library, i have insert the full path of snmpwalk like; /usr/bin/snmpwalk or /usr/local/sbin/snmpwalk i hope that's work CMIIW ===================================== ^_* Just A Man Behind The Scene *_^ ===================================== On Fri, 30 May 2008, Sergio Belkin wrote: > Hi, > > I am using check_snmp plugin and is quite useful, but in some cases > I'd like that "Status Information" in "Status Detail For This Host" > to print only the value, not something as "/usr/bin/snmpget -t 1 -r 5 > -m RAPID-CITY -v 2c -c 'my community' 10.1.0.4:161 > 1.3.6.1.4.1.2272.1.3.1.0" > > Because of this I thought to use snmpwalk as external command, so I > add an entry in commands.cfg as follows: > > define command{ > command_name snmpwalk > command_line $USER5$/snmppwalk -v2c -c "mi community" > $HOSTADDRESS$ -Oqv $ARGS1$ > } > > But is not working it outputs: > "(Return code of 127 is out of bounds - plugin may be missing)" > > What's wrong with this? A suitable solution could be customize the > output in "Status Information" but how could I do that? > > Thanks in advance!! > -- > -- > Open Kairos http://www.openkairos.com > Watch More TV http://sebelk.blogspot.com > Sergio Belkin - > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > 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 > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 13:05:52 2008 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Mon, 16 Jun 2008 11:05:52 +0000 (GMT) Subject: nagios flapping notification Message-ID: <336810.87124.qm@web23309.mail.ird.yahoo.com> I am running nagios 2.5, I have just enabled host flapping however when a host is flapping my nagios webpage shows that the host is flapping but I do not get a notification alert informing me that a host is flapping. How can i, configure nagios to send a notification alert informing me that a host is flapping? Can you help? please __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 16 13:58:52 2008 From: marc at ena.com (Marc Powell) Date: Mon, 16 Jun 2008 06:58:52 -0500 Subject: nagios flapping notification In-Reply-To: <336810.87124.qm@web23309.mail.ird.yahoo.com> References: <336810.87124.qm@web23309.mail.ird.yahoo.com> Message-ID: On Jun 16, 2008, at 6:05 AM, trevor obba wrote: > I am running nagios 2.5, I have just enabled host flapping however > when a host is flapping my nagios webpage shows that the host is > flapping but I do not get a notification alert informing me that a > host is flapping. > > How can i, configure nagios to send a notification alert informing > me that a host is flapping? > > Can you help? please Documentation -> Object Definitions -> Host definitions/Contact definitions -> Notification options. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.watanabe at jp.fujitsu.com Mon Jun 16 14:03:26 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 16 Jun 2008 21:03:26 +0900 Subject: About check_udp plugin Message-ID: <200806161203.AA02334@S2005110.jp.fujitsu.com> Hello All, I would like to get an advice with check_udp plugin. I would like to check the snmp port (161) of the remote host. Following is the command that I have executed from the command line. [root at GWkensyo libexec]# ./check_udp -V check_udp v1729 (nagios-plugins 1.4.10) But the result looks not good. [root at GWkensyo libexec]# ./check_udp -v -H 192.168.225.85 -p 161 -s "04 06 70 75 62 6c 69 63 a1 19 02 04 40 64 18 b9 02 01 00 02 01 00 3 0 0b 30 09 06 05 2b 06 01 02 01 05 00" -e "" Using service UDP Port: 161 flags: 0x2 Send string: 04 06 70 75 62 6c 69 63 a1 19 02 04 40 64 18 b9 02 01 00 02 01 00 30 0b 30 09 06 05 2b 06 01 02 01 05 00 server_expect_count: 1 0: CRITICAL - Socket timeout after 10 seconds I have tried to send get request to the remote server to fetch the data of .1.3.6.1.2.1. but there wasn't any response. The data was successfully fetched using the snmpwalk command. And also, I have confirmed that the port was open on the remote machine. [root at essen tmp]# netstat -an | grep 161 udp 0 0 0.0.0.0:161 0.0.0.0:* unix 3 [ ] STREAM CONNECTED 28103161 /var/lib/mysql/mysql.sock unix 3 [ ] STREAM CONNECTED 28099161 /var/lib/mysql/mysql.sock How does everyone generally specify the arguments of the check_udp to confirm the 161 port ? Any help will be helpful ! Best Regards, Yu Watanabe ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me at renux.de Mon Jun 16 14:41:03 2008 From: me at renux.de (Rene Fertig) Date: Mon, 16 Jun 2008 14:41:03 +0200 Subject: How to monitor windows software raid Message-ID: <200806161441.03871.me@renux.de> Hello. Can someone tell me how to check a software raid on a windows server? I can't find anything - am I blind? Greetings, Rene -- -- Tipps & Tricks f?r Linux, MySQL & Webdesign -> http://home.telebel.de/~referti/blog/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 14:43:41 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 16 Jun 2008 14:43:41 +0200 Subject: About check_udp plugin In-Reply-To: <200806161203.AA02334@S2005110.jp.fujitsu.com> References: <200806161203.AA02334@S2005110.jp.fujitsu.com> Message-ID: <48565FFD.2050805@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yu Watanabe wrote: | I would like to get an advice with check_udp plugin. | | I would like to check the snmp port (161) of the remote host. | Following is the command that I have executed from the command line. Why not use one of the zillion existing check_snmp commands? After all you propably use SNMP to get something. And not just to see if a SNMP port is available. 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) iD8DBQFIVl/7BvzDRVjxmYERAiQ1AJ0Z7v7JFT0UW8KwVC0LibT5WbXoWwCgpBGr EtERXs8dGkixMWKLFJF06MU= =Cio+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.maignan at winxpert.com Mon Jun 16 14:44:13 2008 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Mon, 16 Jun 2008 14:44:13 +0200 Subject: Status process Message-ID: <4856601D.9050806@winxpert.com> Hi, how can I check a process is running via Nagios ? BR ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 16 14:46:32 2008 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Mon, 16 Jun 2008 07:46:32 -0500 Subject: Status process In-Reply-To: <4856601D.9050806@winxpert.com> References: <4856601D.9050806@winxpert.com> Message-ID: Use check_procs Example check_procs -w 1 -c 2 -C /apps/sybase/sybase11/bin/backupserver -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Luc MAIGNAN Sent: Monday, June 16, 2008 7:44 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Status process Hi, how can I check a process is running via Nagios ? BR ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From emanuel.massano at fccn.pt Mon Jun 16 14:52:09 2008 From: emanuel.massano at fccn.pt (Emanuel Massano) Date: Mon, 16 Jun 2008 13:52:09 +0100 Subject: About check_udp plugin In-Reply-To: <200806161203.AA02334@S2005110.jp.fujitsu.com> References: <200806161203.AA02334@S2005110.jp.fujitsu.com> Message-ID: <485661F9.1040706@fccn.pt> Hi, The SNMP service only answers to well formated SNMP requests, with the correct community set, so you can't check SNMP service with UDP check because it doesn't send an SNMP request. You must use check_snmp. Regards, Emanuel Massano Yu Watanabe wrote: > Hello All, > > I would like to get an advice with check_udp plugin. > > I would like to check the snmp port (161) of the remote host. > Following is the command that I have executed from the command line. > > [root at GWkensyo libexec]# ./check_udp -V > check_udp v1729 (nagios-plugins 1.4.10) > > But the result looks not good. > > [root at GWkensyo libexec]# ./check_udp -v -H 192.168.225.85 -p 161 -s "04 06 70 75 62 6c 69 63 a1 19 02 04 40 64 18 b9 > 02 01 00 02 01 00 3 > 0 0b 30 09 06 05 2b 06 01 02 01 05 00" -e "" > Using service UDP > Port: 161 > flags: 0x2 > Send string: 04 06 70 75 62 6c 69 63 a1 19 02 04 40 64 18 b9 02 01 00 02 01 00 30 0b 30 09 06 05 2b 06 01 02 01 05 00 > server_expect_count: 1 > 0: > CRITICAL - Socket timeout after 10 seconds > > I have tried to send get request to the remote server to fetch the data of > .1.3.6.1.2.1. but there wasn't any response. > > The data was successfully fetched using the snmpwalk command. And > also, I have confirmed that the port was open on the remote machine. > > [root at essen tmp]# netstat -an | grep 161 > udp 0 0 0.0.0.0:161 0.0.0.0:* > unix 3 [ ] STREAM CONNECTED 28103161 /var/lib/mysql/mysql.sock > unix 3 [ ] STREAM CONNECTED 28099161 /var/lib/mysql/mysql.sock > > How does everyone generally specify the arguments of the check_udp > to confirm the 161 port ? > > Any help will be helpful ! > > Best Regards, > Yu Watanabe > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From k.proskurin at fxclub.org Mon Jun 16 16:02:45 2008 From: k.proskurin at fxclub.org (Proskurin Kirill) Date: Mon, 16 Jun 2008 18:02:45 +0400 Subject: Service dependence In-Reply-To: <48562B9F.8090905@vanderkooij.org> References: <484E6564.6020808@fxclub.org> <48560932.8040603@fxclub.org> <485616B7.9070503@pictura-dp.nl> <4856298A.4090203@fxclub.org> <48562B9F.8090905@vanderkooij.org> Message-ID: <48567285.8060702@fxclub.org> Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Proskurin Kirill wrote: > | > | define servicedependency{ > | host_name host1 > | service_description Check RBL > | dependent_host_name host1 > | dependent_service_description PING > | execution_failure_criteria w,u,c > | notification_failure_criteria w,u,c > | } > | > | > | As im understand IF service Check RBL on host1 will be critical - > | service PING will be critical too? But nofing happend. > > No. It will mean that any depeding service will go to unreachable > instead of critical. > > So if you do not notify on unreachable services you will not be swarmed > with critical alerts. > > And the usage of whitespaces should be avoided to prevent mismatches. > Thank you for respond. 1) It is will be seen on nagios what service is unreachable? Colors, messages? Then im do it on my test nagios - nothing is happend. 2) In my top post im ask this: Im want to make this thing: If check_alive service is critical(host is down) - do not check any service on that host and *mark* it as critical. And the same thing - if one service on remote host is critical - *mark* as critical other service. And, if it is possible, log to "Status Information" field what service1 critical because service2 is critical. For example: If check_mysql on host1 - critical Mark as critical check_http on host2. Status Information: "check_mysql on host1 - critical" It is possible? -- Best regards, Proskurin Kirill ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 16 17:02:58 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 16 Jun 2008 16:02:58 +0100 Subject: How to monitor windows software raid In-Reply-To: <200806161441.03871.me@renux.de> References: <200806161441.03871.me@renux.de> Message-ID: <485680A2.3050109@googlemail.com> Rene Fertig wrote: > Hello. > > Can someone tell me how to check a software raid on a windows server? I can't > find anything - am I blind? > > Greetings, > > Rene > > Have you checked NagiosExchange.org? I didn't see anything but then I didn't look too closely. Otherwise you could just write one. VBS is an easy language and universal enough for this. I'd write this in fact, if I had any servers poor enough to have windows software raid... -h -- Hari Sekhon ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webknowledge at gmail.com Mon Jun 16 17:14:57 2008 From: webknowledge at gmail.com (Marcel) Date: Mon, 16 Jun 2008 12:14:57 -0300 Subject: nagios.cmd denial of service Message-ID: <2dfcbd1b0806160814j7612b5cah48bcac24e812d5c9@mail.gmail.com> Hi list, I'm a huge nagios fan, using it about 3 years now. Need to know how to get around a problem. This is for my central nagios instance alone. (nagios 2.9 + ndomod) The problem appears to be related to the number of passive result checks being cached at CHKBUF variables. When the problem occurs, USEDCHKBUF=HIGHCHKBUF=TOTALCHKBUF=40960(40KB), then a restart would bring back Nagios to it's normal operation. Also, for diagnostic's relevancy sake, it was found that a malign script was flooding Nagios with 450 to 500 passive check results per minute. If I'm making the correct assertions, Nagios configured with command_check_interval=-1, and with LOTS of passive checks coming through nagios.cmd, there is a conjunction of factors still unknown to me that causes Nagios to hang, perhaps because of Nagios not being able to reaper services frequently enough (service_reaper_frequency=1. Could not set it to 0, though), Nagios CMD Buffers remains stable, not reaching TOTBUFs, and not increasing HIGHBUFs. As a initial troubleshooting, I've unset sleep_time variable. Could it be done to service_reaper_frequency as well or it would use default values? Well, I'm just writing this down to see if someone had the same problems regarding CHKBUFs not being consumed. Thanks you in advance, Marcel Mitsuto. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rsmall at ireit.com Mon Jun 16 17:14:54 2008 From: rsmall at ireit.com (ROBERT SMALL) Date: Mon, 16 Jun 2008 10:14:54 -0500 Subject: Nagios v3 & email being sent to $ In-Reply-To: References: Message-ID: As a new note, I nuked the /var/spool/nagios/dead.letter this morning, and just looked at it again. The vast majority of emails there (all of 'em addressed to $) are for hosts/services that we have notifications disabled. Robert On 6/14/08 9:35 AM, "ROBERT SMALL" wrote: > No, nothing strange, I sent my contacts to some of the other admins at the > office and they all said they were fine. This is happing on both of my > nagios boxes... > > > On 6/13/08 3:49 PM, "Marc Powell" wrote: > >> >> On Jun 13, 2008, at 1:24 PM, ROBERT SMALL wrote: >> >>> Other than changing the ?***** Nagios ***** to ***** Nagios 1 ***** >>> I haven?t made any changes to the notifications, in fact, I copied >>> and pasted it out of the samples to make sure. >>> >>> Thanks!!! >>> >>> >>> # 'notify-host-by-email' command definition >>> >> >>> # 'notify-service-by-email' command definition >> >> $CONTACTEMAIL$ comes from the email parameter of the contact{} >> definitions. Anything unusual about any of those? Do they follow >> standard e-mail address conventions? >> >> -- >> Marc >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 17:43:29 2008 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Mon, 16 Jun 2008 15:43:29 +0000 (GMT) Subject: How to monitor windows software raid Message-ID: <325727.33651.qm@web23305.mail.ird.yahoo.com> What hardware vendor is your window server? If it is a Dell server you can use dell openmanage from www.dell.com configure openmanage to communicate to nagios via snmp with check dell openmanage from http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1437.html;d=1 ----- Original Message ---- From: Rene Fertig To: nagios-users at lists.sourceforge.net Sent: Monday, 16 June, 2008 1:41:03 PM Subject: [Nagios-users] How to monitor windows software raid Hello. Can someone tell me how to check a software raid on a windows server? I can't find anything - am I blind? Greetings, Rene -- -- Tipps & Tricks f?r Linux, MySQL & Webdesign -> http://home.telebel.de/~referti/blog/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.maignan at winxpert.com Mon Jun 16 17:50:21 2008 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Mon, 16 Jun 2008 17:50:21 +0200 Subject: SMS notifications Message-ID: <48568BBD.50402@winxpert.com> Hi, I know this is a recurrent question, but I'm sure all solutions are not available on all countries while sending SMS depends on countries operators . So I am in France and I want to send SMS notifications via Nagios when a critical (and only critical) state of a service is reached. Does anyone know a solution for France ? BR ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.maignan at winxpert.com Mon Jun 16 17:53:16 2008 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Mon, 16 Jun 2008 17:53:16 +0200 Subject: check_bacula via check_by_ssh issue Message-ID: <48568C6C.8070005@winxpert.com> HI, I use the check_bacula plugin to test the status of bacula backups. I use it via check_by_ssh plugin to connect to bacula server, but it doesn't seem to return good values. On the bacula server : check_bacula -F bacula.log returns : OK - Backups: 7 Backups completed successfull On the nagios server : check_by_ssh -H baculaserver -C "check_bacula -F bacula.log" returns : OK - Backups: 0 Backups completed successfull Any idea ? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 18:01:00 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 16 Jun 2008 18:01:00 +0200 Subject: SMS notifications In-Reply-To: <48568BBD.50402@winxpert.com> References: <48568BBD.50402@winxpert.com> Message-ID: <48568E3C.6080005@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Luc MAIGNAN wrote: | I know this is a recurrent question, but I'm sure all solutions are not | available on all countries while sending SMS depends on countries | operators . | | So I am in France and I want to send SMS notifications via Nagios when a | critical (and only critical) state of a service is reached. | | Does anyone know a solution for France ? Contact your network operator for the info about their email to SMS gateway. 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) iD8DBQFIVo44BvzDRVjxmYERAq8KAJ9DO44Ss6OSQL40BeUj2zWxX9150wCfTQ9w L6pDzVSnVWWIX4QqKpyr4hs= =+G7f -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 18:04:53 2008 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Mon, 16 Jun 2008 16:04:53 +0000 (GMT) Subject: nagios flapping notification Message-ID: <989783.55663.qm@web23314.mail.ird.yahoo.com> I have enabled "flapping notification option". However i still did not received any flapping notification alert. Can you help? please ----- Original Message ---- From: Marc Powell To: nagios-user Sent: Monday, 16 June, 2008 12:58:52 PM Subject: Re: [Nagios-users] nagios flapping notification On Jun 16, 2008, at 6:05 AM, trevor obba wrote: > I am running nagios 2.5, I have just enabled host flapping however > when a host is flapping my nagios webpage shows that the host is > flapping but I do not get a notification alert informing me that a > host is flapping. > > How can i, configure nagios to send a notification alert informing > me that a host is flapping? > > Can you help? please Documentation -> Object Definitions -> Host definitions/Contact definitions -> Notification options. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.maignan at winxpert.com Mon Jun 16 18:06:15 2008 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Mon, 16 Jun 2008 18:06:15 +0200 Subject: SMS notifications In-Reply-To: <48568E3C.6080005@vanderkooij.org> References: <48568BBD.50402@winxpert.com> <48568E3C.6080005@vanderkooij.org> Message-ID: <48568F77.8030809@winxpert.com> Isn't there a free way to send SMS via Nagios ? Hugo van der Kooij a ?crit : > Luc MAIGNAN wrote: > > | I know this is a recurrent question, but I'm sure all solutions are not > | available on all countries while sending SMS depends on countries > | operators . > | > | So I am in France and I want to send SMS notifications via Nagios when a > | critical (and only critical) state of a service is reached. > | > | Does anyone know a solution for France ? > > Contact your network operator for the info about their email to SMS > gateway. > > Hugo. > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 16 18:16:47 2008 From: marc at ena.com (Marc Powell) Date: Mon, 16 Jun 2008 11:16:47 -0500 Subject: check_bacula via check_by_ssh issue In-Reply-To: <48568C6C.8070005@winxpert.com> References: <48568C6C.8070005@winxpert.com> Message-ID: On Jun 16, 2008, at 10:53 AM, Luc MAIGNAN wrote: > HI, > > I use the check_bacula plugin to test the status of bacula backups. I > use it via check_by_ssh plugin to connect to bacula server, but it > doesn't seem to return good values. > > > On the bacula server : > check_bacula -F bacula.log returns : OK - Backups: 7 Backups > completed successfull Are you running this test as the nagios user on that machine? I don't know which of the check_bacula scripts you are running but it seems likely to be either a permissions issue or an environment issue. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 16 18:17:42 2008 From: marc at ena.com (Marc Powell) Date: Mon, 16 Jun 2008 11:17:42 -0500 Subject: nagios flapping notification In-Reply-To: <989783.55663.qm@web23314.mail.ird.yahoo.com> References: <989783.55663.qm@web23314.mail.ird.yahoo.com> Message-ID: On Jun 16, 2008, at 11:04 AM, trevor obba wrote: > I have enabled "flapping notification option". However i still did > not received any flapping notification alert. How did you enable it, exactly. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 16 18:18:59 2008 From: marc at ena.com (Marc Powell) Date: Mon, 16 Jun 2008 11:18:59 -0500 Subject: SMS notifications In-Reply-To: <48568F77.8030809@winxpert.com> References: <48568BBD.50402@winxpert.com> <48568E3C.6080005@vanderkooij.org> <48568F77.8030809@winxpert.com> Message-ID: On Jun 16, 2008, at 11:06 AM, Luc MAIGNAN wrote: > Isn't there a free way to send SMS via Nagios ? Most cell phone companies have an e-mail -> sms gateway service. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.maignan at winxpert.com Mon Jun 16 18:22:10 2008 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Mon, 16 Jun 2008 18:22:10 +0200 Subject: check_bacula via check_by_ssh issue In-Reply-To: References: <48568C6C.8070005@winxpert.com> Message-ID: <48569332.1050307@winxpert.com> Yes , to be in the same environment than check_by_ssh, I've made the test with the nagios user Marc Powell a ?crit : > On Jun 16, 2008, at 10:53 AM, Luc MAIGNAN wrote: > > >> HI, >> >> I use the check_bacula plugin to test the status of bacula backups. I >> use it via check_by_ssh plugin to connect to bacula server, but it >> doesn't seem to return good values. >> >> >> On the bacula server : >> check_bacula -F bacula.log returns : OK - Backups: 7 Backups >> completed successfull >> > > Are you running this test as the nagios user on that machine? I don't > know which of the check_bacula scripts you are running but it seems > likely to be either a permissions issue or an environment issue. > > -- > Marc > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Mon Jun 16 18:40:07 2008 From: mirde at oppy.com (Mirza Dedic) Date: Mon, 16 Jun 2008 09:40:07 -0700 Subject: Alternative Notification Method for a Backup Message-ID: Hello, I am looking at best practices to implement a 2nd alternative notification method that Nagios could use incase our office "internet" is down so that we still receive those messages? If the internet is down, the outside world would not be able to login to their email systems to see the nagios warnings. What would be an alternative to this? We do have a 2nd ISP in the office as a alternative (it is used to test stuff bypassing all the H/W & S/W firewalls & security) that I could use, but how do you configure or tell Nagios to send notifications through that to a specific outside-of-our-servers mailbox? (ex, gmail?). Thanks. Mirza Dedic Jr. Technical Analyst - The Oppenheimer Group Office #(604) 461-6779 : Cell #(778) 895-8950 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 18:49:32 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 16 Jun 2008 18:49:32 +0200 Subject: check_bacula via check_by_ssh issue In-Reply-To: <48569332.1050307@winxpert.com> References: <48568C6C.8070005@winxpert.com> <48569332.1050307@winxpert.com> Message-ID: <4856999C.9030402@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Luc MAIGNAN wrote: | Yes , to be in the same environment than check_by_ssh, I've made the | test with the nagios user Except that you do not have the same environment. So I guess your path is not equal. 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) iD8DBQFIVpmaBvzDRVjxmYERAnvzAJ4/f8H+1JLfUoflr5TVNy5i6BMezACeOnaZ /tyxXexrDLTGoXlaODvgCrY= =0ivC -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 20:21:28 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 16 Jun 2008 11:21:28 -0700 Subject: Alternative Notification Method for a Backup In-Reply-To: References: Message-ID: <20080616182128.GR7191@bakgwai.americas.hpqcorp.net> On Mon, 16 Jun 2008, Mirza Dedic wrote: > We do have a 2nd ISP in the office as a alternative (it is used to test stuff bypassing all the H/W & S/W firewalls & security) that I could use, but how do you configure or tell Nagios to send notifications through that to a specific outside-of-our-servers mailbox? (ex, gmail?). You wouldn't configure Nagios to do that; you'd configure your mailer. How you would do that depends which you're using, and you haven't told us. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Mon Jun 16 20:27:28 2008 From: mirde at oppy.com (Mirza Dedic) Date: Mon, 16 Jun 2008 11:27:28 -0700 Subject: Alternative Notification Method for a Backup In-Reply-To: <20080616182128.GR7191@bakgwai.americas.hpqcorp.net> References: <20080616182128.GR7191@bakgwai.americas.hpqcorp.net> Message-ID: Hello, I will be using sendmail on the box that Nagios is running and it will be relaying emails to our Exchange Server. -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: June/16/2008 11:21 AM To: Mirza Dedic Cc: 'nagios Users Mailinglist' Subject: Re: [Nagios-users] Alternative Notification Method for a Backup On Mon, 16 Jun 2008, Mirza Dedic wrote: > We do have a 2nd ISP in the office as a alternative (it is used to test stuff bypassing all the H/W & S/W firewalls & security) that I could use, but how do you configure or tell Nagios to send notifications through that to a specific outside-of-our-servers mailbox? (ex, gmail?). You wouldn't configure Nagios to do that; you'd configure your mailer. How you would do that depends which you're using, and you haven't told us. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 16 20:42:59 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 16 Jun 2008 11:42:59 -0700 Subject: Alternative Notification Method for a Backup In-Reply-To: References: <20080616182128.GR7191@bakgwai.americas.hpqcorp.net> Message-ID: <20080616184259.GS7191@bakgwai.americas.hpqcorp.net> On Mon, 16 Jun 2008, Mirza Dedic wrote: > Hello, > > I will be using sendmail on the box that Nagios is running and it will be relaying emails to our Exchange Server. > > -----Original Message----- > From: Patrick Morris [mailto:patrick.morris at hp.com] > Sent: June/16/2008 11:21 AM > To: Mirza Dedic > Cc: 'nagios Users Mailinglist' > Subject: Re: [Nagios-users] Alternative Notification Method for a Backup > > On Mon, 16 Jun 2008, Mirza Dedic wrote: > > > We do have a 2nd ISP in the office as a alternative (it is used to test stuff bypassing all the H/W & S/W firewalls & security) that I could use, but how do you configure or tell Nagios to send notifications through that to a specific outside-of-our-servers mailbox? (ex, gmail?). > > You wouldn't configure Nagios to do that; you'd configure your mailer. > How you would do that depends which you're using, and you haven't told > us. If it'll be relaying all mail to Exchange, then you'll need to configure Exchange to do it. If Sendmail were relaying out directly you could use a mailertable entry to direct mail to certain addresses through alternate relays and then route to those relays over your secondary connection, but I don't know how you'd do that with Exchange. > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 16 20:48:36 2008 From: marc at ena.com (Marc Powell) Date: Mon, 16 Jun 2008 13:48:36 -0500 Subject: check_bacula via check_by_ssh issue In-Reply-To: <48569332.1050307@winxpert.com> References: <48568C6C.8070005@winxpert.com> <48569332.1050307@winxpert.com> Message-ID: <7D1C9334-91CF-4617-A096-F60EDA456DEA@ena.com> On Jun 16, 2008, at 11:22 AM, Luc MAIGNAN wrote: > Yes , to be in the same environment than check_by_ssh, I've made the > test with the nagios user I'd guess then that it's some environment difference between having a login shell and not. The capture_plugin.pl wrapper will likely be useful to you (http://www.waggy.at/nagios/capture_plugin.htm). Be sure to wrap check_bacula, not check_by_ssh. If that doesn't lead you to a solution, it would be helpful for us to know which check_bacula you are using so we can determine what it's doing. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 scott-ackerman.com Tue Jun 17 00:19:02 2008 From: lists at scott-ackerman.com (Scott Ackerman) Date: Mon, 16 Jun 2008 16:19:02 -0600 Subject: Newbie Trouble Message-ID: No, that doesn't mean that "newbies" are trouble (at least I don't think so). Just installed Nagios 3.02 on CentOS 5.1 everything went fine, the "preflight" checked out ok. But I get the following message when I go to the "Service Detail" menu: Error: Could not read host and service status information!. Now if I look at the event log file I see the following: [06-16-2008 15:31:06] Bailing out due to errors encountered while trying to initialize the external command file... (PID=24983) [06-16-2008 15:31:06] Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (2) -> No such file or directory. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file. [06-16-2008 15:31:06] Finished daemonizing... (New PID=24983) [06-16-2008 15:31:06] LOG VERSION: 2.0 [06-16-2008 15:31:06] Local time is Mon Jun 16 15:31:06 MDT 2008 [06-16-2008 15:31:06] Nagios 3.0.2 starting... (PID=24982) Now the interesting thing is that the above referenced file does not in fact exist, in fact there is no /rw directory. Do I need to create the directory? Scott Ackerman 1212 Baker Street Fort Collins, Colorado 80524 Office - (970) 689-3999 Cell - (970) 231-9035 Fax - (888) 290-2131 www.us-able.com "Design is not just what it looks like and feels like. Design is how it works" - Steve Jobs -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 17 00:50:40 2008 From: marc at ena.com (Marc Powell) Date: Mon, 16 Jun 2008 17:50:40 -0500 Subject: Newbie Trouble In-Reply-To: References: Message-ID: <1A1E1143-0001-4178-A34D-F64D2F347CB9@ena.com> On Jun 16, 2008, at 5:19 PM, Scott Ackerman wrote: > > Now the interesting thing is that the above referenced file does not > in fact exist, in fact there is no /rw directory. Do I need to > create the directory? Run 'make install-commandmode' from the compiled source directory. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Tue Jun 17 00:53:11 2008 From: mirde at oppy.com (Mirza Dedic) Date: Mon, 16 Jun 2008 15:53:11 -0700 Subject: Alternative Notification Method for a Backup In-Reply-To: References: <20080616182128.GR7191@bakgwai.americas.hpqcorp.net> Message-ID: I have thought this over and I think the original method I was looking for is either flawed or would be rather very difficult to setup as the 2nd ISP is not physically connected to our LAN unless you manually make a switch in the server room (which defeats the purpose). However, we do have MPLS links to other offices/servers that have their own ISPs. A way to monitor internet connectivity on our main location would be to setup a Nagios server there and run check scripts in our main office that try to pull stuff from the net. Then send an SMTP email using that office's ISP to an external mailbox/SMS gateway to reach the admins. I plan to stick with that idea unless someone has a simpler more centralized solution for this to avoid a 2nd nagios/mailer setup? Thanks. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mirza Dedic Sent: June/16/2008 11:27 AM To: 'Patrick Morris' Cc: 'nagios Users Mailinglist' Subject: Re: [Nagios-users] Alternative Notification Method for a Backup Hello, I will be using sendmail on the box that Nagios is running and it will be relaying emails to our Exchange Server. -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: June/16/2008 11:21 AM To: Mirza Dedic Cc: 'nagios Users Mailinglist' Subject: Re: [Nagios-users] Alternative Notification Method for a Backup On Mon, 16 Jun 2008, Mirza Dedic wrote: > We do have a 2nd ISP in the office as a alternative (it is used to test stuff bypassing all the H/W & S/W firewalls & security) that I could use, but how do you configure or tell Nagios to send notifications through that to a specific outside-of-our-servers mailbox? (ex, gmail?). You wouldn't configure Nagios to do that; you'd configure your mailer. How you would do that depends which you're using, and you haven't told us. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Tue Jun 17 02:49:56 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Mon, 16 Jun 2008 16:49:56 -0800 Subject: SMS notifications In-Reply-To: References: <48568e3c.6080005@vanderkooij.org> <48568bbd.50402@winxpert.com> <48568f77.8030809@winxpert.com> Message-ID: I actually face the same issue here in Malaysia. The provider has an email -> sms gateway service, which can be activated and received for free...but they charge you MYR 0.15 per sms when you open the email on your phone :) Just some more global input... Izz > -----Original Message----- > From: marc at ena.com > Sent: Mon, 16 Jun 2008 11:18:59 -0500 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] SMS notifications > > > On Jun 16, 2008, at 11:06 AM, Luc MAIGNAN wrote: > >> Isn't there a free way to send SMS via Nagios ? > > Most cell phone companies have an e-mail -> sms gateway service. > > -- > Marc > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ____________________________________________________________ GET FREE 5GB EMAIL - Check out spam free email with many cool features! Visit http://www.inbox.com/email to find out more! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.watanabe at jp.fujitsu.com Tue Jun 17 03:04:17 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 17 Jun 2008 10:04:17 +0900 Subject: About check_udp plugin In-Reply-To: <485661F9.1040706@fccn.pt> References: <485661F9.1040706@fccn.pt> Message-ID: <200806170104.AA02335@S2005110.jp.fujitsu.com> Hello, I used the check_udp service , like check_tcp, to check whether the 161 is useful or not. Is this not the write way to use it ? Best Regards, Yu Watanabe Emanuel Massano ????????: >Hi, > >The SNMP service only answers to well formated SNMP requests, with the >correct community set, so you can't check SNMP service with UDP check >because it doesn't send an SNMP request. You must use check_snmp. > >Regards, >Emanuel Massano > > >Yu Watanabe wrote: >> Hello All, >> >> I would like to get an advice with check_udp plugin. >> >> I would like to check the snmp port (161) of the remote host. >> Following is the command that I have executed from the command line. >> >> [root at GWkensyo libexec]# ./check_udp -V >> check_udp v1729 (nagios-plugins 1.4.10) >> >> But the result looks not good. >> >> [root at GWkensyo libexec]# ./check_udp -v -H 192.168.225.85 -p 161 -s "04 06 70 75 62 6c 69 63 a1 19 02 04 40 64 18 b9 >> 02 01 00 02 01 00 3 >> 0 0b 30 09 06 05 2b 06 01 02 01 05 00" -e "" >> Using service UDP >> Port: 161 >> flags: 0x2 >> Send string: 04 06 70 75 62 6c 69 63 a1 19 02 04 40 64 18 b9 02 01 00 02 01 00 30 0b 30 09 06 05 2b 06 01 02 01 05 00 >> server_expect_count: 1 >> 0: >> CRITICAL - Socket timeout after 10 seconds >> >> I have tried to send get request to the remote server to fetch the data of >> .1.3.6.1.2.1. but there wasn't any response. >> >> The data was successfully fetched using the snmpwalk command. And >> also, I have confirmed that the port was open on the remote machine. >> >> [root at essen tmp]# netstat -an | grep 161 >> udp 0 0 0.0.0.0:161 0.0.0.0:* >> unix 3 [ ] STREAM CONNECTED 28103161 /var/lib/mysql/mysql.sock >> unix 3 [ ] STREAM CONNECTED 28099161 /var/lib/mysql/mysql.sock >> >> How does everyone generally specify the arguments of the check_udp >> to confirm the 161 port ? >> >> Any help will be helpful ! >> >> Best Regards, >> Yu Watanabe >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > ************************************************************ FUJITSU SOCIAL SCIENCE LABORATORY LIMITED(FUJITSU SSL) System Infrastructure Development Department Telecom Systems Business Group 2 Yu Watanabe E-Mail :?yu.watanabe at jp.fujitsu.com Phone : 044-739-1427 +5283 / 7166-5283 ************************************************************ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 17 03:57:33 2008 From: marc at ena.com (Marc Powell) Date: Mon, 16 Jun 2008 20:57:33 -0500 Subject: About check_udp plugin In-Reply-To: <200806170104.AA02335@S2005110.jp.fujitsu.com> References: <485661F9.1040706@fccn.pt> <200806170104.AA02335@S2005110.jp.fujitsu.com> Message-ID: On Jun 16, 2008, at 8:04 PM, Yu Watanabe wrote: > Hello, > > I used the check_udp service , like check_tcp, to check whether the > 161 is useful or not. > Is this not the write way to use it ? It depends on what you consider useful. It's entirely possible for a port to establish a connection but not actually be working at higher levels (i.e. answering queries). In your case, you've only determined that there's something listening on the port, not that it's snmpd, actually working or returning data you expect. IMHO, if there's a higher level test that's possible like check_snmp in this case, that will be a more accurate and useful test. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felderado at gmail.com Tue Jun 17 04:28:23 2008 From: felderado at gmail.com (Mark Felder) Date: Mon, 16 Jun 2008 21:28:23 -0500 Subject: Problem: Server is UP?? Message-ID: <55d470b90806161928h40e7fc9av606e5419cae19072@mail.gmail.com> I really need some help with this guys. My setup was working for the longest time and I can't think of any changes made to it that would cause this behavior. I get random (and quite annoying!) Nagios alerts that say "Problem: $SERVER is UP!" (with the actual host name) or sometimes it just literally says "Problem: HOST is UP". Note, this only happens during my off hours time. I've never seen this during the day. I'm running Nagios on Debian Etch and I've tried version 3.02 from the backports and that had the same issue. It has to be my config but I can't figure out for the life of me what it could possibly be! Any help you can give me will be SO much appreciated! I'm going to attach my configs. Thanks everyone. Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.tar.gz Type: application/x-gzip Size: 19754 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 17 08:27:04 2008 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 17 Jun 2008 18:27:04 +1200 Subject: Problem: Server is UP?? In-Reply-To: <55d470b90806161928h40e7fc9av606e5419cae19072@mail.gmail.com> References: <55d470b90806161928h40e7fc9av606e5419cae19072@mail.gmail.com> Message-ID: <6B587E8C999646469B54486AF219584602D2130A2A@UXCHANGE7-1.UoA.auckland.ac.nz> > I really need some help with this guys. My setup was working for the > longest time and I can't think of any changes made to it that would > cause this behavior. I get random (and quite annoying!) Nagios alerts > that say "Problem: $SERVER is UP!" (with the actual host name) or > sometimes it just literally says "Problem: HOST is UP". Note, this > only happens during my off hours time. I've never seen this during the > day. You have probably configured your contact details to send a RECOVERY alert for hosts when it is out of hours. This means you will get a 'host is UP' alert when the host status changes to UP. Your message format probably prepends the 'Problem: ' to it. Admittedly your configuration doesn't look like this is there. I suppose you should check the message header and make sure it really originated on your host, and check you don't have two versions of Nagios running (did you have and old or test instance set up that might be sending these emails?) Steve ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 17 08:31:25 2008 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 17 Jun 2008 18:31:25 +1200 Subject: SMS notifications In-Reply-To: References: <48568e3c.6080005@vanderkooij.org> <48568bbd.50402@winxpert.com> <48568f77.8030809@winxpert.com> Message-ID: <6B587E8C999646469B54486AF219584602D2130A2B@UXCHANGE7-1.UoA.auckland.ac.nz> > > On Jun 16, 2008, at 11:06 AM, Luc MAIGNAN wrote: > > > >> Isn't there a free way to send SMS via Nagios ? > > > > Most cell phone companies have an e-mail -> sms gateway service. > > Count yourselves lucky, here in New Zealand they charge you to use it in either direction. You need to pay to allow people to email your phone, and/or you need to pay to allow yourself to email to SMS. New Zealand mobile operators really screw the customer. Prices are astronomical compared to Europe or the USA. The cheapest way for us was to get a phone and connect it to a linux box making our own email to SMS gateway. Of course, you mustn't tell the phone company you're doing this or else they want to charge you on a different (much higher) billing plan... Steve ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yaniv.fer at gmail.com Tue Jun 17 08:58:03 2008 From: yaniv.fer at gmail.com (Yaniv) Date: Tue, 17 Jun 2008 09:58:03 +0300 Subject: SMS notifications In-Reply-To: <6B587E8C999646469B54486AF219584602D2130A2B@UXCHANGE7-1.UoA.auckland.ac.nz> References: <48568e3c.6080005@vanderkooij.org> <48568bbd.50402@winxpert.com> <48568f77.8030809@winxpert.com> <6B587E8C999646469B54486AF219584602D2130A2B@UXCHANGE7-1.UoA.auckland.ac.nz> Message-ID: <48576093.0886460a.5ec3.6ea0@mx.google.com> For free sms you can use icq sms (if available for your country) I have connected a cell phone (nokia) to a windows xp box... Installed nokia pc suit Installed Microsoft sms sender Enabled telnet on the windows box Created a BAT file with the sms sender syntax Used BAT2EXE to convert the file to exe Created a expect script on the linux BOX to telnet to the windows and execute the sms script. My opinion is that using a cell phone is better than some external SMS gateway... Because if your internet fails.. how will you reach the external SMS gateway? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Steve Shipway Sent: Tuesday, June 17, 2008 09:31 To: 'Nagios Users Mailinglist' Subject: Re: [Nagios-users] SMS notifications > > On Jun 16, 2008, at 11:06 AM, Luc MAIGNAN wrote: > > > >> Isn't there a free way to send SMS via Nagios ? > > > > Most cell phone companies have an e-mail -> sms gateway service. > > Count yourselves lucky, here in New Zealand they charge you to use it in either direction. You need to pay to allow people to email your phone, and/or you need to pay to allow yourself to email to SMS. New Zealand mobile operators really screw the customer. Prices are astronomical compared to Europe or the USA. The cheapest way for us was to get a phone and connect it to a linux box making our own email to SMS gateway. Of course, you mustn't tell the phone company you're doing this or else they want to charge you on a different (much higher) billing plan... Steve ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. Version: 8.0.100 / Virus Database: 270.3.0/1505 - Release Date: 16/06/2008 07:20 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Tue Jun 17 09:25:02 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Tue, 17 Jun 2008 09:25:02 +0200 Subject: Antwort: Problem: Server is UP?? In-Reply-To: <55d470b90806161928h40e7fc9av606e5419cae19072@mail.gmail.com> References: <55d470b90806161928h40e7fc9av606e5419cae19072@mail.gmail.com> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 17.06.2008 04:28:23: > I really need some help with this guys. My setup was working for the > longest time and I can't think of any changes made to it that would > cause this behavior. I get random (and quite annoying!) Nagios alerts > that say "Problem: $SERVER is UP!" (with the actual host name) or > sometimes it just literally says "Problem: HOST is UP". Note, this > only happens during my off hours time. I've never seen this during the > day. I'm running Nagios on Debian Etch and I've tried version 3.02 > from the backports and that had the same issue. It has to be my config > but I can't figure out for the life of me what it could possibly be! > > Any help you can give me will be SO much appreciated! > > I'm going to attach my configs. Thanks everyone. After looking throgh the config, I cannot find any culprits which would cause such behaviour. Maybe you have some bogus notification commands? The "Problem: ... is UP" doesn't seem to make sense to me and does not correspond to the default configuration. Recovery alerts shold start with "Recovery: ..." Please post your host-notify-by-email command definitions. Regards Sascha -- Sascha Runschke Netzwerk- und Systemmanagement Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me at renux.de Tue Jun 17 09:32:56 2008 From: me at renux.de (Rene Fertig) Date: Tue, 17 Jun 2008 09:32:56 +0200 Subject: How to monitor windows software raid In-Reply-To: <485680A2.3050109@googlemail.com> References: <200806161441.03871.me@renux.de> <485680A2.3050109@googlemail.com> Message-ID: <200806170932.58021.me@renux.de> Hello Hari. > Have you checked NagiosExchange.org? I didn't see anything but then I > didn't look too closely. Otherwise you could just write one. VBS is an > easy language and universal enough for this. I'd write this in fact, if > I had any servers poor enough to have windows software raid... Of cause I've checked NagiosExchange, but there are only plugins for hardware raids. I've found a VB script which uses DISKPART (http://www.anchor.com.au/hosting/dedicated/monitoring_windows_software_raid). Unfortunately DISKPART didn't work on Windows 2000 (only Win 2000 Pro, Win 2000 server, Win 2003 ...) But I've got a list of event IDs so I can monitor the event log and do passive checks - more than nothing... Greetings, Rene -- -- Tipps & Tricks f?r Linux, MySQL & Webdesign -> http://home.telebel.de/~referti/blog/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reiner.huober.ext at nsn.com Tue Jun 17 10:17:53 2008 From: reiner.huober.ext at nsn.com (Huober, Reiner (EXT-Other - DE/Munich)) Date: Tue, 17 Jun 2008 10:17:53 +0200 Subject: Problem with timeperiods with exact days (Nagios 3.0) Message-ID: <5FB585F183235B42A9E70095055136FBA7FE90@DEMUEXC012.nsn-intra.net> Hello, I am using nagios-3.0 (with a patched trends.cgi from 3.0.1). Yesterday, I added easter dates to german holidays (etc/objects/timeperiods.cfg): define timeperiod{ name de-holidays timeperiod_name de-holidays alias German Holidays january 1 00:00-00:00 ; Neujahr january 6 00:00-00:00 ; Heilige drei Koenige may 1 00:00-00:00 ; Maifeiertag october 3 00:00-00:00 ; Tag d. dt. Einheit november 1 00:00-00:00 ; Allerheiligen december 25 00:00-00:00 ; 1. Weihnachtstag december 26 00:00-00:00 ; 2. Weihnachtstag 2009-04-10 00:00-00:00 ; Karfreitag 2009-04-13 00:00-00:00 ; Ostermontag 2009-05-21 00:00-00:00 ; Christi Himmelfahrt 2009-06-01 00:00-00:00 ; Pfingstmontag 2009-06-11 00:00-00:00 ; Fronleichnam ... (2010/2011/2012 added as well) } However, if I look in the WEB interface under "View Config ->Object Type: Timeperiods, I get a different list: Months are off by minus 2: de-holidays German Holidays ... ... 2009-04-11 00:00:00 - 00:00:00 2009-04-01 00:00:00 - 00:00:00 2009-03-21 00:00:00 - 00:00:00 2009-02-13 00:00:00 - 00:00:00 2009-02-10 00:00:00 - 00:00:00 (instead of 2009-06-11 appears 2009-04-11 a.s.o). Somethings is wrong here. I think the web interface should increment the internal representation by 1 (internal month 0-11 means jan-dec), but this does not explain the offset 2. According to the Changlog, I cannot see that this has been fixed in 3.0.2 (or has it). Regards, Reiner -- Reiner Huober (Extern) reiner.huober.ext at nsn.com +49(0)731 9533-1760 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 17 11:18:52 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 17 Jun 2008 10:18:52 +0100 Subject: How to monitor windows software raid In-Reply-To: <200806170932.58021.me@renux.de> References: <200806161441.03871.me@renux.de> <485680A2.3050109@googlemail.com> <200806170932.58021.me@renux.de> Message-ID: <4857817C.2080308@googlemail.com> Rene Fertig wrote: > Hello Hari. > > >> Have you checked NagiosExchange.org? I didn't see anything but then I >> didn't look too closely. Otherwise you could just write one. VBS is an >> easy language and universal enough for this. I'd write this in fact, if >> I had any servers poor enough to have windows software raid... >> > > Of cause I've checked NagiosExchange, but there are only plugins for hardware > raids. > > I've found a VB script which uses DISKPART > (http://www.anchor.com.au/hosting/dedicated/monitoring_windows_software_raid). > Unfortunately DISKPART didn't work on Windows 2000 (only Win 2000 Pro, Win > 2000 server, Win 2003 ...) > > But I've got a list of event IDs so I can monitor the event log and do passive > checks - more than nothing... > > Greetings, > > Rene > > If you can do vbs, it should be possible to do this without diskpart by using wmi classes. On the other hand, perhaps you can just consider this a legacy problem, after all Windows 2000 Server should be retired or at least on it's way out by now... -h -- Hari Sekhon ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 truthisfreedom.org.uk Tue Jun 17 14:13:37 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Tue, 17 Jun 2008 13:13:37 +0100 Subject: Monitoring large (ish) numbers of servers with exceptions to the rules... Message-ID: <20080617131337.6851b7ab@tclmmw.in.tiger-computing.com> Hi All, I currently help maintain and monitor around 50 servers across various parts of the UK using Nagios 2. At the moment, we have a configuration file for each host (%hostname%.cfg) and in that file we specify all the services for the named host. We are trying to reduce the number of configuration files as we take on more and more servers becuase there are a large number checks that we need to be rolled out to all servers and we feel that we are duplicating our workload. I'm open to ideas on how to achieve this however my thoughts were a setup along the lines of the following: - A "master" host template is created in which all services are defined for a host. - If a check does not need to be run for a given host (for example it is not a web server), a stanza is added to that particular host's config file that effectively tells nagios "don't check for this service on this host" I've tried defining all the services in a master templates file and this works perfectly however when I come to exclude certain services, I am at a loss on how to do it. Initially I tried adding a stanza with the same service name and "register 0" as one of the options, however this didn't work. We have used HostGroups in the past to achieve a similar goal, however we ran into the issue that whilst we need to check the CPU Usage on all of the servers, a few of the servers that we monitor can take a lot more of a beating than the majority. This lead to us defining the CPU checks on a per-host basis as if we defined it separately from the hostgroup for the more powerful servers we we presented with a load of errors regarding duplicate service names. I hope I've made myself clear on what we're after and I look forward to receiving your input on this. Kind regards, Matt -- Matt Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 17 14:22:58 2008 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Tue, 17 Jun 2008 13:22:58 +0100 Subject: Monitoring large (ish) numbers of servers with exceptions to the rules... In-Reply-To: <20080617131337.6851b7ab@tclmmw.in.tiger-computing.com> References: <20080617131337.6851b7ab@tclmmw.in.tiger-computing.com> Message-ID: > -----Original Message----- > From: nagios-users On Behalf Of Matthew Macdonald-Wallace > Sent: 17 June 2008 13:14 > > I currently help maintain and monitor around 50 servers across various > parts of the UK using Nagios 2. At the moment, we have a configuration > file for each host (%hostname%.cfg) and in that file we specify all the > services for the named host. > > We are trying to reduce the number of configuration files as we take on > more and more servers because there are a large number checks that we > need to be rolled out to all servers and we feel that we are > duplicating our workload. > > I'm open to ideas on how to achieve this however my thoughts were a > setup along the lines of the following: > > - A "master" host template is created in which all services are defined > for a host. > > - If a check does not need to be run for a given host (for example it > is not a web server), a stanza is added to that particular host's > config file that effectively tells nagios "don't check for this > service on this host" > > I've tried defining all the services in a master templates file and > this works perfectly however when I come to exclude certain services, I > am at a loss on how to do it. > > Initially I tried adding a stanza with the same service name and > "register 0" as one of the options, however this didn't work. > > We have used HostGroups in the past to achieve a similar goal, however > we ran into the issue that whilst we need to check the CPU Usage on all > of the servers, a few of the servers that we monitor can take a lot > more of a beating than the majority. This lead to us defining the CPU > checks on a per-host basis as if we defined it separately from the > hostgroup for the more powerful servers we presented with a load of > errors regarding duplicate service names. > > I hope I've made myself clear on what we're after and I look forward to > receiving your input on this. One thing that I use in the configuration that I maintain is to have something like this: define service{ use generic-hung-mounts hostgroup_name experiments hosts !lfc0448 contact_groups experiments } where "lcg0448" is a host in host group "experiments" and I want to apply the "generic-hung-mounts" check to all hosts in that group except for "lcg0448". This can lead to configuration like this: define service{ use check-pbs-offline hostgroup_name workers hosts !lcg0614,!lcg0617,!lcg0618,!lcg0626 contact_groups tier1a } define service{ use check-pbs-offline hosts lcg0614,lcg0617,lcg0618,lcg0626 contact_groups tier1a,grid-team } where the only difference is that the hosts in the second definition have a second contact group. HTH Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.watanabe at jp.fujitsu.com Tue Jun 17 14:37:20 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 17 Jun 2008 21:37:20 +0900 Subject: About check_udp plugin In-Reply-To: References: Message-ID: <200806171237.AA02346@S2005110.jp.fujitsu.com> Hello, I just want to confirm that whether the UDP 161 port is available not . We don't need to know if the service is up or not. Like you mentioned , I think the best way is to access to the agent. However, is there any plugin that just confirms that the UDP 161 port is available or not ? If no, I will use the check_snmp and access to the agent. Best Regards, Yu Watanabe Marc Powell ????????: > >On Jun 16, 2008, at 8:04 PM, Yu Watanabe wrote: > >> Hello, >> >> I used the check_udp service , like check_tcp, to check whether the >> 161 is useful or not. >> Is this not the write way to use it ? > >It depends on what you consider useful. It's entirely possible for a >port to establish a connection but not actually be working at higher >levels (i.e. answering queries). In your case, you've only determined >that there's something listening on the port, not that it's snmpd, >actually working or returning data you expect. > >IMHO, if there's a higher level test that's possible like check_snmp >in this case, that will be a more accurate and useful test. > >-- >Marc > > >------------------------------------------------------------------------- >Check out the new SourceForge.net Marketplace. >It's the best place to buy or sell services for >just about anything Open Source. >http://sourceforge.net/services/buy/index.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ng23.net Tue Jun 17 15:01:16 2008 From: tom at ng23.net (Tom Brown) Date: Tue, 17 Jun 2008 14:01:16 +0100 Subject: check_hpasm error Message-ID: <4857B59C.9000306@ng23.net> Hi I monitor my HP stuff using check_hparray and check_hpasm, generally things work OK However i have noticed that 1 box keeps alerting that the chassis is not OK with the following error. UNKNOWN - hanging hpasmdcli processes Does anyone know of a workaround to this apart from perhaps increasing the retry attempts for this service to try and catch it in a good state before the alarm triggers? thanks ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felderado at gmail.com Tue Jun 17 15:34:08 2008 From: felderado at gmail.com (Mark Felder) Date: Tue, 17 Jun 2008 08:34:08 -0500 Subject: Antwort: Problem: Server is UP?? In-Reply-To: <55d470b90806170631lbbd88bdsd5928d19e20117b2@mail.gmail.com> References: <55d470b90806161928h40e7fc9av606e5419cae19072@mail.gmail.com> <55d470b90806170631lbbd88bdsd5928d19e20117b2@mail.gmail.com> Message-ID: <55d470b90806170634q657b13b1v703f7cb9676f27f4@mail.gmail.com> Here are the notify commands that come with debian. I don't modify them. # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTALIAS$\nState: $HOSTSTATE$ for $HOSTDURATION$\nAddress: $HOSTADDRESS$\nInfo:\n\n$HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nACK by: $HOSTACKAUTHOR$\nComment: $HOSTACKCOMMENT$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert $NOTIFICATIONNUMBER$ - $HOSTALIAS$ host is $HOSTSTATE$ **" $CONTACTEMAIL$ } # 'host-notify-by-epager' command definition define command{ command_name host-notify-by-epager command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $HOSTOUTPUT$\nTime: $LONGDATETIME$" | /usr/bin/mail -s "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$ } # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nState: $SERVICESTATE$ for $SERVICEDURATION$\nAddress: $HOSTADDRESS$\n\nInfo:\n\n$SERVICEOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nACK by: $SERVICEACKAUTHOR$\nComment: $SERVICEACKCOMMENT$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert $NOTIFICATIONNUMBER$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } # 'notify-by-epager' command definition define command{ command_name notify-by-epager command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $SERVICEOUTPUT$\nDate: $LONGDATETIME$" | /usr/bin/mail -s "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$ } Thanks for looking into this.... The only other thing I can possibly think of is the pattern of this indicates that it's only doing this for Solaris servers.... which are using the NRPE out of Blastwave... could this be caused by NRPE? Mark > > On 6/17/08, Sascha.Runschke at gfkl.com wrote: > > > > nagios-users-bounces at lists.sourceforge.net schrieb am > > 17.06.2008 04:28:23: > > > > > > > I really need some help with this guys. My setup was working for the > > > longest time and I can't think of any changes made to it that would > > > cause this behavior. I get random (and quite annoying!) Nagios alerts > > > that say "Problem: $SERVER is UP!" (with the actual host name) or > > > sometimes it just literally says "Problem: HOST is UP". Note, this > > > only happens during my off hours time. I've never seen this during the > > > day. I'm running Nagios on Debian Etch and I've tried version 3.02 > > > from the backports and that had the same issue. It has to be my config > > > but I can't figure out for the life of me what it could possibly be! > > > > > > Any help you can give me will be SO much appreciated! > > > > > > I'm going to attach my configs. Thanks everyone. > > > > After looking throgh the config, I cannot find any culprits which would > > cause such behaviour. Maybe you have some bogus notification commands? > > The "Problem: ... is UP" doesn't seem to make sense to me and does not > > correspond to the default configuration. Recovery alerts shold start > > with "Recovery: ..." > > > > Please post your host-notify-by-email command definitions. > > > > > > Regards > > Sascha > > > > -- > > Sascha Runschke > > Netzwerk- und Systemmanagement > > Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) > > 102-1102105 > > > > > > GFKL Financial Services AG > > Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, > > Dr. Tom Haverkamp > > Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma > > Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felderado at gmail.com Tue Jun 17 15:38:27 2008 From: felderado at gmail.com (Mark Felder) Date: Tue, 17 Jun 2008 08:38:27 -0500 Subject: Problem: Server is UP?? In-Reply-To: <6B587E8C999646469B54486AF219584602D2130A2A@UXCHANGE7-1.UoA.auckland.ac.nz> References: <55d470b90806161928h40e7fc9av606e5419cae19072@mail.gmail.com> <6B587E8C999646469B54486AF219584602D2130A2A@UXCHANGE7-1.UoA.auckland.ac.nz> Message-ID: <20080617133827.GA19503@skeletor.lan> On Tue, Jun 17, 2008 at 06:27:04PM +1200, Steve Shipway wrote: > > I really need some help with this guys. My setup was working for the > > longest time and I can't think of any changes made to it that would > > cause this behavior. I get random (and quite annoying!) Nagios alerts > > that say "Problem: $SERVER is UP!" (with the actual host name) or > > sometimes it just literally says "Problem: HOST is UP". Note, this > > only happens during my off hours time. I've never seen this during the > > day. > > You have probably configured your contact details to send a RECOVERY alert for hosts when it is out of hours. This means you will get a 'host is UP' alert when the host status changes to UP. Your message format probably prepends the 'Problem: ' to it. > > Admittedly your configuration doesn't look like this is there. I suppose you should check the message header and make sure it really originated on your host, and check you don't have two versions of Nagios running (did you have and old or test instance set up that might be sending these emails?) > > Steve I can confirm 100% that there is no other Nagios instance running. I also can't check the message header because it's using an email to SMS gateway when I get these messages so I only don't have access to those headers when it shows up on my phone. Mark ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 17 15:41:38 2008 From: marc at ena.com (Marc Powell) Date: Tue, 17 Jun 2008 08:41:38 -0500 Subject: About check_udp plugin In-Reply-To: <200806171237.AA02346@S2005110.jp.fujitsu.com> References: <200806171237.AA02346@S2005110.jp.fujitsu.com> Message-ID: On Jun 17, 2008, at 7:37 AM, Yu Watanabe wrote: > Hello, > > I just want to confirm that whether the UDP 161 port is > available not . We don't need to know if the service is up or not. > > Like you mentioned , I think the best way is to access to the agent. > However, is there any plugin that just confirms that the UDP 161 > port is available or not ? > If no, I will use the check_snmp and access to the agent. yes, check_udp will verify that something is listening on that port. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 17 16:25:31 2008 From: ton.voon at altinity.com (Ton Voon) Date: Tue, 17 Jun 2008 15:25:31 +0100 Subject: Request to test pst3 on solaris systems Message-ID: <119CF7B1-5080-4603-BF61-AF31AF70B2DA@altinity.com> Hi! This is a request to test the latest pst3 in the nagiosplugins snapshot. My colleague, Duncan Ferguson, has been making some optimisations so that is runs much faster on systems with a large number of processes - on a Solaris 10 server with multiple zones, it runs about 94% faster! I've just committed a change where a possible segfault was fixed. Best way to get the change is via a snapshot when it next runs at http://nagiosplug.sourceforge.net/snapshot I'd be interested if the before and after output is the same (within reason), with timings and number of processes and which Solaris versions. Ton http://www.altinity.com UK: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcos.marinho at rac.com.br Tue Jun 17 17:08:39 2008 From: marcos.marinho at rac.com.br (Marcos Marinho) Date: Tue, 17 Jun 2008 12:08:39 -0300 Subject: How to monitor windows software raid In-Reply-To: <200806170932.58021.me@renux.de> References: <200806161441.03871.me@renux.de> <485680A2.3050109@googlemail.com> <200806170932.58021.me@renux.de> Message-ID: <4857D377.5080600@rac.com.br> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.miller74 at yahoo.com Tue Jun 17 17:09:09 2008 From: jim.miller74 at yahoo.com (Jim Miller) Date: Tue, 17 Jun 2008 08:09:09 -0700 (PDT) Subject: Install difficulty Message-ID: <869887.11331.qm@web45806.mail.sp1.yahoo.com> Hello everyone I have downloaded and installed Nagios per the instructions posted for Fedora. Everything "worked" according to the instructions however when I start Nagios and try to navigate to http://localhost/nagios I get a 404 error. I suspect My webserver is unaware of nagios' exsistance however I am unsure how to begin to trouble shoot this problem. Can someone offer some guidance? Thank you. Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 17 17:16:36 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 17 Jun 2008 16:16:36 +0100 Subject: How to monitor windows software raid In-Reply-To: <4857D377.5080600@rac.com.br> References: <200806161441.03871.me@renux.de> <485680A2.3050109@googlemail.com> <200806170932.58021.me@renux.de> <4857D377.5080600@rac.com.br> Message-ID: <4857D554.6080006@googlemail.com> No, don't try that. Python is a great language, I code in it myself, but... 1. It is not portable across windows systems without installing add-ons 2. It checks *LINUX* software raid, not windows software raid. -h Marcos Marinho wrote: > Try this : It is a python script > ============================================================ > #!/usr/bin/python > > # check_swraid - plugin for nagios to check the status of linux swraid > devices > # > # This program is free software; you can redistribute it and/or modify > # it under the terms of the GNU General Public License as published by > # the Free Software Foundation; either version 2 of the License, or > # (at your option) any later version. > # > # This program is distributed in the hope that it will be useful, > # but WITHOUT ANY WARRANTY; without even the implied warranty of > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > # GNU Library General Public License for more details. > # > # You should have received a copy of the GNU General Public License > # along with this program; if not, write to the Free Software > # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA > 02111-1307, USA. > # > # Copyright 2004 Duke University > # Written by Sean Dilda > > # Version: 0.3 > # patched with the rouilj's patch (03.02.2006) by Virer (28.07.2006) > > import os > import sys > import string > > mdstat = '/proc/mdstat' > > mdFile = open(mdstat).readlines() > > # two cases: two starting lines or just one starting line. > # Remove the first and lasts lines as we don't need them > mdFile = mdFile[1:-1] > if (len(mdFile) % 3) != 0: > mdFile = mdFile[1:] > > > if (len(mdFile) % 3) != 0: > # must have two starting lines > print 'Error with mdstat file' > sys.exit(3) > > if len(mdFile) == 0: > print 'Error no md devices configured' > sys.exit(3) > > mdData = [] > while len(mdFile) > 0: > mdData.append((mdFile[0],mdFile[1])) > mdFile = mdFile[3:] > > overallStatus = 0 > errorMsg = '' > devices = '' > for tup in mdData: > device, colon, status, type, drives = string.split(tup[0], None, 4) > drives = string.split(drives) > values = string.split(tup[1])[-2] > values = values[1:-1] > normal, current = string.split(values, '/') > normal = int(normal) > current = int(current) > > devices = devices + " " + device > > # Status of 0 == Ok, 1 == Warning, 2 == Critical > status = 0 > failed = 0 > degraded = 0 > msg = '' > > failed = [] > for drive in drives: > if drive[-3:] == '(F)': > failed.append(drive[:string.index(drive, '[')]) > status = 1 > failed = ' (' + string.join(failed, ', ') + ').' > > > if status == 'inactive': > status = 2 > msg = device + ' is inactive.' > if type == 'raid5': > if current < (normal -1): > msg = device + ' failed' + failed > status = 2 > elif current < normal: > msg = device + ' degraded' + failed > status = 1 > else: > if current < normal: > msg = device + ' failed' + failed > status = 2 > > if len(msg) > 0: > if len(errorMsg) > 0: > errorMsg = errorMsg + '; ' > errorMsg = errorMsg + msg > overallStatus = max(overallStatus, status) > > if overallStatus == 0: > print 'All md devices (' + devices + ' ) Ok.' > sys.exit(0) > else: > print errorMsg > sys.exit(overallStatus) > #EOF > ============================================================ > > > > > Rene Fertig escreveu: >> Hello Hari. >> >> >>> Have you checked NagiosExchange.org? I didn't see anything but then I >>> didn't look too closely. Otherwise you could just write one. VBS is an >>> easy language and universal enough for this. I'd write this in fact, if >>> I had any servers poor enough to have windows software raid... >>> >> >> Of cause I've checked NagiosExchange, but there are only plugins for hardware >> raids. >> >> I've found a VB script which uses DISKPART >> (http://www.anchor.com.au/hosting/dedicated/monitoring_windows_software_raid). >> Unfortunately DISKPART didn't work on Windows 2000 (only Win 2000 Pro, Win >> 2000 server, Win 2003 ...) >> >> But I've got a list of event IDs so I can monitor the event log and do passive >> checks - more than nothing... >> >> Greetings, >> >> Rene ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.miller74 at yahoo.com Tue Jun 17 17:20:31 2008 From: jim.miller74 at yahoo.com (Jim Miller) Date: Tue, 17 Jun 2008 08:20:31 -0700 (PDT) Subject: Install difficulty Message-ID: <918162.39025.qm@web45816.mail.sp1.yahoo.com> This did not work either. ----- Original Message ---- From: "Yost, Karl" To: Jim Miller ; nagios-users at lists.sourceforge.net Sent: Tuesday, June 17, 2008 11:14:39 AM Subject: RE: [Nagios-users] Install difficulty Try using http://localhost/nagios/ The trailing slash may be needed -----Original Message----- From: Jim Miller Sent: Tuesday, June 17, 2008 11:11 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Install difficulty Hello everyone I have downloaded and installed Nagios per the instructions posted for Fedora. Everything "worked" according to the instructions however when I start Nagios and try to navigate to http://localhost/nagios I get a 404 error. I suspect My webserver is unaware of nagios' exsistance however I am unsure how to begin to trouble shoot this problem. Can someone offer some guidance? Thank you. Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 17 17:21:02 2008 From: marc at ena.com (Marc Powell) Date: Tue, 17 Jun 2008 10:21:02 -0500 Subject: Install difficulty In-Reply-To: <869887.11331.qm@web45806.mail.sp1.yahoo.com> References: <869887.11331.qm@web45806.mail.sp1.yahoo.com> Message-ID: On Jun 17, 2008, at 10:09 AM, Jim Miller wrote: > Hello everyone > > I have downloaded and installed Nagios per the instructions posted > for Fedora. Everything "worked" according to the instructions > however when I start Nagios and try to navigate to http://localhost/nagios > I get a 404 error. I suspect My webserver is unaware of nagios' > exsistance however I am unsure how to begin to trouble shoot this > problem. Can someone offer some guidance? Thank you Did you 'make install-webconf' and restart apache? -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Karl.Yost at iqor.com Tue Jun 17 17:26:46 2008 From: Karl.Yost at iqor.com (Yost, Karl) Date: Tue, 17 Jun 2008 11:26:46 -0400 Subject: Install difficulty References: <918162.39025.qm@web45816.mail.sp1.yahoo.com> Message-ID: <56F8CBCA82D02D4B894B69C804906D1A014598E9@usnjpar1blex04.us.ad.irmc.com> Did you restart apache after you configured the aliases and directory options? Thanks, Karl From: Jim Miller [mailto:jim.miller74 at yahoo.com] Sent: Tuesday, June 17, 2008 11:21 AM To: Yost, Karl; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Install difficulty This did not work either. ----- Original Message ---- From: "Yost, Karl" To: Jim Miller ; nagios-users at lists.sourceforge.net Sent: Tuesday, June 17, 2008 11:14:39 AM Subject: RE: [Nagios-users] Install difficulty Try using http://localhost/nagios/ The trailing slash may be needed -----Original Message----- From: Jim Miller Sent: Tuesday, June 17, 2008 11:11 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Install difficulty Hello everyone I have downloaded and installed Nagios per the instructions posted for Fedora. Everything "worked" according to the instructions however when I start Nagios and try to navigate to http://localhost/nagios I get a 404 error. I suspect My webserver is unaware of nagios' exsistance however I am unsure how to begin to trouble shoot this problem. Can someone offer some guidance? Thank you. Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arnaulist at andromeiberica.com Tue Jun 17 17:29:11 2008 From: arnaulist at andromeiberica.com (Arnau) Date: Tue, 17 Jun 2008 17:29:11 +0200 Subject: Newbie question about nagios and snmp Message-ID: <4857D847.4010506@andromeiberica.com> Hi all, I have about 15 servers to monitor, some of them are windows and the rest run Debian. To do so, I have installed Nagios to send me alarms and cacti to show graphs and historical data. The things I'd like to monitor, for the time being are very basic CPU usage, disk space, ... To monitor the remote servers I've installed the snmp daemon. In cacti I have everything running, but there is a thing in nagios that I don't know how to do. I'd like to monitor the available space in the server partions and not in the disks. 1.- So I should create a service for each partition and define a hostgroup? or there is a way to say check all the partitions and shout if the available space is lower than 10%? 2.- Is there a way to ask the free disk of / instead of /dev/sda1? thanks all -- Arnau ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.miller74 at yahoo.com Tue Jun 17 17:32:43 2008 From: jim.miller74 at yahoo.com (Jim Miller) Date: Tue, 17 Jun 2008 08:32:43 -0700 (PDT) Subject: Install difficulty Message-ID: <14506.27076.qm@web45808.mail.sp1.yahoo.com> Yes. I could be going down the wrong path but, how does the Nagios install know what the document root of the webserver is? It would seem to me that there should be some reference to nagios in the document root so the webserver know where to direct the requests, or does nagios not work that way? ----- Original Message ---- From: "Yost, Karl" To: Jim Miller ; nagios-users at lists.sourceforge.net Sent: Tuesday, June 17, 2008 11:26:46 AM Subject: RE: [Nagios-users] Install difficulty Did you restart apache after you configured the aliases and directory options? ? Thanks, Karl ? From:Jim Miller [mailto:jim.miller74 at yahoo.com] Sent: Tuesday, June 17, 2008 11:21 AM To: Yost, Karl; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Install difficulty ? This did not work either. ? ----- Original Message ---- From: "Yost, Karl" To: Jim Miller ; nagios-users at lists.sourceforge.net Sent: Tuesday, June 17, 2008 11:14:39 AM Subject: RE: [Nagios-users] Install difficulty Try using http://localhost/nagios/ The trailing slash may be needed -----Original Message----- From: Jim Miller Sent: Tuesday, June 17, 2008 11:11 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Install difficulty Hello everyone I have downloaded and installed Nagios per the instructions posted for Fedora. Everything "worked" according to the instructions however when I start Nagios and try to navigate to http://localhost/nagios I get a 404 error. I suspect My webserver is unaware of nagios' exsistance however I am unsure how to begin to trouble shoot this problem. Can someone offer some guidance? Thank you. Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wim.de-geeter at uni-graz.at Tue Jun 17 17:47:17 2008 From: wim.de-geeter at uni-graz.at (Wim De Geeter) Date: Tue, 17 Jun 2008 17:47:17 +0200 Subject: different notification email Message-ID: <4857DC85.9090403@uni-graz.at> Hi, I have a small question. Is it possible to use different email templates for notification. One for warning and critical and another one for recovery. Many thanks ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue Jun 17 17:55:38 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 17 Jun 2008 11:55:38 -0400 Subject: Install difficulty In-Reply-To: <14506.27076.qm@web45808.mail.sp1.yahoo.com> References: <14506.27076.qm@web45808.mail.sp1.yahoo.com> Message-ID: <20080617155538.GG840@cgi.jachomes.com> On Tue, Jun 17, 2008 at 08:32:43AM -0700, Jim Miller wrote: > Yes. I could be going down the wrong path but, how does the Nagios install > know what the document root of the webserver is? It would seem to me that > there should be some reference to nagios in the document root so the > webserver know where to direct the requests, or does nagios not work that > way? No, generally, you have to tell your apache where to look. I have this in my /etc/httpd/nagios.conf: # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER # Last Modified: 11-26-2005 # # This file contains examples of entries that need # to be incorporated into your Apache web server # configuration file. Customize the paths, etc. as # needed to fit your system. ScriptAlias /nagios/cgi-bin "/appl/nagios/sbin" # SSLRequireSSL Options ExecCGI AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /appl/nagios/etc/htpasswd.users Require valid-user Alias /nagios "/appl/nagios/share" # SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /appl/nagios/etc/htpasswd.users Require valid-user and that works, as the brits say, a treat. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ng23.net Tue Jun 17 17:55:35 2008 From: tom at ng23.net (Tom Brown) Date: Tue, 17 Jun 2008 16:55:35 +0100 Subject: Install difficulty In-Reply-To: <14506.27076.qm@web45808.mail.sp1.yahoo.com> References: <14506.27076.qm@web45808.mail.sp1.yahoo.com> Message-ID: <4857DE77.4090305@ng23.net> > Yes. I could be going down the wrong path but, how does the Nagios > install know what the document root of the webserver is? It would seem > to me that there should be some reference to nagios in the document > root so the webserver know where to direct the requests, or does > nagios not work that way? # cat /etc/httpd/conf.d/nagios.conf # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER # Last Modified: 11-26-2005 # # This file contains examples of entries that need # to be incorporated into your Apache web server # configuration file. Customize the paths, etc. as # needed to fit your system. ScriptAlias /nagios/cgi-bin "/usr/lib/nagios/cgi" # SSLRequireSSL Options ExecCGI AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/static/htpasswd.users Require valid-user Alias /nagios "/usr/share/nagios" # SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/static/htpasswd.users Require valid-user etc etc etc etc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ng23.net Tue Jun 17 18:03:09 2008 From: tom at ng23.net (Tom Brown) Date: Tue, 17 Jun 2008 17:03:09 +0100 Subject: Newbie question about nagios and snmp In-Reply-To: <4857D847.4010506@andromeiberica.com> References: <4857D847.4010506@andromeiberica.com> Message-ID: <4857E03D.9020403@ng23.net> > > 2.- Is there a way to ask the free disk of / instead of /dev/sda1? > > check_snmp_disk ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arnaulist at andromeiberica.com Tue Jun 17 19:30:52 2008 From: arnaulist at andromeiberica.com (Arnau) Date: Tue, 17 Jun 2008 19:30:52 +0200 Subject: Newbie question about nagios and snmp In-Reply-To: <4857E03D.9020403@ng23.net> References: <4857D847.4010506@andromeiberica.com> <4857E03D.9020403@ng23.net> Message-ID: <4857F4CC.9060101@andromeiberica.com> Hi Tom, Tom Brown wrote: > >> >> 2.- Is there a way to ask the free disk of / instead of /dev/sda1? >> >> > > check_snmp_disk In my debian I can't find that check_snmp_disk, the only thing I have found in /etc/nagios-plugins/config/snmp.cfg is: # 'snmp_disk' command definition define command{ command_name snmp_disk command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.2021.9.1.7.$ARG2$,.1.3.6.1.4.1.2021.9.1 .9.$ARG2$ -w $ARG3$:,:$ARG4$ -c $ARG5$:,:$ARG6$ -u 'kB free (','% used)' -l 'disk space' } am I missing anything? -- Arnau ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 17 20:08:38 2008 From: marc at ena.com (Marc Powell) Date: Tue, 17 Jun 2008 13:08:38 -0500 Subject: Newbie question about nagios and snmp In-Reply-To: <4857F4CC.9060101@andromeiberica.com> References: <4857D847.4010506@andromeiberica.com> <4857E03D.9020403@ng23.net> <4857F4CC.9060101@andromeiberica.com> Message-ID: <85D3F002-22FA-4462-87E7-D1D69081BB6A@ena.com> On Jun 17, 2008, at 12:30 PM, Arnau wrote: > Hi Tom, > > Tom Brown wrote: >> >>> >>> 2.- Is there a way to ask the free disk of / instead of /dev/sda1? >>> >>> >> >> check_snmp_disk > > In my debian I can't find that check_snmp_disk, the only thing I > have > found in /etc/nagios-plugins/config/snmp.cfg is: > > am I missing anything? A google search. http://www.google.com/search?q=nagios+check_snmp_disk -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at ng23.net Tue Jun 17 20:09:50 2008 From: tom at ng23.net (Tom Brown) Date: Tue, 17 Jun 2008 19:09:50 +0100 Subject: Newbie question about nagios and snmp In-Reply-To: <4857F4CC.9060101@andromeiberica.com> References: <4857D847.4010506@andromeiberica.com> <4857E03D.9020403@ng23.net> <4857F4CC.9060101@andromeiberica.com> Message-ID: <4857FDEE.1010904@ng23.net> > > In my debian I can't find that check_snmp_disk, the only thing I have > found in /etc/nagios-plugins/config/snmp.cfg is: > > # 'snmp_disk' command definition > define command{ > command_name snmp_disk > command_line /usr/lib/nagios/plugins/check_snmp -H > $HOSTADDRESS$ -C $ARG1$ -o > .1.3.6.1.4.1.2021.9.1.7.$ARG2$,.1.3.6.1.4.1.2021.9.1 > .9.$ARG2$ -w $ARG3$:,:$ARG4$ -c $ARG5$:,:$ARG6$ -u 'kB free (','% used)' > -l 'disk space' > } > > am I missing anything? > > yes - you can get the plugin from nagiosexchange ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcos.marinho at rac.com.br Tue Jun 17 20:32:00 2008 From: marcos.marinho at rac.com.br (Marcos Marinho) Date: Tue, 17 Jun 2008 15:32:00 -0300 Subject: How to monitor windows software raid In-Reply-To: <4857D554.6080006@googlemail.com> References: <200806161441.03871.me@renux.de> <485680A2.3050109@googlemail.com> <200806170932.58021.me@renux.de> <4857D377.5080600@rac.com.br> <4857D554.6080006@googlemail.com> Message-ID: <48580320.5010901@rac.com.br> Ops sorry , I lost the windows part , my mistake. I will be looking for some alternative ; again sorry for this. As alternative, there is a place called windows script center and I think that there would be an script in order to check sofwate raid on windows, or some example in order to get this information, I would advise to look in that repository. Again my apologies Hari Sekhon escreveu: > No, don't try that. Python is a great language, I code in it myself, > but... > > 1. It is not portable across windows systems without installing add-ons > 2. It checks *LINUX* software raid, not windows software raid. > > -h > > > Marcos Marinho wrote: >> Try this : It is a python script >> ============================================================ >> #!/usr/bin/python >> >> # check_swraid - plugin for nagios to check the status of linux >> swraid devices >> # >> # This program is free software; you can redistribute it and/or modify >> # it under the terms of the GNU General Public License as published by >> # the Free Software Foundation; either version 2 of the License, or >> # (at your option) any later version. >> # >> # This program is distributed in the hope that it will be useful, >> # but WITHOUT ANY WARRANTY; without even the implied warranty of >> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> # GNU Library General Public License for more details. >> # >> # You should have received a copy of the GNU General Public License >> # along with this program; if not, write to the Free Software >> # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA >> 02111-1307, USA. >> # >> # Copyright 2004 Duke University >> # Written by Sean Dilda >> >> # Version: 0.3 >> # patched with the rouilj's patch (03.02.2006) by Virer (28.07.2006) >> >> import os >> import sys >> import string >> >> mdstat = '/proc/mdstat' >> >> mdFile = open(mdstat).readlines() >> >> # two cases: two starting lines or just one starting line. >> # Remove the first and lasts lines as we don't need them >> mdFile = mdFile[1:-1] >> if (len(mdFile) % 3) != 0: >> mdFile = mdFile[1:] >> >> >> if (len(mdFile) % 3) != 0: >> # must have two starting lines >> print 'Error with mdstat file' >> sys.exit(3) >> >> if len(mdFile) == 0: >> print 'Error no md devices configured' >> sys.exit(3) >> >> mdData = [] >> while len(mdFile) > 0: >> mdData.append((mdFile[0],mdFile[1])) >> mdFile = mdFile[3:] >> >> overallStatus = 0 >> errorMsg = '' >> devices = '' >> for tup in mdData: >> device, colon, status, type, drives = string.split(tup[0], None, 4) >> drives = string.split(drives) >> values = string.split(tup[1])[-2] >> values = values[1:-1] >> normal, current = string.split(values, '/') >> normal = int(normal) >> current = int(current) >> >> devices = devices + " " + device >> >> # Status of 0 == Ok, 1 == Warning, 2 == Critical >> status = 0 >> failed = 0 >> degraded = 0 >> msg = '' >> >> failed = [] >> for drive in drives: >> if drive[-3:] == '(F)': >> failed.append(drive[:string.index(drive, '[')]) >> status = 1 >> failed = ' (' + string.join(failed, ', ') + ').' >> >> >> if status == 'inactive': >> status = 2 >> msg = device + ' is inactive.' >> if type == 'raid5': >> if current < (normal -1): >> msg = device + ' failed' + failed >> status = 2 >> elif current < normal: >> msg = device + ' degraded' + failed >> status = 1 >> else: >> if current < normal: >> msg = device + ' failed' + failed >> status = 2 >> >> if len(msg) > 0: >> if len(errorMsg) > 0: >> errorMsg = errorMsg + '; ' >> errorMsg = errorMsg + msg >> overallStatus = max(overallStatus, status) >> >> if overallStatus == 0: >> print 'All md devices (' + devices + ' ) Ok.' >> sys.exit(0) >> else: >> print errorMsg >> sys.exit(overallStatus) >> #EOF >> ============================================================ >> >> >> >> >> Rene Fertig escreveu: >>> Hello Hari. >>> >>> >>>> Have you checked NagiosExchange.org? I didn't see anything but then I >>>> didn't look too closely. Otherwise you could just write one. VBS is an >>>> easy language and universal enough for this. I'd write this in >>>> fact, if >>>> I had any servers poor enough to have windows software raid... >>>> >>> >>> Of cause I've checked NagiosExchange, but there are only plugins for >>> hardware raids. >>> >>> I've found a VB script which uses DISKPART >>> (http://www.anchor.com.au/hosting/dedicated/monitoring_windows_software_raid). >>> Unfortunately DISKPART didn't work on Windows 2000 (only Win 2000 >>> Pro, Win 2000 server, Win 2003 ...) >>> >>> But I've got a list of event IDs so I can monitor the event log and >>> do passive checks - more than nothing... >>> >>> Greetings, >>> >>> Rene > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 17 21:18:19 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Tue, 17 Jun 2008 21:18:19 +0200 Subject: check_hpasm error In-Reply-To: <4857B59C.9000306@ng23.net> References: <4857B59C.9000306@ng23.net> Message-ID: <200806171918.m5HJIDdf016840@sol1.bb.consol.de> Hi Tom, > UNKNOWN - hanging hpasmdcli processes check_hpasm executes the hpasmcli command which connects to the hpasmd daemon. If this daemon becomes unresponsive, hpasmcli just hangs. The next run of check_hpasm detects this hanging process and exits with the above error message. It would not make sense for the plugin to continue, as another hpasmcli would also hang. I don't know the reason why the daemon stops responding. Maybe an update of the system BIOS helps. In case of such an alert the only known workaround is to restart hpasm with /etc/init.d/hpasm restart. Gerhard > > Does anyone know of a workaround to this apart from perhaps > increasing > the retry attempts for this service to try and catch it in a > good state > before the alarm triggers? > > thanks > > > -------------------------------------------------------------- > ----------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 18 00:34:23 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 17 Jun 2008 18:34:23 -0400 Subject: How to monitor windows software raid In-Reply-To: <200806170932.58021.me@renux.de> References: <200806161441.03871.me@renux.de> <485680A2.3050109@googlemail.com> <200806170932.58021.me@renux.de> Message-ID: Hi Rene, Sorry for joining this response late, For checking Software RAID on Windows the best way is to use a Windows Plug in that gives connectivity to a standard widows location of the data you need. With that said, I recommend NC_Net (not only because I wrote it but also since it provides mechanism for retrieval using several of the methods hinted to in this thread. 1) using Windows Event log, there are several plugins that allow for checking windows event log (including NC_NEt) 2) Writing a script or executable, There are several plugins that allow this as well (including NC_NEt and NRPE) 3) Writing a WMI query , ( NC_net has this as well but there are also some scripts under NRPE that can do this) 4) you may be able to configure Notification on degraded RAID to submit via NSCA, and then again on recovery 5) you may be able to configure a Submit by email on Degraded/Recover RAID (I have not tried this) 6) you may be able to configure SNMP on the software RAID (I have not tried this) then check by SNMP For options 4,5,6 you may want to look into viotile service checks (see Nagios Manual) Good Luck, Tony (Author of NC_Net) On Tue, Jun 17, 2008 at 3:32 AM, Rene Fertig wrote: > Hello Hari. > > > Have you checked NagiosExchange.org? I didn't see anything but then I > > didn't look too closely. Otherwise you could just write one. VBS is an > > easy language and universal enough for this. I'd write this in fact, if > > I had any servers poor enough to have windows software raid... > > Of cause I've checked NagiosExchange, but there are only plugins for > hardware > raids. > > I've found a VB script which uses DISKPART > ( > http://www.anchor.com.au/hosting/dedicated/monitoring_windows_software_raid > ). > Unfortunately DISKPART didn't work on Windows 2000 (only Win 2000 Pro, Win > 2000 server, Win 2003 ...) > > But I've got a list of event IDs so I can monitor the event log and do > passive > checks - more than nothing... > > Greetings, > > Rene > > -- > -- > Tipps & Tricks f?r Linux, MySQL & Webdesign > -> http://home.telebel.de/~referti/blog/ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 18 01:00:16 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 17 Jun 2008 19:00:16 -0400 Subject: Monitoring large (ish) numbers of servers with exceptions to the rules... In-Reply-To: References: <20080617131337.6851b7ab@tclmmw.in.tiger-computing.com> Message-ID: Hi, Using REgExp and Object Templats is a key for optimizing maintenance. I read some good details on handling what needs to be configured and what can be inhereted and automatically associated in the current Nagios 3 Documentation. I think much of the framework was in Nagios 2, but the documentaiton is a bit easier to read in nagios 3 so look at that for some tips. then check the nagios 2 docs to see if the option is also in there. A few years ago I converted a nagios 1.2 were all hosts and services were defined in a single to file to a scalable configuration similar to what was initialy described here. I found that if you have a need of suporting different clients with daily changes it was convient to have one Config directory for each clinet then in that directory have a single host file, and for each host a seperate Config file. on a host being removed it is just a matter of removing it from the Host file configuration and renaming its Config file. on adding a new host is was only adding it to the host file, then adding copy an existing service file and then cut and past to get all the services defined. then maintain the entire directory substructer through CVS or some other version controle. This as noted does get tedious to maintain, but it alows for customization of services per host without much thinking. The Disadvantage of this is the time involved for maintaining, when there are few changes getting made. OTHER options using templates work well, setting up Inheritance, using REG EXP as well as , other techniques using HostGroups all assist with orginizing the files but depending on skill levels somtimes lead to less readability (Whle for other admins it would lead to easier maintenance) Hope this helps, On Tue, Jun 17, 2008 at 8:22 AM, Wheeler, JF (Jonathan) < J.F.Wheeler at rl.ac.uk> wrote: > > -----Original Message----- > > From: nagios-users On Behalf Of Matthew Macdonald-Wallace > > Sent: 17 June 2008 13:14 > > > > I currently help maintain and monitor around 50 servers across various > > parts of the UK using Nagios 2. At the moment, we have a > configuration > > file for each host (%hostname%.cfg) and in that file we specify all > the > > services for the named host. > > > > We are trying to reduce the number of configuration files as we take > on > > more and more servers because there are a large number checks that we > > need to be rolled out to all servers and we feel that we are > > duplicating our workload. > > > > I'm open to ideas on how to achieve this however my thoughts were a > > setup along the lines of the following: > > > > - A "master" host template is created in which all services are > defined > > for a host. > > > > - If a check does not need to be run for a given host (for example it > > is not a web server), a stanza is added to that particular host's > > config file that effectively tells nagios "don't check for this > > service on this host" > > > > I've tried defining all the services in a master templates file and > > this works perfectly however when I come to exclude certain services, > I > > am at a loss on how to do it. > > > > Initially I tried adding a stanza with the same service name and > > "register 0" as one of the options, however this didn't work. > > > > We have used HostGroups in the past to achieve a similar goal, however > > we ran into the issue that whilst we need to check the CPU Usage on > all > > of the servers, a few of the servers that we monitor can take a lot > > more of a beating than the majority. This lead to us defining the CPU > > checks on a per-host basis as if we defined it separately from the > > hostgroup for the more powerful servers we presented with a load of > > errors regarding duplicate service names. > > > > I hope I've made myself clear on what we're after and I look forward > to > > receiving your input on this. > > One thing that I use in the configuration that I maintain is to have > something like this: > > define service{ > use generic-hung-mounts > hostgroup_name experiments > hosts !lfc0448 > contact_groups experiments > } > > where "lcg0448" is a host in host group "experiments" and I want to > apply the "generic-hung-mounts" check to all hosts in that group except > for "lcg0448". > > This can lead to configuration like this: > > define service{ > use check-pbs-offline > hostgroup_name workers > hosts !lcg0614,!lcg0617,!lcg0618,!lcg0626 > contact_groups tier1a > } > define service{ > use check-pbs-offline > hosts lcg0614,lcg0617,lcg0618,lcg0626 > contact_groups tier1a,grid-team > } > > where the only difference is that the hosts in the second definition > have a second contact group. > > HTH > > Jonathan Wheeler > e-Science Centre > Rutherford Appleton Laboratory > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Wed Jun 18 02:53:43 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Tue, 17 Jun 2008 16:53:43 -0800 Subject: Custom Status Field strings and warning levels Message-ID: Hi all, I would like to format the data returned from check commands in the status information field of the GUI. For example, I would like to add text after the check command has returned only an integer value, or another example I have brought up previously, divide the result by say 1024 to view in KB (when returned in bytes) or MB (when returned in KB). Any ideas? I am using COUNTERs with check_nt (NSClient++) on RHEL 4 server running Nagios v3.0.1 with the latest plugins. I have tried different combinations of the description field: check_nt!COUNTER!-l "\\Memory\\Available MBytes","%%.f Physical Memory Available" check_nt!COUNTER!-l "\\Memory\\Available MBytes","%%.2f Physical Memory Available" check_nt!COUNTER!-l "\\Memory\\Available MBytes","%%.f %%%% Physical Memory Available" All of these return at least one percent sign, and no value, such as: %f Physical Memory Available If I leave out the description field (check_nt!COUNTER!-l "\\Memory\\Available MBytes") then I get a correct integer value. I would like the GUI to show (assuming a server / machine with 2gb memory and has available 1348MB: "1348 available out of 2048" or maybe even use a percentage of available as is in the built-in Memory Usage command, but this looks at the page file, not physical memory. On another note, since I am using a large amount of COUNTER defs to check Windows servers, can someone tell me how to set the warning and critical in the check_nt!COUNTER! command? Say the available memory in the above example reaches below 500, I want a warning, and below 250 a critical. Thanks in advance, Izz ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Wed Jun 18 03:41:47 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Tue, 17 Jun 2008 17:41:47 -0800 Subject: Custom Status Field strings and warning levels In-Reply-To: References: Message-ID: Ok...I guess I should have played around a bit more before posting. The -w and -c switches work accordingly for the COUNTER defs. Would still ask assistance in formatting the Status Information field. Regards, Izz > -----Original Message----- > From: izz_abdullah at inbox.com > Sent: Tue, 17 Jun 2008 16:53:43 -0800 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Custom Status Field strings and warning levels > > Hi all, > > I would like to format the data returned from check commands in the > status information field of the GUI. For example, I would like to add > text after the check command has returned only an integer value, or > another example I have brought up previously, divide the result by say > 1024 to view in KB (when returned in bytes) or MB (when returned in KB). > Any ideas? > > I am using COUNTERs with check_nt (NSClient++) on RHEL 4 server running > Nagios v3.0.1 with the latest plugins. > > I have tried different combinations of the description field: > check_nt!COUNTER!-l "\\Memory\\Available MBytes","%%.f Physical Memory > Available" > check_nt!COUNTER!-l "\\Memory\\Available MBytes","%%.2f Physical Memory > Available" > check_nt!COUNTER!-l "\\Memory\\Available MBytes","%%.f %%%% Physical > Memory Available" > > All of these return at least one percent sign, and no value, such as: > %f Physical Memory Available > > If I leave out the description field (check_nt!COUNTER!-l > "\\Memory\\Available MBytes") then I get a correct integer value. > > I would like the GUI to show (assuming a server / machine with 2gb memory > and has available 1348MB: > "1348 available out of 2048" > or maybe even use a percentage of available as is in the built-in Memory > Usage command, but > this looks at the page file, not physical memory. > > On another note, since I am using a large amount of COUNTER defs to check > Windows servers, can someone tell me how to set the warning and critical > in the check_nt!COUNTER! command? Say the available memory in the above > example reaches below 500, I want a warning, and below 250 a critical. > > Thanks in advance, > Izz > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 matthewjwhite.co.uk Wed Jun 18 08:23:11 2008 From: lists at matthewjwhite.co.uk (Matt White) Date: Wed, 18 Jun 2008 07:23:11 +0100 Subject: FW: Monitoring large (ish) numbers of servers with exceptions to the rules... Message-ID: <6D4C6E386E282F478465FA779D37A88F2E43@home-dc.home.bisnet> I have done something similar except I have defined hostgroups for the different services. I have Domain Controllers hostgroup, Web Servers hostgroup, Mail Servers etc.... then assign the relevant services to those groups. There are certain specific checks that need to be applied to the server but this way all new servers are linked together and you can also see at a glance what servers are doing what Regards, Matt White [ matt at matthewjwhite.co.uk ] [ http://www.matthewjwhite.co.uk ] -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Matthew Macdonald-Wallace Sent: 17 June 2008 13:14 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring large (ish) numbers of servers with exceptions to the rules... Hi All, I currently help maintain and monitor around 50 servers across various parts of the UK using Nagios 2. At the moment, we have a configuration file for each host (%hostname%.cfg) and in that file we specify all the services for the named host. We are trying to reduce the number of configuration files as we take on more and more servers becuase there are a large number checks that we need to be rolled out to all servers and we feel that we are duplicating our workload. I'm open to ideas on how to achieve this however my thoughts were a setup along the lines of the following: - A "master" host template is created in which all services are defined for a host. - If a check does not need to be run for a given host (for example it is not a web server), a stanza is added to that particular host's config file that effectively tells nagios "don't check for this service on this host" I've tried defining all the services in a master templates file and this works perfectly however when I come to exclude certain services, I am at a loss on how to do it. Initially I tried adding a stanza with the same service name and "register 0" as one of the options, however this didn't work. We have used HostGroups in the past to achieve a similar goal, however we ran into the issue that whilst we need to check the CPU Usage on all of the servers, a few of the servers that we monitor can take a lot more of a beating than the majority. This lead to us defining the CPU checks on a per-host basis as if we defined it separately from the hostgroup for the more powerful servers we we presented with a load of errors regarding duplicate service names. I hope I've made myself clear on what we're after and I look forward to receiving your input on this. Kind regards, Matt -- Matt Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk/ ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. Matt White accepts no liability for any damage caused by any virus transmitted by this email. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.Matt White therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. Warning: Although Matt White has taken reasonable precautions to ensure no viruses are present in this email, Matt White cannot accept responsibility for any loss or damage arising from the use of this email or attachments. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaelmukherji at gmail.com Wed Jun 18 09:38:12 2008 From: michaelmukherji at gmail.com (Michael Mukherji) Date: Wed, 18 Jun 2008 13:08:12 +0530 Subject: L2VPN link monitoring Message-ID: <8facdc490806180038k9055005k6055cf36b8c9e93d@mail.gmail.com> Dear List I am using Nagios 3.0.2 to monitor my network devices.I use check_snmp command to check for any interface ( ifoperstatus) on my network device goes down .Whenever the port returns a state other than 1 , i get a critical alert meaning the operational status is critical. Now I have a L2VPN link connected to one port.The ethernet interface always shows up even when the link goes down. Is there any way to get alert other than check_ping where i check the other end by just pinging. Let me know incase someone is using some plugin to check these type of links. Appreciate help !! reagrds Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jouko+nagios-users at markkanen.net Wed Jun 18 09:50:08 2008 From: jouko+nagios-users at markkanen.net (Jouko Markkanen) Date: Wed, 18 Jun 2008 10:50:08 +0300 Subject: Vista gadget for monitoring Nagios Message-ID: <4858BE30.3050501@markkanen.net> Hello, fellow Nagios users! If you happen to run Windows Vista, and monitor your environment using Nagios, you might have thought that it'd be nice to have a sidebar gadget to display your Nagios' stats. Well, now there is such a gadget. Actually it's been available on nagiosexchange for a few weeks, but now I've also uploaded it to Live Gallery also. You can get the latest version here: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2603.html;d=1 The gadget displays statistics (number of hosts/services ok/down/warning/critical/whatever), and clocking on the gadget you get a flyout that shows details on each host and service. The catch here is, however, that you need to get the data from Nagios using http, and for that purpose, there is a cgi (perl) script that must be installed on Nagios server. The script reads Nagios' status.dat, converts it to xml and outputs requested information. If you need Nagios' status information in xml format for any other purpose, you might also want to check this out, as the script is written in a generic purpose manner. (I only wish that there was a standards-based API to request info from Nagios such as SOAP, it would make this kind of systems much easier.) For further instructions, please read the README.txt in installation directory. If you have any suggestions and/or comments, you're welcome to mail me (or the list, but include me in cc, as I don't regularly follow the list). Especially I'd like know how this handles in big-scale environments (the biggest I'm using it on is 40 hosts/150 services). - J ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 truthisfreedom.org.uk Wed Jun 18 10:00:30 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Wed, 18 Jun 2008 09:00:30 +0100 Subject: different notification email In-Reply-To: <4857DC85.9090403@uni-graz.at> References: <4857DC85.9090403@uni-graz.at> Message-ID: <20080618090030.1f662807@tclmmw.in.tiger-computing.com> On Tue, 17 Jun 2008 17:47:17 +0200 Wim De Geeter wrote: > Hi, > > I have a small question. Is it possible to use different email > templates for notification. One for warning and critical and another > one for recovery. Short answer: yes. How would you do it? As follows: When nagios calls the alert program, it passes a number of parameters. One of these $NOTIFICATIONTYPE$ is described as follows in the docs: Notification Macros: $NOTIFICATIONTYPE$ A string identifying the type of notification that is being sent ("PROBLEM", "RECOVERY", "ACKNOWLEDGEMENT", "FLAPPINGSTART" or "FLAPPINGSTOP"). Knowing this, you could write your own script in bash/python/etc. that could be called as follows: /usr/local/bin/alertscript.sh $NOTIFICATIONTYPE$ $HOSTNAME$ $MORE$ $MACROS$ $HERE$ In the script you could then check for the first argument and depending on the value, send the appropriate email. Personally, I have two templates for emails - Hosts and services - that have tags in them similar to html such as and . I have a python script that is called by nagios in the event of an alert and this script reads in the alert type (host/service) and uses the appropriate template accordingly - there's no reason why you couldn't do something similar based on the notification type. Hope this helps, Matt -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JoeP at protronics.co.uk Wed Jun 18 10:32:34 2008 From: JoeP at protronics.co.uk (Joe Precious) Date: Wed, 18 Jun 2008 09:32:34 +0100 Subject: Vista gadget for monitoring Nagios References: <4858BE30.3050501@markkanen.net> Message-ID: <4DF7CF439F31164B96FC5D175CDF056E720913@PRO001.protronics.co.uk> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jouko Markkanen > Sent: 18 June 2008 08:50 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Vista gadget for monitoring Nagios > > Hello, fellow Nagios users! > > If you happen to run Windows Vista, and monitor your environment using > Nagios, you might have thought that it'd be nice to have a sidebar > gadget to display your Nagios' stats. > > Well, now there is such a gadget. Actually it's been available on > nagiosexchange for a few weeks, but now I've also uploaded it to Live > Gallery also. > > You can get the latest version here: > http://www.nagiosexchange.org/cgi- > bin/page.cgi?g=Detailed%2F2603.html;d=1 > > The gadget displays statistics (number of hosts/services > ok/down/warning/critical/whatever), and clocking on the gadget you get > a > flyout that shows details on each host and service. > > The catch here is, however, that you need to get the data from Nagios > using http, and for that purpose, there is a cgi (perl) script that > must > be installed on Nagios server. The script reads Nagios' status.dat, > converts it to xml and outputs requested information. If you need > Nagios' status information in xml format for any other purpose, you > might also want to check this out, as the script is written in a > generic > purpose manner. (I only wish that there was a standards-based API to > request info from Nagios such as SOAP, it would make this kind of > systems much easier.) > > For further instructions, please read the README.txt in installation > directory. > > If you have any suggestions and/or comments, you're welcome to mail me > (or the list, but include me in cc, as I don't regularly follow the > list). Especially I'd like know how this handles in big-scale > environments (the biggest I'm using it on is 40 hosts/150 services). > > - J > > Hi I've just attempted to install on our fairly small Nagios installation but I'm getting a 500 Internal Server Error on the nagxmlstatus.cgi page. I've placed the file in my Nagios sbin folder with all the other CGIs, set the permissions to match the other CGIs, installed the Perl xml module and restarted Nagios but still getting the error. Any suggestions? Thanks Joe ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nigel.Heaney at bgfl.org Wed Jun 18 10:33:17 2008 From: Nigel.Heaney at bgfl.org (Nigel Heaney) Date: Wed, 18 Jun 2008 09:33:17 +0100 Subject: automated response Message-ID: <10806180933.AA19345@bgfl.org> I am out of the office until 4th July 2008. If your queries are urgent then please liase with other members of the BGFL Network Services Team or contact link2ICT servicedesk on 0121 303 5100, servicedesk at link2ict.org. Kind Regards, Nigel Heaney Service Birmingham - Link2ICT. ************************************************************* 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 postmaster at bgfl.org The views expressed within this email are those of the individual, and not necessarily those of the organisation ************************************************************* ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfonfon at gmail.com Wed Jun 18 10:41:59 2008 From: jfonfon at gmail.com (jfonfon) Date: Wed, 18 Jun 2008 10:41:59 +0200 Subject: Nagios 3.0.x - Service SOFT/HARD status issue Message-ID: <5b9ad03b0806180141n24347a5ap7b4d58af0351af3a@mail.gmail.com> Hi, Since Nagios version 3.0 I've a strange service status issue. When a host become (temporaly) unreachable he goes in down soft1 (first try). The service check following is directly in a HARD state ! Is it a bug ? Should it not also follow the retry process before going to hard state ? config is 3 retries for host & 3 retries for service. 1. Host - Down - Soft1 2. Service - Unknown - HARD1 3. Host - Up - Soft2 4. Service - OK - HARD1 Thanks in advance, Jacques -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Wed Jun 18 11:00:35 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 18 Jun 2008 11:00:35 +0200 Subject: Antwort: Nagios 3.0.x - Service SOFT/HARD status issue In-Reply-To: <5b9ad03b0806180141n24347a5ap7b4d58af0351af3a@mail.gmail.com> References: <5b9ad03b0806180141n24347a5ap7b4d58af0351af3a@mail.gmail.com> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 18.06.2008 10:41:59: > Since Nagios version 3.0 I've a strange service status issue. > > When a host become (temporaly) unreachable he goes in down soft1 (first try). > The service check following is directly in a HARD state ! Is it a bug ? > Should it not also follow the retry process before going to hard state ? > > config is 3 retries for host & 3 retries for service. > > 1. Host - Down - Soft1 > 2. Service - Unknown - HARD1 > 3. Host - Up - Soft2 > 4. Service - OK - HARD1 It depends on how you configured the max_check_attempts of the service checks. Did you happen to have it set to 1? It's kinda hard to guess... Regards, Sascha -- Sascha Runschke Netzwerk- und Systemmanagement Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 18 12:23:28 2008 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Wed, 18 Jun 2008 10:23:28 +0000 (GMT) Subject: nagios flapping notification Message-ID: <798167.8893.qm@web23314.mail.ird.yahoo.com> I enable flapping in /usr/local/nagios/etc/nagios.cfg with the following enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 in my host_templates.cfg notification_options d,r,f ----- Original Message ---- From: Marc Powell To: nagios-user Sent: Monday, 16 June, 2008 5:17:42 PM Subject: Re: [Nagios-users] nagios flapping notification On Jun 16, 2008, at 11:04 AM, trevor obba wrote: > I have enabled "flapping notification option". However i still did > not received any flapping notification alert. How did you enable it, exactly. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marled3 at hotmail.com Wed Jun 18 12:23:45 2008 From: marled3 at hotmail.com (Martin Leduc) Date: Wed, 18 Jun 2008 06:23:45 -0400 Subject: Graphs switch ports References: <8c6f7f450806091124y59300873q8e2fec0e111e3c1e@mail.gmail.com> Message-ID: Hi Sergio, For me, the answer is yes. You have to use the MRTG engine by the side of Nagios to manage and graph your traffic. I personaly use Cacti (http://www.cacti.net/) to graph my network. Good luck Martin ----- Original Message ----- From: "Sergio Belkin" To: Sent: Monday, June 09, 2008 2:24 PM Subject: [Nagios-users] Graphs switch ports > Hi > I'd want to get graphs from throughput, packets, errors, etc of each > port from about 30 nwtwork switches. > > Say each network switch has 26 ports. Currently I am using check_snmp > to obtain "plain data" but I'd want to make a "graph template" and > then replicate for the rest of the ports and the network switches. In > other words I don't wanna make to do 26x30 graph by hand. > Also, I'd want to modify snmp output, for example, convert bits into > Kbytes. > > How can I do that? What plugins should I use? Does make sense use mrtg > along with nagios? > > Thanks in advance!! > -- > -- > Open Kairos http://www.openkairos.com > Watch More TV http://sebelk.blogspot.com > Sergio Belkin - > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfonfon at gmail.com Wed Jun 18 12:30:04 2008 From: jfonfon at gmail.com (jfonfon) Date: Wed, 18 Jun 2008 12:30:04 +0200 Subject: Antwort: Nagios 3.0.x - Service SOFT/HARD status issue In-Reply-To: References: <5b9ad03b0806180141n24347a5ap7b4d58af0351af3a@mail.gmail.com> Message-ID: <5b9ad03b0806180330n3562f269r20bd091fd3e30793@mail.gmail.com> Hi, The max_check_attempt (retries) is set on 3. The starnge think is that I get good working behaviour with the following steps: 1. Service - Unknown - soft1 2. Host - Down - Soft1 3. Host - Up - Soft2 4. Service - OK - soft2 Jacques 2008/6/18 : > > nagios-users-bounces at lists.sourceforge.net schrieb am 18.06.2008 10:41:59: > > > > Since Nagios version 3.0 I've a strange service status issue. > > > > When a host become (temporaly) unreachable he goes in down soft1 (first > try). > > The service check following is directly in a HARD state ! Is it a bug ? > > Should it not also follow the retry process before going to hard state ? > > > > config is 3 retries for host & 3 retries for