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 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 > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 giorgio at zarrelli.org Wed Jun 18 12:42:20 2008 From: giorgio at zarrelli.org (Giorgio Zarrelli) Date: Wed, 18 Jun 2008 12:42:20 +0200 Subject: Graphs switch ports In-Reply-To: References: Message-ID: <20080618.gv3.07325300@www.zarrelli.org> Hi, you can easily do it with nagiosgrapher. I am currently using an hand made bash script based on snmp v3 to get the bandwidth, then I created a template to graph the values. So, I just need to define a service "Bandwidth" for each port on the switch, to get their bandwidths graphed. Giorgio Martin Leduc (marled3 at hotmail.com) scritto: > > 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 > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 13:25:37 2008 From: jouko+nagios-users at markkanen.net (Jouko Markkanen) Date: Wed, 18 Jun 2008 14:25:37 +0300 Subject: Vista gadget for monitoring Nagios In-Reply-To: <4858BE30.3050501@markkanen.net> References: <4858BE30.3050501@markkanen.net> Message-ID: <4858F0B1.1090800@markkanen.net> Hello! Looks like the previous version of xml status script (that is provided with the Nagstatus Vista gadget) didn't work quite as expected with Nagios V3. The new script version is available at nagiosexchange: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2603.html;d=1 This fix is required only for Nagios V3, the old version works fine on V2. And use the separate cgi script, the one that's in the gadget package is still the broken one. I'll update that package later. - 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 marc at ena.com Wed Jun 18 13:47:05 2008 From: marc at ena.com (Marc Powell) Date: Wed, 18 Jun 2008 06:47:05 -0500 Subject: nagios flapping notification In-Reply-To: <798167.8893.qm@web23314.mail.ird.yahoo.com> References: <798167.8893.qm@web23314.mail.ird.yahoo.com> Message-ID: <353FCC90-FF47-4A52-B099-4EE64615D14E@ena.com> On Jun 18, 2008, at 5:23 AM, trevor obba wrote: > 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 > Documentation -> Object Definitions -> (Host definitions - complete)/ Contact definitions -> Notification options. Your contact must also elect to receive flapping notifications. -- 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 caronc at navcanada.ca Wed Jun 18 15:15:42 2008 From: caronc at navcanada.ca (Caron, Chris) Date: Wed, 18 Jun 2008 09:15:42 -0400 Subject: External Command File : command.cfg is not referenced in Nagios v3.0.2 ... not for me anyways :) Message-ID: <474534909BE4064E853161350C47578E0B6FA64A@ncrmail1.corp.navcan.ca> Hi guys, I'm new to nagios, and am having problems passing the nagios -v tool. My configuration files are all in place and being processed properly, except the following line in the main nagios script: --------- #?EXTERNAL?COMMAND?OPTION check_external_commands=1 #?EXTERNAL?COMMAND?CHECK?INTERVAL command_check_interval=-1 #?EXTERNAL?COMMAND?FILE command_file=/etc/nagios/cluster_commands.cfg #?EXTERNAL?COMMAND?BUFFER?SLOTS external_command_buffer_slots=4096 --------- I get the following data back after running the nagios -v command (with some cleanup to ease readability) [error]?The?following?5?error(s)?occurred: Error:?Service?check?command?'check_http'?specified?in?service?'HTTP'?for?host?'node01.rhc1'?not?defined?anywhere! Error:?Host?check?command?'check-host-alive'?specified?for?host?'localhost'?is?not?defined?anywhere! Error:?Host?check?command?'check-host-alive'?specified?for?host?'node01.rhc1'?is?not?defined?anywhere! Error:?Service?notification?command?'notify-service-by-email'?specified?for?contact?'nagiosadmin'?is?not?defined?anywhere! Error:?Host?notification?command?'notify-host-by-email'?specified?for?contact?'nagiosadmin'?is?not?defined?anywhere! ------ [warning]?The?following?1?warning(s)?were?generated: Warning:?Host?'localhost'?has?no?services?associated?with?it! ------ Naturally i'm not worried about the warnings... but the errors are all complaining about commands that DO exist in the cluster_command.cfg file (referenced in my main cfg file). I have checked the path and permissions numerous times. Is this a common error. (chown nagios:nagios /etc/nagios/cluster_commands.cfg & chmod 644 /etc/nagios/cluster_commands.cfg) I'm using Nagios 3.0.2 in RHE52. The cluster_command.cfg file is a copy of the /usr/local/share/doc/nagios-plugin's very own command.cfg. The file is un-edited at the moment and has check-host-alive, and notify-host-by-email etc.... their all defined (or so they are in the file anyways). What am I missing? :( 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 Sascha.Runschke at gfkl.com Wed Jun 18 15:33:36 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 18 Jun 2008 15:33:36 +0200 Subject: Antwort: External Command File : command.cfg is not referenced in Nagios v3.0.2 ... not for me anyways :) In-Reply-To: <474534909BE4064E853161350C47578E0B6FA64A@ncrmail1.corp.navcan.ca> References: <474534909BE4064E853161350C47578E0B6FA64A@ncrmail1.corp.navcan.ca> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 18.06.2008 15:15:42: > # EXTERNAL COMMAND FILE > command_file=/etc/nagios/cluster_commands.cfg [...snip...] > What am I missing? :( From the nagios documentation: External Command File Format: command_file= Example: command_file=/usr/local/nagios/var/rw/nagios.cmd This is the file that Nagios will check for external commands to process. The command CGI writes commands to this file. The external command file is implemented as a named pipe (FIFO), which is created when Nagios starts and removed when it shuts down. If the file exists when Nagios starts, the Nagios process will terminate with an error message. More information on external commands can be found here. Need more hints? ;) 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 marc at ena.com Wed Jun 18 15:54:15 2008 From: marc at ena.com (Marc Powell) Date: Wed, 18 Jun 2008 08:54:15 -0500 Subject: External Command File : command.cfg is not referenced in Nagios v3.0.2 ... not for me anyways :) In-Reply-To: <474534909BE4064E853161350C47578E0B6FA64A@ncrmail1.corp.navcan.ca> References: <474534909BE4064E853161350C47578E0B6FA64A@ncrmail1.corp.navcan.ca> Message-ID: On Jun 18, 2008, at 8:15 AM, Caron, Chris wrote: > Hi guys, I'm new to nagios, and am having problems passing the > nagios -v tool. > My configuration files are all in place and being processed > properly, except the following line in the main nagios script: > > --------- > # EXTERNAL COMMAND OPTION > check_external_commands=1 > > # EXTERNAL COMMAND CHECK INTERVAL > command_check_interval=-1 > > # EXTERNAL COMMAND FILE > command_file=/etc/nagios/cluster_commands.cfg This is a cfg_file, not a command_file. command_file is very special and unique. The concept of external commands relates to sending control commands to nagios from the CGI's, NSCA or other programs. -- 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 Edgar.Matzinger at Valid.nl Wed Jun 18 15:31:31 2008 From: Edgar.Matzinger at Valid.nl (Edgar Matzinger) Date: Wed, 18 Jun 2008 15:31:31 +0200 Subject: External Command File : command.cfg is notreferenced in Nagios v3.0.2 ... not for me anyways :) In-Reply-To: <474534909BE4064E853161350C47578E0B6FA64A@ncrmail1.corp.navcan.ca> References: <474534909BE4064E853161350C47578E0B6FA64A@ncrmail1.corp.navcan.ca> Message-ID: Hi Chris, > #?EXTERNAL?COMMAND?FILE > command_file=/etc/nagios/cluster_commands.cfg > you have to use the directive cfg_file to include an additional config file. The directive command_file is used to supply nagios with extra commands to execute. A process (like the command CGI) writes into this file (which is in fact a named pipe) to feed nagios with commands to execute. See http://nagios.sourceforge.net/docs/3_0/extcommands.html for more information. HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, 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 jim.miller74 at yahoo.com Wed Jun 18 16:57:11 2008 From: jim.miller74 at yahoo.com (Jim Miller) Date: Wed, 18 Jun 2008 07:57:11 -0700 (PDT) Subject: Config documentation Message-ID: <859965.975.qm@web45814.mail.sp1.yahoo.com> Can anyone tell me where I might find documentation to tell how to monitor different aspects of a server. For example, I want to monitor my servers to ensure they are always responding on port 104. How do I do that? Is there somewhere I can look that wil explain all the options available to me? Thanks 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 paul.weaver at bbc.co.uk Wed Jun 18 17:04:24 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 18 Jun 2008 16:04:24 +0100 Subject: Config documentation In-Reply-To: <859965.975.qm@web45814.mail.sp1.yahoo.com> References: <859965.975.qm@web45814.mail.sp1.yahoo.com> Message-ID: You want documentation for the plugins -- nagios doesn't do any checking by itself, so it depends where you get them from. http://nagios.sourceforge.net/docs/3_0/plugins.html is a starting point. For your specific requirement, you should probably look at the check_tcp plugin -- "Watch out for that tree" Paul Weaver Systems Development Engineer News Production Facilities, BBC News -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jim Miller Sent: 18 June 2008 15:57 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Config documentation Can anyone tell me where I might find documentation to tell how to monitor different aspects of a server. For example, I want to monitor my servers to ensure they are always responding on port 104. How do I do that? Is there somewhere I can look that wil explain all the options available to me? Thanks Jim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 18 17:47:13 2008 From: bjlockie at lockie.ca (James) Date: Wed, 18 Jun 2008 11:47:13 -0400 (EDT) Subject: host down but service notifications Message-ID: <09a552b6309a87ab1a368c67fbeb99c6.squirrel@www.lockie.ca> I get service notifications even when the host is down. This shouldn't happen, right? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 17:50:35 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 18 Jun 2008 11:50:35 -0400 Subject: Newbie Trouble In-Reply-To: References: Message-ID: <20080618155035.GC6584@cgi.jachomes.com> On Mon, Jun 16, 2008 at 04:19:02PM -0600, Scott Ackerman wrote: > [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 And if Marc's suggestion doesn't help, note that "I can't create $PATHNAME" can mean that there's something wrong with *any directory in that path*, not merely the last one. 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 18 17:54:15 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 18 Jun 2008 11:54:15 -0400 Subject: How to monitor windows software raid In-Reply-To: <4857817C.2080308@googlemail.com> References: <200806161441.03871.me@renux.de> <485680A2.3050109@googlemail.com> <200806170932.58021.me@renux.de> <4857817C.2080308@googlemail.com> Message-ID: <20080618155415.GD6584@cgi.jachomes.com> On Tue, Jun 17, 2008 at 10:18:52AM +0100, Hari Sekhon wrote: > 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... Wouldn't it be pretty to think so. I'll be inquiring about how to instrument an NT4 SP6 PDC for Nagios next week... :-) 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 Wed Jun 18 18:03:39 2008 From: marc at ena.com (Marc Powell) Date: Wed, 18 Jun 2008 11:03:39 -0500 Subject: host down but service notifications In-Reply-To: <09a552b6309a87ab1a368c67fbeb99c6.squirrel@www.lockie.ca> References: <09a552b6309a87ab1a368c67fbeb99c6.squirrel@www.lockie.ca> Message-ID: <31CDA3A8-F82A-4916-A77A-8EBFD71C7CFB@ena.com> On Jun 18, 2008, at 10:47 AM, James wrote: > I get service notifications even when the host is down. > This shouldn't happen, right? If you have a host check_command that properly determines the host is down, correct. Unfortunately this doesn't appear to be stated in the 3.x documentation but I have no reason to believe that the behavior has changed -- http://nagios.sourceforge.net/docs/2_0/networkreachability.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 kevin.madsen at gmail.com Wed Jun 18 18:07:22 2008 From: kevin.madsen at gmail.com (Kevin Madsen) Date: Wed, 18 Jun 2008 12:07:22 -0400 Subject: How to monitor windows software raid In-Reply-To: <20080618155415.GD6584@cgi.jachomes.com> References: <200806161441.03871.me@renux.de> <485680A2.3050109@googlemail.com> <200806170932.58021.me@renux.de> <4857817C.2080308@googlemail.com> <20080618155415.GD6584@cgi.jachomes.com> Message-ID: <7a3cf5ca0806180907h3f4c1e42r7a59ee9055ab268f@mail.gmail.com> NSClient++ will work fine on NT4SP6. Kevin On Wed, Jun 18, 2008 at 11:54 AM, Jay R. Ashworth wrote: > On Tue, Jun 17, 2008 at 10:18:52AM +0100, Hari Sekhon wrote: > > 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... > > Wouldn't it be pretty to think so. > > I'll be inquiring about how to instrument an NT4 SP6 PDC for Nagios > next week... :-) > > 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 > -- Kevin Madsen Kevin.Madsen at GMAIL.com ----------------------------------------- Life's Rule #1: Once you pull the pin, Mr. Grenade is no longer your friend ----------------------------------------- There is only one basic human right, The right to do as you damn well please And with it comes the only basic human duty, the duty to take the consequences -P.J. O'Rourke http://www.lpgeorgia.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 marcus.fleige at de.rhenus.com Wed Jun 18 18:10:58 2008 From: marcus.fleige at de.rhenus.com (Marcus Fleige) Date: Wed, 18 Jun 2008 18:10:58 +0200 Subject: Changes in authorization between 3.0 and 3.0.2 statuswml.cgi? Message-ID: <48593392.8060908@de.rhenus.com> Hi Ethan, hi list, i'm having problems in acknowledging problems via WAP with Nagios 3.0.2. The Page tells me i'm not authorized to submit the command. When i submit the acknowledgement with the web frontend, all is working fine. Also, when i reinstall the statuswml.cgi from Nagios 3.0, its working again, too. So i guess, there must habe been something changed between these releases? Can anyone reproduce this behaviour? Regards, Marcus ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drew.weaver at thenap.com Wed Jun 18 18:38:13 2008 From: drew.weaver at thenap.com (Drew Weaver) Date: Wed, 18 Jun 2008 12:38:13 -0400 Subject: Bunch of strange issues Message-ID: Hi there, I finally got my installation of Nagios finished (hurray) I'm having some fairly (what I would consider strange) issues with it however and I am wondering if anyone else has run into these particular problems: [1213806661] Warning: The check of service 'SSH on Server B' on host 'ServerB' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1213806661] Warning: The check of service 'MySQL Database on Server A' on host 'ServerA' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1213806667] Warning: Check result queue contained results for service 'MySQL Database on ServerA' on host 'ServerA', but the service could not be found! Perhaps you forgot to define the service in your config files? [1213806787] Warning: Check result queue contained results for host 'ServerC', but the host could not be found! Perhaps you forgot to define the host in your config files? [1213806787] Warning: Check result queue contained results for host 'ServerD', but the host could not be found! Perhaps you forgot to define the host in your config files? [1213806787] Warning: Check result queue contained results for host 'ServerE', but the host could not be found! Perhaps you forgot to define the host in your config files? All of the services/hosts it mentions are listed in both the configuration files and in the Nagios web interface. Has anyone seen anything like this? Thanks, -Drew -------------- 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 jim.miller74 at yahoo.com Wed Jun 18 19:20:05 2008 From: jim.miller74 at yahoo.com (Jim Miller) Date: Wed, 18 Jun 2008 10:20:05 -0700 (PDT) Subject: Service monitoring question Message-ID: <353760.69498.qm@web45805.mail.sp1.yahoo.com> I have the following in my windows.cfg file define service{ use ??? ??? ? generic-service host_name ??? my host name service_description ??? DICOM check_command ??? check_tcp! -H my ip -p 104 } but it returns a status of unknown in the Nagios dashboard. I get the following message. check_tcp: Port must be a positive integer? I have run the check_tcp command from the command line (minus the !) successfully with that same syntax. Any ideas? -------------- 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 aaron.segura at cabelas.com Wed Jun 18 19:29:38 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 18 Jun 2008 11:29:38 -0600 Subject: Service monitoring question In-Reply-To: <353760.69498.qm@web45805.mail.sp1.yahoo.com> References: <353760.69498.qm@web45805.mail.sp1.yahoo.com> Message-ID: <1213810178.6302.81.camel@localhost> Your check command is incorrect. We'll need to see your command definition for 'check_tcp' to tell you for sure what's wrong, though. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html On Wed, 2008-06-18 at 10:20 -0700, Jim Miller wrote: > I have the following in my windows.cfg file > define service{ > use generic-service > host_name my host name > service_description DICOM > check_command check_tcp! -H my ip -p 104 > } > but it returns a status of unknown in the Nagios dashboard. I get the following message. > check_tcp: Port must be a positive integer > I have run the check_tcp command from the command line (minus the !) successfully with that same syntax. Any ideas? > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 jim.miller74 at yahoo.com Wed Jun 18 19:39:01 2008 From: jim.miller74 at yahoo.com (Jim Miller) Date: Wed, 18 Jun 2008 10:39:01 -0700 (PDT) Subject: Service monitoring question Message-ID: <352541.31778.qm@web45815.mail.sp1.yahoo.com> I'm afraid I don't follow. Are you referring to the way the command is defined in the command.cfg file? If that's the case it looks like this. define command{ ??? ??? ??? command_name??? ??? check_tcp ??????????? command_line??? ??? ??? $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARGS1$ $ARGS2$ ??? ??? ??? } Is that what you mean? ----- Original Message ---- From: Aaron M. Segura To: Jim Miller Cc: nagios-users at lists.sourceforge.net Sent: Wednesday, June 18, 2008 1:29:38 PM Subject: Re: [Nagios-users] Service monitoring question Your check command is incorrect.? We'll need to see your command definition for 'check_tcp' to tell you for sure what's wrong, though. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html On Wed, 2008-06-18 at 10:20 -0700, Jim Miller wrote: > I have the following in my windows.cfg file > define service{ > ??? use??? ??? ? ? ? ? ? generic-service??? ??? > ??? host_name??? ??? ? ? my host name > ??? service_description??? ? ? DICOM > ??? check_command??? ? ? check_tcp! -H my ip -p 104 > ??? } > but it returns a status of unknown in the Nagios dashboard. I get the following message. > check_tcp: Port must be a positive integer > I have run the check_tcp command from the command line (minus the !) successfully with that same syntax. Any ideas? > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 drew.weaver at thenap.com Wed Jun 18 19:53:17 2008 From: drew.weaver at thenap.com (Drew Weaver) Date: Wed, 18 Jun 2008 13:53:17 -0400 Subject: Bunch of strange issues In-Reply-To: <2dfcbd1b0806181043o3e56832jcbabeb7b56aa3f5@mail.gmail.com> References: <2dfcbd1b0806181043o3e56832jcbabeb7b56aa3f5@mail.gmail.com> Message-ID: I'm pretty sure there may be something 'worse' going on than previously thought. If I view the 'configuration' section of the nagios web interface It shows me 2x for each host and 2x for each service, if I am on the tactical overview and I keep refreshing over and over, about 50% of the time I see: # Active Host / Service Checks: 2 / 9 The other 50% of the time I see: # Active Host / Service Checks: 8 / 38 The 8/38 is correct. If I run: /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg Nagios 3.0.1 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 04-01-2008 License: GPL Timing information on object configuration processing is listed below. You can use this information to see if precaching your object configuration would be useful. Object Config Source: Config files (uncached) OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) ---------------------------------- Read: 0.002732 sec Resolve: 0.000018 sec * Recomb Contactgroups: 0.000003 sec * Recomb Hostgroups: 0.000003 sec * Dup Services: 0.000050 sec * Recomb Servicegroups: 0.000002 sec * Duplicate: 0.000001 sec * Inherit: 0.000007 sec * Recomb Contacts: 0.000000 sec * Sort: 0.000001 sec * Register: 0.000274 sec Free: 0.000033 sec ============ TOTAL: 0.003124 sec * = 0.000085 sec (2.72%) estimated savings RETENTION DATA TIMES ---------------------------------- Read and Process: 0.000944 sec ============ TOTAL: 0.000944 sec Timing information on configuration verification is listed below. CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) ---------------------------------- Object Relationships: 0.000178 sec Circular Paths: 0.000003 sec * Misc: 0.000069 sec ============ TOTAL: 0.000250 sec * = 0.000003 sec (1.2%) estimated savings EVENT SCHEDULING TIMES ------------------------------------- Get service info: 0.000122 sec Get host info info: 0.000020 sec Get service params: 0.000004 sec Schedule service times: 0.000194 sec Schedule service events: 0.000027 sec Get host params: 0.000001 sec Schedule host times: 0.000041 sec Schedule host events: 0.000007 sec ============ TOTAL: 0.000416 sec Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 8 Total scheduled hosts: 8 Host inter-check delay method: SMART Average host check interval: 600.00 sec Host inter-check delay: 75.00 sec Max host check spread: 30 min First scheduled check: Wed Jun 18 13:47:05 2008 Last scheduled check: Wed Jun 18 13:55:50 2008 SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 38 Total scheduled services: 38 Service inter-check delay method: SMART Average service check interval: 600.00 sec Inter-check delay: 15.79 sec Interleave factor method: SMART Average services per host: 4.75 Service interleave factor: 5 Max service check spread: 30 min First scheduled check: Wed Jun 18 13:49:11 2008 Last scheduled check: Wed Jun 18 13:59:11 2008 It shows my 8 hosts and 38 services. Any idea what in the world is going on? All of my hosts/services and contacts are defined in 'included files'. Is this not ok? -Drew --------------------------------------- From: Marcel [mailto:webknowledge at gmail.com] Sent: Wednesday, June 18, 2008 1:43 PM To: Drew Weaver Subject: Re: [Nagios-users] Bunch of strange issues Yes, I have some lines like that in my nagios.log - (for me) they mean that some passive checks are getting to nagios.cmd pipe, but they're not defined as a service nor host, whatsoever in nagios object definitions. Check your config again. On Wed, Jun 18, 2008 at 1:38 PM, Drew Weaver wrote: Hi there, I finally got my installation of Nagios finished (hurray) I'm having some fairly (what I would consider strange) issues with it however and I am wondering if anyone else has run into these particular problems: [1213806661] Warning: The check of service 'SSH on Server B' on host 'ServerB' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1213806661] Warning: The check of service 'MySQL Database on Server A' on host 'ServerA' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1213806667] Warning: Check result queue contained results for service 'MySQL Database on ServerA' on host 'ServerA', but the service could not be found! Perhaps you forgot to define the service in your config files? [1213806787] Warning: Check result queue contained results for host 'ServerC', but the host could not be found! Perhaps you forgot to define the host in your config files? [1213806787] Warning: Check result queue contained results for host 'ServerD', but the host could not be found! Perhaps you forgot to define the host in your config files? [1213806787] Warning: Check result queue contained results for host 'ServerE', but the host could not be found! Perhaps you forgot to define the host in your config files? All of the services/hosts it mentions are listed in both the configuration files and in the Nagios web interface. Has anyone seen anything like this? Thanks, -Drew ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 drew.weaver at thenap.com Wed Jun 18 20:04:34 2008 From: drew.weaver at thenap.com (Drew Weaver) Date: Wed, 18 Jun 2008 14:04:34 -0400 Subject: Bunch of strange issues In-Reply-To: References: <2dfcbd1b0806181043o3e56832jcbabeb7b56aa3f5@mail.gmail.com> Message-ID: As much as I hate replying to myself. It turns out I had two Nagios instances running simultaneously and that was causing 80% of my issues. (naughty init script...) Does anyone know what would cause the configuration section of CGI to show double hosts/services/contacts (it's still doing that..) -Drew -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Drew Weaver Sent: Wednesday, June 18, 2008 1:53 PM To: 'Marcel' Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Bunch of strange issues I'm pretty sure there may be something 'worse' going on than previously thought. If I view the 'configuration' section of the nagios web interface It shows me 2x for each host and 2x for each service, if I am on the tactical overview and I keep refreshing over and over, about 50% of the time I see: # Active Host / Service Checks: 2 / 9 The other 50% of the time I see: # Active Host / Service Checks: 8 / 38 The 8/38 is correct. If I run: /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg Nagios 3.0.1 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 04-01-2008 License: GPL Timing information on object configuration processing is listed below. You can use this information to see if precaching your object configuration would be useful. Object Config Source: Config files (uncached) OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) ---------------------------------- Read: 0.002732 sec Resolve: 0.000018 sec * Recomb Contactgroups: 0.000003 sec * Recomb Hostgroups: 0.000003 sec * Dup Services: 0.000050 sec * Recomb Servicegroups: 0.000002 sec * Duplicate: 0.000001 sec * Inherit: 0.000007 sec * Recomb Contacts: 0.000000 sec * Sort: 0.000001 sec * Register: 0.000274 sec Free: 0.000033 sec ============ TOTAL: 0.003124 sec * = 0.000085 sec (2.72%) estimated savings RETENTION DATA TIMES ---------------------------------- Read and Process: 0.000944 sec ============ TOTAL: 0.000944 sec Timing information on configuration verification is listed below. CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) ---------------------------------- Object Relationships: 0.000178 sec Circular Paths: 0.000003 sec * Misc: 0.000069 sec ============ TOTAL: 0.000250 sec * = 0.000003 sec (1.2%) estimated savings EVENT SCHEDULING TIMES ------------------------------------- Get service info: 0.000122 sec Get host info info: 0.000020 sec Get service params: 0.000004 sec Schedule service times: 0.000194 sec Schedule service events: 0.000027 sec Get host params: 0.000001 sec Schedule host times: 0.000041 sec Schedule host events: 0.000007 sec ============ TOTAL: 0.000416 sec Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 8 Total scheduled hosts: 8 Host inter-check delay method: SMART Average host check interval: 600.00 sec Host inter-check delay: 75.00 sec Max host check spread: 30 min First scheduled check: Wed Jun 18 13:47:05 2008 Last scheduled check: Wed Jun 18 13:55:50 2008 SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 38 Total scheduled services: 38 Service inter-check delay method: SMART Average service check interval: 600.00 sec Inter-check delay: 15.79 sec Interleave factor method: SMART Average services per host: 4.75 Service interleave factor: 5 Max service check spread: 30 min First scheduled check: Wed Jun 18 13:49:11 2008 Last scheduled check: Wed Jun 18 13:59:11 2008 It shows my 8 hosts and 38 services. Any idea what in the world is going on? All of my hosts/services and contacts are defined in 'included files'. Is this not ok? -Drew --------------------------------------- From: Marcel [mailto:webknowledge at gmail.com] Sent: Wednesday, June 18, 2008 1:43 PM To: Drew Weaver Subject: Re: [Nagios-users] Bunch of strange issues Yes, I have some lines like that in my nagios.log - (for me) they mean that some passive checks are getting to nagios.cmd pipe, but they're not defined as a service nor host, whatsoever in nagios object definitions. Check your config again. On Wed, Jun 18, 2008 at 1:38 PM, Drew Weaver wrote: Hi there, I finally got my installation of Nagios finished (hurray) I'm having some fairly (what I would consider strange) issues with it however and I am wondering if anyone else has run into these particular problems: [1213806661] Warning: The check of service 'SSH on Server B' on host 'ServerB' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1213806661] Warning: The check of service 'MySQL Database on Server A' on host 'ServerA' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1213806667] Warning: Check result queue contained results for service 'MySQL Database on ServerA' on host 'ServerA', but the service could not be found! Perhaps you forgot to define the service in your config files? [1213806787] Warning: Check result queue contained results for host 'ServerC', but the host could not be found! Perhaps you forgot to define the host in your config files? [1213806787] Warning: Check result queue contained results for host 'ServerD', but the host could not be found! Perhaps you forgot to define the host in your config files? [1213806787] Warning: Check result queue contained results for host 'ServerE', but the host could not be found! Perhaps you forgot to define the host in your config files? All of the services/hosts it mentions are listed in both the configuration files and in the Nagios web interface. Has anyone seen anything like this? Thanks, -Drew ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 aaron.segura at cabelas.com Wed Jun 18 20:33:21 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 18 Jun 2008 12:33:21 -0600 Subject: Service monitoring question In-Reply-To: <352541.31778.qm@web45815.mail.sp1.yahoo.com> References: <352541.31778.qm@web45815.mail.sp1.yahoo.com> Message-ID: <1213814001.6302.86.camel@localhost> did you modify it? It should be something like: $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ Then, your service 'check_command' definition would look like: check_tcp!104 I'm not sure why $ARG2$ is on the end there... On Wed, 2008-06-18 at 10:39 -0700, Jim Miller wrote: > I'm afraid I don't follow. Are you referring to the way the command is > defined in the command.cfg file? If that's the case it looks like > this. > > > > define command{ > > command_name check_tcp > > command_line $USER1$/check_tcp -H $HOSTADDRESS$ > -p $ARGS1$ $ARGS2$ > > } > > > > Is that what you mean? > > > > ----- Original Message ---- > From: Aaron M. Segura > To: Jim Miller > Cc: nagios-users at lists.sourceforge.net > Sent: Wednesday, June 18, 2008 1:29:38 PM > Subject: Re: [Nagios-users] Service monitoring question > > Your check command is incorrect. We'll need to see your command > definition for 'check_tcp' to tell you for sure what's wrong, though. > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html > > On Wed, 2008-06-18 at 10:20 -0700, Jim Miller wrote: > > I have the following in my windows.cfg file > > define service{ > > use generic-service > > host_name my host name > > service_description DICOM > > check_command check_tcp! -H my ip -p 104 > > } > > but it returns a status of unknown in the Nagios dashboard. I get > the following message. > > check_tcp: Port must be a positive integer > > I have run the check_tcp command from the command line (minus the !) > successfully with that same syntax. Any ideas? > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 18 20:39:53 2008 From: marc at ena.com (Marc Powell) Date: Wed, 18 Jun 2008 13:39:53 -0500 Subject: Service monitoring question In-Reply-To: <352541.31778.qm@web45815.mail.sp1.yahoo.com> References: <352541.31778.qm@web45815.mail.sp1.yahoo.com> Message-ID: On Jun 18, 2008, at 12:39 PM, Jim Miller wrote: > I'm afraid I don't follow. Are you referring to the way the command > is defined in the command.cfg file? If that's the case it looks like > this. > > > define command{ > > command_name check_tcp > > command_line $USER1$/check_tcp -H $HOSTADDRESS > $ -p $ARGS1$ $ARGS2$ > > } > > > I have the following in my windows.cfg file > > define service{ > > use generic-service > > host_name my host name > > service_description DICOM > > check_command check_tcp! -H my ip -p 104 > > } http://nagios.sourceforge.net/docs/2_0/macros.html $ARG1$ is ' -H my ip -p 104'. $ARG2$ is null (ok in this case). The command nagios is executing is -- /path/to/plugins/check_tcp -H -p -H my ip -p 104 -- 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 webknowledge at gmail.com Wed Jun 18 20:58:45 2008 From: webknowledge at gmail.com (Marcel) Date: Wed, 18 Jun 2008 15:58:45 -0300 Subject: Bunch of strange issues In-Reply-To: References: <2dfcbd1b0806181043o3e56832jcbabeb7b56aa3f5@mail.gmail.com> Message-ID: <2dfcbd1b0806181158p7dbb76eaj71f29498fd164ca7@mail.gmail.com> Yes, Double Nagios instances would write twice to the status.dat file, whence doubling the objects reported by the cgis, which parse the status.dat file to render the web pages. On Wed, Jun 18, 2008 at 3:04 PM, Drew Weaver wrote: > As much as I hate replying to myself. It turns out I had two Nagios > instances running simultaneously and that was causing 80% of my issues. > > (naughty init script...) > > Does anyone know what would cause the configuration section of CGI to show > double hosts/services/contacts (it's still doing that..) > > -Drew > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] On Behalf Of Drew Weaver > Sent: Wednesday, June 18, 2008 1:53 PM > To: 'Marcel' > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Bunch of strange issues > > I'm pretty sure there may be something 'worse' going on than previously > thought. > > If I view the 'configuration' section of the nagios web interface > > It shows me 2x for each host and 2x for each service, if I am on the > tactical overview and I keep refreshing over and over, about 50% of the time > I see: > > # Active Host / Service Checks: > 2 / 9 > > The other 50% of the time I see: > > # Active Host / Service Checks: > 8 / 38 > > The 8/38 is correct. > > If I run: > > /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg > > Nagios 3.0.1 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 04-01-2008 > License: GPL > > Timing information on object configuration processing is listed > below. You can use this information to see if precaching your > object configuration would be useful. > > Object Config Source: Config files (uncached) > > OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings > with -u option) > ---------------------------------- > Read: 0.002732 sec > Resolve: 0.000018 sec * > Recomb Contactgroups: 0.000003 sec * > Recomb Hostgroups: 0.000003 sec * > Dup Services: 0.000050 sec * > Recomb Servicegroups: 0.000002 sec * > Duplicate: 0.000001 sec * > Inherit: 0.000007 sec * > Recomb Contacts: 0.000000 sec * > Sort: 0.000001 sec * > Register: 0.000274 sec > Free: 0.000033 sec > ============ > TOTAL: 0.003124 sec * = 0.000085 sec (2.72%) estimated > savings > > > RETENTION DATA TIMES > ---------------------------------- > Read and Process: 0.000944 sec > ============ > TOTAL: 0.000944 sec > > > Timing information on configuration verification is listed below. > > CONFIG VERIFICATION TIMES (* = Potential for speedup with -x > option) > ---------------------------------- > Object Relationships: 0.000178 sec > Circular Paths: 0.000003 sec * > Misc: 0.000069 sec > ============ > TOTAL: 0.000250 sec * = 0.000003 sec (1.2%) estimated > savings > > > EVENT SCHEDULING TIMES > ------------------------------------- > Get service info: 0.000122 sec > Get host info info: 0.000020 sec > Get service params: 0.000004 sec > Schedule service times: 0.000194 sec > Schedule service events: 0.000027 sec > Get host params: 0.000001 sec > Schedule host times: 0.000041 sec > Schedule host events: 0.000007 sec > ============ > TOTAL: 0.000416 sec > > > Projected scheduling information for host and service checks > is listed below. This information assumes that you are going > to start running Nagios with your current config files. > > HOST SCHEDULING INFORMATION > --------------------------- > Total hosts: 8 > Total scheduled hosts: 8 > Host inter-check delay method: SMART > Average host check interval: 600.00 sec > Host inter-check delay: 75.00 sec > Max host check spread: 30 min > First scheduled check: Wed Jun 18 13:47:05 2008 > Last scheduled check: Wed Jun 18 13:55:50 2008 > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 38 > Total scheduled services: 38 > Service inter-check delay method: SMART > Average service check interval: 600.00 sec > Inter-check delay: 15.79 sec > Interleave factor method: SMART > Average services per host: 4.75 > Service interleave factor: 5 > Max service check spread: 30 min > First scheduled check: Wed Jun 18 13:49:11 2008 > Last scheduled check: Wed Jun 18 13:59:11 2008 > > It shows my 8 hosts and 38 services. > > Any idea what in the world is going on? > > All of my hosts/services and contacts are defined in 'included files'. Is > this not ok? > > -Drew > > --------------------------------------- > > From: Marcel [mailto:webknowledge at gmail.com] > Sent: Wednesday, June 18, 2008 1:43 PM > To: Drew Weaver > Subject: Re: [Nagios-users] Bunch of strange issues > > Yes, I have some lines like that in my nagios.log - (for me) they mean that > some passive checks are getting to nagios.cmd pipe, but they're not defined > as a service nor host, whatsoever in nagios object definitions. Check your > config again. > On Wed, Jun 18, 2008 at 1:38 PM, Drew Weaver > wrote: > Hi there, I finally got my installation of Nagios finished (hurray) > > I'm having some fairly (what I would consider strange) issues with it > however and I am wondering if anyone else has run into these particular > problems: > > [1213806661] Warning: The check of service 'SSH on Server B' on host > 'ServerB' looks like it was orphaned (results never came back). I'm > scheduling an immediate check of the service... > [1213806661] Warning: The check of service 'MySQL Database on Server A' on > host 'ServerA' looks like it was orphaned (results never came back). I'm > scheduling an immediate check of the service... > [1213806667] Warning: Check result queue contained results for service > 'MySQL Database on ServerA' on host 'ServerA', but the service could not be > found! Perhaps you forgot to define the service in your config files? > [1213806787] Warning: Check result queue contained results for host > 'ServerC', but the host could not be found! Perhaps you forgot to define > the host in your config files? > [1213806787] Warning: Check result queue contained results for host > 'ServerD', but the host could not be found! Perhaps you forgot to define > the host in your config files? > [1213806787] Warning: Check result queue contained results for host > 'ServerE', but the host could not be found! Perhaps you forgot to define > the host in your config files? > > All of the services/hosts it mentions are listed in both the configuration > files and in the Nagios web interface. > > Has anyone seen anything like this? > > Thanks, > -Drew > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 > -------------- 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 michael at medin.name Wed Jun 18 21:32:46 2008 From: michael at medin.name (Michael Medin) Date: Wed, 18 Jun 2008 21:32:46 +0200 Subject: How to monitor windows software raid In-Reply-To: <20080618155415.GD6584@cgi.jachomes.com> References: <200806161441.03871.me@renux.de> <485680A2.3050109@googlemail.com> <200806170932.58021.me@renux.de> <4857817C.2080308@googlemail.com> <20080618155415.GD6584@cgi.jachomes.com> Message-ID: <485962DE.9090808@medin.name> Jay R. Ashworth wrote: > On Tue, Jun 17, 2008 at 10:18:52AM +0100, Hari Sekhon wrote: > >> 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... >> > > Wouldn't it be pretty to think so. > > I'll be inquiring about how to instrument an NT4 SP6 PDC for Nagios > next week... :-) > Wont be that hard actually. If you use for instance NSClient++ or the original client (p)NSclient (and I am guessing the OpMonAgent as well) which all run on NT4 and beyond but when on windows there are not so many pre-made recipes so one tends to have to manufacture the "wheel" over and over :) But the short answer will be much the same whatever you want to monitor (on windows): Check: the built in (to the agent) cpu/mem/* and in addition you probably want to check Eventlog, PDH counters (and WMI for w2k and beyond) and such to monitor your specific "items". // Michael Medin > Cheers, > -- jra > -------------- 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 chris at base2technology.com Wed Jun 18 23:17:54 2008 From: chris at base2technology.com (Chris Hirsch) Date: Wed, 18 Jun 2008 15:17:54 -0600 Subject: Howto install backuppc Nagios-Plugin In-Reply-To: <460056173@web.de> References: <460056173@web.de> Message-ID: <48597B82.8080601@base2technology.com> Stefan Mosleitner wrote: > Hi! > > Could somebody give me (total newbie) a short howto for installing the Nagios-Plugin "check_backuppc" (http://n-backuppc.sourceforge.net/) > > Running System: Debian-Etch; Apache2; Nagios 1.4. > > The docs that come with it are pretty straight forward. I will say that when you add to the sudoers file make sure that you comment out the requiretty line or you'll see something like "sorry, you must have a tty to run sudo" in your secure logs and you will get the fun to debug "Unable to read output" from nrpe. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Thu Jun 19 00:42:53 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 18 Jun 2008 18:42:53 -0400 Subject: How to monitor windows software raid In-Reply-To: <20080618155415.GD6584@cgi.jachomes.com> References: <200806161441.03871.me@renux.de> <485680A2.3050109@googlemail.com> <200806170932.58021.me@renux.de> <4857817C.2080308@googlemail.com> <20080618155415.GD6584@cgi.jachomes.com> Message-ID: All the standard Windows Plugins should work, well on NT4; since it is SP6. if it has the dot net framework it can use NC_Net (version dependent on Framework version) you can use NRPE, NSClient, NSClient++, OPMon, SNMP. or any other scripting language with Win_NSCA Tony (Author of NC_Net) On Wed, Jun 18, 2008 at 11:54 AM, Jay R. Ashworth wrote: > On Tue, Jun 17, 2008 at 10:18:52AM +0100, Hari Sekhon wrote: > > 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... > > Wouldn't it be pretty to think so. > > I'll be inquiring about how to instrument an NT4 SP6 PDC for Nagios > next week... :-) > > 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 > -------------- 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 yu.watanabe at jp.fujitsu.com Thu Jun 19 02:32:57 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 19 Jun 2008 09:32:57 +0900 Subject: About check_udp plugin In-Reply-To: References: Message-ID: <200806190032.AA02355@S2005110.jp.fujitsu.com> Hello, Thank you for the reply. So, could you please give me an advice of how to use the check_udp? I have trouble with specifying the "send" and "expect" parameters... For example, I would like to know the parameters to specify to check the 161 udp port, which is the snmp service in our network device. Best Regards, Yu Watanabe Marc Powell ????????: > >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 > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrewd at webzone.net.au Thu Jun 19 06:41:35 2008 From: andrewd at webzone.net.au (Andrew D (Webzone)) Date: Thu, 19 Jun 2008 14:11:35 +0930 Subject: FreeBSD Nagios 2.12 Message-ID: <4859E37F.5090907@webzone.net.au> Howdy all, We have 2 machines here with nagios installed. The 1st stopped working (not probing services and machines) after the upgrade from 2.11 to 2.12, however after changing the conf files so that an unassigned contact was assigned to a group, It started working fine. Considering that it was listed as a 'warning' in the log files I was surprised to find that it had stopped probing. Just wondering if anyone else had seen that before. (freeBSD 5.5) The second server(FBSD 5.4) hasn't been resolved as yet. It doesn't probe anything at all like the first server, however it doesn't have any warnings come up or anything out of whack that I can see within the conf files. I've recompiled everything on the box with no diff. From the logs: The logs don't say anything other than [1213758202] Nagios 2.12 starting... (PID=77539) [1213758202] LOG VERSION: 2.0 [1213758202] Finished daemonizing... (New PID=77540) [1213758318] Caught SIGTERM, shutting down... The sigterm saves any data (ie the next prob time which has already passed) and then turns nagios into an unkillable zombie. If anyone could give any advice or have any ideas, that would be muchly appreciated. TIA cheers cya Andrew -- Network Administrator / Manager Webzone Internet 1st Floor (Oakley Street Entrance) 167 Grote Street Adelaide SA, 5000 Phone 1300 303 932 Fax 08 8221 6204 Email andrewd at webzone.net.au manager at webzone.net.au ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 19 14:34:26 2008 From: jim.miller74 at yahoo.com (Jim Miller) Date: Thu, 19 Jun 2008 05:34:26 -0700 (PDT) Subject: Monitoring capabilities question Message-ID: <639851.57492.qm@web45805.mail.sp1.yahoo.com> Does anyone know, is Nagios capable of monitoring object counts within a folder? 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 assaf.flatto at ssp.uk.com Thu Jun 19 14:41:43 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 19 Jun 2008 13:41:43 +0100 Subject: Monitoring capabilities question In-Reply-To: <639851.57492.qm@web45805.mail.sp1.yahoo.com> References: <639851.57492.qm@web45805.mail.sp1.yahoo.com> Message-ID: <200806191341.43306.assaf.flatto@ssp.uk.com> do you mean count files within a directory ? I don't think there is a "built in" plug-in , but you could always do a "check-by-ssh" and retrieve the listing of the directory ( assuming you want files on a unix/linux machine). Assaf On Thursday 19 June 2008 13:34:26 Jim Miller wrote: > Does anyone know, is Nagios capable of monitoring object counts within a > folder? Jim IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 14:45:49 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Thu, 19 Jun 2008 13:45:49 +0100 Subject: Monitoring capabilities question In-Reply-To: <639851.57492.qm@web45805.mail.sp1.yahoo.com> References: <639851.57492.qm@web45805.mail.sp1.yahoo.com> Message-ID: <20080619134549.1940e0e3@tclmmw.in.tiger-computing.com> On Thu, 19 Jun 2008 05:34:26 -0700 (PDT) Jim Miller wrote: > Does anyone know, is Nagios capable of monitoring object counts > within a folder? If you can provide it with that data then yes, I can't see why not. Write a script similar to the following: =============================================== count the objects in this folder if the number of objects is higher than "a" then Return the number of objects found and exitcode = 1 if the number of objects is higher than "b" then Return the number of objects found and exitcode = 2 if the number of objects is higher than "c" then Return the number of objects found and exitcode = 3 ============================================== This will allow you to set OK, critical and warning levels for the number of files if you wish. If not, ensure that your app exits with an exit code of 1 and it will always show as OK. HTH, 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 aaron.segura at cabelas.com Thu Jun 19 15:22:37 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Thu, 19 Jun 2008 07:22:37 -0600 Subject: Monitoring capabilities question In-Reply-To: <20080619134549.1940e0e3@tclmmw.in.tiger-computing.com> References: <639851.57492.qm@web45805.mail.sp1.yahoo.com> <20080619134549.1940e0e3@tclmmw.in.tiger-computing.com> Message-ID: <1213881757.6319.3.camel@localhost> Correction -- Exit Codes 0 == OK 1 == Warning 2 == Critical On Thu, 2008-06-19 at 13:45 +0100, Matthew Macdonald-Wallace wrote: > On Thu, 19 Jun 2008 05:34:26 -0700 (PDT) > Jim Miller wrote: > > > Does anyone know, is Nagios capable of monitoring object counts > > within a folder? > > If you can provide it with that data then yes, I can't see why not. > > Write a script similar to the following: > > > > =============================================== > count the objects in this folder > > if the number of objects is higher than "a" then Return the number of > objects found and exitcode = 1 > if the number of objects is higher than "b" then Return the number of > objects found and exitcode = 2 > if the number of objects is higher than "c" then Return the number of > objects found and exitcode = 3 > ============================================== > > This will allow you to set OK, critical and warning levels for the > number of files if you wish. If not, ensure that your app exits with > an exit code of 1 and it will always show as OK. > > HTH, > > 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 lists at truthisfreedom.org.uk Thu Jun 19 15:55:04 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Thu, 19 Jun 2008 14:55:04 +0100 Subject: Monitoring capabilities question In-Reply-To: <1213881757.6319.3.camel@localhost> References: <639851.57492.qm@web45805.mail.sp1.yahoo.com> <20080619134549.1940e0e3@tclmmw.in.tiger-computing.com> <1213881757.6319.3.camel@localhost> Message-ID: <20080619145504.1619c58d@tclmmw.in.tiger-computing.com> On Thu, 19 Jun 2008 07:22:37 -0600 "Aaron M. Segura" wrote: > Correction -- > > Exit Codes > 0 == OK > 1 == Warning > 2 == Critical Mea Culpa... /me blushes...I should know this stuff by now... :o) 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 marc at ena.com Thu Jun 19 16:03:40 2008 From: marc at ena.com (Marc Powell) Date: Thu, 19 Jun 2008 09:03:40 -0500 Subject: About check_udp plugin In-Reply-To: <200806190032.AA02355@S2005110.jp.fujitsu.com> References: <200806190032.AA02355@S2005110.jp.fujitsu.com> Message-ID: <171AB06E-99B2-4C3F-B67E-F13FAAF8A235@ena.com> On Jun 18, 2008, at 7:32 PM, Yu Watanabe wrote: > Hello, > > Thank you for the reply. > > So, could you please give me an advice of how to use the check_udp? > > I have trouble with specifying the "send" and "expect" parameters... > For example, I would like to know the parameters to specify to > check the 161 udp port, which is the snmp service in our network > device. I cannot. I don't use check_udp and don't know the SNMP protocol at such a basic level to know what to send. I imagine that it's not a simple string for this protocol. Your best bet, if you cannot use check_snmp instead, would be to capture a successful query/response pair with ethereal and see if it can be made to work based on the send/ expect you find in the capture. -- 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 Thu Jun 19 21:03:09 2008 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Thu, 19 Jun 2008 15:03:09 -0400 Subject: action_url issues In-Reply-To: References: <48381E09.3060500@vanderkooij.org> Message-ID: <485AAD6D.4090804@iweb.com> Nagios User wrote: > Hugo, > Thanks for checking into this. I rolled back to version 3.0.1 and > everything is working fine. For some reason the new code is reading > the slashes on urls differently. See the lines on URL to Acknowledge. A bugfix has been applied in Nagios 3.0.2. In fact, the behavior in Nagios 3.0.1 was the wrong one I guess. Some "clean_options" for *_url are defined in ./common/macros on lines: 485, 1846, 1919, 2157 and 2235 To revert to the old behavior, those "clean_options" should be removed and/or tweaked. Mathieu ---------------------------------------------------------------- --- nagios-3.0.1/common/macros.c 2008-03-10 18:35:30.000000000 -0400 +++ nagios-3.0.2/common/macros.c 2008-05-19 14:01:58.000000000 -0400 @@ -206,7 +206,7 @@ #endif /* include any cleaning options passed back to us */ - macro_options=(options & clean_options); + macro_options=(options | clean_options); #ifdef NSCORE log_debug_info(DEBUGL_MACROS,2," Cleaning options: global=%d, local=%d, effective=%d\n",options,clean_options,macro_options); ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 19 21:52:20 2008 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Thu, 19 Jun 2008 15:52:20 -0400 Subject: action_url issues In-Reply-To: <485AAD6D.4090804@iweb.com> References: <48381E09.3060500@vanderkooij.org> <485AAD6D.4090804@iweb.com> Message-ID: <485AB8F4.5000800@iweb.com> Hi, Mathieu Gagn? wrote: > > A bugfix has been applied in Nagios 3.0.2. In fact, the behavior in > Nagios 3.0.1 was the wrong one I guess. > This bugfix was introduced here: http://thread.gmane.org/gmane.network.nagios.devel/5219/focus=5225 Some characters don't get encoded and the list is defined in ./common/macros.c on lin 2486 Those characters should not get encoded too: ":", "/", "?", "=" and "&". Attached is a patch that fixes this urlencode issue. -- Mathieu -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: fix-macro-urlencode.patch 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 andreoandre at gmail.com Thu Jun 19 21:52:36 2008 From: andreoandre at gmail.com (=?ISO-8859-1?Q?Andr=E9_Moura?=) Date: Thu, 19 Jun 2008 16:52:36 -0300 Subject: limit hosts and services Message-ID: there is a limit of number of hosts and services in nagios? -- Andr? O Moura http://andrem.wordpress.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 lists at scott-ackerman.com Thu Jun 19 22:19:20 2008 From: lists at scott-ackerman.com (Scott Ackerman) Date: Thu, 19 Jun 2008 14:19:20 -0600 Subject: NRPE Install Error Message-ID: I have successfully installed NRPE on the remote server (FC6 box). I have run the check_nrpe "tests" to verify that everything is working correctly. On the monitoring server however (CentOS 5.1 box) when I run "/usr/local/nagios/libexec/check_nrpe -H (IP address of remote server), I get the following error: CHECK_NRPE: Error - Could not complete SSL handshake. the only "negative" reponse that I got when I ran ./configure was "checking for Kerberos include files... could not find include files. Sorry but I am new at this, but I am stumped at this point. The only thing that the documentation says is what to check if you get a "timeout error". Nagios v 3.02 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 wim.de-geeter at uni-graz.at Thu Jun 19 23:03:03 2008 From: wim.de-geeter at uni-graz.at (Wim De Geeter) Date: Thu, 19 Jun 2008 23:03:03 +0200 Subject: contacts.cfg and ldap Message-ID: <485AC987.7020900@uni-graz.at> Hi, Is it possible to get the contact information (contacts.cfg) out of LDAP ?? I would safe a lot of time. Many thanks, Wim ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allanc at chickenandporn.com Thu Jun 19 23:08:04 2008 From: allanc at chickenandporn.com (Allan Clark) Date: Thu, 19 Jun 2008 17:08:04 -0400 Subject: contacts.cfg and ldap In-Reply-To: <485AC987.7020900@uni-graz.at> References: <485AC987.7020900@uni-graz.at> Message-ID: <37c712e0806191408y6fde20dbjad995f8ab75e9656@mail.gmail.com> On Thu, Jun 19, 2008 at 5:03 PM, Wim De Geeter wrote: > Hi, > > Is it possible to get the contact information (contacts.cfg) out of LDAP > ?? I would safe a lot of time.Hi; http://tech.b.chickenandporn.com/2008/04/13/use-ldap-to-configure-nagios/ I haven't had much time to work on it recently, though; I was trying to use rwm to convert core.schema "ipNumber: w.x.y.z" into "dhcpOptions: address w.x.y.z" Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) -------------- 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 dean at xyznetworks.net Thu Jun 19 23:09:47 2008 From: dean at xyznetworks.net (Dean) Date: Fri, 20 Jun 2008 07:09:47 +1000 Subject: Host Down issue Message-ID: <000901c8d250$ce4df010$6ae9d030$@net> Hi guys, I have a fairly new install of Nagios and one particular host is being monitored, and until recently nothing was out of order. Yesterday I started getting notification "Host check timed out", but the box Nagios is running on cang ping and trace to the host, and all other service checks for that same host are running and no issues there. What are some of the likely causes of this and how should I correct this issue? Dean -------------- 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 forsaken at targaryen.us Thu Jun 19 23:15:25 2008 From: forsaken at targaryen.us (Forsaken) Date: Thu, 19 Jun 2008 17:15:25 -0400 Subject: Host Down issue In-Reply-To: <000901c8d250$ce4df010$6ae9d030$@net> References: <000901c8d250$ce4df010$6ae9d030$@net> Message-ID: <20080619171525.38ef9777@tywin> On Fri, 20 Jun 2008 07:09:47 +1000 "Dean" wrote: > Hi guys, I have a fairly new install of Nagios and one particular > host is being monitored, and until recently nothing was out of order. > Yesterday I started getting notification "Host check timed out", but > the box Nagios is running on cang ping and trace to the host, and all > other service checks for that same host are running and no issues > there. What are some of the likely causes of this and how should I > correct this issue? I saw a few things that were somewhat similiar to this behavior. For me, it turned out to be the plugin timing out because it was trying to do a dns lookup for ipv4 and ipv6, and the dns server on my LAN doesn't support ipv6 lookups (yet). The little bit of latency was just enough to cause it to miss some pings. I got around it by adding -4 to the command line for the check_ping command, which tells the plugin to only deal with ipv4. YMMV ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 20 05:28:48 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 19 Jun 2008 23:28:48 -0400 Subject: action_url issues In-Reply-To: <485AB8F4.5000800@iweb.com> References: <48381E09.3060500@vanderkooij.org> <485AAD6D.4090804@iweb.com> <485AB8F4.5000800@iweb.com> Message-ID: <485B23F0.8070605@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/06/08 03:52 PM, Mathieu Gagn? wrote: > Hi, > > Mathieu Gagn? wrote: >> >> A bugfix has been applied in Nagios 3.0.2. In fact, the behavior in >> Nagios 3.0.1 was the wrong one I guess. >> > > This bugfix was introduced here: > http://thread.gmane.org/gmane.network.nagios.devel/5219/focus=5225 > > Some characters don't get encoded and the list is defined in > ./common/macros.c on lin 2486 > > Those characters should not get encoded too: ":", "/", "?", "=" and "&". > > Attached is a patch that fixes this urlencode issue. Thanks. Indeed, I didn't fix it up myself because I did not have the extra cycles to test and feared that it would have an unexpected impact... I didn't expected the the url_encode function itself to be broken though - I was rather thinking that it could apply other cleanup options to places where it wasn't previously, exposing hidden bugs. I should probably have expressed my fears in that email - unfortunately it ended right on the 3.0.2 release... Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIWyPw6dZ+Kt5BchYRAte7AKDTyXFCmtOHUl7Rrh43KSxGMTWtwgCfVw6G VboHSl9QxUGW3vLSXzfeWnw= =lfJ+ -----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 bigedd at gmail.com Fri Jun 20 06:07:57 2008 From: bigedd at gmail.com (Eddie F) Date: Fri, 20 Jun 2008 14:07:57 +1000 Subject: How do we report a possible bug (in check_ping)? Message-ID: <12b44e560806192107x3255e7c2kdde426d5dad53815@mail.gmail.com> Hi all, How/where do I report bugs for Nagios? And just as importantly, how/where do I check to see if it is something that has already been reported? I think I might have found a bug in check_ping when a a domain name is entered for host_address rather than the IP address. I've found that using the domain name seems to work fine with some other check commands (FTP, HTTP and SSH). See the two examples below, running check_ping on our system. Firstly using the domain name, then using IP address... # /usr/local/nagios/libexec/check_ping -H nagios.org -w 300,10% -c 1000,50% -p 5 CRITICAL - Plugin timed out after 10 seconds # /usr/local/nagios/libexec/check_ping -H 66.118.156.22 -w 300,10% -c 1000,50% -p 5 PING WARNING - Packet loss = 0%, RTA = 709.87 ms|rta=709.869019ms;300.000000;1000.000000;0.000000 pl=0%;10;50;0 I've tried this with many hosts (one on the same sub-net), and the result have always been the same Thanks, Eddie. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrewd at webzone.net.au Fri Jun 20 06:14:15 2008 From: andrewd at webzone.net.au (Andrew D (Webzone)) Date: Fri, 20 Jun 2008 13:44:15 +0930 Subject: How do we report a possible bug (in check_ping)? In-Reply-To: <12b44e560806192107x3255e7c2kdde426d5dad53815@mail.gmail.com> References: <12b44e560806192107x3255e7c2kdde426d5dad53815@mail.gmail.com> Message-ID: <485B2E97.1000707@webzone.net.au> Eddie F wrote: > Hi all, > > How/where do I report bugs for Nagios? > And just as importantly, how/where do I check to see if it is > something that has already been reported? > > I think I might have found a bug in check_ping when a a domain name is > entered for host_address rather than the IP address. I've found that > using the domain name seems to work fine with some other check > commands (FTP, HTTP and SSH). > I can think of a reason for this, using a hostname is really testing 2 things, your DNS resolution and the 'reachablity' of the said host. If your DNS goes down then the ping test fails even though it might be fine. > > See the two examples below, running check_ping on our system. Firstly > using the domain name, then using IP address... > > # /usr/local/nagios/libexec/check_ping -H nagios.org -w 300,10% -c 1000,50% -p 5 > CRITICAL - Plugin timed out after 10 seconds > > # /usr/local/nagios/libexec/check_ping -H 66.118.156.22 -w 300,10% -c > 1000,50% -p 5 > PING WARNING - Packet loss = 0%, RTA = 709.87 > ms|rta=709.869019ms;300.000000;1000.000000;0.000000 pl=0%;10;50;0 > > > I've tried this with many hosts (one on the same sub-net), and the > result have always been the same > > Thanks, > Eddie. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Network Administrator / Manager Webzone Internet 1st Floor (Oakley Street Entrance) 167 Grote Street Adelaide SA, 5000 Phone 1300 303 932 Fax 08 8221 6204 Email andrewd at webzone.net.au manager at webzone.net.au ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bigedd at gmail.com Fri Jun 20 06:19:38 2008 From: bigedd at gmail.com (Eddie F) Date: Fri, 20 Jun 2008 14:19:38 +1000 Subject: How do we report a possible bug (in check_ping)? In-Reply-To: <485B2E97.1000707@webzone.net.au> References: <12b44e560806192107x3255e7c2kdde426d5dad53815@mail.gmail.com> <485B2E97.1000707@webzone.net.au> Message-ID: <12b44e560806192119h75368dekcbbb9c06f049bd26@mail.gmail.com> Yes, DNS was the first thing I thought of, but that is definitely fine. As I mentioned FTP, HTTP and SSH are working fine using the same domain name. On Fri, Jun 20, 2008 at 2:14 PM, Andrew D (Webzone) wrote: > Eddie F wrote: >> >> Hi all, >> >> How/where do I report bugs for Nagios? >> And just as importantly, how/where do I check to see if it is >> something that has already been reported? >> >> I think I might have found a bug in check_ping when a a domain name is >> entered for host_address rather than the IP address. I've found that >> using the domain name seems to work fine with some other check >> commands (FTP, HTTP and SSH). >> > > > I can think of a reason for this, using a hostname is really testing 2 > things, your DNS resolution and the 'reachablity' of the said host. > > If your DNS goes down then the ping test fails even though it might be fine. > >> >> See the two examples below, running check_ping on our system. Firstly >> using the domain name, then using IP address... >> >> # /usr/local/nagios/libexec/check_ping -H nagios.org -w 300,10% -c >> 1000,50% -p 5 >> CRITICAL - Plugin timed out after 10 seconds >> >> # /usr/local/nagios/libexec/check_ping -H 66.118.156.22 -w 300,10% -c >> 1000,50% -p 5 >> PING WARNING - Packet loss = 0%, RTA = 709.87 >> ms|rta=709.869019ms;300.000000;1000.000000;0.000000 pl=0%;10;50;0 >> >> >> I've tried this with many hosts (one on the same sub-net), and the >> result have always been the same >> >> Thanks, >> Eddie. >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk being >> sent to /dev/null > > > -- > Network Administrator / Manager > Webzone Internet > > 1st Floor (Oakley Street Entrance) > 167 Grote Street > Adelaide SA, 5000 > > Phone 1300 303 932 > Fax 08 8221 6204 > Email andrewd at webzone.net.au > manager at webzone.net.au > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrewd at webzone.net.au Fri Jun 20 06:31:12 2008 From: andrewd at webzone.net.au (Andrew D (Webzone)) Date: Fri, 20 Jun 2008 14:01:12 +0930 Subject: FreeBSD Nagios 2.12 In-Reply-To: <4859E37F.5090907@webzone.net.au> References: <4859E37F.5090907@webzone.net.au> Message-ID: <485B3290.6020908@webzone.net.au> Hi, Now the first server has stopped probing. From the logs support# tail /var/spool/nagios/nagios.log [1213901614] HOST NOTIFICATION: lino;smtp;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds [1213901614] HOST NOTIFICATION: andrewd-home;smtp;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds [1213901614] HOST NOTIFICATION: andrewd;smtp;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds [1213901614] SERVICE ALERT: smtp;SMTP checker;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds [1213933186] Nagios 2.12 starting... (PID=22244) [1213933186] LOG VERSION: 2.0 [1213933186] Finished daemonizing... (New PID=22245) [1213933278] Nagios 2.12 starting... (PID=22333) [1213933278] LOG VERSION: 2.0 [1213933278] Finished daemonizing... (New PID=22334) support# uname -a FreeBSD support.webzone.net.au 5.5-RELEASE FreeBSD 5.5-RELEASE #0: Mon Nov 27 16:56:21 CST 2006 root at support.webzone.net.au:/usr/src/sys/i386/compile/WEBZONE i386 Nagios was installed from the ports collection. support# nagios -v /usr/local/etc/nagios/nagios.cfg Nagios 2.12 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 05-20-2008 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 16 services. Checking hosts... Checked 13 hosts. Checking host groups... Checked 1 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 3 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 26 commands. Checking time periods... Checked 4 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check support# pkg_info |grep nagios nagios-2.12_1 Extremely powerful network monitoring system nagios-plugins-1.4.11_1,1 Plugins for Nagios nagios-radauth-plugin-1.00_1 Nagios plugin for checking radius server It is also turning into an unkillable zombie. Does anyone have any suggestions? > Howdy all, > > We have 2 machines here with nagios installed. > The 1st stopped working (not probing services and machines) after the > upgrade from 2.11 to 2.12, however after changing the conf files so that > an unassigned contact was assigned to a group, It started working fine. > Considering that it was listed as a 'warning' in the log files I was > surprised to find that it had stopped probing. Just wondering if anyone > else had seen that before. (freeBSD 5.5) > > > The second server(FBSD 5.4) hasn't been resolved as yet. It doesn't > probe anything at all like the first server, however it doesn't have any > warnings come up or anything out of whack that I can see within the conf > files. I've recompiled everything on the box with no diff. > From the logs: > The logs don't say anything other than > [1213758202] Nagios 2.12 starting... (PID=77539) > [1213758202] LOG VERSION: 2.0 > [1213758202] Finished daemonizing... (New PID=77540) > [1213758318] Caught SIGTERM, shutting down... > > The sigterm saves any data (ie the next prob time which has already > passed) and then turns nagios into an unkillable zombie. > > If anyone could give any advice or have any ideas, that would be muchly > appreciated. > > TIA > cheers > cya > Andrew > -- Network Administrator / Manager Webzone Internet 1st Floor (Oakley Street Entrance) 167 Grote Street Adelaide SA, 5000 Phone 1300 303 932 Fax 08 8221 6204 Email andrewd at webzone.net.au manager at webzone.net.au ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 20 06:31:23 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 20 Jun 2008 00:31:23 -0400 Subject: contacts.cfg and ldap In-Reply-To: <485AC987.7020900@uni-graz.at> References: <485AC987.7020900@uni-graz.at> Message-ID: <485B329B.6040706@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/06/08 05:03 PM, Wim De Geeter wrote: > Hi, > > Is it possible to get the contact information (contacts.cfg) out of LDAP > ?? I would safe a lot of time. > Many thanks, > Wim If you're good in Perl you're in luck... Here's some scripts I wrote to do just that. They come in pairs: one to fetch the data and one to update nagios config using templates and re matches. updatenagiosadmin.pl update the cgi access list and create contacts for Nagios users (together with kerberos authentication, you can have an AD group to put nagios users in). It also create a contact group so that the AD name appears in various place of the CGI rather than the login name. If you want different groups for different access levels just run multiple scripts in parallel (see the config and template sections). Also note that it lc() all login names - I modified mod_auth_kerberos to do the same so I don't get login errors when names contain uppercases. updatepagers.pl create a pager contactgroup out of AD contacts in a group. Same principle as the above script. Run multiple scripts if you need multiple groups. I never released them because it's way too complex for anyone without good Perl and LDAP knowledge. Ideally if I had time/help I'd write a more general engine out of it that could take options/templates trough a config file. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIWzKb6dZ+Kt5BchYRAgAtAJsGh26EvY+ISBOUuLQeZYPDX+xPIgCgm0WP irP2qBldT4WYY7XN1XAtTuU= =UcHa -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: getadnagiosadmin.pl Type: application/x-perl Size: 4547 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: getadpagers.pl Type: application/x-perl Size: 4781 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: updatenagiosadmin.pl Type: application/x-perl Size: 6414 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: updatepagers.pl Type: application/x-perl Size: 5175 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 mgagne at iweb.com Fri Jun 20 08:20:42 2008 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Fri, 20 Jun 2008 02:20:42 -0400 Subject: How do we report a possible bug (in check_ping)? In-Reply-To: <12b44e560806192107x3255e7c2kdde426d5dad53815@mail.gmail.com> References: <12b44e560806192107x3255e7c2kdde426d5dad53815@mail.gmail.com> Message-ID: <485B4C3A.9090304@iweb.com> Eddie F wrote: > > See the two examples below, running check_ping on our system. Firstly > using the domain name, then using IP address... > > # /usr/local/nagios/libexec/check_ping -H nagios.org -w 300,10% -c 1000,50% -p 5 > CRITICAL - Plugin timed out after 10 seconds > > # /usr/local/nagios/libexec/check_ping -H 66.118.156.22 -w 300,10% -c > 1000,50% -p 5 > PING WARNING - Packet loss = 0%, RTA = 709.87 > ms|rta=709.869019ms;300.000000;1000.000000;0.000000 pl=0%;10;50;0 > If you execute ping manually, what's the result? /bin/ping -n -U -w 10 -c 5 nagios.org -- Mathieu ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bigedd at gmail.com Fri Jun 20 08:25:33 2008 From: bigedd at gmail.com (Eddie F) Date: Fri, 20 Jun 2008 16:25:33 +1000 Subject: How do we report a possible bug (in check_ping)? In-Reply-To: <485B4C3A.9090304@iweb.com> References: <12b44e560806192107x3255e7c2kdde426d5dad53815@mail.gmail.com> <485B4C3A.9090304@iweb.com> Message-ID: <12b44e560806192325n38a4a6afl2f2816655b89ab12@mail.gmail.com> System ping work fine... # /bin/ping -n -U -w 10 -c 5 nagios.org PING nagios.org (66.118.156.22) 56(84) bytes of data. 64 bytes from 66.118.156.22: icmp_seq=1 ttl=45 time=431 ms 64 bytes from 66.118.156.22: icmp_seq=2 ttl=45 time=461 ms 64 bytes from 66.118.156.22: icmp_seq=3 ttl=45 time=451 ms 64 bytes from 66.118.156.22: icmp_seq=4 ttl=45 time=441 ms 64 bytes from 66.118.156.22: icmp_seq=5 ttl=45 time=452 ms --- nagios.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 3999ms rtt min/avg/max/mdev = 431.271/447.571/461.284/10.243 ms On Fri, Jun 20, 2008 at 4:20 PM, Mathieu Gagn? wrote: > Eddie F wrote: >> >> See the two examples below, running check_ping on our system. Firstly >> using the domain name, then using IP address... >> >> # /usr/local/nagios/libexec/check_ping -H nagios.org -w 300,10% -c >> 1000,50% -p 5 >> CRITICAL - Plugin timed out after 10 seconds >> >> # /usr/local/nagios/libexec/check_ping -H 66.118.156.22 -w 300,10% -c >> 1000,50% -p 5 >> PING WARNING - Packet loss = 0%, RTA = 709.87 >> ms|rta=709.869019ms;300.000000;1000.000000;0.000000 pl=0%;10;50;0 >> > > If you execute ping manually, what's the result? > > /bin/ping -n -U -w 10 -c 5 nagios.org > > -- > Mathieu > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rupertt at gmail.com Fri Jun 20 08:36:52 2008 From: rupertt at gmail.com (Heiko) Date: Fri, 20 Jun 2008 08:36:52 +0200 Subject: plugins works on console but not reliable inside nagios Message-ID: <537dcd6b0806192336n6b57d5c7y56ffccdb184f6c19@mail.gmail.com> Hello, i use a plugin that is monitoring our load balancers. When nagios is checking the services on these LB it very often reports a timeout on this services. But when I start the plugin from the bash everything works fine,i get a fast response on these services. I use exactly the same line on the bash like it is in the checkcommands conf file. I changed the service_check_timeout to 180s and raised the normal_check_interval to 5 minutes, but it didnt change anything. Are there any other triggers, or can this be a load problem? thx .h ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 20 14:01:07 2008 From: lists at scott-ackerman.com (Scott Ackerman) Date: Fri, 20 Jun 2008 06:01:07 -0600 Subject: NRPE Install Error In-Reply-To: <25251aec0806200024r324d2c41ibb2a99245eeb0355@mail.gmail.com> References: <25251aec0806200024r324d2c41ibb2a99245eeb0355@mail.gmail.com> Message-ID: Shankar, thanks for the help. The nrpe daemon is running on the remote server. There were no ./configure problems on the remote server, and the only "warning" I received when I ran ./configure on the monitoring host was "checking for Kerberos include files... could not find include files" When I ran telnet from the monitoring host to the server I got the following: trying connected to escape character is '^}'. connection closed by foreign host. So it seems as if the ports are opened between the two. Firewall access is allowed between the two (obviously or telnet would not have worked). But I am still stuck in the same spot witht the "CHECK NRPE: Error - Could not complete SSL handshake." _____ From: asam30 at gmail.com [mailto:asam30 at gmail.com] Sent: Friday, June 20, 2008 1:25 AM To: Scott Ackerman Subject: Re: [Nagios-users] NRPE Install Error Please make sure ./configure went properly and complied nrpe without any errors. Also check if the nrpe daemon running, ps -ef | grep nrpe or ps -ef | grep 5666 from the nagios server, try telnet 5666 you can also check if the firewall access allow between the two servers(nagios and remote host). Hope this helps -Shankar On 6/20/08, Scott Ackerman wrote: I have successfully installed NRPE on the remote server (FC6 box). I have run the check_nrpe "tests" to verify that everything is working correctly. On the monitoring server however (CentOS 5.1 box) when I run "/usr/local/nagios/libexec/check_nrpe -H (IP address of remote server), I get the following error: CHECK_NRPE: Error - Could not complete SSL handshake. the only "negative" reponse that I got when I ran ./configure was "checking for Kerberos include files... could not find include files. Sorry but I am new at this, but I am stumped at this point. The only thing that the documentation says is what to check if you get a "timeout error". Nagios v 3.02 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 rich+nagios at quintinz.com Fri Jun 20 14:22:22 2008 From: rich+nagios at quintinz.com (Richard Quintin) Date: Fri, 20 Jun 2008 08:22:22 -0400 Subject: NRPE Install Error In-Reply-To: References: <25251aec0806200024r324d2c41ibb2a99245eeb0355@mail.gmail.com> Message-ID: <822f14060806200522h4a509213x2d2cf08c91c29707@mail.gmail.com> Hi Scott, This can be an annoying problem with NRPE. First make sure NRPE works ok without ssl (using the -n switch): On the host running the NRPE daemon do: nrpe -n -d -c On the Nagios host do: check_nrpe -n -H -c -a After that works, you'll need to check to make sure that - NRPE is the same version on both hosts. - OpenSSL libraries are the same version on both hosts. After that, I don't know... For me the problem has been different SSL versions almost every time. It's annoying enough that I'm considering alternatives to NRPE. Good luck! :) On Fri, Jun 20, 2008 at 8:01 AM, Scott Ackerman wrote: > Shankar, > > thanks for the help. The nrpe daemon is running on the remote server. There > were no ./configure problems on the remote server, and the only "warning" I > received when I ran ./configure on the monitoring host was "checking for > Kerberos include files... could not find include files" > > When I ran telnet from the monitoring host to the server I got the > following: > > trying > connected to > escape character is '^}'. > connection closed by foreign host. > > So it seems as if the ports are opened between the two. Firewall access is > allowed between the two (obviously or telnet would not have worked). > > But I am still stuck in the same spot witht the "CHECK NRPE: Error - Could > not complete SSL handshake." > ________________________________ > From: asam30 at gmail.com [mailto:asam30 at gmail.com] > Sent: Friday, June 20, 2008 1:25 AM > To: Scott Ackerman > Subject: Re: [Nagios-users] NRPE Install Error > > Please make sure ./configure went properly and complied nrpe without any > errors. Also check if the nrpe daemon running, ps -ef | grep nrpe or ps -ef > | grep 5666 > > from the nagios server, try > telnet 5666 > > you can also check if the firewall access allow between the two > servers(nagios and remote host). > > Hope this helps > > -Shankar > > > On 6/20/08, Scott Ackerman wrote: >> >> I have successfully installed NRPE on the remote server (FC6 box). I have >> run the check_nrpe "tests" to verify that everything is working correctly. >> On the monitoring server however (CentOS 5.1 box) when I run >> "/usr/local/nagios/libexec/check_nrpe -H (IP address of remote server), I >> get the following error: >> >> CHECK_NRPE: Error - Could not complete SSL handshake. >> >> the only "negative" reponse that I got when I ran ./configure was >> "checking for Kerberos include files... could not find include files. Sorry >> but I am new at this, but I am stumped at this point. The only thing that >> the documentation says is what to check if you get a "timeout error". >> >> Nagios v 3.02 >> >> 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 >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 jmurray at whoi.edu Fri Jun 20 14:29:44 2008 From: jmurray at whoi.edu (jmurray at whoi.edu) Date: Fri, 20 Jun 2008 08:29:44 -0400 Subject: NRPE Install Error In-Reply-To: References: Message-ID: <1213964984.485ba2b818b8b@webmail.whoi.edu> Quoting Scott Ackerman : > Shankar, > > thanks for the help. The nrpe daemon is running on the remote server. There > were no ./configure problems on the remote server, and the only "warning" I > received when I ran ./configure on the monitoring host was "checking for > Kerberos include files... could not find include files" > > When I ran telnet from the monitoring host to the server I got the > following: > > trying > connected to > escape character is '^}'. > connection closed by foreign host. > > So it seems as if the ports are opened between the two. Firewall access is > allowed between the two (obviously or telnet would not have worked). > > But I am still stuck in the same spot witht the "CHECK NRPE: Error - Could > not complete SSL handshake." > > _____ > > From: asam30 at gmail.com [mailto:asam30 at gmail.com] > Sent: Friday, June 20, 2008 1:25 AM > To: Scott Ackerman > Subject: Re: [Nagios-users] NRPE Install Error > > > Please make sure ./configure went properly and complied nrpe without any > errors. Also check if the nrpe daemon running, ps -ef | grep nrpe or ps -ef > | grep 5666 > > from the nagios server, try > telnet 5666 > > you can also check if the firewall access allow between the two > servers(nagios and remote host). > > Hope this helps > > -Shankar > > > On 6/20/08, Scott Ackerman wrote: > > > I have successfully installed NRPE on the remote server (FC6 box). I have > run the check_nrpe "tests" to verify that everything is working correctly. > On the monitoring server however (CentOS 5.1 box) when I run > "/usr/local/nagios/libexec/check_nrpe -H (IP address of remote server), I > get the following error: > > CHECK_NRPE: Error - Could not complete SSL handshake. > > the only "negative" reponse that I got when I ran ./configure was "checking > for Kerberos include files... could not find include files. Sorry but I am > new at this, but I am stumped at this point. The only thing that the > documentation says is what to check if you get a "timeout error". > > Nagios v 3.02 > > 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 > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 > Scott, In case you haven't already checked...make sure that in the /etc/services line you have port 5666 specified correctly. If you are running nrpe from xinetd make sure that the only_from = is set correctly. Check the logs for obvious errors and if that still yields nothing valuable, then you may want to look at tcpdump and or strace to see what's going on at a lower level. -Jonathan Murray Linux Administrator W.H.O.I ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 14:36:24 2008 From: marc at ena.com (Marc Powell) Date: Fri, 20 Jun 2008 07:36:24 -0500 Subject: NRPE Install Error In-Reply-To: References: Message-ID: On Jun 20, 2008, at 7:01 AM, Scott Ackerman wrote: > Shankar, > > thanks for the help. The nrpe daemon is running on the remote > server. There were no ./configure problems on the remote server, and > the only "warning" I received when I ran ./configure on the > monitoring host was "checking for Kerberos include files... could > not find include files" > > When I ran telnet from the monitoring host to the server I got the > following: > > trying > connected to > escape character is '^}'. > connection closed by foreign host. Are you running NRPE via inetd or as a daemon? If the former, check / var/log/messages for inetd errors. If the latter, make sure you've set allowed_hosts properly in nrpe.cfg. If it still doesn't work, set debug mode in nrpe.cfg and watch /var/log/messages. -- 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 20 14:40:20 2008 From: marc at ena.com (Marc Powell) Date: Fri, 20 Jun 2008 07:40:20 -0500 Subject: plugins works on console but not reliable inside nagios In-Reply-To: <537dcd6b0806192336n6b57d5c7y56ffccdb184f6c19@mail.gmail.com> References: <537dcd6b0806192336n6b57d5c7y56ffccdb184f6c19@mail.gmail.com> Message-ID: <6169CC19-69FB-4ABC-AB0B-6BA786245D93@ena.com> On Jun 20, 2008, at 1:36 AM, Heiko wrote: > Hello, > > i use a plugin that is monitoring our load balancers. > When nagios is checking the services on these LB it very often reports > a timeout > on this services. > But when I start the plugin from the bash everything works fine,i get > a fast response on these services. > I use exactly the same line on the bash like it is in the > checkcommands conf file. There are environment differences between when you run manually and when nagios does (i.e. there really is none in the latter case). If this plugin relies on any environment variables ($PATH, etc), you may not have them. Since we don't really know anything about what the plugin is doing, I can only suggest that you write in logging at important steps in the check process to see where it's hanging and work from there. -- 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 Fri Jun 20 14:41:19 2008 From: lists at scott-ackerman.com (Scott Ackerman) Date: Fri, 20 Jun 2008 06:41:19 -0600 Subject: NRPE Install Error In-Reply-To: <822f14060806200522h4a509213x2d2cf08c91c29707@mail.gmail.com> References: <822f14060806200522h4a509213x2d2cf08c91c29707@mail.gmail.com> Message-ID: Okay, now I think I am more confused than when I started. When I run '/usr/local/nagios/libexec/check_nrpe -H localhost' on the remote server I get the following: 'NRPE v2.12' which is what I would expect however when I run '/usr/local/nagios/libexec/check_nrpe -H localhost -n' on the remote server I get the following: 'CHECK_NRPE: Error receiving data from the daemon.' -----Original Message----- From: richard at quintinz.com [mailto:richard at quintinz.com] On Behalf Of Richard Quintin Sent: Friday, June 20, 2008 6:22 AM To: Scott Ackerman Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Install Error Hi Scott, This can be an annoying problem with NRPE. First make sure NRPE works ok without ssl (using the -n switch): On the host running the NRPE daemon do: nrpe -n -d -c On the Nagios host do: check_nrpe -n -H -c -a After that works, you'll need to check to make sure that - NRPE is the same version on both hosts. - OpenSSL libraries are the same version on both hosts. After that, I don't know... For me the problem has been different SSL versions almost every time. It's annoying enough that I'm considering alternatives to NRPE. Good luck! :) On Fri, Jun 20, 2008 at 8:01 AM, Scott Ackerman wrote: > Shankar, > > thanks for the help. The nrpe daemon is running on the remote server. > There were no ./configure problems on the remote server, and the only > "warning" I received when I ran ./configure on the monitoring host was > "checking for Kerberos include files... could not find include files" > > When I ran telnet from the monitoring host to the server I got the > following: > > trying > connected to > escape character is '^}'. > connection closed by foreign host. > > So it seems as if the ports are opened between the two. Firewall > access is allowed between the two (obviously or telnet would not have worked). > > But I am still stuck in the same spot witht the "CHECK NRPE: Error - > Could not complete SSL handshake." > ________________________________ > From: asam30 at gmail.com [mailto:asam30 at gmail.com] > Sent: Friday, June 20, 2008 1:25 AM > To: Scott Ackerman > Subject: Re: [Nagios-users] NRPE Install Error > > Please make sure ./configure went properly and complied nrpe without > any errors. Also check if the nrpe daemon running, ps -ef | grep nrpe > or ps -ef > | grep 5666 > > from the nagios server, try > telnet 5666 > > you can also check if the firewall access allow between the two > servers(nagios and remote host). > > Hope this helps > > -Shankar > > > On 6/20/08, Scott Ackerman wrote: >> >> I have successfully installed NRPE on the remote server (FC6 box). I >> have run the check_nrpe "tests" to verify that everything is working correctly. >> On the monitoring server however (CentOS 5.1 box) when I run >> "/usr/local/nagios/libexec/check_nrpe -H (IP address of remote >> server), I get the following error: >> >> CHECK_NRPE: Error - Could not complete SSL handshake. >> >> the only "negative" reponse that I got when I ran ./configure was >> "checking for Kerberos include files... could not find include files. >> Sorry but I am new at this, but I am stumped at this point. The only >> thing that the documentation says is what to check if you get a "timeout error". >> >> Nagios v 3.02 >> >> 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 >> >> --------------------------------------------------------------------- >> ---- Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for just about anything >> Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 > ---------------------------------------------------------------------- > --- Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for just about anything > Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 marc at ena.com Fri Jun 20 14:42:43 2008 From: marc at ena.com (Marc Powell) Date: Fri, 20 Jun 2008 07:42:43 -0500 Subject: limit hosts and services In-Reply-To: References: Message-ID: On Jun 19, 2008, at 2:52 PM, Andr? Moura wrote: > there is a limit of number of hosts and services in nagios? None that I am aware of outside of eventual hardware limitations. There are groups using nagios to check 10's of thousands of services, known from discussions on this list and http://www.nagios.org/userprofiles/ . Distributed checks can help a lot with scalability when hardware does start to become an 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 Fri Jun 20 14:45:56 2008 From: marc at ena.com (Marc Powell) Date: Fri, 20 Jun 2008 07:45:56 -0500 Subject: FreeBSD Nagios 2.12 In-Reply-To: <485B3290.6020908@webzone.net.au> References: <4859E37F.5090907@webzone.net.au> <485B3290.6020908@webzone.net.au> Message-ID: <52719510-015F-49E3-B5E5-99243FB60C99@ena.com> On Jun 19, 2008, at 11:31 PM, Andrew D (Webzone) wrote: > Hi, > > Now the first server has stopped probing. I would verify that the service check time_periods, check_intervals make sense and that active checks are enabled both at the service level and globally via the web interface. If you use state retention, try stopping nagios, moving the retention file out of the way, globally disabling retention in nagios.cfg and restarting. If you continue to have issues, recompile nagios with debug enabled and run with that. -- 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 20 14:49:31 2008 From: marc at ena.com (Marc Powell) Date: Fri, 20 Jun 2008 07:49:31 -0500 Subject: NRPE Install Error In-Reply-To: References: Message-ID: On Jun 20, 2008, at 7:41 AM, Scott Ackerman wrote: > Okay, now I think I am more confused than when I started. > > When I run '/usr/local/nagios/libexec/check_nrpe -H localhost' on the > remote server I get the following: > > 'NRPE v2.12' which is what I would expect > > however when I run '/usr/local/nagios/libexec/check_nrpe -H > localhost -n' on > the remote server I get the following: > > 'CHECK_NRPE: Error receiving data from the daemon.' I think your core problem is that you're only permitting connections from localhost to talk to the NRPE daemon. -- 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 Fri Jun 20 14:50:31 2008 From: lists at scott-ackerman.com (Scott Ackerman) Date: Fri, 20 Jun 2008 06:50:31 -0600 Subject: NRPE Install Error In-Reply-To: References: Message-ID: -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, June 20, 2008 6:36 AM To: nagios-user Mailinglist Subject: Re: [Nagios-users] NRPE Install Error On Jun 20, 2008, at 7:01 AM, Scott Ackerman wrote: >> Shankar, >> >> thanks for the help. The nrpe daemon is running on the remote server. >> There were no ./configure problems on the remote server, and the only >> "warning" I received when I ran ./configure on the monitoring host was >> "checking for Kerberos include files... could not find include files" >> >> When I ran telnet from the monitoring host to the server I got the >> following: >> >> trying >> connected to ?> escape character is '^}'. >> connection closed by foreign host. >re you running NRPE via inetd or as a daemon? If the former, check / var/log/messages for inetd errors. If the latter, make sure you've set allowed_hosts >properly in nrpe.cfg. If it still doesn't work, set debug mode in nrpe.cfg and watch /var/log/messages. > >-- >Marc Marc, I am running under xinetd. In the /var/log/messages the only respose I get is: Jun 20 06:46:34 u15250855 xinetd[10001]: START: nrpe pid=10061 from=67.190.27.73 Jun 20 06:46:34 u15250855 xinetd[10001]: EXIT: nrpe status=0 pid=10061 duration=0(sec) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 20 14:57:19 2008 From: marc at ena.com (Marc Powell) Date: Fri, 20 Jun 2008 07:57:19 -0500 Subject: NRPE Install Error In-Reply-To: <200806201250.m5KCoW8s018021@mr3.mail.ena.net> References: <200806201250.m5KCoW8s018021@mr3.mail.ena.net> Message-ID: <299D6C87-9A54-4BA4-AD58-6C458EE0E1DA@ena.com> On Jun 20, 2008, at 7:50 AM, Scott Ackerman wrote: > > > -----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 20, 2008 6:36 AM > To: nagios-user Mailinglist > Subject: Re: [Nagios-users] NRPE Install Error > > > On Jun 20, 2008, at 7:01 AM, Scott Ackerman wrote: > > > allowed_hosts >properly in nrpe.cfg. If it still doesn't work, set > debug > mode in nrpe.cfg and watch /var/log/messages. >> >> -- >> Marc > > Marc, > > I am running under xinetd. In the /var/log/messages the only respose > I get > is: Is that with NRPE debug mode enabled? -- 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 Fri Jun 20 14:57:40 2008 From: lists at scott-ackerman.com (Scott Ackerman) Date: Fri, 20 Jun 2008 06:57:40 -0600 Subject: NRPE Install Error In-Reply-To: References: Message-ID: Marc, yes, I think you 'hit the nail with my head', I had failed to add the monitoring server's IP address into the /etc/xinetd.d/nrpe file. I think I hear the echo of 'RTFM'. -----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 20, 2008 6:50 AM To: nagios-user Mailinglist Subject: Re: [Nagios-users] NRPE Install Error On Jun 20, 2008, at 7:41 AM, Scott Ackerman wrote: > Okay, now I think I am more confused than when I started. > > When I run '/usr/local/nagios/libexec/check_nrpe -H localhost' on the > remote server I get the following: > > 'NRPE v2.12' which is what I would expect > > however when I run '/usr/local/nagios/libexec/check_nrpe -H localhost > -n' on the remote server I get the following: > > 'CHECK_NRPE: Error receiving data from the daemon.' I think your core problem is that you're only permitting connections from localhost to talk to the NRPE daemon. -- 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 ojan at gfi.fr Fri Jun 20 15:53:23 2008 From: ojan at gfi.fr (Olivier JAN) Date: Fri, 20 Jun 2008 15:53:23 +0200 Subject: question about active and passive logic Message-ID: <20080620155323.2muj5o0f0g0040w8@intra.expertise-online.net> Hi list, What is the difference, if any between, a active check that can also receive passive controls and a passive check with freshness_threshold ? Example : active check check_period 24x7 max_check_attempts 5 normal_check_interval 240 retry_check_interval 1 active_checks_enabled 1 passive_check_enabled 1 check_command check_dummy!0!No messages in last 6 hours passive check check_period 24x7 normal_check_interval 240 active_checks_enabled 0 passive_check_enabled 1 check_freshness 1 freshness_threshold 240 check_command check_dummy!0!No messages in last 6 hours Thanks Olivier ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 16:02:03 2008 From: marc at ena.com (Marc Powell) Date: Fri, 20 Jun 2008 09:02:03 -0500 Subject: question about active and passive logic In-Reply-To: <20080620155323.2muj5o0f0g0040w8@intra.expertise-online.net> References: <20080620155323.2muj5o0f0g0040w8@intra.expertise-online.net> Message-ID: <5EE5732F-A0F3-43BB-AFB5-218F27D44553@ena.com> On Jun 20, 2008, at 8:53 AM, Olivier JAN wrote: > > Hi list, > > What is the difference, if any between, a active check that can also > receive passive controls and a passive check with freshness_threshold > ? Example : In the first case, even if you receive passive checks on a regular basis, every 240 minutes nagios will report that you haven't. -- 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 iknewitalready at gmail.com Sat Jun 21 06:56:53 2008 From: iknewitalready at gmail.com (Shoaibi) Date: Sat, 21 Jun 2008 10:56:53 +0600 Subject: Multiple Problems Message-ID: <92dab8800806202156g751afc01q139595c9ac4620e@mail.gmail.com> Okay, i have this problem and i would like someone from you people to help me out. I am developing a software which would list "publicly available services which are monitorable by nagios" (listed at: http://nagios.sourceforge.net/docs/3_0/monitoring-publicservices.html). Problem is: 1. These services may or may not be running on the system at the time of check. 2. How to check? ---a. On irc i was suggested using dpkg-l or rpm -a and then grep, but that is distro dependent, is there a generalized way to do this? Or should i do this manually? ------i. if you say that i do it via lsb_relase -a, but that will given different output for even Linux, isn it? Does it mean that first i will have to cretae an array of Debian based distros and red hat based ones, then do lsb_release -a, check from which group the distro belongs to, and then use dpkg -l or rpm -qa and search for what??? (what should i be searching for in the installed service list? coz in my experience for apache, dpkg -l shows apache, while rpm -qa will shows httpd, am i right? if yes then what string should i check?) 3. Isnt there a easy and nice way to know using nagios that which services are installed on a system, running or not...?? 4. What if i monitor a service thats even not installed? 5. Is it okay to have multiple definitions of the same host with exact same text in nagios? If no, what about if just the IP remains same? -------------- 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 Sat Jun 21 08:35:07 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Sat, 21 Jun 2008 12:05:07 +0530 Subject: NRPE Install Error In-Reply-To: <1213964984.485ba2b818b8b@webmail.whoi.edu> References: <1213964984.485ba2b818b8b@webmail.whoi.edu> Message-ID: <25251aec0806202335i64f948e3y64377caac9bf8de4@mail.gmail.com> Scott, Paste the content of /etc/xinetd.d/nrpe file here. Please make sure when you telnet from nagios server to remote monitoring host on 5666, is the connection closed automatically after you execute the command or you yourself did close the connection by pressing ctrl + ] To avoid getting, "could not complete ssl hand shake" please follow this. If you are monitoring the intranet host behind the firewall and sure that you dont need the ssl then go again and compile nrpe plugins with out the ssl support. ./configure -disable-ssl or --disable-ssl (not sure about it, please see ./configure --help for more info) and then make all , make install. hope this helps. please let me know.. On Fri, Jun 20, 2008 at 5:59 PM, wrote: > Quoting Scott Ackerman : > > > Shankar, > > > > thanks for the help. The nrpe daemon is running on the remote server. > There > > were no ./configure problems on the remote server, and the only "warning" > I > > received when I ran ./configure on the monitoring host was "checking for > > Kerberos include files... could not find include files" > > > > When I ran telnet from the monitoring host to the server I got the > > following: > > > > trying > > connected to > > escape character is '^}'. > > connection closed by foreign host. > > > > So it seems as if the ports are opened between the two. Firewall access > is > > allowed between the two (obviously or telnet would not have worked). > > > > But I am still stuck in the same spot witht the "CHECK NRPE: Error - > Could > > not complete SSL handshake." > > > > _____ > > > > From: asam30 at gmail.com [mailto:asam30 at gmail.com] > > Sent: Friday, June 20, 2008 1:25 AM > > To: Scott Ackerman > > Subject: Re: [Nagios-users] NRPE Install Error > > > > > > Please make sure ./configure went properly and complied nrpe without any > > errors. Also check if the nrpe daemon running, ps -ef | grep nrpe or ps > -ef > > | grep 5666 > > > > from the nagios server, try > > telnet 5666 > > > > you can also check if the firewall access allow between the two > > servers(nagios and remote host). > > > > Hope this helps > > > > -Shankar > > > > > > On 6/20/08, Scott Ackerman wrote: > > > > > > I have successfully installed NRPE on the remote server (FC6 box). I have > > run the check_nrpe "tests" to verify that everything is working > correctly. > > On the monitoring server however (CentOS 5.1 box) when I run > > "/usr/local/nagios/libexec/check_nrpe -H (IP address of remote server), I > > get the following error: > > > > CHECK_NRPE: Error - Could not complete SSL handshake. > > > > the only "negative" reponse that I got when I ran ./configure was > "checking > > for Kerberos include files... could not find include files. Sorry but I > am > > new at this, but I am stumped at this point. The only thing that the > > documentation says is what to check if you get a "timeout error". > > > > Nagios v 3.02 > > > > 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 > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > > > > Scott, > In case you haven't already checked...make sure that in the /etc/services > line > you have port 5666 specified correctly. If you are running nrpe from xinetd > make sure that the only_from = is set correctly. > > Check the logs for obvious errors and if that still yields nothing > valuable, > then you may want to look at tcpdump and or strace to see what's going on > at a > lower level. > > -Jonathan Murray > Linux Administrator > W.H.O.I > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 andrewd at webzone.net.au Sat Jun 21 17:29:56 2008 From: andrewd at webzone.net.au (Andrew D) Date: Sun, 22 Jun 2008 00:59:56 +0930 Subject: FreeBSD Nagios 2.12 In-Reply-To: <52719510-015F-49E3-B5E5-99243FB60C99@ena.com> References: <4859E37F.5090907@webzone.net.au> <485B3290.6020908@webzone.net.au> <52719510-015F-49E3-B5E5-99243FB60C99@ena.com> Message-ID: <485D1E74.5080601@webzone.net.au> Marc Powell wrote: > On Jun 19, 2008, at 11:31 PM, Andrew D (Webzone) wrote: > >> Hi, >> >> Now the first server has stopped probing. > > I would verify that the service check time_periods, check_intervals > make sense and that active checks are enabled both at the service > level and globally via the web interface. > Tactical overview says # Active Host / Service Checks: 13 / 16 Services 0 Critical 0 Warning 0 Unknown 0 Ok 16 Pending Monitoring Features Flap Detection Notifications Event Handlers Active Checks Passive Checks Flap Detection Disabled N/A Notifications Enabled All Services Enabled All Hosts Enabled Event Handlers Enabled All Services Enabled All Hosts Enabled Active Checks Enabled All Services Enabled All Hosts Enabled Passive Checks Enabled All Services Enabled All Hosts Enabled > If you use state retention, try stopping nagios, moving the retention > file out of the way, globally disabling retention in nagios.cfg and > restarting. > I set retain_state_information=0 in nagios.cfg, moved the file and rebooted. Web page shows the following. dns1 DNS check PENDING N/A 0d 0h 10m 28s+ 1/3 Service check scheduled for Sat Jun 21 01:10:07 CST 2008 dns2 DNS check PENDING N/A 0d 0h 10m 28s+ 1/3 Service check scheduled for Sat Jun 21 01:11:37 CST 2008 The time here (at the time) is Sat Jun 21 01:20 CST 2008 > If you continue to have issues, recompile nagios with debug enabled > and run with that. > I set --enable-DEBUGALL and got the following upon starting of nagios. *** Event Check Loop *** Current time: Sat Jun 21 02:30:55 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 check_for_external_commands() start check_for_external_commands() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 6 (orphaned service check) check_for_orphaned_services() start check_for_orphaned_services() end handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 10 (service result freshness check) check_service_result_freshness() start check_service_result_freshness() end handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 1 (external command check) check_for_external_commands() start check_for_external_commands() end handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 8 (status save) handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 5 (service check reaper) reap_service_checks() start Starting to reap service check results... read_svc_message() start read_svc_message() end Finished reaping service check results. reap_service_checks() end handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:31:06 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 0 (service check) Service Description: DNS check Associated Host: dns1 check_time_against_period() start find_timeperiod() start check_service_dependencies() start check_service_dependencies() end find_host() start Checking service 'DNS check' on host 'dns1'... clear_volatile_macros() start clear_argv_macros() start clear_argv_macros() end clear_volatile_macros() end grab_host_macros() start find_hostextinfo() start grab_datetime_macros() start grab_datetime_macros() end grab_host_macros() end grab_service_macros() start find_serviceextinfo() start grab_datetime_macros() start grab_datetime_macros() end grab_service_macros() end grab_summary_macros() start grab_summary_macros() end get_raw_command_line() start Input: check_dns clear_argv_macros() start clear_argv_macros() end find_command() start Output: $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$ get_raw_command_line() end process_macros() start process_macros() end And thats where it stops and locks. Executing from the command line returns the following. support# /usr/local/libexec/nagios/check_dns -H www.yahoo.com -s 210.8.36.2 DNS OK: 0.417 seconds response time. www.yahoo.com returns 209.131.36.158|time=0.417421s;;;0.000000 If I hash out that service, the next service listed does the same thing. I hope that helps, Cheers cya Andrew > -- > 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 Sat Jun 21 19:22:12 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Sat, 21 Jun 2008 13:22:12 -0400 Subject: Multiple Problems In-Reply-To: <92dab8800806202156g751afc01q139595c9ac4620e@mail.gmail.com> References: <92dab8800806202156g751afc01q139595c9ac4620e@mail.gmail.com> Message-ID: <20080621172212.GA25376@cgi.jachomes.com> On Sat, Jun 21, 2008 at 10:56:53AM +0600, Shoaibi wrote: > Okay, i have this problem and i would like someone from you people to help > me out. I thought you knew it already? http://www.catb.org/~esr/faqs/smart-questions.html > I am developing a software which would list "publicly available services > which are monitorable by nagios" (listed at: > [1]http://nagios.sourceforge.net/docs/3_0/monitoring-publicservices.html). List them in which context? On a machine on which you run this script? > Problem is: > 1. These services may or may not be running on the system at the time of > check. > 2. How to check? Wow. I guess that depends on what you mean, huh? > ---a. On irc i was suggested using dpkg-l or rpm -a and then grep, but that > is distro dependent, is there a generalized way to do this? Or should i do > this manually? > ------i. if you say that i do it via lsb_relase -a, but that will given > different output for even Linux, isn it? Does it mean that first i will have > to cretae an array of Debian based distros and red hat based ones, then do > lsb_release -a, check from which group the distro belongs to, and then use > dpkg -l or rpm -qa and search for what??? (what should i be searching for in > the installed service list? coz in my experience for apache, dpkg -l shows > apache, while rpm -qa will shows httpd, am i right? if yes then what string > should i check?) Ok, so that suggests that what you're *actually* trying to do is "Create a script that Nagios users can run on a specific machine which provides public TCP services, which will produce as output Nagios monitoring definitions to watch those services, when installed on a Nagios monitoring console." Is that it? > 3. Isnt there a easy and nice way to know using nagios that which services > are installed on a system, running or not...?? Using Nagios? Nope. > 4. What if i monitor a service thats even not installed? It will show up as broken. > 5. Is it okay to have multiple definitions of the same host with exact same > text in nagios? If no, what about if just the IP remains same? I suspect the former won't work but the latter will, but I'm somewhat of a newbie, as well. PS: don't send HTML email to mailing lists, 'k? http://expita.com/nomime.html 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 Sat Jun 21 19:27:46 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Sat, 21 Jun 2008 13:27:46 -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: <20080621172746.GA25431@cgi.jachomes.com> On Thu, Jun 12, 2008 at 12:24:39AM +0200, Andreas Ericsson wrote: > >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). The site, I note, still says "after June 3 2008". Whazup? 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 wim.de-geeter at uni-graz.at Sat Jun 21 17:07:43 2008 From: wim.de-geeter at uni-graz.at (Wim De Geeter) Date: Sat, 21 Jun 2008 17:07:43 +0200 Subject: Windows Uptime question Message-ID: <485D193F.2020701@uni-graz.at> Hi, I would like to monitor the Uptime of our windows 2003 servers and tried it with 'check_uptime.exe' (from NagiosPluginsNT). But I only got the output in seconds. Someone knows how to get the output in Days, Hours, Minute ? Maybe I forgot something. 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 andrewd at webzone.net.au Sat Jun 21 15:26:16 2008 From: andrewd at webzone.net.au (Andrew D) Date: Sat, 21 Jun 2008 22:56:16 +0930 Subject: FreeBSD Nagios 2.12 In-Reply-To: <52719510-015F-49E3-B5E5-99243FB60C99@ena.com> References: <4859E37F.5090907@webzone.net.au> <485B3290.6020908@webzone.net.au> <52719510-015F-49E3-B5E5-99243FB60C99@ena.com> Message-ID: <485D0178.2010508@webzone.net.au> Marc Powell wrote: > On Jun 19, 2008, at 11:31 PM, Andrew D (Webzone) wrote: > >> Hi, >> >> Now the first server has stopped probing. > > I would verify that the service check time_periods, check_intervals > make sense and that active checks are enabled both at the service > level and globally via the web interface. > Tactical overview says # Active Host / Service Checks: 13 / 16 Services 0 Critical 0 Warning 0 Unknown 0 Ok 16 Pending Monitoring Features Flap Detection Notifications Event Handlers Active Checks Passive Checks Flap Detection Disabled N/A Notifications Enabled All Services Enabled All Hosts Enabled Event Handlers Enabled All Services Enabled All Hosts Enabled Active Checks Enabled All Services Enabled All Hosts Enabled Passive Checks Enabled All Services Enabled All Hosts Enabled > If you use state retention, try stopping nagios, moving the retention > file out of the way, globally disabling retention in nagios.cfg and > restarting. > I set retain_state_information=0 in nagios.cfg, moved the file and rebooted. Web page shows the following. dns1 DNS check PENDING N/A 0d 0h 10m 28s+ 1/3 Service check scheduled for Sat Jun 21 01:10:07 CST 2008 dns2 DNS check PENDING N/A 0d 0h 10m 28s+ 1/3 Service check scheduled for Sat Jun 21 01:11:37 CST 2008 The time here (at the time) is Sat Jun 21 01:20 CST 2008 > If you continue to have issues, recompile nagios with debug enabled > and run with that. > I set --enable-DEBUGALL and got the following upon starting of nagios. *** Event Check Loop *** Current time: Sat Jun 21 02:30:55 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 check_for_external_commands() start check_for_external_commands() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 6 (orphaned service check) check_for_orphaned_services() start check_for_orphaned_services() end handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 10 (service result freshness check) check_service_result_freshness() start check_service_result_freshness() end handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 1 (external command check) check_for_external_commands() start check_for_external_commands() end handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 8 (status save) handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 5 (service check reaper) reap_service_checks() start Starting to reap service check results... read_svc_message() start read_svc_message() end Finished reaping service check results. reap_service_checks() end handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:31:06 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 0 (service check) Service Description: DNS check Associated Host: dns1 check_time_against_period() start find_timeperiod() start check_service_dependencies() start check_service_dependencies() end find_host() start Checking service 'DNS check' on host 'dns1'... clear_volatile_macros() start clear_argv_macros() start clear_argv_macros() end clear_volatile_macros() end grab_host_macros() start find_hostextinfo() start grab_datetime_macros() start grab_datetime_macros() end grab_host_macros() end grab_service_macros() start find_serviceextinfo() start grab_datetime_macros() start grab_datetime_macros() end grab_service_macros() end grab_summary_macros() start grab_summary_macros() end get_raw_command_line() start Input: check_dns clear_argv_macros() start clear_argv_macros() end find_command() start Output: $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$ get_raw_command_line() end process_macros() start process_macros() end And thats where it stops and locks. Executing from the command line returns the following. support# /usr/local/libexec/nagios/check_dns -H www.yahoo.com -s 210.8.36.2 DNS OK: 0.417 seconds response time. www.yahoo.com returns 209.131.36.158|time=0.417421s;;;0.000000 If I hash out that service, the next service listed does the same thing. I hope that helps, Cheers cya Andrew > -- > 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 slylock2 at mac.com Sat Jun 21 22:37:03 2008 From: slylock2 at mac.com (Matt Snyder) Date: Sat, 21 Jun 2008 13:37:03 -0700 Subject: Last Host Notification Message-ID: Hi all. I have a common problem, which I've tried to resolve following all the recommended methods, but nothing helps, so I'd like to ask the question a different way. What are the possible explanations why Last Host Notification is N/A, and Current Notification Number is 0, on the Host State screen, cgi-bin/ extinfo.cgi?type=1&host=stsd-vm11 ? Host Status: DOWN Status Information: CRITICAL - 10.10.40.31: Host unreachable @ 10.10.40.13. rta nan, lost 100% Performance Data: rta=0.000ms;3000.000;5000.000;0; pl=100%;80;100;; Current Attempt: 10/10 State Type: HARD Last Check Type: ACTIVE Last Check Time: 06-21-2008 13:04:19 Status Data Age: 0d 0h 0m 49s Next Scheduled Active Check: N/A Latency: 0.000 seconds Check Duration: 3.049 seconds Last State Change: 06-21-2008 12:44:59 Current State Duration: 0d 0h 20m 9s Last Host Notification: N/A Current Notification Number: 0 Is This Host Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 06-21-2008 13:04:59 Active Checks: ENABLED Passive Checks: ENABLED Obsessing: ENABLED Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED log_notifications is 1 in /etc/nagios. The machine was up when I first enabled monitoring, and I toggled Notifications: Enabled several times using cgi, before shutting down the machine. I have a contact, nagios-admin, I have a contact group, admins, and that contract group is specified as the contact_groups in the host definition. notifications_enabled is 1 in the host template and in the specific host definition. service_notification_commands and host_notification_commands are both set to valid commands in the definition of nagios-admin. host_notification_options are set to d,u,r. Contact notifications page, cgi-bin/notifications.cgi? contact=all&archive=0&type=2, reports "No notifications have been recorded in the current log file" ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 21:24:24 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Sat, 21 Jun 2008 15:24:24 -0400 Subject: Windows Uptime question In-Reply-To: <485D193F.2020701@uni-graz.at> References: <485D193F.2020701@uni-graz.at> Message-ID: <13F36D2926AD444697093282F20041B7074C06E5@buf-ex01.cymfony.com> This shows me days, hours, minutes using check_nt!UPTIME command. define service{ use generic-service host_name server service_description Uptime is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 3 retry_check_interval 5 contacts nagiosadmin notification_interval 30 notification_period 24x7 notification_options w,c,r check_command check_nt!UPTIME } The result for the service shows: Current Status: OK (for 0d 18h 31m 4s) Status Information: System Uptime - 25 day(s) 17 hour(s) 9 minute(s) -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Wim De Geeter Sent: Saturday, June 21, 2008 11:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Windows Uptime question Hi, I would like to monitor the Uptime of our windows 2003 servers and tried it with 'check_uptime.exe' (from NagiosPluginsNT). But I only got the output in seconds. Someone knows how to get the output in Days, Hours, Minute ? Maybe I forgot something. 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jun 21 21:57:30 2008 From: wim.de-geeter at uni-graz.at (Wim De Geeter) Date: Sat, 21 Jun 2008 21:57:30 +0200 Subject: Windows Uptime question In-Reply-To: <13F36D2926AD444697093282F20041B7074C06E5@buf-ex01.cymfony.com> References: <485D193F.2020701@uni-graz.at> <13F36D2926AD444697093282F20041B7074C06E5@buf-ex01.cymfony.com> Message-ID: <485D5D2A.5070508@uni-graz.at> Many Thanks, but I am not using the NSClient to get my info. I am using the nrpe client for windows. Seth Simmons wrote: > This shows me days, hours, minutes using check_nt!UPTIME command. > > define service{ > use generic-service > host_name server > service_description Uptime > is_volatile 0 > check_period 24x7 > max_check_attempts 2 > normal_check_interval 3 > retry_check_interval 5 > contacts nagiosadmin > notification_interval 30 > notification_period 24x7 > notification_options w,c,r > check_command check_nt!UPTIME > } > > The result for the service shows: > Current Status: OK (for 0d 18h 31m 4s) > Status Information: System Uptime - 25 day(s) 17 hour(s) 9 minute(s) > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Wim De > Geeter > Sent: Saturday, June 21, 2008 11:08 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Windows Uptime question > > Hi, > I would like to monitor the Uptime of our windows 2003 servers and > tried it with 'check_uptime.exe' (from NagiosPluginsNT). But I only got > > the output in seconds. Someone knows how to get the output in Days, > Hours, Minute ? Maybe I forgot something. > 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 > -- Wim De Geeter System Administrator Wegener Center | Wegener Center for Climate and Global Change | University of Graz, Austria | phone: +43 316 380 8463 | eMail: wim.de-geeter at uni-graz.at | web: www.wegcenter.at ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slylock2 at mac.com Sat Jun 21 23:56:19 2008 From: slylock2 at mac.com (slylock2 at mac.com) Date: Sat, 21 Jun 2008 14:56:19 -0700 Subject: Last Host Notification In-Reply-To: References: Message-ID: <6FFE3D6D-9186-4B90-BEA2-92B9677BBB18@mac.com> Ah, finally figured it out. Sorry for bothering the list. It was the notification_period, which was set to workhours in the middle of the inheritance chain. On Jun 21, 2008, at 1:37 PM, Matt Snyder wrote: > Hi all. I have a common problem, which I've tried to resolve > following all the recommended methods, but nothing helps, so I'd like > to ask the question a different way. What are the possible > explanations why Last Host Notification is N/A, and Current > Notification Number is 0, on the Host State screen, cgi-bin/ > extinfo.cgi?type=1&host=stsd-vm11 ? > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dean at xyznetworks.net Sun Jun 22 00:32:12 2008 From: dean at xyznetworks.net (Dean) Date: Sun, 22 Jun 2008 08:32:12 +1000 Subject: cisco switch ports Message-ID: <000001c8d3ee$a6896b00$f39c4100$@net> Hi guys, I am trying to minitor a cisco 3750G switch via check_snmp. Currently every switchport is in use. However, Nagios reposts a great percentage of them as status unknown, with the only change in con fig between the ports being the port number in ifOperStatus. Anyone encounter this or have a possible solution? Thanks, Dean -------------- 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 Sun Jun 22 03:46:48 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 21 Jun 2008 21:46:48 -0400 Subject: Windows Uptime question In-Reply-To: <485D5D2A.5070508@uni-graz.at> References: <485D193F.2020701@uni-graz.at> <13F36D2926AD444697093282F20041B7074C06E5@buf-ex01.cymfony.com> <485D5D2A.5070508@uni-graz.at> Message-ID: create a wrapper script that converts the output to the format you want. TOny (author of NC_Net) On Sat, Jun 21, 2008 at 3:57 PM, Wim De Geeter wrote: > Many Thanks, but I am not using the NSClient to get my info. I am using > the nrpe client for windows. > > > > Seth Simmons wrote: > > This shows me days, hours, minutes using check_nt!UPTIME command. > > > > define service{ > > use generic-service > > host_name server > > service_description Uptime > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 2 > > normal_check_interval 3 > > retry_check_interval 5 > > contacts nagiosadmin > > notification_interval 30 > > notification_period 24x7 > > notification_options w,c,r > > check_command check_nt!UPTIME > > } > > > > The result for the service shows: > > Current Status: OK (for 0d 18h 31m 4s) > > Status Information: System Uptime - 25 day(s) 17 hour(s) 9 minute(s) > > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Wim De > > Geeter > > Sent: Saturday, June 21, 2008 11:08 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Windows Uptime question > > > > Hi, > > I would like to monitor the Uptime of our windows 2003 servers and > > tried it with 'check_uptime.exe' (from NagiosPluginsNT). But I only got > > > > the output in seconds. Someone knows how to get the output in Days, > > Hours, Minute ? Maybe I forgot something. > > 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 > > > > -- > Wim De Geeter > System Administrator Wegener Center > > | Wegener Center for Climate and Global Change > | University of Graz, Austria > | phone: +43 316 380 8463 > | eMail: wim.de-geeter at uni-graz.at > | web: www.wegcenter.at > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 iknewitalready at gmail.com Sat Jun 21 07:36:33 2008 From: iknewitalready at gmail.com (Shoaibi) Date: Sat, 21 Jun 2008 11:36:33 +0600 Subject: SMS Gateway Message-ID: <92dab8800806202236m389d5186y36708be0ce30aa28@mail.gmail.com> NOT related to nagios directly... Well i cannot buy an sms gateway by myself, are there any alternates? I search for some open source gateway software which i could setup, but i couldnt manage to get a url like the gateway sellers i.e. clickatell, gives that we use in notify with sms plugin. Any solution or links? -------------- 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 iknewitalready at gmail.com Sun Jun 22 06:57:44 2008 From: iknewitalready at gmail.com (Shoaibi) Date: Sun, 22 Jun 2008 10:57:44 +0600 Subject: [Multiple Problems] Message-ID: <92dab8800806212157u11c7a4dam7ee79a932cc5eca7@mail.gmail.com> @ Jay R. Ashworth: First, thanks for replying, second, sorry i was unable to explain my problem, third, i hope this post will clearly show what is the problem. +++++++++++++++ Details of My Script +++++++++++++++ Its a Java Servlet (web application) that will show a list of checkboxed publicly available services that are installed on a system to the visitor. like: <------------------------------------------------------------------------------------------- Please select a service to be monitored on this machine: [ ] SSHD [ ] HTTPD [[ Submit ]] ------------------------------------------------------------------------------------------> (Please note that there are other publicly avialable services as well, but in our case they are not installed. So this means; only listing the services that are installed and publicly available for nagios to monitor) After this list has been generated, user will check the services in which he is interested in e.g. to be monitored using nagios. So: <------------------------------------------------------------------------------------------ Please select a service to be monitored on the machine: [x] SSHD [ ] HTTPD [[ Submit ]] ------------------------------------------------------------------------------------------> Now what my script would do is that it will create the "correct syntaxed statements" for the marked services and insert them in the respective files. Suppose SSHD is marked, my script will do this after the user pushes the submit button: <------------------------------------------------------------------------------------------ define service{ use generic-service host_name localhosthost ; this host will be already defined in the hosts file service_description SSH check_command check_ssh } ------------------------------------------------------------------------------------------> And add it to commands.cfg file. So you see that i am trying to provide a GUI version with checkboxed list for the services which: 1. are installed 2. are publicly available and letting user choose which he want to monitor and based on that adding the details to commands.cfg file. +++++++ Problem +++++++ That were my needs. My problem is how can i list the installed and publicly available services on a nix? Can nagios tell me that on my system which services are publicly available for monitoring? If not, then is there any other method? ++++++++++++++++++++++ Methods already known to me ++++++++++++++++++++++ 1. Check distribution by: lsbrelease -a 2. Categorized distribution as debian or red hat based. 3. based upon the categorization run dpkg -l or rpm -qa and grep 'SERVICE_NAME_HERE' where for apache, on debian SERVICE_NAME_HERE=apache, and for redhat based one its httpd Thanks for reading the post. Bye ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Sun Jun 22 09:53:15 2008 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Sun, 22 Jun 2008 09:53:15 +0200 Subject: SMS Gateway In-Reply-To: <92dab8800806202236m389d5186y36708be0ce30aa28@mail.gmail.com> References: <92dab8800806202236m389d5186y36708be0ce30aa28@mail.gmail.com> Message-ID: <20080622075315.GA13314@torres.zugschlus.de> On Sat, Jun 21, 2008 at 11:36:33AM +0600, Shoaibi wrote: > Well i cannot buy an sms gateway by myself, What keeps you from plugging an UMTS card into a notebook and using the smstools package? > are there any alternates? I search for some open source gateway > software which i could setup, but i couldnt manage to get a url like > the gateway sellers i.e. clickatell, gives that we use in notify with > sms plugin. Any solution or links? You'd need to write some interface code for nagios, but that's only a few lines of script in any case. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jun 22 11:41:57 2008 From: JoeP at protronics.co.uk (Joe Precious) Date: Sun, 22 Jun 2008 10:41:57 +0100 Subject: Windows Uptime question References: <485D193F.2020701@uni-graz.at> Message-ID: <4DF7CF439F31164B96FC5D175CDF056E365897@PRO001.protronics.co.uk> Hi I use check SNMP for Windows uptime as its really easy to configure (just SNMP on the Windows server). I use a check command like:- check_snmp!-C public -o sysUpTime.0 and the output is like this:- SNMP OK - Timeticks: (628132770) 72 days, 16:48:47.70 Regards Joe -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Wim De Geeter Sent: Sat 6/21/2008 16:07 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Windows Uptime question Hi, I would like to monitor the Uptime of our windows 2003 servers and tried it with 'check_uptime.exe' (from NagiosPluginsNT). But I only got the output in seconds. Someone knows how to get the output in Days, Hours, Minute ? Maybe I forgot something. 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 20 19:43:23 2008 From: lists at scott-ackerman.com (Scott Ackerman) Date: Fri, 20 Jun 2008 11:43:23 -0600 Subject: Monitoring Apache Message-ID: Has anybody written a plugin or addon that would monitor apache services? I am not referring to just determining whether HTTP is up and running, but actually being able to report how many HTTP requests are being made on individual Virtual Servers along with the load. I have enabled an Apache reporting feature on my webserver that allows you to browse a URL with '/server-status' and I guess I am curious to see if anyone has used Nagios to 'parse' this information. 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 amontibello at gmail.com Fri Jun 20 18:52:52 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 20 Jun 2008 12:52:52 -0400 Subject: question about active and passive logic In-Reply-To: <5EE5732F-A0F3-43BB-AFB5-218F27D44553@ena.com> References: <20080620155323.2muj5o0f0g0040w8@intra.expertise-online.net> <5EE5732F-A0F3-43BB-AFB5-218F27D44553@ena.com> Message-ID: In addition I would add the following differences.(in my opinion) If enabling both Passive and Active check on a single Service check. (I usually do this when setting up a new host, or converting an Active check Config to a Passive check) I kind of look at that as the Active check is a Backup to the Passive check I would recomend both the Active and Passive check be configured to give the same result. If for some reason the Passive check stoped reporting, THe active check would try to fetch the data if unsuccessful then the it goes through the NON-OK logic. While freshness checking just notify that NO check was recieved. Tony (author of NC_NEt) On Fri, Jun 20, 2008 at 10:02 AM, Marc Powell wrote: > > On Jun 20, 2008, at 8:53 AM, Olivier JAN wrote: > > > > > Hi list, > > > > What is the difference, if any between, a active check that can also > > receive passive controls and a passive check with freshness_threshold > > ? Example : > > In the first case, even if you receive passive checks on a regular > basis, every 240 minutes nagios will report that you haven't. > > -- > 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 andrewd at webzone.net.au Fri Jun 20 19:16:26 2008 From: andrewd at webzone.net.au (Andrew D) Date: Sat, 21 Jun 2008 02:46:26 +0930 Subject: FreeBSD Nagios 2.12 In-Reply-To: <52719510-015F-49E3-B5E5-99243FB60C99@ena.com> References: <4859E37F.5090907@webzone.net.au> <485B3290.6020908@webzone.net.au> <52719510-015F-49E3-B5E5-99243FB60C99@ena.com> Message-ID: <485BE5EA.9020004@webzone.net.au> Marc Powell wrote: > On Jun 19, 2008, at 11:31 PM, Andrew D (Webzone) wrote: > >> Hi, >> >> Now the first server has stopped probing. > > I would verify that the service check time_periods, check_intervals > make sense and that active checks are enabled both at the service > level and globally via the web interface. > Tactical overview says # Active Host / Service Checks: 13 / 16 Services 0 Critical 0 Warning 0 Unknown 0 Ok 16 Pending Monitoring Features Flap Detection Notifications Event Handlers Active Checks Passive Checks Flap Detection Disabled N/A Notifications Enabled All Services Enabled All Hosts Enabled Event Handlers Enabled All Services Enabled All Hosts Enabled Active Checks Enabled All Services Enabled All Hosts Enabled Passive Checks Enabled All Services Enabled All Hosts Enabled > If you use state retention, try stopping nagios, moving the retention > file out of the way, globally disabling retention in nagios.cfg and > restarting. > I set retain_state_information=0 in nagios.cfg, moved the file and rebooted. Web page shows the following. dns1 DNS check PENDING N/A 0d 0h 10m 28s+ 1/3 Service check scheduled for Sat Jun 21 01:10:07 CST 2008 dns2 DNS check PENDING N/A 0d 0h 10m 28s+ 1/3 Service check scheduled for Sat Jun 21 01:11:37 CST 2008 The time here (at the time) is Sat Jun 21 01:20 CST 2008 > If you continue to have issues, recompile nagios with debug enabled > and run with that. > I set --enable-DEBUGALL and got the following upon starting of nagios. *** Event Check Loop *** Current time: Sat Jun 21 02:30:55 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 check_for_external_commands() start check_for_external_commands() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 6 (orphaned service check) check_for_orphaned_services() start check_for_orphaned_services() end handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 10 (service result freshness check) check_service_result_freshness() start check_service_result_freshness() end handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 1 (external command check) check_for_external_commands() start check_for_external_commands() end handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 8 (status save) handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:30:56 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 5 (service check reaper) reap_service_checks() start Starting to reap service check results... read_svc_message() start read_svc_message() end Finished reaping service check results. reap_service_checks() end handle_timed_event() end reschedule_event() start add_event() start add_event() end reschedule_event() end *** Event Check Loop *** Current time: Sat Jun 21 02:30:56 2008 Next High Priority Event Time: Sat Jun 21 02:31:06 2008 Next Low Priority Event Time: Sat Jun 21 02:30:56 2008 Current/Max Outstanding Service Checks: 0/0 handle_timed_event() start *** Event Details *** Event time: Sat Jun 21 02:30:56 2008 Event type: 0 (service check) Service Description: DNS check Associated Host: dns1 check_time_against_period() start find_timeperiod() start check_service_dependencies() start check_service_dependencies() end find_host() start Checking service 'DNS check' on host 'dns1'... clear_volatile_macros() start clear_argv_macros() start clear_argv_macros() end clear_volatile_macros() end grab_host_macros() start find_hostextinfo() start grab_datetime_macros() start grab_datetime_macros() end grab_host_macros() end grab_service_macros() start find_serviceextinfo() start grab_datetime_macros() start grab_datetime_macros() end grab_service_macros() end grab_summary_macros() start grab_summary_macros() end get_raw_command_line() start Input: check_dns clear_argv_macros() start clear_argv_macros() end find_command() start Output: $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$ get_raw_command_line() end process_macros() start process_macros() end And thats where it stops and locks. Executing from the command line returns the following. support# /usr/local/libexec/nagios/check_dns -H www.yahoo.com -s 210.8.36.2 DNS OK: 0.417 seconds response time. www.yahoo.com returns 209.131.36.158|time=0.417421s;;;0.000000 If I hash out that service, the next service listed does the same thing. I hope that helps, Cheers cya Andrew > -- > 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 wim.de-geeter at uni-graz.at Sun Jun 22 14:29:16 2008 From: wim.de-geeter at uni-graz.at (Wim De Geeter) Date: Sun, 22 Jun 2008 14:29:16 +0200 Subject: Windows Uptime question In-Reply-To: <4DF7CF439F31164B96FC5D175CDF056E365897@PRO001.protronics.co.uk> References: <485D193F.2020701@uni-graz.at> <4DF7CF439F31164B96FC5D175CDF056E365897@PRO001.protronics.co.uk> Message-ID: <485E459C.3090707@uni-graz.at> Thanks, Thats what I needed. Regards, Wim Joe Precious wrote: > Hi > > I use check SNMP for Windows uptime as its really easy to configure (just SNMP on the Windows server). > > I use a check command like:- > > check_snmp!-C public -o sysUpTime.0 > > and the output is like this:- > > SNMP OK - Timeticks: (628132770) 72 days, 16:48:47.70 > > Regards > > Joe > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net on behalf of Wim De Geeter > Sent: Sat 6/21/2008 16:07 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Windows Uptime question > > Hi, > I would like to monitor the Uptime of our windows 2003 servers and > tried it with 'check_uptime.exe' (from NagiosPluginsNT). But I only got > the output in seconds. Someone knows how to get the output in Days, > Hours, Minute ? Maybe I forgot something. > 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 > > > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at lamp.xs4all.nl Sun Jun 22 15:40:52 2008 From: nagios at lamp.xs4all.nl (Lennard Bakker) Date: Sun, 22 Jun 2008 15:40:52 +0200 Subject: Event handler with null values Message-ID: <485E5664.6050608@lamp.xs4all.nl> Hi, If have created an event handler for sync a time when needed. But when nagios calls the event handler, it calls the handler with null values. [1214136751] SERVICE EVENT HANDLER: host;TIME;(null);(null);(null);synctime The macro's $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ all have a null (empty) value. Something i did wrong? Kinds regards, Lennard Bakker ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 17:15:40 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Sun, 22 Jun 2008 11:15:40 -0400 Subject: [Multiple Problems] In-Reply-To: <92dab8800806212157u11c7a4dam7ee79a932cc5eca7@mail.gmail.com> References: <92dab8800806212157u11c7a4dam7ee79a932cc5eca7@mail.gmail.com> Message-ID: <20080622151540.GC29045@cgi.jachomes.com> On Sun, Jun 22, 2008 at 10:57:44AM +0600, Shoaibi wrote: > First, thanks for replying, second, sorry i was unable to explain my > problem, third, i hope this post will clearly show what is the > problem. Ok. What you're *trying* to do is create a "Nagios Configuration Builder" Interface, for the specific subtask of building configs to monitor public facing services off of a given server. Now, if this is *not* a homework problem for a class somewhere, your best bet is probably to look at the already extant frameworks for building Nagios configs. They're all mostly 2.x compatible at the moment, but I gather some of them, at least, are being updated. As for extending them, I'd recommend looking into nmap and /etc/services to determine what's available publically to monitor. If this *is* a homework problem... it's your *homework*, dude. :-) 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 Sun Jun 22 17:40:15 2008 From: marc at ena.com (Marc Powell) Date: Sun, 22 Jun 2008 10:40:15 -0500 Subject: [Multiple Problems] In-Reply-To: <92dab8800806212157u11c7a4dam7ee79a932cc5eca7@mail.gmail.com> References: <92dab8800806212157u11c7a4dam7ee79a932cc5eca7@mail.gmail.com> Message-ID: On Jun 21, 2008, at 11:57 PM, Shoaibi wrote: > So you see that i am trying to provide a GUI version with checkboxed > list for the services which: > 1. are installed > 2. are publicly available Determining #2 implies #1 is true. > +++++++ > Problem > +++++++ > > That were my needs. My problem is how can i list the installed and > publicly available services on a nix? Can nagios tell me that on my > system which services are publicly available for monitoring? If not, No, it only knows about things you tell it. > then is there any other method? nmap comes to mind as a way to determine the public services on any host. There's even someone that's done that part before (nmap2nagios), albiet it's old and probably out of date now. > ++++++++++++++++++++++ > Methods already known to me > ++++++++++++++++++++++ > > 1. Check distribution by: > > lsbrelease -a > > 2. Categorized distribution as debian or red hat based. > 3. based upon the categorization run > > dpkg -l > > or > > rpm -qa > > and > > grep 'SERVICE_NAME_HERE' Way too complicated and doesn't tell you that the services are active or not, that if they are active that they're listening publicly and you're seemingly required to have automated, passwordless remote access to the boxes from the nagios machine to run the commands above. If you were to go this route, parsing netstat output would probably be more effective. -- 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 Sun Jun 22 17:49:15 2008 From: marc at ena.com (Marc Powell) Date: Sun, 22 Jun 2008 10:49:15 -0500 Subject: Event handler with null values In-Reply-To: <485E5664.6050608@lamp.xs4all.nl> References: <485E5664.6050608@lamp.xs4all.nl> Message-ID: <773F3E8C-4965-42F1-A49A-F207AEDA7784@ena.com> On Jun 22, 2008, at 8:40 AM, Lennard Bakker wrote: > Hi, > > If have created an event handler for sync a time when needed. But when > nagios calls the event handler, it calls the handler with null values. > > [1214136751] SERVICE EVENT HANDLER: host;TIME;(null);(null); > (null);synctime > > The macro's $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ all > have > a null (empty) value. > > Something i did wrong? This may be a logging only issue. Does your script see correct values? Can you post the service{} and event handler command{} definitions? What version of nagios are you using? -- 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 Sun Jun 22 17:59:04 2008 From: marc at ena.com (Marc Powell) Date: Sun, 22 Jun 2008 10:59:04 -0500 Subject: cisco switch ports In-Reply-To: <000001c8d3ee$a6896b00$f39c4100$@net> References: <000001c8d3ee$a6896b00$f39c4100$@net> Message-ID: On Jun 21, 2008, at 5:32 PM, Dean wrote: > Hi guys, I am trying to minitor a cisco 3750G switch via check_snmp. > Currently every switchport is in use. However, Nagios reposts a > great percentage of them as status unknown, with the only change in > con fig between the ports being the port number in ifOperStatus. > Anyone encounter this or have a possible solution? Your problem is too vague. "My tire gauge won't work on 3 of the 4 tires on my car. All I did was move from tire to tire using the same tire gauge. Anyone seen this before?" Nagios is just reporting what check_snmp is telling it. Sounds like you're either monitoring the wrong OID's for the 'UNKNOWN' ports, your check_snmp command is incorrect in some way or the switch is reporting bad data. Does snmpwalk show the data you expect? Does running check_snmp in verbose mode from the command line offer any clues? The more specific information you provide, the more likely you are to receive a useful answer. Include configuration snippets, examples of real-world tests and any interesting debugging information you've determined already. -- 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 Sun Jun 22 18:05:30 2008 From: marc at ena.com (Marc Powell) Date: Sun, 22 Jun 2008 11:05:30 -0500 Subject: Monitoring Apache In-Reply-To: References: Message-ID: On Jun 20, 2008, at 12:43 PM, Scott Ackerman wrote: > Has anybody written a plugin or addon that would monitor apache > services? I am not referring to just determining whether HTTP is up > and running, but actually being able to report how many HTTP > requests are being made on individual Virtual Servers along with the > load. I have enabled an Apache reporting feature on my webserver > that allows you to browse a URL with '/server-status' and I guess I > am curious to see if anyone has used Nagios to 'parse' this > information. The top hit for 'nagios check_apache' seems to fit the bill, did it not work? -- Marc Google - Your friendly, all knowing, all seeing Internet help desk. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 18:31:22 2008 From: marc at ena.com (Marc Powell) Date: Sun, 22 Jun 2008 11:31:22 -0500 Subject: FreeBSD Nagios 2.12 In-Reply-To: <485BE5EA.9020004@webzone.net.au> References: <4859E37F.5090907@webzone.net.au> <485B3290.6020908@webzone.net.au> <52719510-015F-49E3-B5E5-99243FB60C99@ena.com> <485BE5EA.9020004@webzone.net.au> Message-ID: <8E0766C1-DEC5-4664-A7A3-0EA241791072@ena.com> On Jun 20, 2008, at 12:16 PM, Andrew D wrote: > > get_raw_command_line() start > Input: check_dns > clear_argv_macros() start > clear_argv_macros() end > find_command() start > Output: $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$ > get_raw_command_line() end > process_macros() start > process_macros() end > > > > And thats where it stops and locks. Thanks. After this, nagios makes a call to the event broker, determines if the plugin is a perl plugin (to use ePN if enabled), then forks the check_command. Did you compile with the event broker? Is it enabled? Maybe try a compilation without the event broker/embedded perl interpreter. There is (was?) a known issue with FreeBSD related to pthreads that may be in play (Known Issues - http://nagios.sourceforge.net/docs/2_0/whatsnew.html , Google for 'nagios freebsd pthreads'). It does specifically relate to the forking of check processes and a hang. I do not recall what the current status of that issue is but remember chatter about it either here or on nagios-devel. Perhaps on of the other FreeBSD users can chime in on that. My feeling is that it was fixed or there's a workaround but I don't remember specifics. -- 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 hvdkooij at vanderkooij.org Sun Jun 22 19:12:48 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 22 Jun 2008 19:12:48 +0200 Subject: How do we report a possible bug (in check_ping)? In-Reply-To: <12b44e560806192107x3255e7c2kdde426d5dad53815@mail.gmail.com> References: <12b44e560806192107x3255e7c2kdde426d5dad53815@mail.gmail.com> Message-ID: <485E8810.9050407@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Eddie F wrote: | How/where do I report bugs for Nagios? See the help info for the plugin. .... | # /usr/local/nagios/libexec/check_ping -H nagios.org -w 300,10% -c 1000,50% -p 5 | CRITICAL - Plugin timed out after 10 seconds $ /usr/lib/nagios/plugins/check_ping -H nagios.org -w 300,10% -c 1000,50% -p 5 PING OK - Packet loss = 0%, RTA = 133.65 ms Nothing wrong here. Check your version and include relevant details like OS, kernel version , .......... It works fine here on Centos 5 with: check_ping v1810 (nagios-plugins 1.4.11) 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) iD8DBQFIXogOBvzDRVjxmYERAkYsAKC5Gz05rx37RIsh8E1FZoqjZYaEPACgoz8u NaynpTn5WRD7UIcQSoANeV8= =EOvi -----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 lists at scott-ackerman.com Sun Jun 22 19:32:03 2008 From: lists at scott-ackerman.com (Scott Ackerman) Date: Sun, 22 Jun 2008 11:32:03 -0600 Subject: Monitoring Apache In-Reply-To: References: Message-ID: Thanks for the pointer, I didn't notice that it was available. I have Googled and looked through the Nagios documentation and a I haven't found any documentation on how to implement this. Any ideas? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Sunday, June 22, 2008 10:06 AM To: nagios-user Mailinglist Subject: Re: [Nagios-users] Monitoring Apache On Jun 20, 2008, at 12:43 PM, Scott Ackerman wrote: > Has anybody written a plugin or addon that would monitor apache > services? I am not referring to just determining whether HTTP is up > and running, but actually being able to report how many HTTP requests > are being made on individual Virtual Servers along with the load. I > have enabled an Apache reporting feature on my webserver that allows > you to browse a URL with '/server-status' and I guess I am curious to > see if anyone has used Nagios to 'parse' this information. The top hit for 'nagios check_apache' seems to fit the bill, did it not work? -- Marc Google - Your friendly, all knowing, all seeing Internet help desk. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 dermoth at aei.ca Mon Jun 23 03:34:59 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 22 Jun 2008 21:34:59 -0400 Subject: Event handler with null values In-Reply-To: <773F3E8C-4965-42F1-A49A-F207AEDA7784@ena.com> References: <485E5664.6050608@lamp.xs4all.nl> <773F3E8C-4965-42F1-A49A-F207AEDA7784@ena.com> Message-ID: <485EFDC3.7010308@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/06/08 11:49 AM, Marc Powell wrote: > On Jun 22, 2008, at 8:40 AM, Lennard Bakker wrote: > >> Hi, >> >> If have created an event handler for sync a time when needed. But when >> nagios calls the event handler, it calls the handler with null values. >> >> [1214136751] SERVICE EVENT HANDLER: host;TIME;(null);(null); >> (null);synctime >> >> The macro's $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ all >> have >> a null (empty) value. >> >> Something i did wrong? > > > This may be a logging only issue. Does your script see correct values? > Can you post the service{} and event handler command{} definitions? > What version of nagios are you using? I believe this was reported on IRC and the guy sent an email about it... If I remember properly is was effectively a logging problem (I'm not 100% sure though), Are you seeing this on Nagios 3.0.2? If so I'll look into it when I have time and repost it. Thanks Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIXv3D6dZ+Kt5BchYRAgYzAKDIYdrNDqpoWGqzUxXY7i1hW8RWdQCghBOi 4aASvAiLHYxtaKJzIGc72GY= =JHKh -----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 Mon Jun 23 06:52:28 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 23 Jun 2008 00:52:28 -0400 Subject: cisco switch ports In-Reply-To: References: <000001c8d3ee$a6896b00$f39c4100$@net> Message-ID: <20080623045228.GA31782@cgi.jachomes.com> On Sun, Jun 22, 2008 at 10:59:04AM -0500, Marc Powell wrote: > > Hi guys, I am trying to minitor a cisco 3750G switch via check_snmp. > > Currently every switchport is in use. However, Nagios reposts a > > great percentage of them as status unknown, with the only change in > > con fig between the ports being the port number in ifOperStatus. > > Anyone encounter this or have a possible solution? > > Your problem is too vague. "My tire gauge won't work on 3 of the 4 > tires on my car. All I did was move from tire to tire using the same > tire gauge. Anyone seen this before?" Can I nominate that for Funniest Mailing List Reply of the month? :-) 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 Sebastian.Ries at dtnet.de Mon Jun 23 08:00:24 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Mon, 23 Jun 2008 08:00:24 +0200 Subject: OT: Windows Uptime question In-Reply-To: <4DF7CF439F31164B96FC5D175CDF056E365897@PRO001.protronics.co.uk> References: <485D193F.2020701@uni-graz.at> <4DF7CF439F31164B96FC5D175CDF056E365897@PRO001.protronics.co.uk> Message-ID: <1214200824.3207.13.camel@bofh.dtnet.de> Hi > I use check SNMP for Windows uptime as its really easy to configure (just SNMP on the Windows server). Does anyone have a quick hint how to enable snmp on Windows Server 2003? I installed the snmp agent from the windows components but still get not answer from the host. I think I have to configure snmp that it knows about the servers that are allowed to connect via snmp but as I'm no windows-guru I don't find where to configure snmp. Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Mon Jun 23 08:11:14 2008 From: christian.masopust at siemens.com (Masopust, Christian) Date: Mon, 23 Jun 2008 08:11:14 +0200 Subject: OT: Windows Uptime question In-Reply-To: <1214200824.3207.13.camel@bofh.dtnet.de> References: <485D193F.2020701@uni-graz.at><4DF7CF439F31164B96FC5D175CDF056E365897@PRO001.protronics.co.uk> <1214200824.3207.13.camel@bofh.dtnet.de> Message-ID: <60721B67EAF0994EAFFB561767B700140256596A@nets13ha.ww300.siemens.net> Hello Sebastian, I did this a very long time ago and when remembering correctly the configuration is within the service-properties. christian -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Sebastian Ries > Sent: Monday, June 23, 2008 8:00 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] OT: Windows Uptime question > > Hi > > > I use check SNMP for Windows uptime as its really easy to > configure (just SNMP on the Windows server). > > Does anyone have a quick hint how to enable snmp on Windows > Server 2003? > > I installed the snmp agent from the windows components but > still get not > answer from the host. > I think I have to configure snmp that it knows about the servers that > are allowed to connect via snmp but as I'm no windows-guru I > don't find > where to configure snmp. > > Regards > Sebastian Ries > > -- > ------------------------------------------------------------ > DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart > Tel: +49-711-849910-36 Fax: +49-711-849910-936 > WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de > > -------------------------------------------------------------- > ----------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sebastian.Ries at dtnet.de Mon Jun 23 09:27:56 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Mon, 23 Jun 2008 09:27:56 +0200 Subject: OT: Windows Uptime question (solved) In-Reply-To: <60721B67EAF0994EAFFB561767B700140256596A@nets13ha.ww300.siemens.net> References: <485D193F.2020701@uni-graz.at> <4DF7CF439F31164B96FC5D175CDF056E365897@PRO001.protronics.co.uk> <1214200824.3207.13.camel@bofh.dtnet.de> <60721B67EAF0994EAFFB561767B700140256596A@nets13ha.ww300.siemens.net> Message-ID: <1214206076.12467.0.camel@bofh.dtnet.de> Hi > I did this a very long time ago and when remembering correctly > the configuration is within the service-properties. This was exactly what I was looking fore. Thanks a lot! Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 09:51:19 2008 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Mon, 23 Jun 2008 09:51:19 +0200 Subject: check_procs argument-array via check_by_ssh Message-ID: Hi folks, I have a problem with the plugin check_procs (current version): I would like to use the argument-array (-a) to check the startup parameters of daemons, but that does not seem to work when used via check_by_ssh. For example: Testing locally with PATH/check_procs -w 1:10 -c 1:15 -a '/usr/sbin/clamd -c /etc/clamd.conf' works fine. The same from remote with PATH/check_by_ssh -H FQDN -C "$USER1"/check_procs -w 1:10 -c 1:15 -a '/usr/sbin/clamd -c /etc/clamd.conf'" fails with "check_procs: Critical Process Count must be an integer!" I guess somehow the single quotes around the argument-array are not transferred correctly by check_by_ssh. I tried a few workarounds, but: - using single quotes instead of double quotes for the -C expression: does not work ("unknown option -c") - using -a for ever part of the argument-array: -a '/usr/sbin/clamd' -a '-c' -a '/etc/clamd.conf': does not work ("could not open pipe ..." Is it possible to solve this with check_by_ssh? The docs did not provide anything I found helpful. Regards, Dirk -------------------------------------------------------------- Dirk H. Schulz ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rupertt at gmail.com Mon Jun 23 10:18:31 2008 From: rupertt at gmail.com (Heiko) Date: Mon, 23 Jun 2008 10:18:31 +0200 Subject: plugins works on console but not reliable inside nagios In-Reply-To: <6169CC19-69FB-4ABC-AB0B-6BA786245D93@ena.com> References: <537dcd6b0806192336n6b57d5c7y56ffccdb184f6c19@mail.gmail.com> <6169CC19-69FB-4ABC-AB0B-6BA786245D93@ena.com> Message-ID: <537dcd6b0806230118v7ab651adgbeaa2c9e44727006@mail.gmail.com> On Fri, Jun 20, 2008 at 2:40 PM, Marc Powell wrote: > > On Jun 20, 2008, at 1:36 AM, Heiko wrote: > >> Hello, >> >> i use a plugin that is monitoring our load balancers. >> When nagios is checking the services on these LB it very often reports >> a timeout >> on this services. >> But when I start the plugin from the bash everything works fine,i get >> a fast response on these services. >> I use exactly the same line on the bash like it is in the >> checkcommands conf file. > > There are environment differences between when you run manually and > when nagios does (i.e. there really is none in the latter case). If > this plugin relies on any environment variables ($PATH, etc), you may > not have them. Since we don't really know anything about what the > plugin is doing, I can only suggest that you write in logging at > important steps in the check process to see where it's hanging and > work from there. > Hello Marc and list, The plugin is used to monitor some F5 load balancers, i already hat a cat witht the developer on this list, and the conclusion was that the problem seems to be inside nagios. Can I give you some information like config or logfiles to analyse this problem`? We really need to get this working. Am I right that the nagios.log is cronologicaly? in the following past you can see that the service is one second alive and in the next line it did a timeout, I didnt cut anything from this logfile. [1214179567] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1_PRODUCTION_Incomingfeed 2/4 nodes online [1214179830] Auto-save of retention data completed successfully. [1214180347] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;CRITICAL;HARD;3;(Service Check Timed Out) [1214180467] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1Backend_PRODUCTION_www 1/2 nodes online [1214181247] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;CRITICAL;HARD;3;(Service Check Timed Out) [1214181967] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1_PRODUCTION_Incomingfeed 2/4 nodes online [1214182747] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;CRITICAL;HARD;3;(Service Check Timed Out) [1214182867] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1Backend_PRODUCTION_www 1/2 nodes online [1214183430] Auto-save of retention data completed successfully. [1214183647] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;CRITICAL;HARD;3;(Service Check Timed Out) [1214183767] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1_PRODUCTION_Incomingfeed 2/4 nodes online [1214183947] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;CRITICAL;HARD;3;(Service Check Timed Out) [1214184067] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1Backend_PRODUCTION_www 1/2 nodes online [1214184847] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;CRITICAL;HARD;3;(Service Check Timed Out) [1214184967] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1Backend_PRODUCTION_www 1/2 nodes online [1214185147] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;CRITICAL;HARD;3;(Service Check Timed Out) [1214185867] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1_PRODUCTION_Incomingfeed 2/4 nodes online [1214186347] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;CRITICAL;HARD;3;(Service Check Timed Out) [1214186467] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1_PRODUCTION_Incomingfeed 2/4 nodes online [1214186647] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;CRITICAL;HARD;3;(Service Check Timed Out) [1214186947] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;CRITICAL;HARD;3;(Service Check Timed Out) [1214187030] Auto-save of retention data completed successfully. [1214187067] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1_PRODUCTION_Incomingfeed 2/4 nodes online [1214187367] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1Backend_PRODUCTION_www 1/2 nodes online [1214187547] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;CRITICAL;HARD;3;(Service Check Timed Out) [1214187847] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;CRITICAL;HARD;3;(Service Check Timed Out) [1214187967] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1_PRODUCTION_Incomingfeed 2/4 nodes online [1214188267] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1Backend_PRODUCTION_www 1/2 nodes online [1214189047] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;CRITICAL;HARD;3;(Service Check Timed Out) [1214190067] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1Backend_PRODUCTION_www 1/2 nodes online [1214190247] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;CRITICAL;HARD;3;(Service Check Timed Out) [1214190630] Auto-save of retention data completed successfully. [1214190967] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1_PRODUCTION_Incomingfeed 2/4 nodes online [1214191447] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;CRITICAL;HARD;3;(Service Check Timed Out) [1214191567] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1Backend_PRODUCTION_www 1/2 nodes online [1214191747] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;CRITICAL;HARD;3;(Service Check Timed Out) [1214191867] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1_PRODUCTION_Incomingfeed 2/4 nodes online [1214192047] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;CRITICAL;HARD;3;(Service Check Timed Out) [1214192647] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;CRITICAL;HARD;3;(Service Check Timed Out) [1214192767] SERVICE ALERT: BigIP-Active;Pool_company1_PRODUCTION_Incomingfeed;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1_PRODUCTION_Incomingfeed 2/4 nodes online [1214193367] SERVICE ALERT: BigIP-Active;Pool_company1Backend_PRODUCTION_www;WARNING;HARD;3;CHECK_BIGIP_POOL WARNING - company1Backend_PRODUCTION_www 1/2 nodes online will this help to find a solution.? thx Heiko > -- > 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 pemca at tdc.dk Mon Jun 23 10:54:28 2008 From: pemca at tdc.dk (Peter Michael Calum) Date: Mon, 23 Jun 2008 10:54:28 +0200 Subject: Problem with check_sun_hardware plugin Message-ID: Hi I'm using the sun_hardware plugin and it works fine on V240 / Solaris 9, but i found a couple of problems i want to report, and hopefully gets corrected :) I'ts concerning the cpu check, where i found 2 errors - On solaris 10 CPU state is returnes as "on-line" instead of online (see my correction below) - On V245 servers with solaris 10 the subroutine check_cpu is called 5 times, i dont know why and i havent been able to correct it. Please mail me if you want printouts from the server. sub check_cpu { my (%cpu) = %{(shift)}; my $res = $ERRORS{'OK'}; if (!(($cpu{'State'} eq 'online') || ($cpu{'State'} eq 'on-line'))) { $res_str .= "CPU $cpu{'cpuid'}: $cpu{'State'}; ";^M $res = $ERRORS{'CRITICAL'};^M } $res_str .= "CPU $cpu{'cpuid'}: OK; " if(($res == $ERRORS{'OK'}) && !defined($opt_errors_only)); return $res; } V245 test (solaris 10) # ./check_sun_hardware -c cpu -d SUNW,UltraSPARC-IIIi (cpu, 9700000108) :_fru_parent (9700000890H) :StateBegin Tue Feb 26 14:43:50 2008 :FPUType sparcv9 :ProcessorType sparcv9 :State on-line :ID 0 :UnitAddress 0,0 :ecache-size 0x100000 :reg 00 00 04 00 00 00 00 00 00 00 00 00 00 01 00 00 :portid 0 :cpuid 0 :device_type cpu :icache-size 0x8000 :icache-line-size 0x20 :icache-associativity 0x4 :#itlb-entries 0x10 :dcache-size 0x10000 :dcache-line-size 0x20 :dcache-associativity 0x4 :#dtlb-entries 0x10 :sparc-version 0x9 :ecache-line-size 0x40 :ecache-associativity 0x4 :mask# 0x34 :implementation# 0x16 :manufacturer# 0x3e :clock-frequency 0x59a53800 :clock-divisors 00 00 00 01 00 00 00 02 00 00 00 20 :pm-components (9700000111TBL) | NAME=CPU Speed | | 1=1/32 of Normal | | 2=1/2 of Normal | | 3=Normal | :devfs-path /SUNW,UltraSPARC-IIIi at 0,0 :driver-name us :binding-name SUNW,UltraSPARC-IIIi :bus-addr 0,0 :instance 0 :_class cpu :name SUNW,UltraSPARC-IIIi Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Result string: CPU 0: OK; CPU : ; CPU : ; CPU : ; CPU : ; Performance data: CRITICAL: CPU 0: OK; CPU : ; CPU : ; CPU : ; CPU : ; # Thanks, Kind regards Peter Calum -------------- 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 giovannetti.emiliano at gmail.com Mon Jun 23 10:56:40 2008 From: giovannetti.emiliano at gmail.com (Emiliano Giovannetti) Date: Mon, 23 Jun 2008 10:56:40 +0200 Subject: Use nrpe_nt to start VB program Message-ID: Hi, I hope someone could help... I'm trying to use Nagios and the check_nrpe plugins to restart a Visual Basic program if it's down. The Nagios server is a Linux box (Centos 5.1). check_nrpe launchs a vbs script on a Windows 2000 server which is the same machine where the VB program should run. The script uses WMI to check if the program is running and to potentially create a new instance of the process. On the Nagios server I install nrpe-2.12 On the Windows 2000 server I install nrpe_nt 0.8 as a service running as LocalSystem and user currently logged is the domain administrator. This is an excerpt from nrpe.cfg on the Windows 2000 server: server_port=5666 allowed_hosts=ip of Nagios server dont_blame_nrpe=1 debug=1 command_timeout=30 loglevel=7 use_win_metachars=1 command[process_restart]=cscript //nologo c:\process_restart.vbs $ARG1$ On the Nagios server I try out this: ./check_nrpe -H server.domain -c process_restart -a vbProgram.exe At this point on the Windows server a process vbProgram.exe is visible from the task manager but no windows are displayed. Moreover the process cannot be killed from the task manager ("Access Denied" message is returned). In nrpe_nt.log I can see this line: 2008-06-19 16:06:02; 5488; 7;Command completed with return code 0 which, I think, indicates that the command completed successfully. How can I make the program visible on desktop? Am I missing something? Is at least possible to do what I'm trying to do? Emiliano -------------- 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 Peter.Jevos at oriflame.com Mon Jun 23 12:04:58 2008 From: Peter.Jevos at oriflame.com (Jevos, Peter) Date: Mon, 23 Jun 2008 12:04:58 +0200 Subject: Downtime schedule script Message-ID: <6639BA20B265594590E97DD72A8EE0359DA80A@exosw.osw.ori.local> Hi all I'd like to ask you for tha advice. I'm looking for some script that will schedule downtime for the particualar host at the specific time. I've searched in the nagiosexchange.org and there're some scripts but even they're unavailable or the links are broken and so on. Could you please provide me a link to that script like this ? Thx Br pet ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 23 12:08:07 2008 From: michael at medin.name (Michael Medin) Date: Mon, 23 Jun 2008 09:08:07 -0100 (GMT+1) Subject: Use nrpe_nt to start VB program In-Reply-To: References: Message-ID: <33153.193.180.216.132.1214215687.squirrel@ssl.nakednuns.org> Hello, Just a quick response, and I am not an expert here so I could be all wrong. But I am not sure it will be possible / easy to do. But you would need the "interact with desktop" option set on the service and also make sure the service is running as the same user as the one that is logged in. And even with this I am not really sure it is possible (out of the box) services are generally not supposed to do that. Another way (and this I think is the way I would do it) Would be to stop running NRPE_nt as a service and instead run it as a normal program from (autorun) and then it will be very easy to do. If you monitor other things (such as the system) you might want to run two instance one as a service that responds to your monitoring needs and one as the local user that "launches the program". Again I am not an expert so I dont really know... this is wild speculations :) // Michael Medin > Hi, > > I hope someone could help... > I'm trying to use Nagios and the check_nrpe plugins to restart a Visual > Basic program if it's down. > The Nagios server is a Linux box (Centos 5.1). > check_nrpe launchs a vbs script on a Windows 2000 server which is the same > machine where the VB program should run. > The script uses WMI to check if the program is running and to potentially > create a new instance of the process. > > On the Nagios server I install nrpe-2.12 > On the Windows 2000 server I install nrpe_nt 0.8 as a service running as > LocalSystem and user currently logged is the domain administrator. > > This is an excerpt from nrpe.cfg on the Windows 2000 server: > > server_port=5666 > allowed_hosts=ip of Nagios server > dont_blame_nrpe=1 > debug=1 > command_timeout=30 > loglevel=7 > use_win_metachars=1 > command[process_restart]=cscript //nologo c:\process_restart.vbs $ARG1$ > > > On the Nagios server I try out this: > > ./check_nrpe -H server.domain -c process_restart -a vbProgram.exe > > > At this point on the Windows server a process vbProgram.exe is visible > from > the task manager but no windows are displayed. > Moreover the process cannot be killed from the task manager ("Access > Denied" > message is returned). > In nrpe_nt.log I can see this line: > > 2008-06-19 16:06:02; 5488; 7;Command completed with return code 0 > > which, I think, indicates that the command completed successfully. > > How can I make the program visible on desktop? > Am I missing something? > Is at least possible to do what I'm trying to do? > > Emiliano > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 boph at tdchosting.dk Mon Jun 23 12:13:47 2008 From: boph at tdchosting.dk (Bo Philip Larsen) Date: Mon, 23 Jun 2008 12:13:47 +0200 Subject: Downtime schedule script In-Reply-To: <6639BA20B265594590E97DD72A8EE0359DA80A@exosw.osw.ori.local> References: <6639BA20B265594590E97DD72A8EE0359DA80A@exosw.osw.ori.local> Message-ID: <02EAC0960BFECB4F9EAEC26B4972EE445F4D514D86@TDCHEXBE01.int.tdch.dk> Take a look at http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=118 Regards Bo -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jevos, Peter Sent: 23. juni 2008 12:05 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Downtime schedule script Hi all I'd like to ask you for tha advice. I'm looking for some script that will schedule downtime for the particualar host at the specific time. I've searched in the nagiosexchange.org and there're some scripts but even they're unavailable or the links are broken and so on. Could you please provide me a link to that script like this ? Thx Br pet ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Peter.Jevos at oriflame.com Mon Jun 23 12:25:50 2008 From: Peter.Jevos at oriflame.com (Jevos, Peter) Date: Mon, 23 Jun 2008 12:25:50 +0200 Subject: Downtime schedule script In-Reply-To: <02EAC0960BFECB4F9EAEC26B4972EE445F4D514D86@TDCHEXBE01.int.tdch.dk> References: <6639BA20B265594590E97DD72A8EE0359DA80A@exosw.osw.ori.local> <02EAC0960BFECB4F9EAEC26B4972EE445F4D514D86@TDCHEXBE01.int.tdch.dk> Message-ID: <6639BA20B265594590E97DD72A8EE0359DA80B@exosw.osw.ori.local> Dear bo Thx a lot, that' enough BR Pet > -----Original Message----- > From: Bo Philip Larsen [mailto:boph at tdchosting.dk] > Sent: Monday, June 23, 2008 12:14 PM > To: Jevos, Peter; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Downtime schedule script > > Take a look at > http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?co > mmand_id=118 > > Regards > Bo > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jevos, Peter > Sent: 23. juni 2008 12:05 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Downtime schedule script > > Hi all > > I'd like to ask you for tha advice. > I'm looking for some script that will schedule downtime for the > particualar host at the specific time. > I've searched in the nagiosexchange.org and there're some scripts but > even they're unavailable or the links are broken and so on. > > Could you please provide me a link to that script like this ? > > Thx > > Br > > pet > > ----------------------------------------------------------------------- > -- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ANGC0020 at ntu.edu.sg Mon Jun 23 12:49:19 2008 From: ANGC0020 at ntu.edu.sg (#ANG CHIN TECK#) Date: Mon, 23 Jun 2008 18:49:19 +0800 Subject: Can a remote client send a file to Nagios or vice versa? Message-ID: hi all, I have tried using nrpe (on NSClient++) to send commands to remote windows client to do checks. but are there any plugins or any other methods that allow sending of files? I want to send back log files from client to server using NSCA. the main reason for using nagios is because of the security features provided by NSCA, to monitor the logging for any problems and that the codes can be modified. I googled and nagiosexchanged but no luck. 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 hvdkooij at vanderkooij.org Mon Jun 23 13:01:31 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 23 Jun 2008 13:01:31 +0200 Subject: Can a remote client send a file to Nagios or vice versa? In-Reply-To: References: Message-ID: <485F828B.5010706@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 #ANG CHIN TECK# wrote: | hi all, | | I have tried using nrpe (on NSClient++) to send commands to remote | windows client to do checks. | | but are there any plugins or any other methods that allow sending of files? | | I want to send back log files from client to server using NSCA. | | the main reason for using nagios is because of the security features | provided by NSCA, to monitor the logging for any problems and that the | codes can be modified. | | I googled and nagiosexchanged but no luck. Sounds like a wrong way to tackle the problem. You should forward the logs realtime (syslog comes to mind) and then you can analyze them as much as you like. If you need to analyze the logs then make sure they are stored safely first. It's not Nagios job to transfer file from one system to another. You can use syslog to do this realtime or use tools like putty and friends to do ~ it batchwise. 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) iD8DBQFIX4KIBvzDRVjxmYERAg7aAJ99ngxRNBdHj08ifhD6m7JJk0tB3ACeIsJg OOsBwwaW9OoAp7IlPmcsHUM= =x5K9 -----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 marc at ena.com Mon Jun 23 14:40:33 2008 From: marc at ena.com (Marc Powell) Date: Mon, 23 Jun 2008 07:40:33 -0500 Subject: plugins works on console but not reliable inside nagios In-Reply-To: <537dcd6b0806230118v7ab651adgbeaa2c9e44727006@mail.gmail.com> References: <537dcd6b0806192336n6b57d5c7y56ffccdb184f6c19@mail.gmail.com> <6169CC19-69FB-4ABC-AB0B-6BA786245D93@ena.com> <537dcd6b0806230118v7ab651adgbeaa2c9e44727006@mail.gmail.com> Message-ID: On Jun 23, 2008, at 3:18 AM, Heiko wrote: > > The plugin is used to monitor some F5 load balancers, i > already hat a cat witht the developer on this list, and the > conclusion was that > the problem seems to be inside nagios. Which plugin is it, where did you get it and was that his conclusion? For what reason? > Can I give you some information like config or logfiles to analyse > this problem`? I don't have access to an F5 to do any testing with but I can see if there's anything obvious. The host, service and command definitions would be helpful. Also, try running the plugin from the command line repeatedly, as the nagios user, from the nagios machine, as nagios would run it by substituting appropriate values for $MACROS$ you use. Does it return instantly with correct values or take some time to complete (> 10s)? Timeouts mean that the plugin is just taking longer to finish than you've told nagios to wait. Given what's known so far, you may just need to increase the service_check_timeout value in nagios.cfg. > Am I right that the nagios.log is cronologicaly? It is (standard unix timestamp). > in the following past you can see that the service is one second alive > and in the next line it did a timeout, Does the problem only occur when there is a problem with the pool? -- 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 ldcaltan at isystemsllc.com Mon Jun 23 15:39:30 2008 From: ldcaltan at isystemsllc.com (Lorand S. D'Caltan) Date: Mon, 23 Jun 2008 09:39:30 -0400 Subject: Nagios and Exchange 2007 Message-ID: <842A387C705B2546B8483DAD6148BDF621926BB964@email.isystems.lan> Are there any check plugin packs designed for MS Exchange 2007? I did try searching on NagiosExchange, but the presence of "Exchange" in the website address makes it very difficult. Thanks! <><><><><><><><> Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 <><><><><><><><> CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. 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 rupertt at gmail.com Mon Jun 23 16:13:29 2008 From: rupertt at gmail.com (Heiko) Date: Mon, 23 Jun 2008 16:13:29 +0200 Subject: plugins works on console but not reliable inside nagios In-Reply-To: References: <537dcd6b0806192336n6b57d5c7y56ffccdb184f6c19@mail.gmail.com> <6169CC19-69FB-4ABC-AB0B-6BA786245D93@ena.com> <537dcd6b0806230118v7ab651adgbeaa2c9e44727006@mail.gmail.com> Message-ID: <537dcd6b0806230713n7e0ad436u6170872be4b7681d@mail.gmail.com> On Mon, Jun 23, 2008 at 2:40 PM, Marc Powell wrote: > > On Jun 23, 2008, at 3:18 AM, Heiko wrote: >> > >> The plugin is used to monitor some F5 load balancers, i >> already hat a cat witht the developer on this list, and the >> conclusion was that >> the problem seems to be inside nagios. > > Which plugin is it, where did you get it and was that his conclusion? > For what reason? > Hello, We are monitoring how many members in a pool are still active, if we have a webserverpool that has 5 servers and 3 go offline we wanna be informed about that situation. http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2447.html;d=1 You can find the discusion I had on this list, title was "monitoring F5 bigIP Load Balancers" >> Can I give you some information like config or logfiles to analyse >> this problem`? > > I don't have access to an F5 to do any testing with but I can see if > there's anything obvious. The host, service and command definitions > would be helpful. Also, try running the plugin from the command line > repeatedly, as the nagios user, from the nagios machine, as nagios > would run it by substituting appropriate values for $MACROS$ you use. > Does it return instantly with correct values or take some time to > complete (> 10s)? Timeouts mean that the plugin is just taking longer > to finish than you've told nagios to wait. Given what's known so far, > you may just need to increase the service_check_timeout value in > nagios.cfg. > from the 50 time I executed the plugin I had 1 timeout on the bash, as the nagios user /usr/local/nagios/libexec/check_bigip_pool -H 172.17.1.10 -C public -S 9 -vw 51 -c 26 -P cbw_dev -t 180 from my nagios.conf service_check_timeout=180 host_check_timeout=180 event_handler_timeout=60 this is the service defintion template I use for the machines. define service{ name tmpl-a6 host_name BigIP-Active max_check_attempts 3 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options w,c,r,f contact_groups noc active_checks_enabled 1 register 0 } >> Am I right that the nagios.log is cronologicaly? > > It is (standard unix timestamp). > >> in the following past you can see that the service is one second alive >> and in the next line it did a timeout, > > Does the problem only occur when there is a problem with the pool? > nope, it looks the problem occurs kind of sporadically, we monitor some other services on this machine that dont make these problems. They use the same template as above. We first thought it is a load problem on the LB, but since many other services work fine it cant really that problem thx for youre patience Heiko > -- > 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 aaron.segura at cabelas.com Mon Jun 23 17:25:04 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Mon, 23 Jun 2008 09:25:04 -0600 Subject: Nagios and Exchange 2007 In-Reply-To: <842A387C705B2546B8483DAD6148BDF621926BB964@email.isystems.lan> References: <842A387C705B2546B8483DAD6148BDF621926BB964@email.isystems.lan> Message-ID: <1214234704.32539.1.camel@localhost> Search the list archives. You may also want to check the forums @ http://www.groundworkopensource.com/community/forums/ . I remember seeing a couple threads recently covering Exchange monitoring. On Mon, 2008-06-23 at 09:39 -0400, Lorand S. D'Caltan wrote: > Are there any check plugin packs designed for MS Exchange 2007? > > I did try searching on NagiosExchange, but the presence of ?Exchange? > in the website address makes it very difficult. > > Thanks! > > <><><><><><><><> > Lorand S. D'Caltan > Systems Engineer > iSystems LLC > (802) 655-8347 x157 > <><><><><><><><> > CONFIDENTIALITY: The information contained in this message may be > privileged and confidential and protected from disclosure. No > confidentiality or privilege is waived or lost by any mistransmission. > If the reader of this message is not the intended recipient, or an > employee or agent responsible for delivering this message to the > intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. > Please immediately delete it and all copies of it from your system, > destroy any hard copies of it and notify the sender. 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 jcall at verio.net Mon Jun 23 18:00:20 2008 From: jcall at verio.net (Jonathan Call) Date: Mon, 23 Jun 2008 12:00:20 -0400 Subject: FreeBSD Nagios 2.12 In-Reply-To: <8E0766C1-DEC5-4664-A7A3-0EA241791072@ena.com> References: <4859E37F.5090907@webzone.net.au> <485B3290.6020908@webzone.net.au><52719510-015F-49E3-B5E5-99243FB60C99@ena.com><485BE5EA.9020004@webzone.net.au> <8E0766C1-DEC5-4664-A7A3-0EA241791072@ena.com> Message-ID: <04F3233F47E2714CB7431AE913E57E7702CDB777@IAD-WPRD-XCHB02.corp.verio.net> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Sunday, June 22, 2008 10:31 AM > To: nagios-user Mailinglist > Subject: Re: [Nagios-users] FreeBSD Nagios 2.12 > > > On Jun 20, 2008, at 12:16 PM, Andrew D wrote: > > > > > > get_raw_command_line() start > > Input: check_dns > > clear_argv_macros() start > > clear_argv_macros() end > > find_command() start > > Output: $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$ > > get_raw_command_line() end > > process_macros() start > > process_macros() end > > > > > > > > And thats where it stops and locks. > > Thanks. After this, nagios makes a call to the event broker, > determines if the plugin is a perl plugin (to use ePN if enabled), > then forks the check_command. > > Did you compile with the event broker? Is it enabled? Maybe try a > compilation without the event broker/embedded perl interpreter. > > There is (was?) a known issue with FreeBSD related to pthreads that > may be in play (Known Issues - > http://nagios.sourceforge.net/docs/2_0/whatsnew.html > , Google for 'nagios freebsd pthreads'). It does specifically relate > to the forking of check processes and a hang. I do not recall what the > current status of that issue is but remember chatter about it either > here or on nagios-devel. Perhaps on of the other FreeBSD users can > chime in on that. My feeling is that it was fixed or there's a > workaround but I don't remember specifics. > > -- > Marc > There was a change made to the Nagios port in February where it opted for libthr instead of libpthread when available. That was supposed to make permanent/official a workaround that used /etc/libmap.conf to link them instead: [nagios] libpthread.so.2 libthr.so.2 libpthread.so libthr.so You could try using this libmap config or possibly reversing it. It may be that FreeBSD 5 behaves better with libpthread? I've never used FreeBSD 5 in any production environment so I'm just guessing. Jonathan This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giovannetti.emiliano at gmail.com Mon Jun 23 18:21:09 2008 From: giovannetti.emiliano at gmail.com (Emiliano) Date: Mon, 23 Jun 2008 16:21:09 +0000 (UTC) Subject: =?utf-8?q?Use_nrpe=5Fnt_to_start_VB_program?= References: <33153.193.180.216.132.1214215687.squirrel@ssl.nakednuns.org> Message-ID: Hi Michael, Thanks for the help, I really appreciated it. Unfortunately nrpe_nt cannot be started as a program. It dies after a few seconds with the following messages: 2008-06-23 14:31:48; 448; 7;Starting server thread... 2008-06-23 14:32:03; 448; 1;Unable to start service: Failed to connect to service controller. 2008-06-23 14:32:03; 448; 6;NRPE_NT shutting down... However running nrpe_nt as the same user as the logged in one make it possible to kill the VB program in the task manager... Nothing to do with "desktop interaction" (when I change the service's user from localsytem to a domain user, "interact with desktop" is grayed out)...but it's better than nothing! Emiliano ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SHersker at TNGUS.com Mon Jun 23 18:45:33 2008 From: SHersker at TNGUS.com (Hersker, Steve) Date: Mon, 23 Jun 2008 12:45:33 -0400 Subject: Nagios and Exchange 2007 In-Reply-To: <842A387C705B2546B8483DAD6148BDF621926BB964@email.isystems.lan> References: <842A387C705B2546B8483DAD6148BDF621926BB964@email.isystems.lan> Message-ID: Check out www.nagioswiki.com .... about the 8th article down "Nagios Checks for Exchange Server 200x". Shows how to use check_nt with a detailed ExchangeCommands.cfg file for monitoring services, Exchange queues, etc. We're using to keep an eye on our E2k3 environment. From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lorand S. D'Caltan Sent: Monday, June 23, 2008 9:40 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios and Exchange 2007 Are there any check plugin packs designed for MS Exchange 2007? I did try searching on NagiosExchange, but the presence of "Exchange" in the website address makes it very difficult. Thanks! <><><><><><><><> Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 <><><><><><><><> CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. 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 ssimmons at cymfony.com Mon Jun 23 23:01:01 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 23 Jun 2008 17:01:01 -0400 Subject: problem with trends cgi Message-ID: <13F36D2926AD444697093282F20041B7074C09E1@buf-ex01.cymfony.com> I have a problem trying to create a report for a particular service. Seems when I get passed step 3 and try to create the report it tells me that I'm not authorized to view information for the specified service. In the documentation, it says that if you are authorized for all hosts you can view trends for all hosts and all services. I checked cgi config and I'm in there in authorized_for_all _hosts and authorized_for_all_services. However, I can create a report for a host...just not a service. I'm probably missing something stupid here. Running nagios 3.0.2 -------------- 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 Tue Jun 24 02:03:27 2008 From: rsmall at ireit.com (ROBERT SMALL) Date: Mon, 23 Jun 2008 19:03:27 -0500 Subject: Nagios v3 & email being sent to $ In-Reply-To: References: Message-ID: I was working on this again, and I enabled all notifications for the hosts/services that we had disabled, and the emails to $ stopped. As soon as I disabled the notifications again, the emails to $ started. Any idea? On 6/16/08 10:14 AM, "ROBERT SMALL" wrote: > 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 amontibello at gmail.com Tue Jun 24 03:07:00 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 23 Jun 2008 21:07:00 -0400 Subject: Nagios v3 & email being sent to $ In-Reply-To: References: Message-ID: If you still cannot find an error. The symptpoms Sounds like this should be posted to "NAgios Developer" list. TOny On Mon, Jun 23, 2008 at 8:03 PM, ROBERT SMALL wrote: > I was working on this again, and I enabled all notifications for the > hosts/services that we had disabled, and the emails to $ stopped. > > As soon as I disabled the notifications again, the emails to $ started. > Any > idea? > > > On 6/16/08 10:14 AM, "ROBERT SMALL" wrote: > > > 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 > -------------- 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 ssimmons at cymfony.com Tue Jun 24 03:17:39 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 23 Jun 2008 21:17:39 -0400 Subject: using $ in service definition Message-ID: <13F36D2926AD444697093282F20041B7074C0A68@buf-ex01.cymfony.com> I have a problem when trying to use $ in a service definition. I understand that $ is used with macros so not sure how to get around this. There is a sql express 2005 service I want to monitor, however the service is created as MSSQL$SQLEXPRESS and Nagios shows a warning saying MSSQL is unknow. How do I format the service name in the command so the $ is not an issue? -------------- 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 twilson at buffalo.k12.mn.us Tue Jun 24 04:03:20 2008 From: twilson at buffalo.k12.mn.us (Tim Wilson) Date: Mon, 23 Jun 2008 21:03:20 -0500 Subject: using $ in service definition In-Reply-To: <13F36D2926AD444697093282F20041B7074C0A68@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B7074C0A68@buf-ex01.cymfony.com> Message-ID: <48600F98.F8B4.0061.0@buffalo.k12.mn.us> >>> On Mon, Jun 23, 2008 at 8:17 PM, in message <13F36D2926AD444697093282F20041B7074C0A68 at buf-ex01.cymfony.com>, "Seth Simmons" wrote: > There is a sql express 2005 service I want to monitor, however the > service is created as MSSQL$SQLEXPRESS and Nagios shows a warning saying > MSSQL is unknow. Seth, Try MSSQL$"$"SQLEXPRESS -Tim -- Tim Wilson, Director of Technology Buffalo-Hanover-Montrose Schools 214 1st Ave NE Buffalo, MN 55313 ph: 763.682.8740 fax: 763.682.8743 http://www.buffalo.k12.mn.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 ssimmons at cymfony.com Tue Jun 24 04:15:50 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 23 Jun 2008 22:15:50 -0400 Subject: using $ in service definition In-Reply-To: <48600F98.F8B4.0061.0@buffalo.k12.mn.us> References: <13F36D2926AD444697093282F20041B7074C0A68@buf-ex01.cymfony.com> <48600F98.F8B4.0061.0@buffalo.k12.mn.us> Message-ID: <13F36D2926AD444697093282F20041B7074C0A77@buf-ex01.cymfony.com> ahh that did it I knew with $ used for macros there had to be some special character to get around it and that was it. Thanks -----Original Message----- From: Tim Wilson [mailto:twilson at buffalo.k12.mn.us] Sent: Monday, June 23, 2008 10:03 PM To: Seth Simmons; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] using $ in service definition >>> On Mon, Jun 23, 2008 at 8:17 PM, in message <13F36D2926AD444697093282F20041B7074C0A68 at buf-ex01.cymfony.com>, "Seth Simmons" wrote: > There is a sql express 2005 service I want to monitor, however the > service is created as MSSQL$SQLEXPRESS and Nagios shows a warning saying > MSSQL is unknow. Seth, Try MSSQL$"$"SQLEXPRESS -Tim -- Tim Wilson, Director of Technology Buffalo-Hanover-Montrose Schools 214 1st Ave NE Buffalo, MN 55313 ph: 763.682.8740 fax: 763.682.8743 http://www.buffalo.k12.mn.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 angc0020 at ntu.edu.sg Tue Jun 24 04:32:39 2008 From: angc0020 at ntu.edu.sg (Jason) Date: Tue, 24 Jun 2008 02:32:39 +0000 (UTC) Subject: Can a remote client send a file to Nagios or vice versa? References: <485F828B.5010706@vanderkooij.org> Message-ID: Thx for the reply Hugo boss. I know Nagios is not built for sending files. Just thinking if its capablities can be extended :p Thought of syslogs, but I also want to send other types of file (e.g. binary). As for using putty or friends, i think security is of concern here. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Jun 24 07:55:15 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 24 Jun 2008 07:55:15 +0200 Subject: Can a remote client send a file to Nagios or vice versa? In-Reply-To: References: <485F828B.5010706@vanderkooij.org> Message-ID: <48608C43.7010004@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jason wrote: | Thx for the reply Hugo boss. I don't smell that bad. | I know Nagios is not built for sending files. Just thinking if its capablities | can be extended :p If you can think of a way to do the actions from your Nagios machine then you can make yourself a plugin. Just send of the proper exit code and oneliner response and that is all a plugin needs to do. But you have to write it 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) iD8DBQFIYIxCBvzDRVjxmYERAhhdAJ9WszlTFag2fR0QEY0ZhRPREJo0kQCgnnqW C+URb4HTbnFrAm21hORNcLI= =JzCQ -----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 forsaken at targaryen.us Tue Jun 24 11:52:30 2008 From: forsaken at targaryen.us (Forsaken) Date: Tue, 24 Jun 2008 05:52:30 -0400 Subject: How do we report a possible bug (in check_ping)? In-Reply-To: <12b44e560806192119h75368dekcbbb9c06f049bd26@mail.gmail.com> References: <12b44e560806192107x3255e7c2kdde426d5dad53815@mail.gmail.com> <485B2E97.1000707@webzone.net.au> <12b44e560806192119h75368dekcbbb9c06f049bd26@mail.gmail.com> Message-ID: <20080624055230.536ed403@tywin> On Fri, 20 Jun 2008 14:19:38 +1000 "Eddie F" wrote: > Yes, DNS was the first thing I thought of, but that is definitely > fine. As I mentioned FTP, HTTP and SSH are working fine using the > same domain name. If you're using the unmodified ping command that comes in the example text files, then it probably is a DNS problem.... have you configured your DNS to also answer ipv6 queries? If not, the plugin is probably trying to resolve both, ipv4 requests and ipv6 requests, and timing out while waiting for a response to the ipv6 query. Try adding -4 to the end of the command that checks your ping and see if it responds properly using the hostname. > > On Fri, Jun 20, 2008 at 2:14 PM, Andrew D (Webzone) > wrote: > > Eddie F wrote: > >> > >> Hi all, > >> > >> How/where do I report bugs for Nagios? > >> And just as importantly, how/where do I check to see if it is > >> something that has already been reported? > >> > >> I think I might have found a bug in check_ping when a a domain > >> name is entered for host_address rather than the IP address. I've > >> found that using the domain name seems to work fine with some > >> other check commands (FTP, HTTP and SSH). > >> > > > > > > I can think of a reason for this, using a hostname is really > > testing 2 things, your DNS resolution and the 'reachablity' of the > > said host. > > > > If your DNS goes down then the ping test fails even though it might > > be fine. > > > >> > >> See the two examples below, running check_ping on our system. > >> Firstly using the domain name, then using IP address... > >> > >> # /usr/local/nagios/libexec/check_ping -H nagios.org -w 300,10% -c > >> 1000,50% -p 5 > >> CRITICAL - Plugin timed out after 10 seconds > >> > >> # /usr/local/nagios/libexec/check_ping -H 66.118.156.22 -w 300,10% > >> -c 1000,50% -p 5 > >> PING WARNING - Packet loss = 0%, RTA = 709.87 > >> ms|rta=709.869019ms;300.000000;1000.000000;0.000000 pl=0%;10;50;0 > >> > >> > >> I've tried this with many hosts (one on the same sub-net), and the > >> result have always been the same > >> > >> Thanks, > >> Eddie. > >> > >> ------------------------------------------------------------------------- > >> Check out the new SourceForge.net Marketplace. > >> It's the best place to buy or sell services for > >> just about anything Open Source. > >> http://sourceforge.net/services/buy/index.php > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. ::: Messages without supporting info will > >> risk being sent to /dev/null > > > > > > -- > > Network Administrator / Manager > > Webzone Internet > > > > 1st Floor (Oakley Street Entrance) > > 167 Grote Street > > Adelaide SA, 5000 > > > > Phone 1300 303 932 > > Fax 08 8221 6204 > > Email andrewd at webzone.net.au > > manager at webzone.net.au > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 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 alexdehaini at gmail.com Tue Jun 24 12:09:38 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 24 Jun 2008 11:09:38 +0100 Subject: nagios email reporting Message-ID: <4b008f7d0806240309i28b1a761m65c46092a4140298@mail.gmail.com> Hi Guys, Are there any nagios reporting plugins that can email the availability report of a host or host group to ones email address as inline html -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.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 angc0020 at ntu.edu.sg Tue Jun 24 12:22:05 2008 From: angc0020 at ntu.edu.sg (Jason) Date: Tue, 24 Jun 2008 10:22:05 +0000 (UTC) Subject: =?utf-8?q?Can_a_remote_client_send_a_file_to_Nagio?= =?utf-8?q?s_or=09vice_versa=3F?= References: <485F828B.5010706@vanderkooij.org> <48608C43.7010004@vanderkooij.org> Message-ID: Thanks for the help boss. I will see what i can do ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MDalton at Centerline.com Tue Jun 24 13:19:30 2008 From: MDalton at Centerline.com (Michael Dalton) Date: Tue, 24 Jun 2008 07:19:30 -0400 Subject: using Linux for a specific Windows Event Message-ID: I am using Fedora 6 with nagios 2.9 monitoring multiple windows 2003 servers. I have looked on the message boards for a solution and have not come up with one. What I would like to do is monitor a specific windows event.....event id=55....(a disc failure or beginning to fail). Has anyone else done this? Michael Dalton Network Administrator | Information Technology Centerline Capital Group 8000 Towers Crescent Dr. Ste 550 Vienna, VA 22182 T 703-663-5869 | M 917-280-5460 mdalton at centerline.com | www.centerline.com This message is confidential and intended exclusively for the use of the individual or entity to whom it is addressed. This message is further subject to the terms of usage set forth at http://www.centerline.com/common/cards/legal.html -------------- 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 24 14:46:09 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 24 Jun 2008 13:46:09 +0100 Subject: using Linux for a specific Windows Event In-Reply-To: References: Message-ID: <4860EC91.10909@googlemail.com> Michael Dalton wrote: > > I am using Fedora 6 with nagios 2.9 monitoring multiple windows 2003 > servers. I have looked on the message boards for a solution and have > not come up with one. > > What I would like to do is monitor a specific windows event?..event > id=55?.(a disc failure or beginning to fail). > > Has anyone else done this? > Nagios is not really the right tool for this. You should work on building a centralized logging infrastructure and have alerting come from there. I think Nagios has on occasion been (ab)used like this, and I think I saw something to do this on windows, but I can't remember off the top of my head. Have you tried NagiosExchange.org for some windows event grepping plugin? -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 pitchfork at ederdrom.de Tue Jun 24 14:52:37 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 24 Jun 2008 14:52:37 +0200 Subject: using Linux for a specific Windows Event In-Reply-To: <4860EC91.10909@googlemail.com> References: <4860EC91.10909@googlemail.com> Message-ID: <4860EE15.2000000@ederdrom.de> Hari Sekhon schrieb: > Michael Dalton wrote: >> I am using Fedora 6 with nagios 2.9 monitoring multiple windows 2003 >> servers. I have looked on the message boards for a solution and have >> not come up with one. >> >> What I would like to do is monitor a specific windows event?..event >> id=55?.(a disc failure or beginning to fail). >> >> Has anyone else done this? >> > Nagios is not really the right tool for this. You should work on > building a centralized logging infrastructure and have alerting come > from there. > > I think Nagios has on occasion been (ab)used like this, and I think I > saw something to do this on windows, but I can't remember off the top of > my head. Have you tried NagiosExchange.org for some windows event > grepping plugin? Oh yes thats right. An other possible solution is using evntwin.exe ( part of the microsoft snmp agent ) to send snmp traps to nagios. If your familiar with snmp ;-) Joerg ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 15:00:54 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 24 Jun 2008 14:00:54 +0100 Subject: using Linux for a specific Windows Event In-Reply-To: References: <4860EC91.10909@googlemail.com> Message-ID: <4860F006.7030305@googlemail.com> Michael, You need to filter on the event you want at the logserver and send it as an email via email/winpop or whatever, this is highly dependent on what logserver you have. I personally think syslog-ng is great (and I use check_logserver from nagiosexchange.org to monitor that for you next question). NTSyslog can send events from the Windows event log to the remote syslog server, and from there you can do whatever you want with it, store it in a database, send alerts off to yourself on certain events etc, it's entirely up to you. -h Michael Dalton wrote: > I have but without much or what was there didn???t really do the trick, what would you suggest to monitor a windows event such as that? > > Thanks! > > Michael Dalton > Jr.Network Administrator | Information Technology > Centerline Capital Group > 8000 Towers Crescent Dr. Ste 550 Vienna, VA 22182 > T 703-663-5869 | M 917-280-5460 > mdalton at centerline.com | www.centerline.com > > This message is confidential and intended exclusively for the use of the individual or entity to whom it is addressed. This message is further subject to the terms of usage set forth at http://www.centerline.com/common/cards/legal.html > > > > > -----Original Message----- > From: Hari Sekhon [mailto:hpsekhon at googlemail.com] > Sent: Tuesday, June 24, 2008 8:46 AM > To: Michael Dalton > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] using Linux for a specific Windows Event > > Michael Dalton wrote: > >> I am using Fedora 6 with nagios 2.9 monitoring multiple windows 2003 >> servers. I have looked on the message boards for a solution and have >> not come up with one. >> >> What I would like to do is monitor a specific windows event???..event >> id=55???.(a disc failure or beginning to fail). >> >> Has anyone else done this? >> >> > Nagios is not really the right tool for this. You should work on > building a centralized logging infrastructure and have alerting come > from there. > > I think Nagios has on occasion been (ab)used like this, and I think I > saw something to do this on windows, but I can't remember off the top of > my head. Have you tried NagiosExchange.org for some windows event > grepping plugin? > > -h > > -- > Hari Sekhon > > -- 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 ITLJ at gyldendal.dk Tue Jun 24 15:41:03 2008 From: ITLJ at gyldendal.dk (=?iso-8859-1?Q?Lars_J=F8rgensen?=) Date: Tue, 24 Jun 2008 15:41:03 +0200 Subject: Different notification periods for sms and email Message-ID: <311386E60ED7E74C8716A6573A7740A00A593A4F63@s-exch01-v.gyldendal.local> Hi, I'm new to this list so please forgive me if this has been answered before. Currently we're sending out notifications by sms and email 24x7. We would like to limit sms sending to 6-24 every day while still sending email 24x7. Is there an easy way to do this? -- Lars ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 15:51:50 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Tue, 24 Jun 2008 15:51:50 +0200 Subject: Antwort: Different notification periods for sms and email In-Reply-To: <311386E60ED7E74C8716A6573A7740A00A593A4F63@s-exch01-v.gyldendal.local> References: <311386E60ED7E74C8716A6573A7740A00A593A4F63@s-exch01-v.gyldendal.local> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 24.06.2008 15:41:03: > I'm new to this list so please forgive me if this has been answered before. > > Currently we're sending out notifications by sms and email 24x7. We > would like to limit sms sending to 6-24 every day while still > sending email 24x7. Is there an easy way to do this? a) - Use Escalations b) - Define the service as 24x7 - Define the period inside the email contact 24x7 - Define the period inside the sms contact 6-24 (you need to create a new timeperiod for that) I'd choose a) as it leaves you with more flexibility for the future. 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 24 16:52:15 2008 From: me at renux.de (Rene Fertig) Date: Tue, 24 Jun 2008 16:52:15 +0200 Subject: using Linux for a specific Windows Event In-Reply-To: References: Message-ID: <200806241652.16089.me@renux.de> Hello Michael. Michael Dalton wrote: > I am using Fedora 6 with nagios 2.9 monitoring multiple windows 2003 > servers. I have looked on the message boards for a solution and have not > come up with one. > > What I would like to do is monitor a specific windows event.....event > id=55....(a disc failure or beginning to fail). > > Has anyone else done this? I've just done this. There are several ways. You can use NC_Net (http://shatterit.com/nc_net/) which has the ability to monitor the eventlog. But I haven't tested it. I'm using Logparser 2.2 (http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&displaylang=en) which parses the eventlog for some IDs, e.g.: logparser "SELECT * FROM System where EventID IN(500;501;503;509;510)" -i:EVT -o:csv > "c:\Programme\Log Parser 2.2\output.csv" One can use FIND to look if one of the IDs was found. I do this with the following batch/cmd file which is called itself by NRPE_NT (see Nagios-Exchange): @ECHO OFF "C:\Programme\Log Parser 2.2\logparser" "SELECT * FROM System where EventID IN(500;501;503;509;510)" -i:EVT -o:csv > d:\Logparser\output.csv FIND "Elements output: 0" "C:\Programme\Log Parser 2.2\output.csv" > NUL IF %ERRORLEVEL% GTR 0 ( REM FIND "System," "C:\Programme\Log Parser 2.2\output.csv" echo Fehlermeldung im System-Eventlog gefunden exit 1 ) echo OK exit 0 Probably using NC_Net is much smarter but I did it this way, since we already use NRPE_NT on this server. 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 me at renux.de Tue Jun 24 16:56:49 2008 From: me at renux.de (Rene Fertig) Date: Tue, 24 Jun 2008 16:56:49 +0200 Subject: How to monitor windows software raid (solution) In-Reply-To: References: <200806161441.03871.me@renux.de> <200806170932.58021.me@renux.de> Message-ID: <200806241656.49353.me@renux.de> Anthony Montibello wrote: > 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) I've done this. I'm using Logparser 2.2 (http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&displaylang=en) which parses the eventlog for some IDs, e.g.: logparser "SELECT * FROM System where EventID IN(500;501;503;509;510)" -i:EVT -o:csv > "c:\Programme\Log Parser 2.2\output.csv" One can use FIND to look if one of the IDs was found. I do this with the following batch/cmd file which is called itself by NRPE_NT (see Nagios-Exchange): @ECHO OFF "C:\Programme\Log Parser 2.2\logparser" "SELECT * FROM System where EventID IN(500;501;503;509;510)" -i:EVT -o:csv > d:\Logparser\output.csv FIND "Elements output: ? ?0" "C:\Programme\Log Parser 2.2\output.csv" > NUL IF %ERRORLEVEL% GTR 0 ( ? REM FIND "System," "C:\Programme\Log Parser 2.2\output.csv" ? echo Fehlermeldung im System-Eventlog gefunden ? exit 1 ) echo OK exit 0 Probably using NC_Net is much smarter but I did it this way, since we already use NRPE_NT on this server. 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 Tue Jun 24 17:13:50 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 24 Jun 2008 17:13:50 +0200 Subject: using Linux for a specific Windows Event In-Reply-To: References: Message-ID: <48610F2E.2000900@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Dalton wrote: | I am using Fedora 6 with nagios 2.9 monitoring multiple windows 2003 | servers. I have looked on the message boards for a solution and have not | come up with one. | First off: Fedora 6 is not maintained. So be aware of security patches you may need to compile and apply manually. I would send all window events to a Linux system with syslog. Then use SEC as tool to trigger on specific events. You can then provide the output as passive event. 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) iD8DBQFIYQ8sBvzDRVjxmYERAh2OAJ9QoVwaVdTXpyqesc8n2Lu10FTp1gCePfbt ivxsKzRUV9qtjnZ5QgRuM5E= =SgmF -----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 lavalamp at spiritual-machines.org Tue Jun 24 18:49:15 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 24 Jun 2008 12:49:15 -0400 Subject: [Fwd: Bug Reporting / Issue Tracking System ?] Message-ID: <1214326155.2823.447.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> All: Its been about six months since we've talked about a bug tracking system (and other F/OSS project components). I was just reading Mitchell Baker's essay in "Open Sources 2.0" about the success of the Mozilla project, and was reminded of the previous thread -- perhaps this a good time to revisit it? Since December, there has been a lot of progress, including: - The 3.x release (congrats) - Dual branch releng process - NagiosExchange.org relaunch - Additional Forums/Blogs/Wikis This might be a good opportunity fill in the missing link -- a bug public tracker. Certainly beneficial to all parties, even if just for the formality of filing and tracking bug reports. It seems to be a major component of successful F/OSS projects. Certainly a requirement to help manage increased user support volume as project momentum and userbase volume grows. If we cant get the official SF.net system, then I recommend the community members address the issue. Even if its just just an informal use of a table on a wiki page. "given enough eyeballs, all bugs are shallow" -- Eric S. Raymond -- But only if someone writes them down :) Thoughts? ~BAS -------- Forwarded Message -------- > From: Brian A. Seklecki > To: nagios-users > Cc: Nagios Developers List > Subject: Bug Reporting / Issue Tracking System ? > Date: Thu, 06 Dec 2007 11:19:08 -0500 > > Am I going crazy or is there no public system for formally tracking bug > reports / feature requests? > > Its disabled on sf.net and the Wiki lacks any such feature. > > ~BAS -- Brian A. Seklecki Collaborative Fusion, Inc. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Tue Jun 24 19:06:50 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 24 Jun 2008 13:06:50 -0400 Subject: Forcing a check on a Desginated Slave from cmd.cgi? Message-ID: <1214327211.2823.458.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> All: In the el-generic Master w/NSCA distributed configuration, has anyone developed a hack to have cmd.cgi pass a SCHEDULE_FORCED_HOST_CHECK or SCHEDULE_FORCED_SVC_CHECK received by the master instance, onto a designated slave? We have a config where our slaves are in remote facilities and the master can only rely on passive checks -- attempting to force an active check on the master is a no-go due to network ACLs and other limitations. It would be nice to only need one web interface on the master NSCA receiver. The problem is two-fold (and this gets into the whole inter-component architecture discussion) -- 1) Even with a cmd.cgi hack, there is no native meta-data within Nagios to associate a host/service with a designated slave. 2) There is no clean communications channel other than a shell script wrapper (ssh and keys, etc. that stdout's to the slave's nagios.cmd -- this could get ugly...fast) ~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 james.mohr at elaxy.com Tue Jun 24 20:13:45 2008 From: james.mohr at elaxy.com (Mohr James) Date: Tue, 24 Jun 2008 20:13:45 +0200 Subject: NSCA not receiving or send_nsca not sending Message-ID: Hi All! We're running Nagios 3.0.1 on RedHat ES 5.1, and have a problem where after a while no new messages are being received by NSCA. Sometimes it is from a Windows 2003 machine (send_nsca 2.4). Currently, this is the only Windows machine that is sending messages to the Nagios server, so I cannot tell if there is a generic problem with Windows. However, there have been occassions when no new messages can be sent from another machine (Linux). When the Linux machines have problems, the solution is to restart the NSCA daemon. However, with Windows there were a few dozen send_nsca processes and restarting the NSCA daemon did not help. Rather than killing all of the send_nsca processes individually, I rebooted the Windows machine and that worked. Perhaps one of the problems is the Linux machine running the send_nsca is the Nagios server. (I did try it from a different machine and no messages were sent either) It might seem sort of wierd doing things like that, but there is a reason. We need to check the state and usage of volumes on a NetApp. For all of the real important volumes there is a service defined. However, we also what to know if any of the others filesystems have problems or are getting full. So, we have one active service that runs a script to check *all* of the filesystems. The status is then send to the server (the same machine) using send_nsca. This is done whether there is a service defined or not because the script has no way of telling if there is a real service (although I guess I could build something into the script). If there is a real service, then the status is set. If not, the message is swollowed by Nagios. To avoid the problem of too many send_nsca connections, I thought about writing something directly to the cmd-file rather than going through send_nsca. I also thought about having two scripts. One that checks for a single filesystem and would be an active check. The second would check all of the filesystems that do not have their own service and then would send just a single message using send_nsca. Suggestions, ideas, comments, etc are all welcome. Regards, Jim Mohr ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Tue Jun 24 20:31:15 2008 From: jcall at verio.net (Jonathan Call) Date: Tue, 24 Jun 2008 14:31:15 -0400 Subject: Questions about Nagios Looking Glass Message-ID: <04F3233F47E2714CB7431AE913E57E7702CDB949@IAD-WPRD-XCHB02.corp.verio.net> I just installed Nagios Looking Glass to see what it was like. So I don't know much about it. I have two issues that I need some help with: Problem: NLG looks horrible in Firefox 2 and Firefox 3. Instead of the hostnames embedded in a colored 'bubble' it just has the two ends of the bubble on separate lines followed by the hostname on a third line. Metrics have the same issue. They look like this: [ ] Metric name Is there a way to fix this so that both IE and Firefox 2&3 work? Question: Ignoring acknowledged hosts or services. Can I make NLG ignore hosts or services that have been acknowledged or that are in Scheduled Downtime? I can do it with Nagios' status.cgi using serviceprops=10 and hostsprops=10 variables. Thank you, Jonathan Call This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pemca at tdc.dk Tue Jun 24 20:33:54 2008 From: pemca at tdc.dk (Peter Michael Calum) Date: Tue, 24 Jun 2008 20:33:54 +0200 Subject: Problem with check_sun_hardware plugin Message-ID: Hi I'm using the check_sun_hardware plugin and it works fine on V240 / Solaris 9, but i found a couple of problems on Solaris 10 / V245 i want to report, and hopefully gets corrected :) I'ts concerning the check_sun_hardware > cpu check option, where i found 2 errors - On solaris 10 CPU state is returned as "on-line" instead of online (see my correction below) - On V245 servers with solaris 10 the subroutine check_cpu is called 5 times, i dont know why and i havent been able to correct it. Please mail me if you want printouts from the server. sub check_cpu { my (%cpu) = %{(shift)}; my $res = $ERRORS{'OK'}; if (!(($cpu{'State'} eq 'online') || ($cpu{'State'} eq 'on-line'))) { $res_str .= "CPU $cpu{'cpuid'}: $cpu{'State'}; ";^M $res = $ERRORS{'CRITICAL'};^M } $res_str .= "CPU $cpu{'cpuid'}: OK; " if(($res == $ERRORS{'OK'}) && !defined($opt_errors_only)); return $res; } V245 test (solaris 10) # ./check_sun_hardware -c cpu -d SUNW,UltraSPARC-IIIi (cpu, 9700000108) :_fru_parent (9700000890H) :StateBegin Tue Feb 26 14:43:50 2008 :FPUType sparcv9 :ProcessorType sparcv9 :State on-line :ID 0 :UnitAddress 0,0 :ecache-size 0x100000 :reg 00 00 04 00 00 00 00 00 00 00 00 00 00 01 00 00 :portid 0 :cpuid 0 :device_type cpu :icache-size 0x8000 :icache-line-size 0x20 :icache-associativity 0x4 :#itlb-entries 0x10 :dcache-size 0x10000 :dcache-line-size 0x20 :dcache-associativity 0x4 :#dtlb-entries 0x10 :sparc-version 0x9 :ecache-line-size 0x40 :ecache-associativity 0x4 :mask# 0x34 :implementation# 0x16 :manufacturer# 0x3e :clock-frequency 0x59a53800 :clock-divisors 00 00 00 01 00 00 00 02 00 00 00 20 :pm-components (9700000111TBL) | NAME=CPU Speed | | 1=1/32 of Normal | | 2=1/2 of Normal | | 3=Normal | :devfs-path /SUNW,UltraSPARC-IIIi at 0,0 :driver-name us :binding-name SUNW,UltraSPARC-IIIi :bus-addr 0,0 :instance 0 :_class cpu :name SUNW,UltraSPARC-IIIi Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in string eq at ./check_sun_hardware line 156, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Use of uninitialized value in concatenation (.) or string at ./check_sun_hardware line 157, line 41. Result string: CPU 0: OK; CPU : ; CPU : ; CPU : ; CPU : ; Performance data: CRITICAL: CPU 0: OK; CPU : ; CPU : ; CPU : ; CPU : ; # Thanks, Kind regards Peter Calum -------------- 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 cviniciusm at uol.com.br Tue Jun 24 20:30:55 2008 From: cviniciusm at uol.com.br (Cassius V. de Magalhaes) Date: Tue, 24 Jun 2008 15:30:55 -0300 Subject: How to monitor OpenFire by Nagios? Message-ID: <48613D5F.9030000@uol.com.br> Hello, I would like to monitor OpenFire on Linux by Nagios, please? TIA, Vinicius. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 24 20:45:39 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Tue, 24 Jun 2008 12:45:39 -0600 Subject: How to monitor OpenFire by Nagios? In-Reply-To: <48613D5F.9030000@uol.com.br> References: <48613D5F.9030000@uol.com.br> Message-ID: <1214333139.6585.11.camel@localhost> Be my guest. On Tue, 2008-06-24 at 15:30 -0300, Cassius V. de Magalhaes wrote: > Hello, > > I would like to monitor OpenFire on Linux by Nagios, please? > > > TIA, > Vinicius. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 livio.zanol.puppim at gmail.com Tue Jun 24 20:55:30 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Tue, 24 Jun 2008 15:55:30 -0300 Subject: trends.cgi without logrotation mark Message-ID: Can I use the trends.cgi to generate images without the logrotations marks? I use it to generate monthly availability report and my logrotation is daily. So every day there's a mark at my graph pointing the log rotation, wich can confuse the people that's seeing the report... Is it possible to generate the graph without that marks? -- []'s L?vio Zanol Puppim ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cviniciusm at uol.com.br Tue Jun 24 21:02:38 2008 From: cviniciusm at uol.com.br (Cassius V. de Magalhaes) Date: Tue, 24 Jun 2008 16:02:38 -0300 Subject: How to monitor OpenFire by Nagios? In-Reply-To: <48613D5F.9030000@uol.com.br> References: <48613D5F.9030000@uol.com.br> Message-ID: <486144CE.2060004@uol.com.br> Cassius V. de Magalhaes escreveu: > Hello, > > I would like to monitor OpenFire on Linux by Nagios, please? > > Or even better, how to monitor OpenFire on Linux by Nagios, please? TIA, Vinicius. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssklar at stanford.edu Tue Jun 24 21:17:07 2008 From: ssklar at stanford.edu (Sandor W. Sklar) Date: Tue, 24 Jun 2008 12:17:07 -0700 Subject: How to monitor OpenFire by Nagios? In-Reply-To: <486144CE.2060004@uol.com.br> References: <48613D5F.9030000@uol.com.br> <486144CE.2060004@uol.com.br> Message-ID: On Jun 24, 2008, at 12:02 PM, Cassius V. de Magalhaes wrote: > Cassius V. de Magalhaes escreveu: >> Hello, >> >> I would like to monitor OpenFire on Linux by Nagios, please? >> >> > Or even better, how to monitor OpenFire on Linux by Nagios, please? I'm monitoring our OpenFire server via: define service { check_command check_jabber!'xmlns="jabber:client " from="sul-jabber"' } define command { command_name check_jabber command_line $USER1$/check_jabber -H $HOSTADDRESS$ -p 5223 -- ssl --expect=$ARG1$ } ... and the "check_jabber" plugin is a soft link to the standard "check_tcp" plugin. Its probably not the most comprehensive of tests, but it works well enough for us, ensuring that the jabber server is responding properly. -s- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cviniciusm at uol.com.br Tue Jun 24 22:29:16 2008 From: cviniciusm at uol.com.br (Cassius V. de Magalhaes) Date: Tue, 24 Jun 2008 17:29:16 -0300 Subject: How to monitor OpenFire by Nagios? In-Reply-To: References: <48613D5F.9030000@uol.com.br> <486144CE.2060004@uol.com.br> Message-ID: <4861591C.6030803@uol.com.br> Sandor W. Sklar escreveu: > > On Jun 24, 2008, at 12:02 PM, Cassius V. de Magalhaes wrote: > >> Cassius V. de Magalhaes escreveu: >>> Hello, >>> >>> I would like to monitor OpenFire on Linux by Nagios, please? >>> >>> >> Or even better, how to monitor OpenFire on Linux by Nagios, please? > > I'm monitoring our OpenFire server via: > > define service { > > check_command > check_jabber!'xmlns="jabber:client" from="sul-jabber"' > } > > > define command { > command_name check_jabber > command_line $USER1$/check_jabber -H $HOSTADDRESS$ -p 5223 > --ssl --expect=$ARG1$ > } > > ... and the "check_jabber" plugin is a soft link to the standard > "check_tcp" plugin. Its probably not the most comprehensive of tests, > but it works well enough for us, ensuring that the jabber server is > responding properly. > > -s- > Hello, I have to capture the jabber response by wireshark to see my xml. So I was able to check with success. Thank you very much, Vinicius. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 25 00:32:57 2008 From: webknowledge at gmail.com (Marcel) Date: Tue, 24 Jun 2008 19:32:57 -0300 Subject: Forcing a check on a Desginated Slave from cmd.cgi? In-Reply-To: <1214327211.2823.458.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <1214327211.2823.458.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <2dfcbd1b0806241532i1e02fa83i15a9c2fbd717348f@mail.gmail.com> have you looked at DNX? I think it's the way to solve your problem. On Tue, Jun 24, 2008 at 2:06 PM, Brian A. Seklecki < lavalamp at spiritual-machines.org> wrote: > All: > > > In the el-generic Master w/NSCA distributed configuration, has anyone > developed a hack to have cmd.cgi pass a SCHEDULE_FORCED_HOST_CHECK or > SCHEDULE_FORCED_SVC_CHECK received by the master instance, onto a > designated slave? > > We have a config where our slaves are in remote facilities and the > master can only rely on passive checks -- attempting to force an active > check on the master is a no-go due to network ACLs and other > limitations. > > It would be nice to only need one web interface on the master NSCA > receiver. > > The problem is two-fold (and this gets into the whole inter-component > architecture discussion) -- > > 1) Even with a cmd.cgi hack, there is no native meta-data within Nagios > to associate a host/service with a designated slave. > > 2) There is no clean communications channel other than a shell script > wrapper (ssh and keys, etc. that stdout's to the slave's nagios.cmd > -- this could get ugly...fast) > > ~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 > -------------- 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 andy.shellam-lists at mailnetwork.co.uk Wed Jun 25 01:39:36 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Wed, 25 Jun 2008 00:39:36 +0100 Subject: Questions about Nagios Looking Glass In-Reply-To: <04F3233F47E2714CB7431AE913E57E7702CDB949@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7702CDB949@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <486185B8.9000307@mailnetwork.co.uk> Hi Jonathan, Firstly thanks for giving NLG a shot. v1.1.0 stable will be out shortly (hopefully this weekend) and does fix the issue you've noticed with Firefox. Later versions of Firefox 2 stopped recognising NLG's ".css.tpl" files as CSS stylesheets. The easy fix is to rename all ".css.tpl" files (in templates/default) to have a ".css" extension instead (except IIRC, default.css.tpl as this isn't sent to the browser.) You will then need to modify the references to these stylesheets in the template (probably default.tpl) to look for the ".css" files intead of ".css.tpl". There is no current way to exclude hosts that are in scheduled downtime or have been acknowledged; this is on the cards for version 2. However what you could do for now is when scheduling the downtime, or acknowledging a problem, prefix the comment you put in Nagios with #NLG: (e.g. "#NLG:Server will be down for 2 hours from 8pm tonight") and NLG will display this in the "comments" section on the front screen. HTH, regards, Andy Jonathan Call wrote: > I just installed Nagios Looking Glass to see what it was like. So I > don't know much about it. I have two issues that I need some help with: > > Problem: NLG looks horrible in Firefox 2 and Firefox 3. > Instead of the hostnames embedded in a colored 'bubble' it just has the > two ends of the bubble on separate lines followed by the hostname on a > third line. > Metrics have the same issue. They look like this: > [ > ] > > Metric name > > Is there a way to fix this so that both IE and Firefox 2&3 work? > > Question: Ignoring acknowledged hosts or services. > Can I make NLG ignore hosts or services that have been acknowledged or > that are in Scheduled Downtime? I can do it with Nagios' status.cgi > using serviceprops=10 and hostsprops=10 variables. > > Thank you, > > Jonathan Call > > > > This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 25 01:56:02 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 24 Jun 2008 19:56:02 -0400 Subject: using Linux for a specific Windows Event In-Reply-To: <200806241652.16089.me@renux.de> References: <200806241652.16089.me@renux.de> Message-ID: Just a quick note, Yes NC_NEt can monitor Window Eventr logs, as well as WMI, Run scripts and all the other CHECK_NT commands (and more) However it is hosted on SourceForge: http://sourceforge.net/projects/nc-net the new (Finally done testing) version will be released hopefully this week. Tony (Author of NC_NEt) On Tue, Jun 24, 2008 at 10:52 AM, Rene Fertig wrote: > Hello Michael. > > Michael Dalton wrote: > > I am using Fedora 6 with nagios 2.9 monitoring multiple windows 2003 > > servers. I have looked on the message boards for a solution and have not > > come up with one. > > > > What I would like to do is monitor a specific windows event.....event > > id=55....(a disc failure or beginning to fail). > > > > Has anyone else done this? > > I've just done this. There are several ways. You can use NC_Net > (http://shatterit.com/nc_net/) which has the ability to monitor the > eventlog. > But I haven't tested it. > > I'm using Logparser 2.2 > ( > http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&displaylang=en > ) > which parses the eventlog for some IDs, e.g.: > > logparser "SELECT * FROM System where EventID IN(500;501;503;509;510)" > -i:EVT > -o:csv > "c:\Programme\Log Parser 2.2\output.csv" > > One can use FIND to look if one of the IDs was found. I do this with the > following batch/cmd file which is called itself by NRPE_NT (see > Nagios-Exchange): > > @ECHO OFF > "C:\Programme\Log Parser 2.2\logparser" "SELECT * FROM System where EventID > IN(500;501;503;509;510)" -i:EVT -o:csv > d:\Logparser\output.csv > FIND "Elements output: 0" "C:\Programme\Log Parser 2.2\output.csv" > NUL > IF %ERRORLEVEL% GTR 0 ( > REM FIND "System," "C:\Programme\Log Parser 2.2\output.csv" > echo Fehlermeldung im System-Eventlog gefunden > exit 1 > ) > echo OK > exit 0 > > Probably using NC_Net is much smarter but I did it this way, since we > already > use NRPE_NT on this server. > > 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 25 01:59:29 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 24 Jun 2008 19:59:29 -0400 Subject: using $ in service definition In-Reply-To: <13F36D2926AD444697093282F20041B7074C0A77@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B7074C0A68@buf-ex01.cymfony.com> <48600F98.F8B4.0061.0@buffalo.k12.mn.us> <13F36D2926AD444697093282F20041B7074C0A77@buf-ex01.cymfony.com> Message-ID: I thought $$ also worked in service definitions. Tony (Author of NC_NEt) On Mon, Jun 23, 2008 at 10:15 PM, Seth Simmons wrote: > ahh that did it > I knew with $ used for macros there had to be some special character to > get around it and that was it. Thanks > > > -----Original Message----- > From: Tim Wilson [mailto:twilson at buffalo.k12.mn.us] > Sent: Monday, June 23, 2008 10:03 PM > To: Seth Simmons; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] using $ in service definition > > >>> On Mon, Jun 23, 2008 at 8:17 PM, in message > <13F36D2926AD444697093282F20041B7074C0A68 at buf-ex01.cymfony.com>, "Seth > Simmons" > wrote: > > There is a sql express 2005 service I want to monitor, however the > > service is created as MSSQL$SQLEXPRESS and Nagios shows a warning > saying > > MSSQL is unknow. > > Seth, > > Try MSSQL$"$"SQLEXPRESS > > -Tim > > > -- > Tim Wilson, Director of Technology > Buffalo-Hanover-Montrose Schools > 214 1st Ave NE Buffalo, MN 55313 > ph: 763.682.8740 fax: 763.682.8743 http://www.buffalo.k12.mn.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 > -------------- 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 eandre at casadamoeda.gov.br Tue Jun 24 21:07:11 2008 From: eandre at casadamoeda.gov.br (eandre at casadamoeda.gov.br) Date: Tue, 24 Jun 2008 16:07:11 -0300 Subject: Check_mrtgtraf Message-ID: <20080624160711.h6u90hknq5lw4w48@webmail.casadamoeda.gov.br> Gentlemen. I?ve been fighting with Nagios 3.0.2 on OpenSuse 10.3 while trying to integrate MRTG and Nagios. I have followed the sample in Nagios docs which guides us to: define service{ use generic-service host_name linksys-srw224p service_description Port 1 Bandwidth Usage check_command check_local_mrtgtraf!/var/lib/mrtg/192.168.1.253_1.log!AVG!1000000,2000000!5000000,5000000!10 } But first of all this plugin check_local_mrtgtraf! is not found, but check_mrtgtraf and every time I try to adapt the sample with my path/mylog or changing check_local_mrtgtraf to check_mrtgtraf! I don?t get any success. Besides I can?t even start Nagios and get this Msg: Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration. -------------- 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 25 02:29:53 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 24 Jun 2008 20:29:53 -0400 Subject: Check_mrtgtraf In-Reply-To: <20080624160711.h6u90hknq5lw4w48@webmail.casadamoeda.gov.br> References: <20080624160711.h6u90hknq5lw4w48@webmail.casadamoeda.gov.br> Message-ID: I have not used that Plugin but the following is a general procedure I use to track down a config/new command issue. Make sure that Nagios compiles correctly start nagios using the -v to check the config before actually restarting it. After the config is OK, then make sure the plugin you want to use is in your nagios plugin directory check your nagios config files for the location of this directory. test the plugin from the commad line, to make sure you have the command syntex correct, as well as, checking that nothing unexpected happend. the next step is to make sure the plugin can run under your nagios user account. then tweek the command definition based on the results of the prior steps. Hope this helps, Tony On Tue, Jun 24, 2008 at 3:07 PM, wrote: > > Gentlemen. > > I?ve been fighting with Nagios 3.0.2 on OpenSuse 10.3 while trying to > integrate MRTG and Nagios. > > I have followed the sample in Nagios docs which guides us to: > > define service{ > use generic-service > host_name linksys-srw224p > service_description Port 1 Bandwidth Usage > check_command > check_local_mrtgtraf!/var/lib/mrtg/192.168.1.253_1.log!AVG!1000000,2000000!5000000,5000000!10 > } > > But first of all this plugin check_local_mrtgtraf! is not found, but > check_mrtgtraf and every time I try to adapt the sample with my path/mylog > or changing check_local_mrtgtraf to check_mrtgtraf! > > I don?t get any success. Besides I can?t even start Nagios and get this > Msg: Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios > configuration. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 angc0020 at ntu.edu.sg Wed Jun 25 03:20:54 2008 From: angc0020 at ntu.edu.sg (Jason) Date: Wed, 25 Jun 2008 01:20:54 +0000 (UTC) Subject: =?utf-8?q?NSCA_not_receiving_or_send=5Fnsca_not_se?= =?utf-8?q?nding?= References: Message-ID: eems to me that it is a time synchronization issue. NSCA only works when the time between the client and server is sync veri accurately. (even 30 secs diff will cause packets to be dropped). Check your logs at your Nagios server for any errors like "dropping packet due to future timestamp". (/var/log/message, /var/log/messages, /var/log/syslog) If the problem exists, sync client's time with the server and set the client's sync interval (default for windows is to sync once per week) or u can get a ntp server ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 05:16:36 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 24 Jun 2008 23:16:36 -0400 Subject: NSCA not receiving or send_nsca not sending In-Reply-To: References: Message-ID: There was a post on the time syncronization of NSCA just 2 weeks ago, the following is a copy of the email (I did not verify that this works) TOny dateFri, Jun 13, 2008 at 10:44 AM subjectRe: [Nagios-users] Dropping packet with future timestamp, NSCA mailing listnagios-users.lists.sourceforge.net Filter messages from this mailing list mailed-bylists.sourceforge.net hide details Jun 13 (12 days ago) Reply 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 - Hide quoted text - 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 > On Tue, Jun 24, 2008 at 9:20 PM, Jason wrote: > > eems to me that it is a time synchronization issue. > > NSCA only works when the time between the client and server is sync veri > accurately. (even 30 secs diff will cause packets to be dropped). > > Check your logs at your Nagios server for any errors like "dropping packet > due > to future timestamp". (/var/log/message, /var/log/messages, > /var/log/syslog) > > If the problem exists, sync client's time with the server and set the > client's > sync interval (default for windows is to sync once per week) > > or u can get a ntp server > > > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sascha.Runschke-n9HoxBw2JOY at public.gmane.org Wed Jun 25 09:12:33 2008 From: Sascha.Runschke-n9HoxBw2JOY at public.gmane.org (Sascha.Runschke-n9HoxBw2JOY at public.gmane.org) Date: Wed, 25 Jun 2008 09:12:33 +0200 Subject: Antwort: locking out AD account In-Reply-To: <3B3203830407E74987E768D268A360B507EAFC26@or1srv_pexch001.ORCCMAIL.COM> References: <3B3203830407E74987E768D268A360B507EAFC26@or1srv_pexch001.ORCCMAIL.COM> Message-ID: nagiosplug-help-bounces at lists.sourceforge.net schrieb am 24.06.2008 21:57:30: > Since ~ Friday nagios appears to be locking out random servers AD > accounts. I know what you?re thinking, what changed?! I went > through log files, and even grep?d the entire /etc/nagios directory > and subdirectories for the connection string to make sure that the > $USER#$ userID matched the corresponding $USER#$ password. I looked > at all the files mod dates and made sure to fine tooth comb those to > no avail. Anyone run into this? Its more of a needle in the > haystack kinda thing and I don?t expect anyone to know exactly OH > yeah do this! But I am definitely going nuts trying to find it so I > figured hey why not! Well, I'm rather thinking: How the hell can Nagios lock AD accounts? If you do not describe what you did at all, I doubt anyone can help you. I have absolutely no clue why someone would want to define some $USER#$ or whatever and what it would have to do with AD ;) Please be more descriptive in your posts to the list. We cannot guess what you are doing, hence we cannot tell you what might be wrong with your setup. First of all: Problems with Nagios itself do not belong to the nagiosplug list, this one is about the plugins for Nagios. Second: What does your Nagios have to do with your AD at all? Regards Sascha PS: I'll be CC'ing this to the Nagios-Users list. -- 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 -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at truthisfreedom.org.uk Wed Jun 25 10:00:40 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Wed, 25 Jun 2008 09:00:40 +0100 Subject: Questions about Nagios Looking Glass In-Reply-To: <486185B8.9000307@mailnetwork.co.uk> References: <04F3233F47E2714CB7431AE913E57E7702CDB949@IAD-WPRD-XCHB02.corp.verio.net> <486185B8.9000307@mailnetwork.co.uk> Message-ID: <20080625090040.1e25983a@tclmmw.in.tiger-computing.com> On Wed, 25 Jun 2008 00:39:36 +0100 Andy Shellam wrote: > There is no current way to exclude hosts that are in scheduled > downtime or have been acknowledged; this is on the cards for version > 2. Sorry to hijack the thread, but can I put in a feature request for version 2? :o) I'm not sure if this can be done or not at the moment, however I am trying to integrate NLG into Joomla (it's fun, really, it is...) and one of the things I want to be able to do is authenticate against Nagios using the Joomla Usernames so that the currently logged on user only sees their own servers. If it can be done, can you tell me how? If it can't, please can it be added as a feature request? Secondly, which templating engine are you using? I've tried to rewrite the templates so it does only shows the server names on the first page but still allows the user to drill down through the services on that host but I'm not having much luck - if you can help me in any way, that would be great! Thanks in advance, 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 MachielR at agilitytech.co.za Wed Jun 25 10:27:13 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Wed, 25 Jun 2008 10:27:13 +0200 Subject: sms notifications for only specific services Message-ID: <350DEB176C3F20459BE245610997FD7F0269E90C@caretech.co.za> Hi All I hope you can assist. We have an exhange server which we monitor using the normal nagios monitoring. We are however trying to set up sms notifications for specific services on this mail server. I have created the sms notifications in the contacts and contact group, however I am trying to find out how I can assign this to only specific services while thewy also get mails for these services. Machiel *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company?s Electronic Communications Usage Policy. -------------- 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 Giovanni.Ciampi at enterpriseda.com Wed Jun 25 10:32:54 2008 From: Giovanni.Ciampi at enterpriseda.com (Giovanni Ciampi) Date: Wed, 25 Jun 2008 10:32:54 +0200 Subject: Problems with correct execution Nagios Plugin scheduled Message-ID: <6B7571242ECF5440833F4A674AC8AD290104FB@it3s01040.d.grp> Hello, I have one problem very particular on a Nagios check custom. It try to execute one query to Oracle Server. When I run my plugin from Linux shell as nagios user, the check returns correct output. But, when Nagios runs the same plugin with the same parameters, the check returns incorrect output. The permissions are OK, otherwise Nagios check doesn't returned correct result from shell as nagios user. What's wrong? Any ideas? Thanks Giovanni This is a part of my plugin. --------------------------------------------------------------------- STATE_ERROR=-1 STATE_OK=0 STATE_CRITICAL=2 STATE_UNKNOWN=3 ECHO=/bin/echo FILE=/instantclient_11_1/query QUERY="select 'SQL Query Test is Ok' from dual;" SQLPLUS=/instantclient_11_1/sqlplus esegui_plugin() { blank=" " HOSTNAME=${2:-blank} touch $FILE $ECHO $QUERY | $SQLPLUS -s nagios/nagios@//${HOSTNAME}/orcl > $FILE grep -q Ok $FILE if [ $? -eq 0 ] ; then exitstatus=${STATE_OK} echo "SQL Query Test is Ok" rm -f $FILE exit $exitstatus else exitstatus=${STATE_CRITICAL} echo "CRITICAL - ORACLE SERVER NOT RESPONDING" rm -f $FILE exit $exitstatus fi } --------------------------------------------------------------------- -------------- 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 25 10:39:29 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 25 Jun 2008 10:39:29 +0200 Subject: Antwort: Problems with correct execution Nagios Plugin scheduled In-Reply-To: <6B7571242ECF5440833F4A674AC8AD290104FB@it3s01040.d.grp> References: <6B7571242ECF5440833F4A674AC8AD290104FB@it3s01040.d.grp> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 25.06.2008 10:32:54: > I have one problem very particular on a Nagios check custom. It try > to execute one query to Oracle Server. > When I run my plugin from Linux shell as nagios user, the check > returns correct output. But, when Nagios runs the same plugin with > the same parameters, the check returns incorrect output. > The permissions are OK, otherwise Nagios check doesn't returned > correct result from shell as nagios user. > > What's wrong? Any ideas? No Path inside the check environment? > touch $FILE [...snip...] > grep -q Ok $FILE Won't work without a path. Try using the full path to grep and touch. 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 hvdkooij at vanderkooij.org Wed Jun 25 10:53:29 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 25 Jun 2008 10:53:29 +0200 Subject: sms notifications for only specific services In-Reply-To: <350DEB176C3F20459BE245610997FD7F0269E90C@caretech.co.za> References: <350DEB176C3F20459BE245610997FD7F0269E90C@caretech.co.za> Message-ID: <48620789.1080509@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Machiel Richards wrote: | I have created the sms notifications in the | contacts and contact group, however I am trying to find out how I can | assign this to only specific services while thewy also get mails for | these services. Create new contact(s) that are using the SMS notification. Then add the contact(s) to the specific service(s) 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) iD8DBQFIYgeHBvzDRVjxmYERAksGAJ9D1+UU9o/TfcY/IUAHqBM5kVy/CwCgmDi5 CFLaeqK/8vZTm4o2hv6XS9k= =Nk9Y -----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 tom at ng23.net Wed Jun 25 12:29:57 2008 From: tom at ng23.net (Tom Brown) Date: Wed, 25 Jun 2008 11:29:57 +0100 Subject: nagios 3.x - check_bonding ? Message-ID: <48621E25.4070404@ng23.net> Hi I have recently started deploying bonding throughout our estate and i interested in monitoring the bonded interface - I can see the status of the bond in /proc/net/bonding but i wonder if anyone has already written a plugin to test this. I have looked on nagios exchange and google but not come up with anything so far. 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 Steffen.Knauf at liga01.de Wed Jun 25 12:32:31 2008 From: Steffen.Knauf at liga01.de (Steffen Knauf) Date: Wed, 25 Jun 2008 12:32:31 +0200 Subject: Check_mrtgtraf In-Reply-To: <20080624160711.h6u90hknq5lw4w48@webmail.casadamoeda.gov.br> References: <20080624160711.h6u90hknq5lw4w48@webmail.casadamoeda.gov.br> Message-ID: <48621EBF.4060102@liga01.de> Hello, you can test your nagios configs if you try: (you have to set correct path to nagios and the config) /usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg Perhaps you can post the output. You can find the plugin in you nagios libexec Folder. The service definition is ok, because the command definition looks like that: # 'check_local_mrtgtraf' command definition define command{ command_name check_local_mrtgtraf command_line $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -e $ARG5$ } How do you try to connect to the remote machine? If you try to connect via ssh, you need the plugin on the remote machine, too. Steffen > > Gentlemen. > > I?ve been fighting with Nagios 3.0.2 on OpenSuse 10.3 while trying to > integrate MRTG and Nagios. > > I have followed the sample in Nagios docs which guides us to: > > define service{ > use generic-service > host_name linksys-srw224p > service_description Port 1 Bandwidth Usage > check_command > check_local_mrtgtraf!/var/lib/mrtg/192.168.1.253_1.log!AVG!1000000,2000000!5000000,5000000!10 > } > > But first of all this plugin check_local_mrtgtraf! is not found, but > check_mrtgtraf and every time I try to adapt the sample with my > path/mylog or changing check_local_mrtgtraf to check_mrtgtraf! > > I don?t get any success. Besides I can?t even start Nagios and get this > Msg: Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios > configuration. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 james.mohr at elaxy.com Wed Jun 25 12:52:18 2008 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 25 Jun 2008 12:52:18 +0200 Subject: NSCA not receiving or send_nsca not sending In-Reply-To: References: Message-ID: ________________________________ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Anthony Montibello Gesendet: Mittwoch, 25. Juni 2008 05:17 An: Jason Cc: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] NSCA not receiving or send_nsca not sending There was a post on the time syncronization of NSCA just 2 weeks ago, the following is a copy of the email (I did not verify that this works) TOny Thanks guys! That would explain why the messages are not being received from the Windows machine as the time is, in fact, later than the time on the server. However, it does not make sense to me that it starts working when I reboot the Windows machine or in the case of the Linux machine I restart the nsca daemon. At any rate, I will give it a go. Regards, Jim Mohr ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steffen.Knauf at liga01.de Wed Jun 25 13:09:40 2008 From: Steffen.Knauf at liga01.de (Steffen Knauf) Date: Wed, 25 Jun 2008 13:09:40 +0200 Subject: nagios 3.x - check_bonding ? In-Reply-To: <48621E25.4070404@ng23.net> References: <48621E25.4070404@ng23.net> Message-ID: <48622774.3090305@liga01.de> Hi Tom, it's no problem to get the status of the bonding interace via snmp. (i have an Intel Dual Server Adapter): .1.3.6.1.2.1.2.2.1.7.5 = INTEGER: up(1) The only one you need is the correct oid. so you can check via check_snmp. I try to monitor the traffic of the bonding interface (BONDING_MODULE_OPTS="mode=4") via mrtg (Traffic), but the result is dissatisfying. It's not the sum of the ethernet interfaces. But it's no problem to monitor the two "real" ethernet cards. Steffen > Hi > > I have recently started deploying bonding throughout our estate and i > interested in monitoring the bonded interface - I can see the status of > the bond in /proc/net/bonding but i wonder if anyone has already written > a plugin to test this. I have looked on nagios exchange and google but > not come up with anything so far. > > 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 andreoandre at gmail.com Wed Jun 25 14:36:17 2008 From: andreoandre at gmail.com (=?ISO-8859-1?Q?Andr=E9_Moura?=) Date: Wed, 25 Jun 2008 09:36:17 -0300 Subject: use_timezone Message-ID: Hi, I add in config file this option: use_timezone=US/Mountain but: /etc/init.d/nagios start Starting nagios:/etc/init.d/nagios: line 121: 6987 Segmentation fault $NagiosBin -d $NagiosCfgFile done. why this? -- Andr? O Moura http://andrem.wordpress.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 tom at ng23.net Wed Jun 25 16:44:10 2008 From: tom at ng23.net (Tom Brown) Date: Wed, 25 Jun 2008 15:44:10 +0100 Subject: nagios 3.x - check_bonding ? In-Reply-To: <48622774.3090305@liga01.de> References: <48621E25.4070404@ng23.net> <48622774.3090305@liga01.de> Message-ID: <486259BA.4070202@ng23.net> > > it's no problem to get the status of the bonding interace via snmp. > > (i have an Intel Dual Server Adapter): > .1.3.6.1.2.1.2.2.1.7.5 = INTEGER: up(1) > > The only one you need is the correct oid. > > so you can check via check_snmp. > > I try to monitor the traffic of the bonding interface > (BONDING_MODULE_OPTS="mode=4") via mrtg (Traffic), but the result is > dissatisfying. It's not the sum of the ethernet interfaces. > But it's no problem to monitor the two "real" ethernet cards. > > i'll take a look - 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 Steffen.Knauf at liga01.de Wed Jun 25 17:06:42 2008 From: Steffen.Knauf at liga01.de (Steffen Knauf) Date: Wed, 25 Jun 2008 17:06:42 +0200 Subject: nagios 3.x - check_bonding ? In-Reply-To: <486259BA.4070202@ng23.net> References: <48621E25.4070404@ng23.net> <48622774.3090305@liga01.de> <486259BA.4070202@ng23.net> Message-ID: <48625F02.4020800@liga01.de> > >> >> it's no problem to get the status of the bonding interace via snmp. >> >> (i have an Intel Dual Server Adapter): >> .1.3.6.1.2.1.2.2.1.7.5 = INTEGER: up(1) >> >> The only one you need is the correct oid. >> >> so you can check via check_snmp. >> >> I try to monitor the traffic of the bonding interface >> (BONDING_MODULE_OPTS="mode=4") via mrtg (Traffic), but the result is >> dissatisfying. It's not the sum of the ethernet interfaces. >> But it's no problem to monitor the two "real" ethernet cards. >> >> > > i'll take a look - thanks > > Hello, if you saerch a MIB /OID take a look to : http://www.oidview.com/mibs/detail.html http://www.mibdepot.com/index.shtml or you have to look yourself: snmpwalk -On -v 1 -c COMMUNITY IP OID You can get everything of the bonding interface via snmp, with one exception: the Max Network Speed (1000 MBit per example). Unfortenately you will get the wrong integer. greets Steffen ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trice at cisco.com Wed Jun 25 17:09:31 2008 From: trice at cisco.com (Tony Rice (trice)) Date: Wed, 25 Jun 2008 11:09:31 -0400 Subject: Problem scheduling downtime externally In-Reply-To: <1214327211.2823.458.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <1214327211.2823.458.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: I'm trying to interface a database of upcoming downtimes to Nagios via the SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME external command. However, writing to the nagios.cmd file just sits there and never returns. I'm wondering if it's a problem with the way the named pipe is setup. My nagios.cmd file looks like this: % ls -la var/rw/nagios.cmd prw-rw-rw- 1 nagios nagios 0 Jun 25 08:03 var/rw/nagios.cmd I've tried writing to this file from perl and a borne shell script with similar results. An advice? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SRelf at omniture.com Wed Jun 25 17:13:27 2008 From: SRelf at omniture.com (Steven Relf) Date: Wed, 25 Jun 2008 09:13:27 -0600 Subject: LDAP Authentication, and what authenticated users can see. Message-ID: <519561C26DD9B9489BF279B69D18B87E01B7B9C3@EXCHANGE0.orm.omniture.com> Hi All, I have gotten LDAP authentication working against the webserver. And it works great, the question is, how do I go about determining what users can see what. Ideally I would like to split it down to per host group. Has anyone got any ideas? Thanks Steve. -------------- 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 rich+nagios at quintinz.com Wed Jun 25 17:21:58 2008 From: rich+nagios at quintinz.com (Richard Quintin) Date: Wed, 25 Jun 2008 11:21:58 -0400 Subject: Problem scheduling downtime externally In-Reply-To: References: <1214327211.2823.458.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <822f14060806250821r410cad7ag92fb4e178a1a489d@mail.gmail.com> I had a similar problem and just switched to using the cmd.cgi to get it done. Attached is a simple daemon I wrote until I can get around to writing a proper one. You can take a look at it to get an example of how to use cmd.cgi. If you decide you want to use the script itself, you'll need to make modifications for your environment and be sure to heed the warning. On Wed, Jun 25, 2008 at 11:09 AM, Tony Rice (trice) wrote: > I'm trying to interface a database of upcoming downtimes to Nagios via > the SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME external command. > However, writing to the nagios.cmd file just sits there and never > returns. I'm wondering if it's a problem with the way the named pipe is > setup. My nagios.cmd file looks like this: > > % ls -la var/rw/nagios.cmd > prw-rw-rw- 1 nagios nagios 0 Jun 25 08:03 > var/rw/nagios.cmd > > I've tried writing to this file from perl and a borne shell script with > similar results. An advice? > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: nagiosListener.pl Type: text/x-perl Size: 4181 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 aaron.segura at cabelas.com Wed Jun 25 17:24:31 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 25 Jun 2008 09:24:31 -0600 Subject: Problem scheduling downtime externally In-Reply-To: References: <1214327211.2823.458.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <1214407471.6585.102.camel@localhost> Please be more specific. How, exactly, are you trying to write to the pipe? Please include some examples. Do you look in the nagios log after that to see if it picked up any commands? Are there any relevant log entries that might help? On Wed, 2008-06-25 at 11:09 -0400, Tony Rice (trice) wrote: > I'm trying to interface a database of upcoming downtimes to Nagios via > the SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME external command. > However, writing to the nagios.cmd file just sits there and never > returns. I'm wondering if it's a problem with the way the named pipe is > setup. My nagios.cmd file looks like this: > > % ls -la var/rw/nagios.cmd > prw-rw-rw- 1 nagios nagios 0 Jun 25 08:03 > var/rw/nagios.cmd > > I've tried writing to this file from perl and a borne shell script with > similar results. An advice? > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 25 17:26:43 2008 From: marc at ena.com (Marc Powell) Date: Wed, 25 Jun 2008 10:26:43 -0500 Subject: LDAP Authentication, and what authenticated users can see. In-Reply-To: <519561C26DD9B9489BF279B69D18B87E01B7B9C3@EXCHANGE0.orm.omniture.com> References: <519561C26DD9B9489BF279B69D18B87E01B7B9C3@EXCHANGE0.orm.omniture.com> Message-ID: On Jun 25, 2008, at 10:13 AM, Steven Relf wrote: > Hi All, > > I have gotten LDAP authentication working against the webserver. And > it works great, the question is, how do I go about determining what > users can see what. > > Ideally I would like to split it down to per host group. > > Has anyone got any ideas? http://nagios.sourceforge.net/docs/3_0/cgiauth.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 andy.shellam-lists at mailnetwork.co.uk Wed Jun 25 18:15:53 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Wed, 25 Jun 2008 17:15:53 +0100 Subject: Questions about Nagios Looking Glass In-Reply-To: <20080625090040.1e25983a@tclmmw.in.tiger-computing.com> References: <04F3233F47E2714CB7431AE913E57E7702CDB949@IAD-WPRD-XCHB02.corp.verio.net> <486185B8.9000307@mailnetwork.co.uk> <20080625090040.1e25983a@tclmmw.in.tiger-computing.com> Message-ID: <48626F39.7000807@mailnetwork.co.uk> Hi Matt, Sounds like quite a task you've gotten there! Can I take it that fun is with a capital F? ;-) The template engine isn't really an engine at all, but simply a mixture of placeholders and a bunch of str_replace()'s! It is hideous I know, but v2 will have it's own templating engine (currently being developed and refined in other projects.) I can tell you now that version 2 *may* make this sort of job easier, as it will have a pluggable architecture that splits out the application into separate logical "layers" - in similar fashion to n-tier applications - e.g. NLG will take care of grabbing the data and authentication etc, while allowing other users and developers to tack a "view" on top of this layer. In this sense you should theoretically be able to do virtually anything with the data - from creating a whole new template to showing the last-known status as an RSS feed (something which will be part of the standard distribution.) If you want to contact me privately (remove the -lists from this e-mail address) and let me know what you're trying to do with v1 now and I'll certainly try to help, as v2 is still a good way off yet. Unfortunately I have no experience of Joomla. I'd need to know more about how it authenticates (e.g. using standard HTTP authentication or whatever) and if there is a public variable available in PHP that gives the Joomla username (in similar fashion to $_SERVER['PHP_AUTH_USER'] etc.) Regards, Andy Matthew Macdonald-Wallace wrote: > On Wed, 25 Jun 2008 00:39:36 +0100 > Andy Shellam wrote: > > >> There is no current way to exclude hosts that are in scheduled >> downtime or have been acknowledged; this is on the cards for version >> 2. >> > > Sorry to hijack the thread, but can I put in a feature request for > version 2? :o) > > I'm not sure if this can be done or not at the moment, however I am > trying to integrate NLG into Joomla (it's fun, really, it is...) and > one of the things I want to be able to do is authenticate against > Nagios using the Joomla Usernames so that the currently logged on user > only sees their own servers. > > If it can be done, can you tell me how? If it can't, please can it be > added as a feature request? > > Secondly, which templating engine are you using? I've tried to rewrite > the templates so it does only shows the server names on the first page > but still allows the user to drill down through the services on that > host but I'm not having much luck - if you can help me in any way, that > would be great! > > Thanks in advance, > > Matt > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trice at cisco.com Wed Jun 25 19:32:18 2008 From: trice at cisco.com (Tony Rice (trice)) Date: Wed, 25 Jun 2008 13:32:18 -0400 Subject: Problem scheduling downtime externally In-Reply-To: <1214407471.6585.102.camel@localhost> References: <1214327211.2823.458.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <1214407471.6585.102.camel@localhost> Message-ID: Perl script looks like this: open (FILE, ">$cmd_file"); print "[$epoch_now] SCHEDULE_HOST_DOWNTIME;$host;$epoch_start;$epoch_stop;0;0;$duration;$use rid;$comment\n"; close (FILE); Nothing in the log indicating that this command is making it anywhere. Nothing in the log relevant either. -Tony > -----Original Message----- > From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] > Sent: Wednesday, June 25, 2008 11:25 AM > To: Tony Rice (trice) > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Problem scheduling downtime externally > > Please be more specific. How, exactly, are you trying to > write to the pipe? Please include some examples. > > Do you look in the nagios log after that to see if it picked > up any commands? Are there any relevant log entries that might help? > > On Wed, 2008-06-25 at 11:09 -0400, Tony Rice (trice) wrote: > > I'm trying to interface a database of upcoming downtimes to > Nagios via > > the SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME external command. > > However, writing to the nagios.cmd file just sits there and never > > returns. I'm wondering if it's a problem with the way the > named pipe > > is setup. My nagios.cmd file looks like this: > > > > % ls -la var/rw/nagios.cmd > > prw-rw-rw- 1 nagios nagios 0 Jun 25 08:03 > > var/rw/nagios.cmd > > > > I've tried writing to this file from perl and a borne shell script > > with similar results. An advice? > > > > > ---------------------------------------------------------------------- > > --- Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for just about anything > > Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 aaron.segura at cabelas.com Wed Jun 25 19:36:48 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 25 Jun 2008 11:36:48 -0600 Subject: Problem scheduling downtime externally In-Reply-To: References: <1214327211.2823.458.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <1214407471.6585.102.camel@localhost> Message-ID: <1214415408.31895.1.camel@localhost> Maybe i'm not familiar enough with perl (I'm not, really), but it appears to me that you are not writing anything to the file since your 'print' statement is missing the file handle argument... maybe try print FILE "..." ?? On Wed, 2008-06-25 at 13:32 -0400, Tony Rice (trice) wrote: > Perl script looks like this: > > open (FILE, ">$cmd_file"); > print "[$epoch_now] > SCHEDULE_HOST_DOWNTIME;$host;$epoch_start;$epoch_stop;0;0;$duration;$use > rid;$comment\n"; > close (FILE); > > Nothing in the log indicating that this command is making it anywhere. > Nothing in the log relevant either. > > -Tony > > > -----Original Message----- > > From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] > > Sent: Wednesday, June 25, 2008 11:25 AM > > To: Tony Rice (trice) > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Problem scheduling downtime externally > > > > Please be more specific. How, exactly, are you trying to > > write to the pipe? Please include some examples. > > > > Do you look in the nagios log after that to see if it picked > > up any commands? Are there any relevant log entries that might help? > > > > On Wed, 2008-06-25 at 11:09 -0400, Tony Rice (trice) wrote: > > > I'm trying to interface a database of upcoming downtimes to > > Nagios via > > > the SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME external command. > > > However, writing to the nagios.cmd file just sits there and never > > > returns. I'm wondering if it's a problem with the way the > > named pipe > > > is setup. My nagios.cmd file looks like this: > > > > > > % ls -la var/rw/nagios.cmd > > > prw-rw-rw- 1 nagios nagios 0 Jun 25 08:03 > > > var/rw/nagios.cmd > > > > > > I've tried writing to this file from perl and a borne shell script > > > with similar results. An advice? > > > > > > > > ---------------------------------------------------------------------- > > > --- Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for just about anything > > > Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 trice at cisco.com Wed Jun 25 19:40:24 2008 From: trice at cisco.com (Tony Rice (trice)) Date: Wed, 25 Jun 2008 13:40:24 -0400 Subject: Problem scheduling downtime externally In-Reply-To: <1214415408.31895.1.camel@localhost> References: <1214327211.2823.458.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <1214407471.6585.102.camel@localhost> <1214415408.31895.1.camel@localhost> Message-ID: Sorry, typo in my cutting and pasted to the email. The FILE file handle is there. -Tony > -----Original Message----- > From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] > Sent: Wednesday, June 25, 2008 1:37 PM > To: Tony Rice (trice) > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Problem scheduling downtime externally > > Maybe i'm not familiar enough with perl (I'm not, really), > but it appears to me that you are not writing anything to the > file since your 'print' statement is missing the file handle > argument... > > maybe try > > print FILE "..." > > ?? > > On Wed, 2008-06-25 at 13:32 -0400, Tony Rice (trice) wrote: > > Perl script looks like this: > > > > open (FILE, ">$cmd_file"); > > print "[$epoch_now] > > > SCHEDULE_HOST_DOWNTIME;$host;$epoch_start;$epoch_stop;0;0;$duration;$u > > se > > rid;$comment\n"; > > close (FILE); > > > > Nothing in the log indicating that this command is making > it anywhere. > > Nothing in the log relevant either. > > > > -Tony > > > > > -----Original Message----- > > > From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] > > > Sent: Wednesday, June 25, 2008 11:25 AM > > > To: Tony Rice (trice) > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Problem scheduling downtime externally > > > > > > Please be more specific. How, exactly, are you trying to > write to > > > the pipe? Please include some examples. > > > > > > Do you look in the nagios log after that to see if it > picked up any > > > commands? Are there any relevant log entries that might help? > > > > > > On Wed, 2008-06-25 at 11:09 -0400, Tony Rice (trice) wrote: > > > > I'm trying to interface a database of upcoming downtimes to > > > Nagios via > > > > the SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME > external command. > > > > However, writing to the nagios.cmd file just sits there > and never > > > > returns. I'm wondering if it's a problem with the way the > > > named pipe > > > > is setup. My nagios.cmd file looks like this: > > > > > > > > % ls -la var/rw/nagios.cmd > > > > prw-rw-rw- 1 nagios nagios 0 Jun 25 08:03 > > > > var/rw/nagios.cmd > > > > > > > > I've tried writing to this file from perl and a borne > shell script > > > > with similar results. An advice? > > > > > > > > > > > > -------------------------------------------------------------------- > > > -- > > > > --- Check out the new SourceForge.net Marketplace. > > > > It's the best place to buy or sell services for just about > > > > anything Open Source. > > > > http://sourceforge.net/services/buy/index.php > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 mgagne at iweb.com Wed Jun 25 19:43:40 2008 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Wed, 25 Jun 2008 13:43:40 -0400 Subject: Problem scheduling downtime externally In-Reply-To: References: <1214327211.2823.458.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <1214407471.6585.102.camel@localhost> Message-ID: <486283CC.2050302@iweb.com> You can't open nagios.cmd in append mode, otherwise it will cause a seek. You should use the function nagios_cmd declared in Nagios::Cmd: http://search.cpan.org/src/TOBEYA/Nagios-Cmd-0.05/lib/Nagios/Cmd.pm It's working fine for me. -- Mathieu ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 19:57:28 2008 From: marc at ena.com (Marc Powell) Date: Wed, 25 Jun 2008 12:57:28 -0500 Subject: Problem scheduling downtime externally In-Reply-To: References: <1214327211.2823.458.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <1214407471.6585.102.camel@localhost> Message-ID: On Jun 25, 2008, at 12:32 PM, Tony Rice (trice) wrote: > Perl script looks like this: > > open (FILE, ">$cmd_file"); > print "[$epoch_now] > SCHEDULE_HOST_DOWNTIME;$host;$epoch_start;$epoch_stop;0;0;$duration; > $use > rid;$comment\n"; > close (FILE); > > Nothing in the log indicating that this command is making it anywhere. > Nothing in the log relevant either. I use the following quite successfully if you don't mind making a system call -- $cmdline="[$datetime] DEL_SVC_COMMENT;$comment\n"; $action = localtime($datetime) ." - $ticket - host: $host - service: $service - state: $state - ticket: $status - Deleted Comment\n"; # append the command to the end of the command file system("$echocmd \"$cmdline\" >> $CommandFile"); system("$echocmd \"$action\" >> $LogFile"); -- 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 25 20:14:10 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 25 Jun 2008 14:14:10 -0400 Subject: [Fwd: Bug Reporting / Issue Tracking System ?] In-Reply-To: <1214326155.2823.447.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <1214326155.2823.447.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <20080625181410.GG12255@cgi.jachomes.com> On Tue, Jun 24, 2008 at 12:49:15PM -0400, Brian A. Seklecki wrote: > "given enough eyeballs, all bugs are shallow" -- Eric S. Raymond > -- But only if someone writes them down :) And if other people work the tickets. Is *that* part figured out yet? :-) 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 eandre at casadamoeda.gov.br Wed Jun 25 16:15:34 2008 From: eandre at casadamoeda.gov.br (eandre at casadamoeda.gov.br) Date: Wed, 25 Jun 2008 11:15:34 -0300 Subject: Check_mrtgtraf In-Reply-To: <48621EBF.4060102@liga01.de> References: <20080624160711.h6u90hknq5lw4w48@webmail.casadamoeda.gov.br> <48621EBF.4060102@liga01.de> Message-ID: <20080625111534.b7ei84w8jdsgs84w@webmail.casadamoeda.gov.br> WHAT I DON?T UNDERSTAND IS THAT WHEN I USE: ./check_mrtgtraf -F /var/www/mrtg/memswap.log -a MAX I GET THIS ANSWER: Traffic CRITICAL - Max. In = 217.0 B/s, Max. Out = 0.0 B/s|in=217.000000B/s;;;0.000000 in=0.000000B/s;;;0.000000 SO, HOW DO I TRANSLATE THIS TO THE CORRECT SYNTAX IN CHECK_MRTGTRAF! ... About Pre-flight check (/usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg) THAT?S WHAT I GOT: Nagios 3.0.2 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 05-19-2008 License: GPL Reading configuration data... Warning: Duplicate definition found for service 'cmbbkp01' on host 'Memory Usage' (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 161) Running pre-flight check on configuration data... Checking services... ? ? ? ?Checked 46 services. Checking hosts... ? ? ? ?Checked 13 hosts. Checking host groups... ? ? ? ?Checked 7 host groups. Checking service groups... ? ? ? ?Checked 0 service groups. Checking contacts... ? ? ? ?Checked 2 contacts. Checking contact groups... ? ? ? ?Checked 2 contact groups. Checking service escalations... ? ? ? ?Checked 0 service escalations. Checking service dependencies... ? ? ? ?Checked 0 service dependencies. Checking host escalations... ? ? ? ?Checked 0 host escalations. Checking host dependencies... ? ? ? ?Checked 0 host dependencies. Checking commands... ? ? ? ?Checked 25 commands. Checking time periods... ? ? ? ?Checked 5 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors:? ?0 Things look okay - No serious problems were detected during the pre-flight check cmbmonitor01:/usr/local/nagios/etc/objects # service nagios start Starting nagios: done. > Hello, > > you can test your nagios configs if you try: > > (you have to set correct path to nagios and the config) > > /usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg > > Perhaps you can post the output. > > You can find the plugin in you nagios libexec Folder. > The service definition is ok, because the command definition looks like that: > > # 'check_local_mrtgtraf' command definition > define command{ > ? ? ? ? ?command_name? ? check_local_mrtgtraf > ? ? ? ? ?command_line? ? $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w > $ARG3$ -c $ARG4$ -e $ARG5$ > ? ? ? ? ?} > > How do you try to connect to the remote machine? > If you try to connect via ssh, you need the plugin on the remote > machine, too. > > > Steffen >> >> Gentlemen. >> >> I?ve been fighting with Nagios 3.0.2 on OpenSuse 10.3 while trying >> to integrate MRTG and Nagios. >> >> I have followed the sample in Nagios docs which guides us to: >> >> define service{ >> use generic-service >> host_name linksys-srw224p >> service_description Port 1 Bandwidth Usage >> check_command check_local_mrtgtraf!/var/lib/mrtg/192.168.1.253_1.log!AVG!1000000,2000000!5000000,5000000!10 >> } >> >> But first of all this plugin check_local_mrtgtraf! is not found, but >> check_mrtgtraf and every time I try to adapt the sample with my >> path/mylog or changing check_local_mrtgtraf to check_mrtgtraf! >> >> I don?t get any success. Besides I can?t even start Nagios and get >> this Msg: Starting nagios:CONFIG ERROR! Start aborted. Check your >> Nagios configuration. >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 stephen.valdinger at gmail.com Wed Jun 25 20:24:57 2008 From: stephen.valdinger at gmail.com (Stephen Valdinger) Date: Wed, 25 Jun 2008 14:24:57 -0400 Subject: HOWTO for nagiosgrapher Message-ID: <98f364d40806251124r7f1da0delc3e8e7d065f2d5bd@mail.gmail.com> Does anyone have notes on how to get nagiosgrapher up and running on an ubuntu installation? I've downloaded the stuff, but there is no configure scripts or anything, and the documentation just plain well sucks. Any help or pointers would be wonderful. Google yielded a few very vague and unhelpful results on the matter. I'm running ubuntu 7.10 and nagios 2.10 with NDO installed and NagVis. -------------- 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 lavalamp at spiritual-machines.org Wed Jun 25 21:38:03 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 25 Jun 2008 15:38:03 -0400 Subject: [Fwd: Bug Reporting / Issue Tracking System ?] In-Reply-To: <20080625181410.GG12255@cgi.jachomes.com> References: <1214326155.2823.447.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625181410.GG12255@cgi.jachomes.com> Message-ID: <1214422683.2823.509.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Wed, 2008-06-25 at 14:14 -0400, Jay R. Ashworth wrote: > And if other people work the tickets. I'll volunteer to have my team manage tickets and generate reports. Its just a reality of work-flow management in F/OSS projects. Consider at Net-SNMP, one of the most active projects on sf.net (*), tracker stats -- only 7 active developers and: Bugs ( 294 open / 1960 total ) Feature Requests ( 95 open / 160 total ) Official Patches ( 11 open / 46 total ) Patches ( 37 open / 915 total ) ~BAS * http://www.net-snmp.org/about/history.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 jra at baylink.com Wed Jun 25 21:41:24 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 25 Jun 2008 15:41:24 -0400 Subject: [Fwd: Bug Reporting / Issue Tracking System ?] In-Reply-To: <1214422683.2823.509.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <1214326155.2823.447.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625181410.GG12255@cgi.jachomes.com> <1214422683.2823.509.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <20080625194124.GP12255@cgi.jachomes.com> On Wed, Jun 25, 2008 at 03:38:03PM -0400, Brian A. Seklecki wrote: > On Wed, 2008-06-25 at 14:14 -0400, Jay R. Ashworth wrote: > > And if other people work the tickets. > > I'll volunteer to have my team manage tickets and generate reports. > > Its just a reality of work-flow management in F/OSS projects. > > Consider at Net-SNMP, one of the most active projects on sf.net (*), > tracker stats -- only 7 active developers and: > > Bugs ( 294 open / 1960 total ) > Feature Requests ( 95 open / 160 total ) > Official Patches ( 11 open / 46 total ) > Patches ( 37 open / 915 total ) Yes, precisely my point. If no developers are closing tickets, having a tracking system is somewhat beside the point. 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 lavalamp at spiritual-machines.org Wed Jun 25 22:11:10 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 25 Jun 2008 16:11:10 -0400 Subject: [Fwd: Bug Reporting / Issue Tracking System ?] In-Reply-To: <20080625194124.GP12255@cgi.jachomes.com> References: <1214326155.2823.447.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625181410.GG12255@cgi.jachomes.com> <1214422683.2823.509.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625194124.GP12255@cgi.jachomes.com> Message-ID: <1214424670.2823.521.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> > Yes, precisely my point. If no developers are closing tickets, having > a tracking system is somewhat beside the point. My opinion is that Net-SNMP actually doing a suburb job. Good enough that vendors are shipping it embedded (a la OpenSSH into Cisco and HFUX) Moreover, even if tickets cannot be immediately solved/closed, they should still be documented to eliminate unnecessary duplication of reporting / coding / testing efforts. Having a 15% open bug ticket rate does in no way reflect poorly upon a project. Conversely, having a 60% NFR ticket rate reflects favorably upon a project -- representing tangible interest in future development efforts and illustrating the need for additional developer human resources. All of that is abstracted from the actuality of developers writing / testing / documenting code -- the code will be written regardless -- but 1) the chances of 3rd parties contributing patches back in and 2) the R&D overhead of the development process, which the ticketing system only serve to simplify. ~BAS > Cheers, > -- jra ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 22:14:47 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 25 Jun 2008 16:14:47 -0400 Subject: [Fwd: Bug Reporting / Issue Tracking System ?] In-Reply-To: <1214424670.2823.521.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <1214326155.2823.447.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625181410.GG12255@cgi.jachomes.com> <1214422683.2823.509.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625194124.GP12255@cgi.jachomes.com> <1214424670.2823.521.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <20080625201447.GT12255@cgi.jachomes.com> On Wed, Jun 25, 2008 at 04:11:10PM -0400, Brian A. Seklecki wrote: > > Yes, precisely my point. If no developers are closing tickets, having > > a tracking system is somewhat beside the point. > > My opinion is that Net-SNMP actually doing a suburb job. > > Good enough that vendors are shipping it embedded (a la OpenSSH into > Cisco and HFUX) > > Moreover, even if tickets cannot be immediately solved/closed, they > should still be documented to eliminate unnecessary duplication of > reporting / coding / testing efforts. > > Having a 15% open bug ticket rate does in no way reflect poorly upon a > project. Well, you can look at that both ways: having almost 300 tickets open and only 7 people working on them is a pretty steep hill... but I'll admit I'm not familiar with their ticket universe, so I retract the judgement. > All of that is abstracted from the actuality of developers writing / > testing / documenting code -- the code will be written regardless -- but > 1) the chances of 3rd parties contributing patches back in and 2) the > R&D overhead of the development process, which the ticketing system only > serve to simplify. Oh, I'm all for ticketing systems... as long as they aren't giving people the impression that work is likely to be done which will not in fact ever be done. Have you looked at The Original Bugzilla lately? ;-) 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 natxo.asenjo at gmail.com Wed Jun 25 22:28:27 2008 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Wed, 25 Jun 2008 22:28:27 +0200 Subject: check_nrpe missing Message-ID: <90f6e8270806251328j4eec1da8n783153d88bd110d6@mail.gmail.com> hi, I followed the instructions on the guide to install nagios 3.03 and the nagios-plugins-1.4.12. The operating system is debian stable, but as I say, the nagios installation is manual from the official nagios sources. I do # tar xzf nagios-plugins-1.4.12.tar.gz # cd nagios-plugins-1.4.12 Compile and install the plugins. # ./configure --with-nagios-user=nagios --with-nagios-group=nagios # make # make install and when I cd to /usr/local/nagios/libexec I have a lot of plugins, but no check_nrpe. What am I doing wrong? -- Groeten, J.Asenjo ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Wed Jun 25 22:35:41 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Wed, 25 Jun 2008 16:35:41 -0400 Subject: check_nrpe missing In-Reply-To: <90f6e8270806251328j4eec1da8n783153d88bd110d6@mail.gmail.com> References: <90f6e8270806251328j4eec1da8n783153d88bd110d6@mail.gmail.com> Message-ID: <2274b9c30806251335k5560f9fm168e2a30f901aff@mail.gmail.com> check_nrpe does not come with the nagios-plugins. Download the nrpe source tarball. On 6/25/08, Natxo Asenjo wrote: > hi, > > I followed the instructions on the guide to install nagios 3.03 and > the nagios-plugins-1.4.12. The operating system is debian stable, but > as I say, the nagios installation is manual from the official nagios > sources. > > I do > # tar xzf nagios-plugins-1.4.12.tar.gz > # cd nagios-plugins-1.4.12 > > Compile and install the plugins. > > # ./configure --with-nagios-user=nagios --with-nagios-group=nagios > # make > # make install > > and when I cd to /usr/local/nagios/libexec I have a lot of plugins, > but no check_nrpe. What am I doing wrong? > -- > Groeten, > J.Asenjo > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Wed Jun 25 22:56:39 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 25 Jun 2008 16:56:39 -0400 Subject: [Fwd: Bug Reporting / Issue Tracking System ?] In-Reply-To: <20080625201447.GT12255@cgi.jachomes.com> References: <1214326155.2823.447.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625181410.GG12255@cgi.jachomes.com> <1214422683.2823.509.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625194124.GP12255@cgi.jachomes.com> <1214424670.2823.521.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625201447.GT12255@cgi.jachomes.com> Message-ID: <1214427399.2823.529.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Wed, 2008-06-25 at 16:14 -0400, Jay R. Ashworth wrote: > admit I'm not familiar with their ticket universe, so I retract the > judgement. And I would concede that there are certain scenarios where it can be especially tricky, in terms of conflict of interest, for example when an F/OSS project is released by a commercial entity marketing a service/product (who may maintain an internal CMS system). I'm not implying that that's the case with Nagios, but that was certainly perfectly valid concern with syslog-ng and public ticket (much less actually getting public access to SVN/CVS outside of tarballs) Anyway, this conversation is healthy and productive. ~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 marc at ena.com Wed Jun 25 23:18:29 2008 From: marc at ena.com (Marc Powell) Date: Wed, 25 Jun 2008 16:18:29 -0500 Subject: [Fwd: Bug Reporting / Issue Tracking System ?] In-Reply-To: <20080625201447.GT12255@cgi.jachomes.com> References: <1214326155.2823.447.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625181410.GG12255@cgi.jachomes.com> <1214422683.2823.509.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625194124.GP12255@cgi.jachomes.com> <1214424670.2823.521.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625201447.GT12255@cgi.jachomes.com> Message-ID: <84660163-A808-40B4-86A9-056B79D291B5@ena.com> On Jun 25, 2008, at 3:14 PM, Jay R. Ashworth wrote: >> Oh, I'm all for ticketing systems... as long as they aren't giving > people the impression that work is likely to be done which will not in > fact ever be done. Have you looked at The Original Bugzilla > lately? ;-) Has anyone bothered to ask Ethan why he has chosen not to use the SF bugtracker? It had to have been a conscious decision so unless those reasons have changed, I would expect that those same reasons would apply here. If one of those reasons is that it's a pain to manage and he doesn't have the time/inclination, then it may work out well. A community supported bugtracker is all well and good but unless there is developer participation it's only marginally valuable. For the most part that developer is Ethan (not to minimize *any* of the significant work by other people, it's just that he's the main developer and gatekeeper for all patches). -- Marc p.s. IMHE, there are not a lot of bugs related to nagios-stable and any real, verified bugs get fixed relatively quickly. Could be my rose- colored glasses though. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angc0020 at ntu.edu.sg Thu Jun 26 03:31:55 2008 From: angc0020 at ntu.edu.sg (Jason) Date: Thu, 26 Jun 2008 01:31:55 +0000 (UTC) Subject: =?utf-8?q?NSCA_not_receiving_or_send=5Fnsca_not_se?= =?utf-8?q?nding?= References: Message-ID: > Thanks guys! That would explain why the messages are not being received > from the Windows machine as the time is, in fact, later than the time on > the server. However, it does not make sense to me that it starts working > when I reboot the Windows machine or in the case of the Linux machine I > restart the nsca daemon. > > At any rate, I will give it a go. > > Regards, > > Jim Mohr In any case, the logs at Nagios server that i mentioned earlier should give u info on the source of the problem. If u dont receive logs at all, then most probably the client is unable to connect to the nsca daemon ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 26 04:27:53 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 25 Jun 2008 22:27:53 -0400 (EDT) Subject: Forcing a check on a Desginated Slave from cmd.cgi? In-Reply-To: <2dfcbd1b0806241532i1e02fa83i15a9c2fbd717348f@mail.gmail.com> References: <1214327211.2823.458.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <2dfcbd1b0806241532i1e02fa83i15a9c2fbd717348f@mail.gmail.com> Message-ID: <20080625222422.P95297@arbitor.digitalfreaks.org> On Tue, 24 Jun 2008, Marcel wrote: > have you looked at DNX? I think it's the way to solve your problem. > I talked to the DNX people about some contract work to develop a slave-specific meta-data structure -- none exists -- DNX's decision making is based on "load distribution" metrics. As for determining which slave to exec a check on using cmd.cgi hack, at least for our config, you you could use regexp match against the service/host "hostname" or "notes" fields to make the decision. The offer is still on the table for anyone who wants to tackle it. ~BAS > On Tue, Jun 24, 2008 at 2:06 PM, Brian A. Seklecki < > lavalamp at spiritual-machines.org> wrote: > >> All: >> >> >> In the el-generic Master w/NSCA distributed configuration, has anyone >> developed a hack to have cmd.cgi pass a SCHEDULE_FORCED_HOST_CHECK or >> SCHEDULE_FORCED_SVC_CHECK received by the master instance, onto a >> designated slave? >> >> We have a config where our slaves are in remote facilities and the >> master can only rely on passive checks -- attempting to force an active >> check on the master is a no-go due to network ACLs and other >> limitations. >> >> It would be nice to only need one web interface on the master NSCA >> receiver. >> >> The problem is two-fold (and this gets into the whole inter-component >> architecture discussion) -- >> >> 1) Even with a cmd.cgi hack, there is no native meta-data within Nagios >> to associate a host/service with a designated slave. >> >> 2) There is no clean communications channel other than a shell script >> wrapper (ssh and keys, etc. that stdout's to the slave's nagios.cmd >> -- this could get ugly...fast) >> >> ~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 >> > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 26 04:59:13 2008 From: iknewitalready at gmail.com (Shoaibi) Date: Thu, 26 Jun 2008 08:59:13 +0600 Subject: Custom Cfg files? Message-ID: <92dab8800806251959x500ee64fv3eb0cb95ad1e4bc2@mail.gmail.com> What if i create my config files and want to use them instead of the default files? Like suppose: Default files are: contact.cfg template.cfg commands.cfg localhost.cfg and i want to create files like: test_contact.cfg test_template.cfg test_commands.cfg test_localhost.cfg and want to use these, even if those files exist? Or should i change data in those 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 iknewitalready at gmail.com Thu Jun 26 05:16:51 2008 From: iknewitalready at gmail.com (Shoaibi) Date: Thu, 26 Jun 2008 09:16:51 +0600 Subject: notify_with_sms Message-ID: <92dab8800806252016i490d8c63ude1a2699c7ce30cd@mail.gmail.com> Before you read further, please have a look at the following pages if you havent seen them already... http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1855.html;d=1 http://cristian.livadaru.net/2006/04/27/nagios-with-sms-notification/ My question is, what are the correct "define command"s for the service and host if i use this pluggin? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charlycr74 at yahoo.com.ar Thu Jun 26 05:28:12 2008 From: charlycr74 at yahoo.com.ar (charlycr74 at yahoo.com.ar) Date: Wed, 25 Jun 2008 20:28:12 -0700 (PDT) Subject: disable event handlers during scheduled downtime Message-ID: <601102.82818.qm@web36101.mail.mud.yahoo.com> Hi, I set up Nagios with event handlers to restart an application in case it fails, when I have to do a maintenance of it, I schedule downtime, but when I start working on the maintenance, Nagios restarts it and does not let me work, so, what I'm doing now, is stopping Nagios, but I know that it is not the best solution. I can disable the event handler every time that I have maintenace window, but I have around 100 services on it and to disable one by one takes forever. Someone knows if there is any other possibility to do disable event handlers during schedule downtime? Thanks, Charly ____________________________________________________________________________________ ?Busc? desde tu celular! Yahoo! oneSEARCH ahora est? en Claro http://ar.mobile.yahoo.com/onesearch ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dirk.schulz at kinzesberg.de Thu Jun 26 06:46:14 2008 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Thu, 26 Jun 2008 06:46:14 +0200 Subject: HOWTO for nagiosgrapher In-Reply-To: <98f364d40806251124r7f1da0delc3e8e7d065f2d5bd@mail.gmail.com> References: <98f364d40806251124r7f1da0delc3e8e7d065f2d5bd@mail.gmail.com> Message-ID: <8A07BC97838991F5FEEFC3AE@Dirks-MacBook-Pro.local> Stephan, --On 25. Juni 2008 14:24:57 -0400 Stephen Valdinger wrote: > Does anyone have notes on how to get nagiosgrapher up and running on an > ubuntu installation? I've downloaded the stuff, but there is no configure > scripts or anything, and the documentation just plain well sucks. Any > help or pointers would be wonderful. Google yielded a few very vague and > unhelpful results on the matter. I'm running ubuntu 7.10 and nagios 2.10 > with NDO installed and NagVis. Have you tried the Debian configure script? According to my experience you have to call two distri specific parameters (--with-layout=DISTRI --with...=DISTRI), but I do not remember the second at the moment. Dirk -------------------------------------------------------------- Dirk H. Schulz IT Systems Service Wiesenweg 12, 85567 Grafing Tel. 0 80 92/86 25 68 Fax. 0 80 92/86 25 72 -------------------------------------------------------------- Technik vom Feinsten - und das n?tige Tuning ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 26 07:00:06 2008 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Thu, 26 Jun 2008 01:00:06 -0400 Subject: Custom Cfg files? In-Reply-To: <92dab8800806251959x500ee64fv3eb0cb95ad1e4bc2@mail.gmail.com> References: <92dab8800806251959x500ee64fv3eb0cb95ad1e4bc2@mail.gmail.com> Message-ID: <48632256.2050805@iweb.com> You should look in the manual for the configuration variable "cfg_file": http://nagios.sourceforge.net/docs/3_0/configmain.html Mathieu Shoaibi wrote: > What if i create my config files and want to use them instead of the > default files? > > Like suppose: > Default files are: > contact.cfg > template.cfg > commands.cfg > localhost.cfg > > and i want to create files like: > test_contact.cfg > test_template.cfg > test_commands.cfg > test_localhost.cfg > > and want to use these, even if those files exist? > Or should i change data in those 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 hvdkooij at vanderkooij.org Thu Jun 26 10:53:37 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 26 Jun 2008 10:53:37 +0200 Subject: Custom Cfg files? In-Reply-To: <92dab8800806251959x500ee64fv3eb0cb95ad1e4bc2@mail.gmail.com> References: <92dab8800806251959x500ee64fv3eb0cb95ad1e4bc2@mail.gmail.com> Message-ID: <48635911.4040307@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Shoaibi wrote: | What if i create my config files and want to use them instead of the | default files? | | Like suppose: | Default files are: | contact.cfg | template.cfg | commands.cfg | localhost.cfg | | and i want to create files like: | test_contact.cfg | test_template.cfg | test_commands.cfg | test_localhost.cfg | | and want to use these, even if those files exist? | Or should i change data in those files? Nagios allows you great flexibility. I define config directories for my hosts, services, ..... Then adding host is adding another file in the hosts subdirectory. You can do this in dozens of ways with 1 big config file, or dozens of small ones, or just a hand full. 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) iD8DBQFIY1kQBvzDRVjxmYERAn+yAJ4tcNQJkjCD3ihZE9vAC/GWd9DjVACggiQO nl3egLPM5iWO+VyI3BRgXn0= =TBfV -----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 Steffen.Knauf at liga01.de Thu Jun 26 11:15:00 2008 From: Steffen.Knauf at liga01.de (Steffen Knauf) Date: Thu, 26 Jun 2008 11:15:00 +0200 Subject: Check_mrtgtraf In-Reply-To: <20080625111534.b7ei84w8jdsgs84w@webmail.casadamoeda.gov.br> References: <20080624160711.h6u90hknq5lw4w48@webmail.casadamoeda.gov.br> <48621EBF.4060102@liga01.de> <20080625111534.b7ei84w8jdsgs84w@webmail.casadamoeda.gov.br> Message-ID: <48635E14.1050702@liga01.de> > > * What I don?t understand is that when I use:* > > ./check_mrtgtraf -F /var/www/mrtg/memswap.log -a MAX > > * I get this answer:* > > Traffic CRITICAL - Max. In = 217.0 B/s, Max. Out = 0.0 > B/s|in=217.000000B/s;;;0.000000 > in=0.000000B/s;;;0.000000 > > * So, How do I translate this to the correct syntax in check_mrtgtraf! ...* > I think there is a small bug in the plugin. The second "in" is wrong. It's out: in=217.000000B/s;;;0.000000 out=0.000000B/s;;;0.000000 A user in a german forum make the revised sourcecode available: http://www.nagios-portal.org/wbb/index.php?page=Thread&postID=75921&highlight=check_mrtgtraf#post75921 command_line $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -e $ARG5$ is the same as: /usr/local/nagios/libexec/check_mrtgtraf -F 10.1.1.1_4.log -a MAX -w 50000000,50000000 -c 10000000,10000000 -e 5 But this output is only meaningful if you use grapher ,ngraph per example. With the correct regex in the ngraph definition you have a wonderful graph ;) greets Steffen ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 26 11:36:09 2008 From: tom.deblende at dhl.com (Tom DE BLENDE (EECC) (DHL)) Date: Thu, 26 Jun 2008 11:36:09 +0200 Subject: Populate switches and routers Message-ID: <51E526870A2BE041B2A56BBDC389BADC03D6E71F@PRGDCEX007.prg-dc.dhl.com> Hi list, Has anyone any experience with using cdp or another discovery method to automate the process of setting up your network layout in Nagios? I have to roll out Nagios in a network with hundreds of (Cisco) switches and routers, and was wondering what would be the most efficient way to do it. To make things worse, most servers have bounded nics and are attached to different switches... Does Nagios have the intelligence to deal with that in terms of parent/child relationships? Thanks, Tom -------------- 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 Oliver.Devoogdt at itsmtaxud.europa.eu Thu Jun 26 11:39:49 2008 From: Oliver.Devoogdt at itsmtaxud.europa.eu (Oliver Devoogdt) Date: Thu, 26 Jun 2008 11:39:49 +0200 Subject: AIX install Message-ID: <7DAB5B92206EA041AB3E53604AB1A1423EA1551281@msxch01.itsmtaxud.priv> Hi, I can't find a way to complete the compilation for the latest version of Nagios on my AIX 5.3 machine. Is there an rpm out there somewhere to ease up the installation ? Just need a client (it needs to interact with our SCOM server. Thanks, Oliver Devoogdt ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ITLJ at gyldendal.dk Thu Jun 26 12:31:06 2008 From: ITLJ at gyldendal.dk (=?iso-8859-1?Q?Lars_J=F8rgensen?=) Date: Thu, 26 Jun 2008 12:31:06 +0200 Subject: using $ in service definition In-Reply-To: References: Message-ID: <311386E60ED7E74C8716A6573A7740A00A593A4F6E@s-exch01-v.gyldendal.local> It does. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Anthony Montibello Sent: Wednesday, June 25, 2008 1:59 AM To: Seth Simmons Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] using $ in service definition I thought $$ also worked in service definitions. Tony (Author of NC_NEt) On Mon, Jun 23, 2008 at 10:15 PM, Seth Simmons > wrote: ahh that did it I knew with $ used for macros there had to be some special character to get around it and that was it. Thanks -----Original Message----- From: Tim Wilson [mailto:twilson at buffalo.k12.mn.us] Sent: Monday, June 23, 2008 10:03 PM To: Seth Simmons; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] using $ in service definition >>> On Mon, Jun 23, 2008 at 8:17 PM, in message <13F36D2926AD444697093282F20041B7074C0A68 at buf-ex01.cymfony.com>, "Seth Simmons" > wrote: > There is a sql express 2005 service I want to monitor, however the > service is created as MSSQL$SQLEXPRESS and Nagios shows a warning saying > MSSQL is unknow. Seth, Try MSSQL$"$"SQLEXPRESS -Tim -- Tim Wilson, Director of Technology Buffalo-Hanover-Montrose Schools 214 1st Ave NE Buffalo, MN 55313 ph: 763.682.8740 fax: 763.682.8743 http://www.buffalo.k12.mn.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 -------------- 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 harry.hart.ctr at jfcom.mil Thu Jun 26 13:28:05 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Thu, 26 Jun 2008 07:28:05 -0400 Subject: NRPE Plug-in to count files Message-ID: Hello all Does anyone know of a plug-in that I can get that will count files in a directory? (Linux and Win) Thanks 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 Sebastian.Ries at dtnet.de Thu Jun 26 13:28:54 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 26 Jun 2008 13:28:54 +0200 Subject: not all contacst notified... Message-ID: <1214479734.12448.15.camel@bofh.dtnet.de> Hi there I found the problem that sometimes (ok, it occurred once) that not all contacts get notified on a state change... When a service goes down there are 6 email-contacts and one additional sms-contact (technically it is an email as well) that should get notified. But one time only the 6 contacts got notified by mail, but noch sms-notification was sent out... (in the web-interface I can see that nagios even did not try to send the notification to that particular contact :-( Did anyone have this problem before? Or does anyone have some hints where to take a look at? Btw: We are still running nagios 1.3 installed as a Debian sarge package (never touch a running system...) Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 26 13:55:57 2008 From: iknewitalready at gmail.com (Shoaibi) Date: Thu, 26 Jun 2008 17:55:57 +0600 Subject: Kannel and Nagios Message-ID: <92dab8800806260455r60815anca3025ff497f8a01@mail.gmail.com> Can anyone guide me a little on how can i use Kannel as SMS gateway for: Nagios + notify_with_sms Kannel is at: http://www.kannel.org/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 26 13:56:39 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Thu, 26 Jun 2008 07:56:39 -0400 Subject: AIX install In-Reply-To: <7DAB5B92206EA041AB3E53604AB1A1423EA1551281@msxch01.itsmtaxud.priv> References: <7DAB5B92206EA041AB3E53604AB1A1423EA1551281@msxch01.itsmtaxud.priv> Message-ID: <1214481399.16058.1.camel@localhost.localdomain> On Thu, 2008-06-26 at 11:39 +0200, Oliver Devoogdt wrote: > Hi, > > > I can't find a way to complete the compilation for the latest version > of Nagios on my AIX 5.3 machine. Oh man...AIX. Best bet is to install the linux compat packages and try to get Pkgsrc[.org] to build. ~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 Thu Jun 26 14:00:47 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Thu, 26 Jun 2008 08:00:47 -0400 Subject: Populate switches and routers In-Reply-To: <51E526870A2BE041B2A56BBDC389BADC03D6E71F@PRGDCEX007.prg-dc.dhl.com> References: <51E526870A2BE041B2A56BBDC389BADC03D6E71F@PRGDCEX007.prg-dc.dhl.com> Message-ID: <1214481647.16058.6.camel@localhost.localdomain> On Thu, 2008-06-26 at 11:36 +0200, Tom DE BLENDE (EECC) (DHL) wrote: > Hi list, > > Has anyone any experience with using cdp or another discovery method > to automate the process of setting up your network layout in Nagios? I > have to roll out Nagios in a network with hundreds of (Cisco) switches You could use perl/php to do this in about 20 lines by parsing "sh bgp neighbors" or "show cdp *" It depends on how many interfaces on every router that you'd like to monitor, and whether they have proper reverse/forward DNS for every interface. ~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 boph at tdchosting.dk Thu Jun 26 14:22:47 2008 From: boph at tdchosting.dk (Bo Philip Larsen) Date: Thu, 26 Jun 2008 14:22:47 +0200 Subject: NRPE Plug-in to count files In-Reply-To: References: Message-ID: <02EAC0960BFECB4F9EAEC26B4972EE4471C789EACC@TDCHEXBE01.int.tdch.dk> Hi, Look here http://nagiosexchange.altinity.org/nagiosexchange/Check_Filecount/ /Bo -----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: 26. juni 2008 13:28 To: nagios Mailinglist Subject: [Nagios-users] NRPE Plug-in to count files Hello all Does anyone know of a plug-in that I can get that will count files in a directory? (Linux and Win) Thanks 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 14:30:48 2008 From: marc at ena.com (Marc Powell) Date: Thu, 26 Jun 2008 07:30:48 -0500 Subject: disable event handlers during scheduled downtime In-Reply-To: <601102.82818.qm@web36101.mail.mud.yahoo.com> References: <601102.82818.qm@web36101.mail.mud.yahoo.com> Message-ID: On Jun 25, 2008, at 10:28 PM, charlycr74 at yahoo.com.ar wrote: > Hi, > > I set up Nagios with event handlers to restart an application in > case it fails, when I have to do a maintenance of it, I schedule > downtime, but when I start working on the maintenance, Nagios > restarts it and does not let me work, so, what I'm doing now, is > stopping Nagios, but I know that it is not the best solution. > > > I can disable the event handler every time that I have maintenace > window, but I have around 100 services on it and to disable one by > one takes forever. > > Someone knows if there is any other possibility to do disable event > handlers during schedule downtime? Looks like you can pass this variable to your event handler and exit if it's > 0. http://nagios.sourceforge.net/docs/3_0/macrolist.html $SERVICEDOWNTIME$ A number indicating the current "downtime depth" for the service. If this service is currently in a period of scheduled downtime, the value will be greater than zero. If the service is not currently in a period of downtime, this value will be zero. -- 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 Sebastian.Ries at dtnet.de Thu Jun 26 14:32:20 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 26 Jun 2008 14:32:20 +0200 Subject: not all contacst notified... In-Reply-To: <1214479734.12448.15.camel@bofh.dtnet.de> References: <1214479734.12448.15.camel@bofh.dtnet.de> Message-ID: <1214483540.12448.20.camel@bofh.dtnet.de> Hi > I found the problem that sometimes (ok, it occurred once) that not all > contacts get notified on a state change... > > When a service goes down there are 6 email-contacts and one additional > sms-contact (technically it is an email as well) that should get > notified. > But one time only the 6 contacts got notified by mail, but noch > sms-notification was sent out... (in the web-interface I can see that > nagios even did not try to send the notification to that particular > contact :-( > > Did anyone have this problem before? I found the "problem"... "Not a Bug, it's a feature..." ;-) nagios counts notification NOT depending on if it ist Warning or Critical... So the first message was sent out as Warning and the following messages were sent out as Critical. As the sms is only configured tot be sent at the first notification no Critical notification was sent out via sms :-/ Is it possible to configure nagios to start with notification no. 1 as a service changes from Warning to Critical? Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 14:36:42 2008 From: marc at ena.com (Marc Powell) Date: Thu, 26 Jun 2008 07:36:42 -0500 Subject: Populate switches and routers In-Reply-To: <51E526870A2BE041B2A56BBDC389BADC03D6E71F@PRGDCEX007.prg-dc.dhl.com> References: <51E526870A2BE041B2A56BBDC389BADC03D6E71F@PRGDCEX007.prg-dc.dhl.com> Message-ID: On Jun 26, 2008, at 4:36 AM, Tom DE BLENDE (EECC) (DHL) wrote: > > To make things worse, most servers have bounded nics and are > attached to different switches... Does Nagios have the intelligence > to deal with that in terms of parent/child relationships? You can specify multiple parents for a host. As long as you don't have circular dependencies, nagios should do the right thing. -- 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 kgs at uvm.edu Thu Jun 26 16:04:12 2008 From: kgs at uvm.edu (Kent Saunders) Date: Thu, 26 Jun 2008 10:04:12 -0400 Subject: Nagios 2.12 author format Message-ID: <4863A1DC.5060807@uvm.edu> I have just upgraded from Nagios 2.10 to 2.12 on Red Hat Enterprise Linux 4, update 6. I am now seeing a formatting issue with pre-populated user names in comments and downtime. Examples, "John Doe" displays as "John+Doe", and "jdoe at here.com" shows as "jdoe%40here.com". These are the names that are pre-populated in the "Author (Your Name)" fields. If I edit the pre-populated name before committing the update, the correct format shows in the logs. This particular installation has been upgraded from 2.0, hitting more than half the point releases. There were no config file changes as part of this upgrade. It was built by running "./configure --with-command-group=nagiocmd;make all;make install;make install-init;make install-commandmode". Has anyone else seen this? Is this a new bug in 2.11 or 2.12? Thanks, -kent ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 26 18:59:28 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Thu, 26 Jun 2008 12:59:28 -0400 Subject: NRPE Plug-in to count files Message-ID: I am resending this because I neglected to say that I wanted to monitor file numbers on remote hosts. Hello all Does anyone know of a plug-in that I can get that will count files in a directory? (Linux and Win) Thanks 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 ae at op5.se Thu Jun 26 19:21:46 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 26 Jun 2008 19:21:46 +0200 Subject: [Fwd: Bug Reporting / Issue Tracking System ?] In-Reply-To: <84660163-A808-40B4-86A9-056B79D291B5@ena.com> References: <1214326155.2823.447.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625181410.GG12255@cgi.jachomes.com> <1214422683.2823.509.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625194124.GP12255@cgi.jachomes.com> <1214424670.2823.521.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625201447.GT12255@cgi.jachomes.com> <84660163-A808-40B4-86A9-056B79D291B5@ena.com> Message-ID: <4863D02A.6030604@op5.se> Marc Powell wrote: > On Jun 25, 2008, at 3:14 PM, Jay R. Ashworth wrote: > >>> Oh, I'm all for ticketing systems... as long as they aren't giving >> people the impression that work is likely to be done which will not in >> fact ever be done. Have you looked at The Original Bugzilla >> lately? ;-) > > Has anyone bothered to ask Ethan why he has chosen not to use the SF > bugtracker? There are tons of reasons not to use the SF bugtracker (it sucks). I think I can answer why he's not using *any* bugtracker, drawing from memories of an email thread way way back when someone wanted a single bugtracker (and got quite vehemant about it towards the end). A bugtracker is a fire-and-forget kind of sink where users are supposed to be able to add bugs, feature-requests and patches. Since the options boil down to a) Random users have "add bug" access to the tracker. b) Someone manages the bugtracker. The problem with a) is that the data in the tracker quickly gets a very poor signal-to-noise ratio, where people post RTFM issues, minor annoyances and duplicate bug reports (these things happen because most people are lazy retards). The use of the tracker quickly deteriorates to the point where some people moan about there being issues in the tracker that are 2+ years old and nobody cares about them. The problem with b) is that it requires additional effort from the developer(s) (one extra place to check for bugs) and, if such a one is present, the tracker manager. Otherwise it's devs again. You'll still have to have the mailing list for pooling ideas and random chitchat, so everything that should have gone to the tracker has a chance of ending up on the mailing list instead, where someone has to move it to the tracker and then get to work on it. An extra step = bad. We're talking about people working pro bono here, so there's no way of forcing anyone to do anything, which means noone will do the boring parts, ie. copy-paste stuff from the mailing list to the tracker. As things stand today, Ethan is pretty much the only one fixing bugs and adding features to Nagios, so he can manage his own little todo list any old way he wants. I'm guessing he's not willing to change his workflow without some significant benefit for himself, such as a second developer, or a group of developers, asking for a tracker so they can coordinate their work. Personally, I wouldn't care very much for users wanting a bugtracker, because they wouldn't be the ones using it (except to report bugs, but on average people do that so poorly they might as well not bother). I *would* care if some proven developers stepped up and said "hey, we've got x active bugs and y feature-requests, but we have no idea of knowing who's doing what without constantly talking to each other. I've set up this tracker here and added all the current issues to it, and I'm gonna be using that, so check there if you want to know what you can leave for me". It's the difference between saving time and wasting it. > > p.s. IMHE, there are not a lot of bugs related to nagios-stable and > any real, verified bugs get fixed relatively quickly. Could be my rose- > colored glasses though. > It's not just your rose-colored glasses. Ethan's got a very good sense of priority and he's very keen on keeping a good track-record. Besides, if there are ever real show-stopper bugs in Nagios, I know that I would at least be instantly assigned full-time to fixing it, and I think many other companies have similar priorities if it ever gets close to affecting their customers. -- 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 Thu Jun 26 19:22:38 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 26 Jun 2008 19:22:38 +0200 Subject: NRPE Plug-in to count files In-Reply-To: References: Message-ID: <4863D05E.1030200@op5.se> Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > I am resending this because I neglected to say that I wanted to monitor > file numbers on remote hosts. > files=$(find -type f | wc -l) There, I just wrote one for you ;-) -- 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 aaron.segura at cabelas.com Thu Jun 26 19:25:16 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Thu, 26 Jun 2008 11:25:16 -0600 Subject: NRPE Plug-in to count files In-Reply-To: References: Message-ID: <1214501117.6529.7.camel@localhost> This seems like the kind of thing nagiosexchange was built for. Have you checked there yet? On Thu, 2008-06-26 at 12:59 -0400, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > I am resending this because I neglected to say that I wanted to monitor > file numbers on remote hosts. > > > Hello all > > Does anyone know of a plug-in that I can get that will count files in a > directory? (Linux and Win) > > Thanks > 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 26 19:35:12 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Thu, 26 Jun 2008 13:35:12 -0400 Subject: NRPE Plug-in to count files In-Reply-To: <1214501117.6529.7.camel@localhost> References: <1214501117.6529.7.camel@localhost> Message-ID: 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: Aaron M. Segura [mailto:aaron.segura at cabelas.com] Sent: Thursday, June 26, 2008 1:25 PM To: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I Cc: nagios Mailinglist Subject: Re: [Nagios-users] NRPE Plug-in to count files >This seems like the kind of thing nagiosexchange was built for. Have you checked there yet? I downloaded the check_numoffiles.sh script and modified it for use but that only works on the local machine. I need to count on remote systems. On Thu, 2008-06-26 at 12:59 -0400, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > I am resending this because I neglected to say that I wanted to > monitor file numbers on remote hosts. > > > Hello all > > Does anyone know of a plug-in that I can get that will count files in > a directory? (Linux and Win) > > Thanks > 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 26 19:36:48 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Thu, 26 Jun 2008 23:06:48 +0530 Subject: CHECK_NRPE: Error Message-ID: <6b16fb4c0806261036k1afa138fsebb1fe7e8fa72f0e@mail.gmail.com> Hi, I am getting this information in the web interface of Nagios. The below is momentarily appearing means to say it appears for some time and then disappears. CHECK_NRPE: Error - Could not complete SSL handshake. I have referred to the FAQ too http://www.nagios.org/faqs/viewfaq.php?faq_id=191 and have full filled all the requirements I am actually looking for nagios-nrpe-2.8.1 version for CentOS release 5 (Final) rpm. I have looked in rpmforge. Not able to find it Any help would be really appreciated 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 kgs at uvm.edu Thu Jun 26 19:41:35 2008 From: kgs at uvm.edu (Kent Saunders) Date: Thu, 26 Jun 2008 13:41:35 -0400 Subject: NRPE Plug-in to count files In-Reply-To: References: <1214501117.6529.7.camel@localhost> Message-ID: <4863D4CF.9010806@uvm.edu> Put this in the remote systems nrpe.cfg file... (and restart nrpe) command[check_numoffiles]=/usr/local/nagios/libexec/check_numoffiles.sh Then from the Nagios host call that script by running... /usr/local/nagios/libexec/check_nrpe -H hostname -c check_numoffiles -kent Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > > > > 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: Aaron M. Segura [mailto:aaron.segura at cabelas.com] > Sent: Thursday, June 26, 2008 1:25 PM > To: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I > Cc: nagios Mailinglist > Subject: Re: [Nagios-users] NRPE Plug-in to count files > > >> This seems like the kind of thing nagiosexchange was built for. Have >> > you checked there yet? > > I downloaded the check_numoffiles.sh script and modified it for use but > that only works on the local machine. I need to count on remote systems. > > > On Thu, 2008-06-26 at 12:59 -0400, Hart, Harry M. CTR USJFCOM > SUPPORT.SUPPORT JTC-I wrote: > >> I am resending this because I neglected to say that I wanted to >> monitor file numbers on remote hosts. >> >> >> Hello all >> >> Does anyone know of a plug-in that I can get that will count files in >> a directory? (Linux and Win) >> >> Thanks >> 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 >> > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Thu Jun 26 20:24:12 2008 From: marc at ena.com (Marc Powell) Date: Thu, 26 Jun 2008 13:24:12 -0500 Subject: NRPE Plug-in to count files In-Reply-To: <4863D4CF.9010806@uvm.edu> References: <1214501117.6529.7.camel@localhost> <4863D4CF.9010806@uvm.edu> Message-ID: On Jun 26, 2008, at 12:41 PM, Kent Saunders wrote: > Put this in the remote systems nrpe.cfg file... (and restart nrpe) > command[check_numoffiles]=/usr/local/nagios/libexec/ > check_numoffiles.sh > > Then from the Nagios host call that script by running... > /usr/local/nagios/libexec/check_nrpe -H hostname -c check_numoffiles And -- Copy check_numoffiles.sh to /usr/local/nagios/libexec on the destination machine. -- 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 26 20:26:55 2008 From: marc at ena.com (Marc Powell) Date: Thu, 26 Jun 2008 13:26:55 -0500 Subject: CHECK_NRPE: Error In-Reply-To: <6b16fb4c0806261036k1afa138fsebb1fe7e8fa72f0e@mail.gmail.com> References: <6b16fb4c0806261036k1afa138fsebb1fe7e8fa72f0e@mail.gmail.com> Message-ID: On Jun 26, 2008, at 12:36 PM, Kaushal Shriyan wrote: > Hi, > > I am getting this information in the web interface of Nagios. The > below is momentarily appearing means to say it appears for some time > and then disappears. > > CHECK_NRPE: Error - Could not complete SSL handshake. > > I have referred to the FAQ too http://www.nagios.org/faqs/viewfaq.php?faq_id=191 > and have full filled all the requirements This has been discussed on this list in the last 7 days. Look to that discussion (or further back in the archives even) for suggestions. -- 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 aaron.segura at cabelas.com Thu Jun 26 20:57:03 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Thu, 26 Jun 2008 12:57:03 -0600 Subject: NRPE Plug-in to count files In-Reply-To: References: <1214501117.6529.7.camel@localhost> Message-ID: <1214506623.6529.10.camel@localhost> If you copy it to a remote system and run it using something like nrpe (for example) it will count files on the remote system. On Thu, 2008-06-26 at 13:35 -0400, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > > > 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: Aaron M. Segura [mailto:aaron.segura at cabelas.com] > Sent: Thursday, June 26, 2008 1:25 PM > To: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I > Cc: nagios Mailinglist > Subject: Re: [Nagios-users] NRPE Plug-in to count files > > >This seems like the kind of thing nagiosexchange was built for. Have > you checked there yet? > > I downloaded the check_numoffiles.sh script and modified it for use but > that only works on the local machine. I need to count on remote systems. > > > On Thu, 2008-06-26 at 12:59 -0400, Hart, Harry M. CTR USJFCOM > SUPPORT.SUPPORT JTC-I wrote: > > I am resending this because I neglected to say that I wanted to > > monitor file numbers on remote hosts. > > > > > > Hello all > > > > Does anyone know of a plug-in that I can get that will count files in > > a directory? (Linux and Win) > > > > Thanks > > 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 26 20:59:30 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Fri, 27 Jun 2008 00:29:30 +0530 Subject: CHECK_NRPE: Error In-Reply-To: References: <6b16fb4c0806261036k1afa138fsebb1fe7e8fa72f0e@mail.gmail.com> Message-ID: <6b16fb4c0806261159y17fc4128m7477fee77e358a3f@mail.gmail.com> On Thu, Jun 26, 2008 at 11:56 PM, Marc Powell wrote: > > On Jun 26, 2008, at 12:36 PM, Kaushal Shriyan wrote: > > > Hi, > > > > I am getting this information in the web interface of Nagios. The > > below is momentarily appearing means to say it appears for some time > > and then disappears. > > > > CHECK_NRPE: Error - Could not complete SSL handshake. > > > > I have referred to the FAQ too > http://www.nagios.org/faqs/viewfaq.php?faq_id=191 > > and have full filled all the requirements > > This has been discussed on this list in the last 7 days. Look to that > discussion (or further back in the archives even) for suggestions. > > -- > 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 > Hi Marc Can you please provide me the URL or paste me the discussion 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 trice at cisco.com Thu Jun 26 21:05:32 2008 From: trice at cisco.com (Tony Rice (trice)) Date: Thu, 26 Jun 2008 15:05:32 -0400 Subject: Status map image scaled up in in FireFox 3 In-Reply-To: <4863D4CF.9010806@uvm.edu> References: <1214501117.6529.7.camel@localhost> <4863D4CF.9010806@uvm.edu> Message-ID: The png image generated by statusmap.cgi is displaying oddly on FireFox 3 for me. It's fine in IE. When viewing just the image (right click on map, select view image), and http://mynagiosserver/nagios/cgi-bin/statusmap.cgi?host=all&createimage& time=1214489939&canvas_x=0&canvas_y=0&canvas_width=715&canvas_height=405 &max_width=0&max_height=0&layout=3&layermode=exclude The header confirms that image is 715x405 but it's upscaled a bit, making it not fit so well on the page and reducing the quality of the image. When I reload, it displays correctly. I've not seen this with any other PNG images. Anyone else seen this? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 21:25:07 2008 From: marc at ena.com (Marc Powell) Date: Thu, 26 Jun 2008 14:25:07 -0500 Subject: CHECK_NRPE: Error In-Reply-To: <6b16fb4c0806261159y17fc4128m7477fee77e358a3f@mail.gmail.com> References: <6b16fb4c0806261036k1afa138fsebb1fe7e8fa72f0e@mail.gmail.com> <6b16fb4c0806261159y17fc4128m7477fee77e358a3f@mail.gmail.com> Message-ID: <892BA133-184E-4DCA-B943-298A6E1C3EF9@ena.com> On Jun 26, 2008, at 1:59 PM, Kaushal Shriyan wrote: > Can you please provide me the URL or paste me the discussion http://www.nagios.org/support/mailinglists.php - "NRPE Install Error" -- 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 mark.frost1 at pepsi.com Thu Jun 26 23:00:25 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 26 Jun 2008 17:00:25 -0400 Subject: no max check attempts for host checking? In-Reply-To: <482BA1CF.4040502@aei.ca> References: <482BA1CF.4040502@aei.ca> Message-ID: >-----Original Message----- >From: nagios-users-bounces at lists.sourceforge.net >[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >Of Thomas Guyot-Sionnest >Sent: Wednesday, May 14, 2008 10:37 PM >To: Mark Frost >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] no max check attempts for host checking? > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >On 09/05/08 12:46 PM, Mark Frost wrote: >> Hello. I have something that's not working the way I'd expect. >> >> We are monitoring services on windows hosts and as is common >practice, >> not explicitly checking the host state. Wehn the host gets >rebooted, I >> expect that a service might fail, then Nagios would attempt a host >> check. I would like the host check to not alert on a single ping >> failure, but rather hold off for say 5 failures before it sends an >> alert. The intent is to not get an alert if the box is just being >> rebooted. >> >> I've set the following for my test host: >> >> max_check_attempts 10 >> check_interval 0 >> retry_interval 1 >> active_checks_enabled no >> >> >> Our configuration is a distributed one so the distributed node has >> obsession turned on, but the central node does not. >> >> When testing, we find that no matter what I set the >max_check_attempts >> to, an alert is sent on the first ping failure. >> >> Is there something I'm missing? > >No. Nagios 2.0 always treat passive host checks as HARD. > >Here's the answer from Ethan about this: > >http://osdir.com/ml/network.nagios.devel/2006-07/msg00009.html > >Thomas Hmmm. I'm actually running Nagios 3.0.2 (sorry forgot to mention that). The central server has host checking disabled, but allows passive checks. The distributed node is configured for active checks (of course) and obsessing. The host configuration on the distributed node lists the max_check_attempts as 10. 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 mikronixx at gmail.com Fri Jun 27 00:56:49 2008 From: mikronixx at gmail.com (Mike Krohn) Date: Thu, 26 Jun 2008 15:56:49 -0700 Subject: unusual check_swap behavior Message-ID: <523351f80806261556r30b36963mdb90abfe12e6718d@mail.gmail.com> To All, When I run check_swap on one of my systems, i get the following result: :~> /usr/lib/nagios/plugins/check_swap --warning=75% --critical=85% CRITICAL - Swap used: -2147483648% (0 out of 0) What is going on? my memory use is: total used free shared buffers cached Mem: 505548 438184 67364 0 10196 340544 Swap: 4194296 0 4194296 so the result does not make sense. OS: SuSE Linux 9.1 (i586) VERSION = 9.1 NRPE version: check_swap (nagios-plugins 1.3.1) 1.9 Thanks in advance, Mike -------------- 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 emanuel.massano at fccn.pt Fri Jun 27 02:39:13 2008 From: emanuel.massano at fccn.pt (Emanuel Massano) Date: Fri, 27 Jun 2008 01:39:13 +0100 Subject: no max check attempts for host checking? In-Reply-To: References: Message-ID: <486436B1.5080302@fccn.pt> Frost, Mark {PBG} wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >> Of Thomas Guyot-Sionnest >> Sent: Wednesday, May 14, 2008 10:37 PM >> To: Mark Frost >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] no max check attempts for host checking? >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 09/05/08 12:46 PM, Mark Frost wrote: >>> Hello. I have something that's not working the way I'd expect. >>> >>> We are monitoring services on windows hosts and as is common >> practice, >>> not explicitly checking the host state. Wehn the host gets >> rebooted, I >>> expect that a service might fail, then Nagios would attempt a host >>> check. I would like the host check to not alert on a single ping >>> failure, but rather hold off for say 5 failures before it sends an >>> alert. The intent is to not get an alert if the box is just being >>> rebooted. >>> >>> I've set the following for my test host: >>> >>> max_check_attempts 10 >>> check_interval 0 >>> retry_interval 1 >>> active_checks_enabled no >>> >>> >>> Our configuration is a distributed one so the distributed node has >>> obsession turned on, but the central node does not. >>> >>> When testing, we find that no matter what I set the >> max_check_attempts >>> to, an alert is sent on the first ping failure. >>> >>> Is there something I'm missing? >> No. Nagios 2.0 always treat passive host checks as HARD. >> >> Here's the answer from Ethan about this: >> >> http://osdir.com/ml/network.nagios.devel/2006-07/msg00009.html >> >> Thomas > > Hmmm. I'm actually running Nagios 3.0.2 (sorry forgot to mention that). > > The central server has host checking disabled, but allows passive > checks. The distributed node is configured for active checks (of > course) and obsessing. The host configuration on the distributed node > lists the max_check_attempts as 10. > Hi, I had the same problem and reported the bug to nagios-devel. The problem is in the orphan host checks. In the changelog for v3.0.3 it seems it has been fixed :) Thanks!! So just try the new nagios version! Cheers, Emanuel Massano > 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angc0020 at ntu.edu.sg Fri Jun 27 03:13:26 2008 From: angc0020 at ntu.edu.sg (Jason) Date: Fri, 27 Jun 2008 01:13:26 +0000 (UTC) Subject: Does NDOUtils works with Nagio 3.0.x ? Message-ID: Hi all, Has anyone tried using NDOUtils with Nagios 3.0.x? Does it work fine? According to my fren who used NDOUtils 1.4b7 on Nagios 3.0.1, accessing the mysql db to look at the stored info took a long time. Sometimes, it would hang. 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 christopher.falk at reliablenetworks.com Fri Jun 27 03:35:32 2008 From: christopher.falk at reliablenetworks.com (Christopher Falk) Date: Thu, 26 Jun 2008 21:35:32 -0400 (EDT) Subject: Escaping Exclamation Points Message-ID: <28831766.798481214530532368.JavaMail.root@viognier.reliablenetworks.com> Hello all, Never posted here before, but it's been helpful to follow along with the various threads. My issue is with checking NT services with exclamation points in their names. The following check command is sent to NSClient++: check_nt_service!'Act! Scheduler' and fails with a No Output! error in Nagios. I've tried \!, $!, double quotes, and to no avail. Has anybody had success escaping an exclamation point when it's part of a service name sent to NSClient++? Thanks in advance, Chris -- _________________________________________________________ A Message From... Christopher Falk Reliable Networks of Maine, LLC "Uptime. All the time." 477 Congress Street Portland, ME 04101 Tel: (207) 772-5678 Web: http://www.reliablenetworks.com This email was sent from Reliable Networks of Maine LLC. It may contain information that is privileged and confidential. If you suspect that you were not intended to receive it, please delete it and notify us as soon as possible. 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 llow at telesphere.com Fri Jun 27 05:22:56 2008 From: llow at telesphere.com (Larry Low) Date: Thu, 26 Jun 2008 20:22:56 -0700 Subject: Does NDOUtils works with Nagio 3.0.x ? In-Reply-To: References: Message-ID: I'm running it without too much problems (~3 minute start) with the event_broker_options of 36865 which is BROKER_RETENTION_DATA | BROKER_STATUS_DATA | BROKER_PROGRAM_STATE. That's with 900 hosts and 7300 services (1000-2000 checks are only passive, others are active/passive). ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jason [angc0020 at ntu.edu.sg] Sent: Thursday, June 26, 2008 6:13 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Does NDOUtils works with Nagio 3.0.x ? Hi all, Has anyone tried using NDOUtils with Nagios 3.0.x? Does it work fine? According to my fren who used NDOUtils 1.4b7 on Nagios 3.0.1, accessing the mysql db to look at the stored info took a long time. Sometimes, it would hang. 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 ntserafica at yahoo.com Fri Jun 27 08:27:50 2008 From: ntserafica at yahoo.com (Nelson Serafica) Date: Thu, 26 Jun 2008 23:27:50 -0700 (PDT) Subject: problem in nagiosgraph Message-ID: <158902.80745.qm@web62406.mail.re1.yahoo.com> i have running Nagios 2.10. I decided to add nagiosgraph to have graph result of my nagios. However, I can't make it work. Here is the things that I do: tar xvzf nagiosgraph-0.9.0.tgz cd nagiosgraph-0.9.0 mkdir /usr/local/nagios/nagiosgraph cp nagiosgraph.conf map insert.pl show.cgi /usr/local/nagios/nagiosgraph/ vi /usr/local/nagios/nagiosgraph/nagiosgraph.conf (Edit logfile and perflog) chown nagios:nagios /usr/local/nagios/var/nagiosgraph.log mkdir /usr/local/nagios/nagiosgraph/rrd chown nagios:nagios /usr/local/nagios/nagiosgraph/rrd chown -R nagios:nagios /usr/local/nagios/nagiosgraph touch /usr/local/nagios/var/perfdata.log vi insert.pl and show.cgi (Change nagiosgraph.conf file) chown nagios:nagios /usr/local/nagios/var/perfdata.log chmod 664 /usr/local/nagios/var/nagiosgraph.log chmod 664 /usr/local/nagios/var/perfdata.log chmod 775 /usr/local/nagios/nagiosgraph/rrd/ chmod 666 /usr/local/nagios/var/nagiosgraph.log THen I edit checkocmmands.to put process-service-perfdata Here is my added config in my http.conf ScriptAlias /nagiosgraph/ /usr/local/nagios/nagiosgraph/ Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all Then I restart nagios. Then when I click the icon for nagiosgraph, it says: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Could this be only a http error? I dont see any error Get your preferred Email name! Now you can @ymail.com and @rocketmail.com. http://mail.promotions.yahoo.com/newdomains/ph/ -------------- 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 angc0020 at ntu.edu.sg Fri Jun 27 09:10:38 2008 From: angc0020 at ntu.edu.sg (Jason) Date: Fri, 27 Jun 2008 07:10:38 +0000 (UTC) Subject: Does NDOUtils works with Nagio 3.0.x ? References: Message-ID: Thanks. I will test it then. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Fri Jun 27 09:24:05 2008 From: ntserafica at yahoo.com (Nelson Serafica) Date: Fri, 27 Jun 2008 00:24:05 -0700 (PDT) Subject: problem in nagiosgraph Message-ID: <966980.53371.qm@web62409.mail.re1.yahoo.com> The error is now gone after installing perl-rrdtool. However, I'm seeing the error when I'm clicking the icon for nagiosgaph Nagiosgraph has detected an error in the configuration file: /usr/local/nagios/nagiosgraph/nagiosgraph.conf Looks like /usr/local/nagios/nagiosgraph/rrd is empty! As I check, it is empty. Upon checking the INSTALL file included in the source, there is no steps there saying I need to put something in the rrd directory. I only change the permission. Here is my nagiosgraph.log Fri Jun 27 15:27:47 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - No inputdata. Exiting. Fri Jun 27 15:27:53 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - nagiosgraph spawned Fri Jun 27 15:27:53 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - No inputdata. Exiting. However, my perfdata.log is empty Any suggestions? ----- Original Message ---- From: Nelson Serafica To: nagios-users at lists.sourceforge.net Sent: Friday, June 27, 2008 2:27:50 PM Subject: [Nagios-users] problem in nagiosgraph i have running Nagios 2.10. I decided to add nagiosgraph to have graph result of my nagios. However, I can't make it work. Here is the things that I do: tar xvzf nagiosgraph-0.9.0.tgz cd nagiosgraph-0.9.0 mkdir /usr/local/nagios/nagiosgraph cp nagiosgraph.conf map insert.pl show.cgi /usr/local/nagios/nagiosgraph/ vi /usr/local/nagios/nagiosgraph/nagiosgraph.conf (Edit logfile and perflog) chown nagios:nagios /usr/local/nagios/var/nagiosgraph.log mkdir /usr/local/nagios/nagiosgraph/rrd chown nagios:nagios /usr/local/nagios/nagiosgraph/rrd chown -R nagios:nagios /usr/local/nagios/nagiosgraph touch /usr/local/nagios/var/perfdata.log vi insert.pl and show.cgi (Change nagiosgraph.conf file) chown nagios:nagios /usr/local/nagios/var/perfdata.log chmod 664 /usr/local/nagios/var/nagiosgraph.log chmod 664 /usr/local/nagios/var/perfdata.log chmod 775 /usr/local/nagios/nagiosgraph/rrd/ chmod 666 /usr/local/nagios/var/nagiosgraph.log THen I edit checkocmmands.to put process-service-perfdata Here is my added config in my http.conf ScriptAlias /nagiosgraph/ /usr/local/nagios/nagiosgraph/ Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all Then I restart nagios. Then when I click the icon for nagiosgraph, it says: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Could this be only a http error? I dont see any error ________________________________ New Email names for you! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! New Email addresses available on Yahoo! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! http://mail.promotions.yahoo.com/newdomains/ph/ -------------- 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 Fri Jun 27 10:10:04 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Fri, 27 Jun 2008 10:10:04 +0200 Subject: Antwort: not all contacst notified... In-Reply-To: <1214479734.12448.15.camel@bofh.dtnet.de> References: <1214479734.12448.15.camel@bofh.dtnet.de> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 26.06.2008 13:28:54: > Did anyone have this problem before? > > Or does anyone have some hints where to take a look at? > > Btw: We are still running nagios 1.3 installed as a Debian sarge package > (never touch a running system...) I don't mean to be rude, but do you really think someone still cares for Nagios 1.3 and its problems? ;) You should consider upgrading to a supported version. Since that was no help to you, I'm sad to inform you that we cannot help you either, since we do know nothing about your configuration. Might it be that the sms contact has a different notification_period defined? All we can do is wild guesses. 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 markus.kornprobst at netways.de Fri Jun 27 10:02:35 2008 From: markus.kornprobst at netways.de (Markus Kornprobst) Date: Fri, 27 Jun 2008 10:02:35 +0200 Subject: HOWTO for nagiosgrapher Message-ID: <1214553755.6327.10.camel@nb-kornprobst> hello stephen, you find a detail INSTALL and CONFIG howto in the source-folder "doc". you need the autoconf to create the ./configure script. markus > Von: Stephen Valdinger > Datum: Wed, 25 Jun 2008 14:24:57 -0400 > An: > Betreff: [Nagios-users] HOWTO for nagiosgrapher > > Does anyone have notes on how to get nagiosgrapher up and running on an > ubuntu installation? I've downloaded the stuff, but there is no configure > scripts or anything, and the documentation just plain well sucks. Any help > or pointers would be wonderful. Google yielded a few very vague and > unhelpful results on the matter. I'm running ubuntu 7.10 and nagios 2.10 > with NDO installed and NagVis. > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------ Ende der weitergeleiteten Nachricht ------ Ende der weitergeleiteten Nachricht ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Fri Jun 27 10:50:30 2008 From: ntserafica at yahoo.com (Nelson Serafica) Date: Fri, 27 Jun 2008 01:50:30 -0700 (PDT) Subject: problem in nagiosgraph Message-ID: <268859.64959.qm@web62402.mail.re1.yahoo.com> I create serviceextinfo.cfg and put the ff: define serviceextinfo { service_description PING hostgroup DSL CLIENTS notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=ping,avg05min&rrdopts=%2Dl%200%20%2Du%20100 icon_image graph.jpg } Isn't this enough?Actually, I'm not sure if this is correct (the one on the notes_url). Do you have any url for a template for this? ----- Original Message ---- From: Hugo van der Kooij To: Nelson Serafica Sent: Friday, June 27, 2008 4:19:22 PM Subject: Re: [Nagios-users] problem in nagiosgraph -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nelson Serafica wrote: | The error is now gone after installing perl-rrdtool. However, I'm seeing | the error when I'm clicking the icon for nagiosgaph | | Nagiosgraph has detected an error in the configuration file: | /usr/local/nagios/nagiosgraph/nagiosgraph.conf | Looks like /usr/local/nagios/nagiosgraph/rrd is empty! | | As I check, it is empty. Upon checking the INSTALL file included in the | source, there is no steps there saying I need to put something in the | rrd directory. I only change the permission. | | Here is my nagiosgraph.log | | Fri Jun 27 15:27:47 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info | - No inputdata. Exiting. | Fri Jun 27 15:27:53 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug | - nagiosgraph spawned | Fri Jun 27 15:27:53 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info | - No inputdata. Exiting. | | However, my perfdata.log is empty You need to define what information you want to graph. Did you do that? If so, how? 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) iD8DBQFIZKKJBvzDRVjxmYERAhDNAKCm+7Vs41gZv/EU2dZpDzj1tQGrGwCdGtNW gnZO2Vq1tp23rlX+b4hSJFU= =OGDc -----END PGP SIGNATURE----- New Email names for you! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! http://mail.promotions.yahoo.com/newdomains/ph/ -------------- 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 ITLJ at gyldendal.dk Fri Jun 27 10:52:37 2008 From: ITLJ at gyldendal.dk (=?iso-8859-1?Q?Lars_J=F8rgensen?=) Date: Fri, 27 Jun 2008 10:52:37 +0200 Subject: Escaping Exclamation Points In-Reply-To: <28831766.798481214530532368.JavaMail.root@viognier.reliablenetworks.com> References: <28831766.798481214530532368.JavaMail.root@viognier.reliablenetworks.com> Message-ID: <311386E60ED7E74C8716A6573A7740A00A593A4F79@s-exch01-v.gyldendal.local> Hi Chris, > check_nt_service!'Act! Scheduler' > > and fails with a No Output! error in Nagios. I've tried \!, > $!, double quotes, and to no avail. Have you tried double exclamation marks (!!)? If you want to escape $ it's done by $$ so maybe ! works the same way? That sentence is almost unreadable due to punctuation but I hope you get the drift :-) -- Lars ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 27 12:19:38 2008 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Fri, 27 Jun 2008 12:19:38 +0200 Subject: Nagiosgraph configuration question Message-ID: <4864BEBA.9060103@winxpert.com> Hi, I try to setup Nagiosgraph to graph the life of my services/hosts. I am confused because in nagiosgraph.conf, there is only one perflog command, while in nagios I have one file for service perfdata and one file for host perfdata. Shall I use the same log for host and service perfdata ? Or there is another configuration in nagiosgraph to do ? Thanks for time & help 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 hvdkooij at vanderkooij.org Fri Jun 27 12:35:39 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 27 Jun 2008 12:35:39 +0200 Subject: problem in nagiosgraph In-Reply-To: <268859.64959.qm@web62402.mail.re1.yahoo.com> References: <268859.64959.qm@web62402.mail.re1.yahoo.com> Message-ID: <4864C27B.1090902@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nelson Serafica wrote: | I create serviceextinfo.cfg and put the ff: | | define serviceextinfo { | service_description PING | hostgroup DSL CLIENTS | notes_url | /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=ping,avg05min&rrdopts=%2Dl%200%20%2Du%20100 | | icon_image graph.jpg | } | | Isn't this enough? Actually, I'm not sure if this is correct (the one on | the notes_url). Do you have any url for a template for this? That is the nagios bit. just to display the lot from Nagios once the actual data is there. But you need to tell nagiosgrapher to read the performance data and store the data in the RRD files first. Please read the documents as indicated in another post by Markus. 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) iD8DBQFIZMJ5BvzDRVjxmYERAgetAJ9/COJlgIBfteSVWMXR+3VS0yXsiQCgmyAq sxq0WS8fWIKJ4cldXDORvV4= =X0qc -----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 cristiano.ness at opservices.com.br Fri Jun 27 13:02:05 2008 From: cristiano.ness at opservices.com.br (Cristiano Ness) Date: Fri, 27 Jun 2008 08:02:05 -0300 (BRT) Subject: unusual check_swap behavior In-Reply-To: <523351f80806261556r30b36963mdb90abfe12e6718d@mail.gmail.com> References: <523351f80806261556r30b36963mdb90abfe12e6718d@mail.gmail.com> Message-ID: <32266035.129411214564525232.JavaMail.root@mail.opservices.com.br> What version is running? Try check_swap --warning=85% --critical=75% or check_swap -w 85 -c 75 or better, update nagios-plugins []?s --- Cristiano Ness cristiano.ness at opservices.com.br OpServices www.opservices.com.br Tel: 51-3275-3588 Cel: 51-8151-8214 ----- "Mike Krohn" wrote: > To All, > > When I run check_swap on one of my systems, i get the following result: > > :~> /usr/lib/nagios/plugins/check_swap --warning=75% --critical=85% > CRITICAL - Swap used: -2147483648% (0 out of 0) > > What is going on? > > my memory use is: > > total used free shared buffers cached > Mem: 505548 438184 67364 0 10196 340544 > Swap: 4194296 0 4194296 > > so the result does not make sense. > > OS: > SuSE Linux 9.1 (i586) > VERSION = 9.1 > > NRPE version: > check_swap (nagios-plugins 1.3.1) 1.9 > > Thanks in advance, > > Mike > > > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 cristiano.ness at opservices.com.br Fri Jun 27 13:02:20 2008 From: cristiano.ness at opservices.com.br (Cristiano Ness) Date: Fri, 27 Jun 2008 08:02:20 -0300 (BRT) Subject: Escaping Exclamation Points In-Reply-To: <28831766.798481214530532368.JavaMail.root@viognier.reliablenetworks.com> References: <28831766.798481214530532368.JavaMail.root@viognier.reliablenetworks.com> Message-ID: <14878339.129441214564540385.JavaMail.root@mail.opservices.com.br> Remove ' or complete, for example check_nt_service!Act! Scheduler or check_nt_service!'Act'! 'Scheduler' Put here commands.cfg for check_nt_service []?s --- Cristiano Ness cristiano.ness at opservices.com.br OpServices www.opservices.com.br Tel: 51-3275-3588 Cel: 51-8151-8214 ----- "Christopher Falk" wrote: > Hello all, > > Never posted here before, but it's been helpful to follow along with the various threads. > > My issue is with checking NT services with exclamation points in their names. The following check command is sent to NSClient++: > > check_nt_service!'Act! Scheduler' > > and fails with a No Output! error in Nagios. I've tried \!, $!, double quotes, and to no avail. > > Has anybody had success escaping an exclamation point when it's part of a service name sent to NSClient++? > > Thanks in advance, > > Chris > > -- > _________________________________________________________ > A Message From... Christopher Falk > > Reliable Networks of Maine, LLC > > "Uptime. All the time." > > 477 Congress Street > Portland, ME 04101 > Tel: (207) 772-5678 > Web: http://www.reliablenetworks.com > > This email was sent from Reliable Networks of Maine LLC. > It may contain information that is privileged and confidential. > If you suspect that you were not intended to receive it, please > delete it and notify us as soon as possible. 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 > -------------- 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 christopher.falk at reliablenetworks.com Fri Jun 27 13:25:25 2008 From: christopher.falk at reliablenetworks.com (Christopher Falk) Date: Fri, 27 Jun 2008 07:25:25 -0400 (EDT) Subject: Escaping Exclamation Points In-Reply-To: <14878339.129441214564540385.JavaMail.root@mail.opservices.com.br> References: <14878339.129441214564540385.JavaMail.root@mail.opservices.com.br> Message-ID: <1652744045.800771214565925169.JavaMail.root@viognier.reliablenetworks.com> Unquoting it all gives me "Act: Unknown" instead of no response at all. check_nt_service is: define command{ command_name check_nt_service command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ } Thanks, Chris ----- Original Message ----- From: "Cristiano Ness" To: "Christopher Falk" Cc: nagios-users at lists.sourceforge.net Sent: Friday, June 27, 2008 7:02:20 AM GMT -05:00 US/Canada Eastern Subject: Re: [Nagios-users] Escaping Exclamation Points Remove ' or complete, for example check_nt_service!Act! Scheduler or check_nt_service!'Act'! 'Scheduler' Put here commands.cfg for check_nt_service []?s --- Cristiano Ness cristiano.ness at opservices.com.br OpServices www.opservices.com.br Tel: 51-3275-3588 Cel: 51-8151-8214 ----- "Christopher Falk" wrote: > Hello all, > > Never posted here before, but it's been helpful to follow along with the various threads. > > My issue is with checking NT services with exclamation points in their names. The following check command is sent to NSClient++: > > check_nt_service!'Act! Scheduler' > > and fails with a No Output! error in Nagios. I've tried \!, $!, double quotes, and to no avail. > > Has anybody had success escaping an exclamation point when it's part of a service name sent to NSClient++? > > Thanks in advance, > > Chris > > -- > _________________________________________________________ > A Message From... Christopher Falk > > Reliable Networks of Maine, LLC > > "Uptime. All the time." > > 477 Congress Street > Portland, ME 04101 > Tel: (207) 772-5678 > Web: http://www.reliablenetworks.com > > This email was sent from Reliable Networks of Maine LLC. > It may contain information that is privileged and confidential. > If you suspect that you were not intended to receive it, please > delete it and notify us as soon as possible. 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 > -- _________________________________________________________ A Message From... Christopher Falk Reliable Networks of Maine, LLC "Uptime. All the time." 477 Congress Street Portland, ME 04101 Tel: (207) 772-5678 Web: http://www.reliablenetworks.com This email was sent from Reliable Networks of Maine LLC. It may contain information that is privileged and confidential. If you suspect that you were not intended to receive it, please delete it and notify us as soon as possible. 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 christopher.falk at reliablenetworks.com Fri Jun 27 13:42:56 2008 From: christopher.falk at reliablenetworks.com (Christopher Falk) Date: Fri, 27 Jun 2008 07:42:56 -0400 (EDT) Subject: Escaping Exclamation Points In-Reply-To: <14878339.129441214564540385.JavaMail.root@mail.opservices.com.br> References: <14878339.129441214564540385.JavaMail.root@mail.opservices.com.br> Message-ID: <508118259.801161214566976600.JavaMail.root@viognier.reliablenetworks.com> Problem resolved. What I just ended up doing is creating a new command, check_act_scheduler identical to the check_nt_service command definition, and hard-coding 'Act! Scheduler' instead of $ARG1$. That took care of it. c ----- Original Message ----- From: "Cristiano Ness" To: "Christopher Falk" Cc: nagios-users at lists.sourceforge.net Sent: Friday, June 27, 2008 7:02:20 AM GMT -05:00 US/Canada Eastern Subject: Re: [Nagios-users] Escaping Exclamation Points Remove ' or complete, for example check_nt_service!Act! Scheduler or check_nt_service!'Act'! 'Scheduler' Put here commands.cfg for check_nt_service []?s --- Cristiano Ness cristiano.ness at opservices.com.br OpServices www.opservices.com.br Tel: 51-3275-3588 Cel: 51-8151-8214 ----- "Christopher Falk" wrote: > Hello all, > > Never posted here before, but it's been helpful to follow along with the various threads. > > My issue is with checking NT services with exclamation points in their names. The following check command is sent to NSClient++: > > check_nt_service!'Act! Scheduler' > > and fails with a No Output! error in Nagios. I've tried \!, $!, double quotes, and to no avail. > > Has anybody had success escaping an exclamation point when it's part of a service name sent to NSClient++? > > Thanks in advance, > > Chris > > -- > _________________________________________________________ > A Message From... Christopher Falk > > Reliable Networks of Maine, LLC > > "Uptime. All the time." > > 477 Congress Street > Portland, ME 04101 > Tel: (207) 772-5678 > Web: http://www.reliablenetworks.com > > This email was sent from Reliable Networks of Maine LLC. > It may contain information that is privileged and confidential. > If you suspect that you were not intended to receive it, please > delete it and notify us as soon as possible. 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 > -- _________________________________________________________ A Message From... Christopher Falk Reliable Networks of Maine, LLC "Uptime. All the time." 477 Congress Street Portland, ME 04101 Tel: (207) 772-5678 Web: http://www.reliablenetworks.com This email was sent from Reliable Networks of Maine LLC. It may contain information that is privileged and confidential. If you suspect that you were not intended to receive it, please delete it and notify us as soon as possible. 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 marc at ena.com Fri Jun 27 14:14:27 2008 From: marc at ena.com (Marc Powell) Date: Fri, 27 Jun 2008 07:14:27 -0500 Subject: not all contacst notified... In-Reply-To: <1214483540.12448.20.camel@bofh.dtnet.de> References: <1214479734.12448.15.camel@bofh.dtnet.de> <1214483540.12448.20.camel@bofh.dtnet.de> Message-ID: <09C9C06B-8F89-4111-91E9-D24B27F0918B@ena.com> On Jun 26, 2008, at 7:32 AM, Sebastian Ries wrote: > > Is it possible to configure nagios to start with notification no. 1 > as a > service changes from Warning to Critical? Not without editing the source code (on any version). Be aware this may have unintended consequences, particularly if you use escalations. -- 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 27 14:21:10 2008 From: marc at ena.com (Marc Powell) Date: Fri, 27 Jun 2008 07:21:10 -0500 Subject: Antwort: not all contacst notified... In-Reply-To: References: Message-ID: On Jun 27, 2008, at 3:10 AM, Sascha.Runschke at gfkl.com wrote: > I don't mean to be rude, but do you really think someone still cares > for Nagios 1.3 and its problems? ;) You should consider upgrading to a > supported version. I use nagios-1.3 in a production environment for a very specific purpose that isn't supported in newer versions so yes, there are people that still care. That being said, the OP solved his own problem so a response wasn't necessary. All versions are 'supported', newer versions more so than older versions. I'd even try to help someone that's using Netsaint, and I'm sure they exist somewhere. -- 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 27 14:24:55 2008 From: marc at ena.com (Marc Powell) Date: Fri, 27 Jun 2008 07:24:55 -0500 Subject: Escaping Exclamation Points In-Reply-To: <508118259.801161214566976600.JavaMail.root@viognier.reliablenetworks.com> References: <508118259.801161214566976600.JavaMail.root@viognier.reliablenetworks.com> Message-ID: <3B73BE49-2FC4-4DAB-BFD8-79E9619F2ADC@ena.com> On Jun 27, 2008, at 6:42 AM, Christopher Falk wrote: > Problem resolved. > > What I just ended up doing is creating a new command, > check_act_scheduler identical to the check_nt_service command > definition, and hard-coding 'Act! Scheduler' instead of $ARG1$. That > took care of it. New feature in 3.x -- 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 marty at supine.com Fri Jun 27 15:40:31 2008 From: marty at supine.com (Martin Barry) Date: Fri, 27 Jun 2008 15:40:31 +0200 Subject: Antwort: not all contacst notified... In-Reply-To: References: Message-ID: <20080627134031.GD30726@sprocket.mamista.net> $quoted_author = "Marc Powell" ; > > someone that's using Netsaint, and I'm sure they exist somewhere. [raises hand] :-) As to the question about the interaction between escalations and state changes we handle that in a custom notification script that stores state and escalation level of a particular service so it can do things like: - reset escalation level on state change - send recoveries to everyone who was ever notified about the current issue I'd release it to the community but it's not even v0.01 material. A tidy up of the code is waiting on some spare time materialising... cheers Marty ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Fri Jun 27 15:59:50 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Fri, 27 Jun 2008 13:59:50 +0000 Subject: creating a nagios cluster Message-ID: <200806271359.50299.assaf.flatto@ssp.uk.com> Hello I want to setup a nagios cluster that will be in active/passive (using heartbeat). I want to be able to disable notifications from the passive server and have it go to passive mode , (so when it does come up it will not take a long time to present the display). I need the failover to be able to preform these changes . Has anyone build such a cluster before ? what pitfalls have you encountered on this ? Thanks Assaf IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mckell at us.ibm.com Fri Jun 27 16:06:35 2008 From: mckell at us.ibm.com (Sean McKell) Date: Fri, 27 Jun 2008 08:06:35 -0600 Subject: AUTO: Sean McKell/Boulder/IBM is out of the office until 10/30/2000. (returning 2008-07-08) Message-ID: I am out of the office until 2008-07-08. I'll be available 27 Jun for part of the day. Can contact me during vacation at 801-225-9280, and I'll probably get online a couple times. Manager: Ed Mahoney Sentinel: Bill Wiesendanger, Kevin Hein Vreg: Aaron Wodrich IVM: Aaron Wodrich Ask the Analyst: Braydon Dunn Note: This is an automated response to your message "Nagios-users Digest, Vol 25, Issue 31" sent on 6/27/08 6:21:05. This is the only notification you will receive while this person is away. -------------- 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 melanie_pfefer at yahoo.co.uk Fri Jun 27 16:21:07 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Fri, 27 Jun 2008 14:21:07 +0000 (GMT) Subject: uptime Message-ID: <344070.67181.qm@web26203.mail.ukl.yahoo.com> hi, can nagios detects for how long the machine was running? I am only interested in the unix machine (uptime command) thx __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.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 hpsekhon at googlemail.com Fri Jun 27 16:29:44 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 27 Jun 2008 15:29:44 +0100 Subject: uptime In-Reply-To: <344070.67181.qm@web26203.mail.ukl.yahoo.com> References: <344070.67181.qm@web26203.mail.ukl.yahoo.com> Message-ID: <4864F958.906@googlemail.com> Melanie Pfefer wrote: > hi, > > can nagios detects for how long the machine was running? > > I am only interested in the unix machine (uptime command) > > thx in your nrpe.cfg on the remote machine command[check_uptime]=/path/to/uptime then just check_nrpe -H remotemachine -c check_uptime or equivalent if using nsca/ssh. -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 dit.dash at gmail.com Fri Jun 27 16:43:39 2008 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Fri, 27 Jun 2008 10:43:39 -0400 Subject: monitor status of legato backups Message-ID: <7f62d2420806270743y60414bcdk84dff70b0292f9ee@mail.gmail.com> We're looking for some method to have nagios check the status of our many backups run off a backup server. Currently, we have a perl script search for just one or two specific lines and pass the results to send_nsca. It's crude and doesn't cover all instances. The problem is the nsr logfile has so much info in it, it seems to REQUIRE human perusal to determine status of all backups. Has anyone spent any time on a plugin/script for this before I code what might already exist? 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 marc at ena.com Fri Jun 27 16:44:19 2008 From: marc at ena.com (Marc Powell) Date: Fri, 27 Jun 2008 09:44:19 -0500 Subject: creating a nagios cluster In-Reply-To: <200806271359.50299.assaf.flatto@ssp.uk.com> References: <200806271359.50299.assaf.flatto@ssp.uk.com> Message-ID: <94322214-0FF4-4F44-AA96-148A8CC11CE1@ena.com> On Jun 27, 2008, at 8:59 AM, Assaf Flatto wrote: > Hello > > I want to setup a nagios cluster that will be in active/passive > (using heartbeat). > I want to be able to disable notifications from the passive server > and have it go to passive mode , > (so when it does come up it will not take a long time to present the > display). > I need the failover to be able to preform these changes . > Has anyone build such a cluster before ? > what pitfalls have you encountered on this ? I have not done this but these external commands should prove useful and easily scriptable-- Stopping host/service checks and notifications-- http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=42 http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=68 http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=7 Enabling -- http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=41 http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=67 http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=8 -- 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 27 16:46:03 2008 From: marc at ena.com (Marc Powell) Date: Fri, 27 Jun 2008 09:46:03 -0500 Subject: AUTO: Sean McKell/Boulder/IBM is out of the office until 10/30/2000. (returning 2008-07-08) In-Reply-To: References: Message-ID: <1263F1EE-E287-4B60-B5F6-D79B8C73027E@ena.com> On Jun 27, 2008, at 9:06 AM, Sean McKell wrote: > I am out of the office until 2008-07-08. > > I'll be available 27 Jun for part of the day. > Can contact me during vacation at 801-225-9280, and I'll probably > get online a couple times. > Thanks Sean! Please let us know how the vacation goes or would you rather we call? -- 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 27 16:50:02 2008 From: marc at ena.com (Marc Powell) Date: Fri, 27 Jun 2008 09:50:02 -0500 Subject: uptime In-Reply-To: <344070.67181.qm@web26203.mail.ukl.yahoo.com> References: <344070.67181.qm@web26203.mail.ukl.yahoo.com> Message-ID: On Jun 27, 2008, at 9:21 AM, Melanie Pfefer wrote: > hi, > > can nagios detects for how long the machine was running? > > I am only interested in the unix machine (uptime command) http://www.google.com/search?q=nagios+check_uptime $ locate check_uptime /usr/local/src/nagios-plugins-1.4.11/contrib/check_uptime.c That'll be $17.50US please. -- 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 27 17:04:19 2008 From: marc at ena.com (Marc Powell) Date: Fri, 27 Jun 2008 10:04:19 -0500 Subject: monitor status of legato backups In-Reply-To: <7f62d2420806270743y60414bcdk84dff70b0292f9ee@mail.gmail.com> References: <7f62d2420806270743y60414bcdk84dff70b0292f9ee@mail.gmail.com> Message-ID: On Jun 27, 2008, at 9:43 AM, dave stern - e-mail.pluribus.unum wrote: > We're looking for some method to have nagios check the status of our > many backups > run off a backup server. Currently, we have a perl script search for > just one or two specific > lines and pass the results to send_nsca. It's crude and doesn't cover > all instances. > > The problem is the nsr logfile has so much info in it, it seems to > REQUIRE human > perusal to determine status of all backups. Has anyone spent any > time on a > plugin/script for this before I code what might already exist? Not a Legato user but... http://www.nagiosexchange.org/cgi-bin/search.cgi? d=1&query=legato&Go=Go shows several related checks. The first seems most interesting and leads to http://www.net17.de/projekte/nagios/ check_nw appears to be able to check log status (among other items) -- print "! LOGSTATUS - Check Networker Log for failed Clients !\n"; print "! check_nw -t LOGSTATUS [-l path/to/logfile] [-m Minutes ago] !\n"; print "! [-p savegroupname1,savegroupname2,savegroupname3,....] -- 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 joe.hoot at itec.suny.edu Fri Jun 27 20:35:30 2008 From: joe.hoot at itec.suny.edu (Hoot, Joseph) Date: Fri, 27 Jun 2008 14:35:30 -0400 Subject: ndo-utils not populating hostgroups Message-ID: <26D3EA273309A746A7F98A6B3A97426402043338@mercury.ex.msad.itec.suny.edu> Hi all, I've upgraded my failover nagios system with v3.0.2 (I know that 3.0.3 is out now, but haven't yet upgraded to that). So I have now implemented ndoutils as well. I have it going to a unix socket and then into a mysql database. I am attempting to get Nagvis going and we noticing that it wasn't seeing my hostgroups. So I jumped into the mysql database and don't see any of my hostgroup information being populated there. The documentation for ndoutils talks about the debugging. I turned it on, but don't see any information getting fed into it. I thought maybe it was a permission issue, so I set it to nagios:nagios instead of root. So here are some variables that are in ndo2db.cfg: debug_level=-1 debug_verbosity=2 Nagios appears to start it up just fine and allows some information to be pushed over there. For example, I'm getting my host and services when I go into nagvis and attempt to add a host or service. But when I go to add a hostgroup or servicegroup, nothing populates the drop down. But I just don't seem to be getting the hostgroup, servicegroups... actually other information too. But the nagios_servicechecks has a lot of information in it. $ sudo tail -f nagios.log Password: [1214590466] ndomod: Shutdown complete. [1214590466] Event broker module '/netmon/nagios/bin/ndomod.o' deinitialized successfully. [1214590686] Warning: aggregate_status_updates directive ignored. All status file updates are now aggregated. [1214590686] Nagios 3.0.2 starting... (PID=23213) [1214590686] Local time is Fri Jun 27 14:18:06 EDT 2008 [1214590686] LOG VERSION: 2.0 [1214590686] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1214590686] ndomod: Successfully connected to data sink. 0 queued items to flush. [1214590686] Event broker module '/netmon/nagios/bin/ndomod.o' initialized successfully. [1214590686] Finished daemonizing... (New PID=23216) 1) Does anyone have any suggestions for selecting from the ndo2db mysql tables to see if its actually populating properly? 2) Is there any way to see what sql inserts are going to ndo2db, if any? Would the ndo2db command be logging anywhere? Should this be the ndo.debug file? 3) Any other suggestions on troubleshooting this? By the way, great work on Nagios Ethan. Way to keep the promect moving forward! Thanks, Joe -------------------------------------------------------- Joseph Hoot Lead Programmer/Analyst GPG ID: 7145F633 Information Technology Exchange Center 1300 Elmwood Ave., TR200, Buffalo, NY 14222 (w) 716-878-4832 (C) 716-908-6292 -------------------------------------------------------- -------------- 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 stephen.valdinger at gmail.com Fri Jun 27 21:13:24 2008 From: stephen.valdinger at gmail.com (Stephen Valdinger) Date: Fri, 27 Jun 2008 15:13:24 -0400 Subject: Performance data query Message-ID: <98f364d40806271213t45797fcfk11b9acda6c9626f1@mail.gmail.com> Hey list, I'm having a time with check_snmp_win.pl from http://nagios.manubulon.com/snmp_windows.html. I'm running Nagios 2.10 with 1.4.11 plugins. I just recently go PNP up and running, and I must say I am rather pleased with the results thus far. What I am wanting to do is graph the performance data of this plugin. It says on the site that it writes the data, and I see this in the web interface: D:\ Label:Data Serial Number e02aaef0: 83%used(85227MB/102399MB) (<85%) : OK . However, when PNP tries to create the RRD files for this check it shows this in the perfdata.log file: No Performance Data for DOVFS00 / Check D:\ Usage Data. I am wondering if anyone has run into an issue with plugin and could help me debug my situation. Thanks a lot Stephen -- Husband: "Make me a sandwich Wife: "What? Make it yourself" Husband: "Sudo make me a sandwich" Wife: "Okay" -------------- 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 stephen.valdinger at gmail.com Fri Jun 27 21:16:57 2008 From: stephen.valdinger at gmail.com (Stephen Valdinger) Date: Fri, 27 Jun 2008 15:16:57 -0400 Subject: Performance data query In-Reply-To: <98f364d40806271213t45797fcfk11b9acda6c9626f1@mail.gmail.com> References: <98f364d40806271213t45797fcfk11b9acda6c9626f1@mail.gmail.com> Message-ID: <98f364d40806271216v58574475i35006bbd68110927@mail.gmail.com> I'm sorry, I meant the check_snmp_storage.pl plugin from the aforementioned site. The check_snmp_win plugin does not in fact write performance data. On Fri, Jun 27, 2008 at 3:13 PM, Stephen Valdinger < stephen.valdinger at gmail.com> wrote: > Hey list, > > I'm having a time with check_snmp_win.pl from > http://nagios.manubulon.com/snmp_windows.html. I'm running Nagios 2.10 > with 1.4.11 plugins. I just recently go PNP up and running, and I must say I > am rather pleased with the results thus far. What I am wanting to do is > graph the performance data of this plugin. It says on the site that it > writes the data, and I see this in the web interface: D:\ Label:Data Serial > Number e02aaef0: 83%used(85227MB/102399MB) (<85%) : OK . However, when PNP > tries to create the RRD files for this check it shows this in the > perfdata.log file: No Performance Data for DOVFS00 / Check D:\ Usage Data. > I am wondering if anyone has run into an issue with plugin and could help > me debug my situation. Thanks a lot > > Stephen > > -- > Husband: "Make me a sandwich > Wife: "What? Make it yourself" > Husband: "Sudo make me a sandwich" > Wife: "Okay" -- Husband: "Make me a sandwich Wife: "What? Make it yourself" Husband: "Sudo make me a sandwich" Wife: "Okay" -------------- 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 27 21:41:41 2008 From: marc at ena.com (Marc Powell) Date: Fri, 27 Jun 2008 14:41:41 -0500 Subject: ndo-utils not populating hostgroups In-Reply-To: <26D3EA273309A746A7F98A6B3A97426402043338@mercury.ex.msad.itec.suny.edu> References: <26D3EA273309A746A7F98A6B3A97426402043338@mercury.ex.msad.itec.suny.edu> Message-ID: <5FA49A74-545E-4DB7-9D8E-A3335D7B36B6@ena.com> On Jun 27, 2008, at 1:35 PM, Hoot, Joseph wrote: > The documentation for ndoutils talks about the debugging. I turned > it on, but don?t see any information getting fed into it. I thought > maybe it was a permission issue, so I set it to nagios:nagios > instead of root. Check /var/log/messages. > 1) Does anyone have any suggestions for selecting from the > ndo2db mysql tables to see if its actually populating properly? select * from nagios_hostgroups select * from nagios_hostgroup_members select * from nagios_servicegroup select * from nagios_servicegroup_members (presumes that's where nagvis is getting that info, I don't use it). > 2) Is there any way to see what sql inserts are going to > ndo2db, if any? Would the ndo2db command be logging anywhere? > Should this be the ndo.debug file? ndo2db.cfg -- debug_level=-1 debug_verbosity=1 debug_file=/usr/local/nagios/var/ndo2db.debug [nagios at noctools var]$ ls -al ndo2db.debug -rw-r--r-- 1 nagios nagios 127703 Jun 27 14:40 ndo2db.debug [nagios at noctools var]$ tail -2 ndo2db.debug [1214595618.386557] [002.0] [pid=22404] INSERT INTO nagios_externalcommands SET instance_id='1', command_type='30', entry_time=FROM_UNIXTIME(1214595618), command_name='PROCESS_SERVICE_CHECK_RESULT', command_args='redacted;PING;0;OK - 172\.29\.102\.93: rta 12\.2 ms, lost 0%' [1214595618.387127] [002.0] [pid=22404] INSERT INTO nagios_externalcommands SET instance_id='1', command_type='30', entry_time=FROM_UNIXTIME(1214595618), command_name='PROCESS_SERVICE_CHECK_RESULT', command_args='redacted;5 MIN CPU UTIL;0;5 Minute CPU Utilization: OK - 0' > 3) Any other suggestions on troubleshooting this? Not here... -- 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 stephen.valdinger at gmail.com Fri Jun 27 21:57:35 2008 From: stephen.valdinger at gmail.com (Stephen Valdinger) Date: Fri, 27 Jun 2008 15:57:35 -0400 Subject: Performance data query In-Reply-To: <98f364d40806271213t45797fcfk11b9acda6c9626f1@mail.gmail.com> References: <98f364d40806271213t45797fcfk11b9acda6c9626f1@mail.gmail.com> Message-ID: <98f364d40806271257x568419del88de3a4b3e8cdd78@mail.gmail.com> And yet again, I answer my own questions. Sorry for clogging up the list. I have to supply the -f switch and all is well, it's dumps the performance output as expected. On Fri, Jun 27, 2008 at 3:13 PM, Stephen Valdinger < stephen.valdinger at gmail.com> wrote: > Hey list, > > I'm having a time with check_snmp_win.pl from > http://nagios.manubulon.com/snmp_windows.html. I'm running Nagios 2.10 > with 1.4.11 plugins. I just recently go PNP up and running, and I must say I > am rather pleased with the results thus far. What I am wanting to do is > graph the performance data of this plugin. It says on the site that it > writes the data, and I see this in the web interface: D:\ Label:Data Serial > Number e02aaef0: 83%used(85227MB/102399MB) (<85%) : OK . However, when PNP > tries to create the RRD files for this check it shows this in the > perfdata.log file: No Performance Data for DOVFS00 / Check D:\ Usage Data. > I am wondering if anyone has run into an issue with plugin and could help > me debug my situation. Thanks a lot > > Stephen > > -- > Husband: "Make me a sandwich > Wife: "What? Make it yourself" > Husband: "Sudo make me a sandwich" > Wife: "Okay" -- Husband: "Make me a sandwich Wife: "What? Make it yourself" Husband: "Sudo make me a sandwich" Wife: "Okay" -------------- 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 Sat Jun 28 01:07:18 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 27 Jun 2008 19:07:18 -0400 Subject: Escaping Exclamation Points In-Reply-To: <3B73BE49-2FC4-4DAB-BFD8-79E9619F2ADC@ena.com> References: <508118259.801161214566976600.JavaMail.root@viognier.reliablenetworks.com> <3B73BE49-2FC4-4DAB-BFD8-79E9619F2ADC@ena.com> Message-ID: I actually define the following Service configs to help deal with these issues. define command{ command_name check_nt_l command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v $ARG1$ -l "$ARG2$" } THen I use the following for the service definition. check_nt_l!SERVICESTATE !Act\! Scheduler I have not tested in NSClinet++, but have tested this configuration through NC_NEt. The primary problem was the ! in the service definition was Tokenizing the parameter into differerent $ARGX$ All nagios plugins would have this same issue,Another common issue is the $ where using $$ usually works. TOny (Author of NC_NEt) On Fri, Jun 27, 2008 at 8:24 AM, Marc Powell wrote: > > On Jun 27, 2008, at 6:42 AM, Christopher Falk wrote: > > > Problem resolved. > > > > What I just ended up doing is creating a new command, > > check_act_scheduler identical to the check_nt_service command > > definition, and hard-coding 'Act! Scheduler' instead of $ARG1$. That > > took care of it. > > New feature in 3.x -- > > 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 > -------------- 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 Sat Jun 28 01:11:21 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 27 Jun 2008 19:11:21 -0400 Subject: AUTO: Sean McKell/Boulder/IBM is out of the office until 10/30/2000. (returning 2008-07-08) In-Reply-To: <1263F1EE-E287-4B60-B5F6-D79B8C73027E@ena.com> References: <1263F1EE-E287-4B60-B5F6-D79B8C73027E@ena.com> Message-ID: I been waiting for someone to answer one of the vacation auto replies for a while. Tony On Fri, Jun 27, 2008 at 10:46 AM, Marc Powell wrote: > > On Jun 27, 2008, at 9:06 AM, Sean McKell wrote: > > > I am out of the office until 2008-07-08. > > > > I'll be available 27 Jun for part of the day. > > Can contact me during vacation at 801-225-9280, and I'll probably > > get online a couple times. > > > > Thanks Sean! Please let us know how the vacation goes or would you > rather we call? > > -- > 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 ntserafica at yahoo.com Sat Jun 28 05:24:39 2008 From: ntserafica at yahoo.com (Nelson Serafica) Date: Fri, 27 Jun 2008 20:24:39 -0700 (PDT) Subject: PNP Nagios php-gd error Message-ID: <73779.598.qm@web62407.mail.re1.yahoo.com> I'm also trying PNP besides Nagiosgraph. I finished install PNP but the problem when I click the icon, it says ok Initalising ok Using /usr/local/nagios/share/perfdata/ ok RRDTool /usr/bin/rrdtool found. ok RRDTool /usr/bin/rrdtool is executable ok PHP Function proc_open is enabled ok PHP Function fpassthru is enabled ok PHP Function xml_parser_create is enabled ok PHP zlib Support found. ! PHP GD Support not found. After I saw the error, I install php-gd via rpm. Then recompile pnp and restart nagios. Still, error keep on showing. I'm wondering why it still saying "PHP GD SUpport not found" when I already install it? Get your new Email address! Grab the Email name you've always wanted before someone else does! http://mail.promotions.yahoo.com/newdomains/ph/ -------------- 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 ntserafica at yahoo.com Sat Jun 28 05:56:54 2008 From: ntserafica at yahoo.com (Nelson Serafica) Date: Fri, 27 Jun 2008 20:56:54 -0700 (PDT) Subject: PNP Nagios php-gd error Message-ID: <19531.84294.qm@web62411.mail.re1.yahoo.com> I edit php.ini and put "extension=gd.so" and error on php gd was gone. However, there are still error. See below: RRD Database/usr/local/nagios/share/perfdata/ABE/PING.rrd not found. I though it will automatically create the file. Just don't know what to do next ----- Original Message ---- From: Nelson Serafica To: nagios-users at lists.sourceforge.net Sent: Saturday, June 28, 2008 11:24:39 AM Subject: [Nagios-users] PNP Nagios php-gd error I'm also trying PNP besides Nagiosgraph. I finished install PNP but the problem when I click the icon, it says ok Initalising ok Using /usr/local/nagios/share/perfdata/ ok RRDTool /usr/bin/rrdtool found. ok RRDTool /usr/bin/rrdtool is executable ok PHP Function proc_open is enabled ok PHP Function fpassthru is enabled ok PHP Function xml_parser_create is enabled ok PHP zlib Support found. ! PHP GD Support not found. After I saw the error, I install php-gd via rpm. Then recompile pnp and restart nagios. Still, error keep on showing. I'm wondering why it still saying "PHP GD SUpport not found" when I already install it? ________________________________ New Email addresses available on Yahoo! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! Get your preferred Email name! Now you can @ymail.com and @rocketmail.com. http://mail.promotions.yahoo.com/newdomains/ph/ -------------- 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 lavalamp at spiritual-machines.org Sat Jun 28 23:48:30 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sat, 28 Jun 2008 17:48:30 -0400 Subject: Nagios 2.12 author format In-Reply-To: <4863A1DC.5060807@uvm.edu> References: <4863A1DC.5060807@uvm.edu> Message-ID: <1214689710.6202.61.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Thu, 2008-06-26 at 10:04 -0400, Kent Saunders wrote: > I have just upgraded from Nagios 2.10 to 2.12 on Red Hat Enterprise > Linux 4, update 6. > > I am now seeing a formatting issue with pre-populated user names in > comments and downtime. Examples, "John Doe" displays as "John+Doe", and > "jdoe at here.com" shows as "jdoe%40here.com". Check the mtime on notifycommands.cfg. notify-by-email specfically. Did oyu say that you udated RHEL? Did postfix get upgraded? It sounds like an MTA rewrite. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 23:56:15 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sat, 28 Jun 2008 17:56:15 -0400 Subject: creating a nagios cluster In-Reply-To: <200806271359.50299.assaf.flatto@ssp.uk.com> References: <200806271359.50299.assaf.flatto@ssp.uk.com> Message-ID: <1214690175.6202.68.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Fri, 2008-06-27 at 13:59 +0000, Assaf Flatto wrote: > Hello > > I want to setup a nagios cluster that will be in active/passive (using > heartbeat). > I want to be able to disable notifications from the passive server and > have it go to passive mode , No tools or projects exist yet specifically for setting up nagios clusters, we're hoping to change that, but your configuration is pretty generic. ~BAS > (so when it does come up it will not take a long time to present the > display). > I need the failover to be able to preform these changes . > Has anyone build such a cluster before ? > what pitfalls have you encountered on this ? > > Thanks > > Assaf > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Sun Jun 29 00:31:05 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sat, 28 Jun 2008 18:31:05 -0400 Subject: [Fwd: Bug Reporting / Issue Tracking System ?] In-Reply-To: <4863D02A.6030604@op5.se> References: <1214326155.2823.447.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625181410.GG12255@cgi.jachomes.com> <1214422683.2823.509.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625194124.GP12255@cgi.jachomes.com> <1214424670.2823.521.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625201447.GT12255@cgi.jachomes.com> <84660163-A808-40B4-86A9-056B79D291B5@ena.com> <4863D02A.6030604@op5.se> Message-ID: <1214692265.6202.96.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> > > There are tons of reasons not to use the SF bugtracker (it sucks). I Of course. Need get one of the big shops to volunteer some hardware and facilities to host a real one. Maybe the IBM/HP/Cisco guys can ante up and make a donation? We'll (Collaborative Fusion, Inc.) host it if need be. Its a minor logistical problem. > The problem with a) is that the data in the tracker quickly gets a > very poor signal-to-noise ratio, where people post RTFM issues, minor > annoyances and duplicate bug reports (these things happen because > most people are lazy retards). The use of the tracker quickly Right -- you close those tickets as "wont fix" or "not a bug". Just don't do it for real bugs -- like the PHP people do. > deteriorates to the point where some people moan about there being > issues in the tracker that are 2+ years old and nobody cares about > them. > > The problem with b) is that it requires additional effort from > the developer(s) (one extra place to check for bugs) and, if such Assign a steward. Generate weekly reports. I'll be the whipping boy for the first 6-9 months. > a one is present, the tracker manager. Otherwise it's devs again. > > You'll still have to have the mailing list for pooling ideas and > random chitchat, so everything that should have gone to the tracker Just like every other project, if people _really_ want a bug fixed, they will take the time to submit the PR with all of the details. You get out what you put in. > list any old way he wants. I'm guessing he's not willing to change > his workflow without some significant benefit for himself, such as Safe to postulate. > a second developer, or a group of developers, asking for a tracker > so they can coordinate their work. That's an overall project organization issue that is beyond my mandate to comment on. If more developers are needed, a call for developers should me made publicly. I can tell you that a PR system will certainly appeal to potential developers. It adds structure and credibility .. "panache" :) > Personally, I wouldn't care very much for users wanting a bugtracker, > because they wouldn't be the ones using it (except to report bugs, > but on average people do that so poorly they might as well not > bother). Wow. Well. Its a bit different in a small business. I call them customers. But I generally agree with your assessment. I'm what Barrack calls "A bitter Pennsylvanian" > I *would* care if some proven developers stepped up and said > "hey, we've got x active bugs and y feature-requests, but we have no > idea of knowing who's doing what without constantly talking to each > other. I've set up this tracker here and added all the current issues > to it, and I'm gonna be using that, so check there if you want to > know what you can leave for me". It's the difference between saving > time and wasting it. Right. I agree. So we might as well give it a shot? Set it up for 6-8 months, evaluate the progress and based the impact and results of releases during that period. As a trial run, for initial population, your best resources would be the Ports/Package maintainers at the various projects (*BSD, Debian, Gentoo, Fedora, OpenSolaris, Fink, etc.). Have them feed any outstanding patches back upstream. I think that you'll find that group be disciplined in the practice of using a PR/ITS properly to their advantage. ~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 s.shipway at auckland.ac.nz Sun Jun 29 00:27:38 2008 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Sun, 29 Jun 2008 10:27:38 +1200 Subject: creating a nagios cluster In-Reply-To: <1214690175.6202.68.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <200806271359.50299.assaf.flatto@ssp.uk.com>, <1214690175.6202.68.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <6B587E8C999646469B54486AF219584602D21A096F@UXCHANGE7-1.UoA.auckland.ac.nz> We have achieve this here by having a shared external storage unit, and then using LinuxHA with the nagios service and filesystem (on the external disk unit) being defined as HA services. Works well - at the same time we also fail over the NSCA, SNMPtrapdaemon, and mysql database on the same external disk. You can email me if you'd like more details on what is required. Steve ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [nagios-users-bounces at lists.sourceforge.net] On Behalf Of Brian A. Seklecki [lavalamp at spiritual-machines.org] Sent: Sunday, 29 June 2008 9:56 a.m. To: Assaf Flatto Cc: Nagios User list Subject: Re: [Nagios-users] creating a nagios cluster On Fri, 2008-06-27 at 13:59 +0000, Assaf Flatto wrote: > Hello > > I want to setup a nagios cluster that will be in active/passive (using > heartbeat). > I want to be able to disable notifications from the passive server and > have it go to passive mode , No tools or projects exist yet specifically for setting up nagios clusters, we're hoping to change that, but your configuration is pretty generic. ~BAS > (so when it does come up it will not take a long time to present the > display). > I need the failover to be able to preform these changes . > Has anyone build such a cluster before ? > what pitfalls have you encountered on this ? > > Thanks > > Assaf > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Mon Jun 30 07:59:40 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 30 Jun 2008 07:59:40 +0200 Subject: [Fwd: Bug Reporting / Issue Tracking System ?] In-Reply-To: <1214692265.6202.96.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <1214326155.2823.447.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625181410.GG12255@cgi.jachomes.com> <1214422683.2823.509.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625194124.GP12255@cgi.jachomes.com> <1214424670.2823.521.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <20080625201447.GT12255@cgi.jachomes.com> <84660163-A808-40B4-86A9-056B79D291B5@ena.com> <4863D02A.6030604@op5.se> <1214692265.6202.96.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <4868764C.5070508@op5.se> Brian A. Seklecki wrote: > >> The problem with a) is that the data in the tracker quickly gets a >> very poor signal-to-noise ratio, where people post RTFM issues, minor >> annoyances and duplicate bug reports (these things happen because >> most people are lazy retards). The use of the tracker quickly > > Right -- you close those tickets as "wont fix" or "not a bug". Just > don't do it for real bugs -- like the PHP people do. > That costs manhours though, so the tracker would need a moderator of sorts. >> deteriorates to the point where some people moan about there being >> issues in the tracker that are 2+ years old and nobody cares about >> them. >> >> The problem with b) is that it requires additional effort from >> the developer(s) (one extra place to check for bugs) and, if such > > Assign a steward. Generate weekly reports. I'll be the whipping boy > for the first 6-9 months. > Excellent. One problem solved then ;-) > >> a second developer, or a group of developers, asking for a tracker >> so they can coordinate their work. > > That's an overall project organization issue that is beyond my mandate > to comment on. If more developers are needed, a call for developers > should me made publicly. > > I can tell you that a PR system will certainly appeal to potential > developers. It adds structure and credibility .. "panache" :) > >> Personally, I wouldn't care very much for users wanting a bugtracker, >> because they wouldn't be the ones using it (except to report bugs, >> but on average people do that so poorly they might as well not >> bother). > > Wow. Well. Its a bit different in a small business. I call them > customers. But I generally agree with your assessment. I'm what > Barrack calls "A bitter Pennsylvanian" > :D >> I *would* care if some proven developers stepped up and said >> "hey, we've got x active bugs and y feature-requests, but we have no >> idea of knowing who's doing what without constantly talking to each >> other. I've set up this tracker here and added all the current issues >> to it, and I'm gonna be using that, so check there if you want to >> know what you can leave for me". It's the difference between saving >> time and wasting it. > > Right. I agree. > > So we might as well give it a shot? Set it up for 6-8 months, evaluate > the progress and based the impact and results of releases during that > period. > There's still the issue of getting Ethan on board though. > As a trial run, for initial population, your best resources would be the > Ports/Package maintainers at the various projects (*BSD, Debian, Gentoo, > Fedora, OpenSolaris, Fink, etc.). Have them feed any outstanding > patches back upstream. I think that you'll find that group be > disciplined in the practice of using a PR/ITS properly to their > advantage. > Definitely. That'd be a good starting place. -- 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 Marco at praxell.com Mon Jun 30 09:11:15 2008 From: Marco at praxell.com (Marco Supino) Date: Mon, 30 Jun 2008 10:11:15 +0300 Subject: Services checks run in parallel Message-ID: <92F18F20427620478177A2E3C4B36B3108CBCA@mercury.praxell.com> Hi, I am running Nagios 2.x , and have a question, Lets say I have two hosts, one called host1 and host2, both of them have a service check defined, call it "http check" , and its scheduled to run every minute, Nagios will execute both tests at exactly the same second, I can see this behavior in many checks where the service name is the same for different hosts. Can this be changed ? I would like to spread the checks in the check timeframe, instead of being executed in the same second. Thanks for any input. -------------- 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 nagios01 at in-put.de Mon Jun 30 09:39:35 2008 From: nagios01 at in-put.de (Stefan-Michael Guenther) Date: Mon, 30 Jun 2008 09:39:35 +0200 Subject: Checking CPU temperature and fan speed Message-ID: <48688DB7.5060206@in-put.de> Hello, I need to monitor the cpu temperature and fan speed of a number of different servers, based on Intel and Gigabyte motherboards. There are nagios plugins available to monitore Compaq servers, but has anyone of you ever found a way to do the same for Intel/Gigabyte servers? I would prefer to to it via SNMP, to use the SNMP plugin, but haven't found any information on SNMP together with Intel/Gigabyte boards and both companies has answered by emails. Thanks for any suggstions or help, Stefan -- ******************************************** in-put GbR - Das Linux-Systemhaus Stefan-Michael Guenther Geschaeftsfuehrer Moltkestrasse 49 D-76133 Karlsruhe Tel./Fax : +49 (0)721 / 83044 - 98/93 http://www.in-put.de ******************************************** Schulungen Installationen Beratung Support Voice-over-IP-Loesungen ******************************************** ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpaulus at sourceinterlink.com Mon Jun 30 14:22:58 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Mon, 30 Jun 2008 08:22:58 -0400 Subject: Services checks run in parallel In-Reply-To: <92F18F20427620478177A2E3C4B36B3108CBCA@mercury.praxell.com> References: <92F18F20427620478177A2E3C4B36B3108CBCA@mercury.praxell.com> Message-ID: <79B77295FBC9F247A32A6C98B67B1E1401539E7B@srv-1exch01.sourceinterlink.com> Look for the "service_inter_check_delay_method" configuration option in the documentation or in nagios.cfg (there are lots of comments). This option is what controls how checks are spread out. -Jake ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Supino Sent: Monday, June 30, 2008 3:11 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Services checks run in parallel Hi, I am running Nagios 2.x , and have a question, Lets say I have two hosts, one called host1 and host2, both of them have a service check defined, call it "http check" , and its scheduled to run every minute, Nagios will execute both tests at exactly the same second, I can see this behavior in many checks where the service name is the same for different hosts. Can this be changed ? I would like to spread the checks in the check timeframe, instead of being executed in the same second. Thanks for any input. -------------- 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 kgs at uvm.edu Mon Jun 30 14:25:45 2008 From: kgs at uvm.edu (Kent Saunders) Date: Mon, 30 Jun 2008 08:25:45 -0400 Subject: Nagios 2.12 author format In-Reply-To: <1214689710.6202.61.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <4863A1DC.5060807@uvm.edu> <1214689710.6202.61.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <4868D0C9.3040203@uvm.edu> There were no config file changes. I've confirmed this by checking mtimes on the files as you suggested. The OS was not updated at this time. Postfix is not installed. It's not MTA related. The series of events were this. 1. It's working. 2. Build and install 2.12. 3. It's broken. Seems pretty clear to me it's either a code bug, or the new code doesn't like something about my config files that the older version didn't care about. Thanks for the suggestions. Brian A. Seklecki wrote: > On Thu, 2008-06-26 at 10:04 -0400, Kent Saunders wrote: > >> I have just upgraded from Nagios 2.10 to 2.12 on Red Hat Enterprise >> Linux 4, update 6. >> >> I am now seeing a formatting issue with pre-populated user names in >> comments and downtime. Examples, "John Doe" displays as "John+Doe", and >> "jdoe at here.com" shows as "jdoe%40here.com". >> > > Check the mtime on notifycommands.cfg. > > notify-by-email specfically. > > Did oyu say that you udated RHEL? Did postfix get upgraded? It sounds > like an MTA rewrite. > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 30 14:30:29 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Mon, 30 Jun 2008 18:00:29 +0530 Subject: configure error Cannot find a type to use in place of socklen_t Message-ID: <25251aec0806300530p4a172137n6f1c7ebec02b21bb@mail.gmail.com> Hi, I am running Nagios Server on RHEL 4 ES box and trying to install nagios-plugins on HP UX - 11 box. But I get configure error, ./configure --prefix=/client/nagios throws the following error at the end checking for struct statfs.f_fstypename... no checking for working re_compile_pattern... no checking whether isblank is declared... yes checking for stdint.h... (cached) no checking for SIZE_MAX... (((1UL << 31) - 1) * 2 + 1) checking for snprintf... yes checking for socklen_t... no checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t hp-test-box:/client/nagios/nagios-plugins-1.4.11# tail config.log #define re_exec rpl_re_exec #define regcomp rpl_regcomp #define regexec rpl_regexec #define regerror rpl_regerror #define regfree rpl_regfree #define HAVE_DECL_ISBLANK 1 #define SIZE_MAX (((1UL << 31) - 1) * 2 + 1) #define HAVE_SNPRINTF 1 configure: exit 1 can anyboy has solution for it? 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 joe.hoot at itec.suny.edu Mon Jun 30 14:33:39 2008 From: joe.hoot at itec.suny.edu (Hoot, Joseph) Date: Mon, 30 Jun 2008 08:33:39 -0400 Subject: ndo-utils not populating hostgroups In-Reply-To: <5FA49A74-545E-4DB7-9D8E-A3335D7B36B6@ena.com> References: <26D3EA273309A746A7F98A6B3A97426402043338@mercury.ex.msad.itec.suny.edu> <5FA49A74-545E-4DB7-9D8E-A3335D7B36B6@ena.com> Message-ID: <26D3EA273309A746A7F98A6B3A97426402043339@mercury.ex.msad.itec.suny.edu> OK. For some reason, ndo2db is giving errors in my /var/log/messages file: Jun 30 08:14:02 mon01 ndo2db: Successfully connected to MySQL database Jun 30 08:14:27 mon01 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagio s_configfilevariables SET instance_id='1', configfile_id='7', varname='cfg_file' , varvalue='/netmon/nagios/etc/timeperiods\.cfg'' Jun 30 08:14:27 mon01 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagio s_configfilevariables SET instance_id='1', configfile_id='7', varname='cfg_file' , varvalue='/netmon/nagios/etc/templates\.cfg'' Jun 30 08:14:27 mon01 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagio s_configfilevariables SET instance_id='1', configfile_id='7', varname='cfg_file' , varvalue='/netmon/nagios/etc/commands\.cfg'' Jun 30 08:14:27 mon01 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagio s_configfilevariables SET instance_id='1', configfile_id='7', varname='cfg_dir', varvalue='/netmon/nagios/etc/suf'' Jun 30 08:14:27 mon01 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagio s_configfilevariables SET instance_id='1', configfile_id='7', varname='cfg_dir', varvalue='/netmon/nagios/etc/buc'' Nagios has been running fine with those variables for about 2 years now. And it reads them properly. Does anyone know why ndo2db might be dieing on these? Those ".../etc/buc" and ".../etc/suf" (there are a lot more too) directories contain all of my information for hostgroups, servicegroups and other things. -----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 27, 2008 3:42 PM To: Nagios User list Subject: Re: [Nagios-users] ndo-utils not populating hostgroups On Jun 27, 2008, at 1:35 PM, Hoot, Joseph wrote: > The documentation for ndoutils talks about the debugging. I turned > it on, but don't see any information getting fed into it. I thought > maybe it was a permission issue, so I set it to nagios:nagios > instead of root. Check /var/log/messages. > 1) Does anyone have any suggestions for selecting from the > ndo2db mysql tables to see if its actually populating properly? select * from nagios_hostgroups select * from nagios_hostgroup_members select * from nagios_servicegroup select * from nagios_servicegroup_members (presumes that's where nagvis is getting that info, I don't use it). > 2) Is there any way to see what sql inserts are going to > ndo2db, if any? Would the ndo2db command be logging anywhere? > Should this be the ndo.debug file? ndo2db.cfg -- debug_level=-1 debug_verbosity=1 debug_file=/usr/local/nagios/var/ndo2db.debug [nagios at noctools var]$ ls -al ndo2db.debug -rw-r--r-- 1 nagios nagios 127703 Jun 27 14:40 ndo2db.debug [nagios at noctools var]$ tail -2 ndo2db.debug [1214595618.386557] [002.0] [pid=22404] INSERT INTO nagios_externalcommands SET instance_id='1', command_type='30', entry_time=FROM_UNIXTIME(1214595618), command_name='PROCESS_SERVICE_CHECK_RESULT', command_args='redacted;PING;0;OK - 172\.29\.102\.93: rta 12\.2 ms, lost 0%' [1214595618.387127] [002.0] [pid=22404] INSERT INTO nagios_externalcommands SET instance_id='1', command_type='30', entry_time=FROM_UNIXTIME(1214595618), command_name='PROCESS_SERVICE_CHECK_RESULT', command_args='redacted;5 MIN CPU UTIL;0;5 Minute CPU Utilization: OK - 0' > 3) Any other suggestions on troubleshooting this? Not here... -- 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 asam30 at gmail.com Mon Jun 30 15:06:52 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Mon, 30 Jun 2008 18:36:52 +0530 Subject: Fwd: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <25251aec0806100716m5d7be886oa302b6fc9952ad19@mail.gmail.com> References: <25251aec0806100716m5d7be886oa302b6fc9952ad19@mail.gmail.com> Message-ID: <25251aec0806300606y66cae831tff10b97ab1146258@mail.gmail.com> I was able to fix this myself. Regards -Shankar ---------- Forwarded message ---------- From: Date: Tue, Jun 10, 2008 at 7:46 PM Subject: CHECK_NRPE: Socket timeout after 10 seconds. To: nagios-users at lists.sourceforge.net 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 -- 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 lists at truthisfreedom.org.uk Mon Jun 30 16:15:03 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Mon, 30 Jun 2008 15:15:03 +0100 Subject: Fwd: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <25251aec0806300606y66cae831tff10b97ab1146258@mail.gmail.com> References: <25251aec0806100716m5d7be886oa302b6fc9952ad19@mail.gmail.com> <25251aec0806300606y66cae831tff10b97ab1146258@mail.gmail.com> Message-ID: <20080630151503.762ed5b0@tclmmw.in.tiger-computing.com> On Mon, 30 Jun 2008 18:36:52 +0530 asam30 at gmail.com wrote: > I was able to fix this myself. Can you tell us how so that people who have a similar problem in future know what to do? Thanks, 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 marc at ena.com Mon Jun 30 16:26:44 2008 From: marc at ena.com (Marc Powell) Date: Mon, 30 Jun 2008 09:26:44 -0500 Subject: ndo-utils not populating hostgroups In-Reply-To: <26D3EA273309A746A7F98A6B3A97426402043339@mercury.ex.msad.itec.suny.edu> References: <26D3EA273309A746A7F98A6B3A97426402043338@mercury.ex.msad.itec.suny.edu> <5FA49A74-545E-4DB7-9D8E-A3335D7B36B6@ena.com> <26D3EA273309A746A7F98A6B3A97426402043339@mercury.ex.msad.itec.suny.edu> Message-ID: <25130C0D-FC94-4981-99F8-AA5B8C5E7BD6@ena.com> On Jun 30, 2008, at 7:33 AM, Hoot, Joseph wrote: > OK. For some reason, ndo2db is giving errors in my /var/log/messages > file: > > Jun 30 08:14:02 mon01 ndo2db: Successfully connected to MySQL database > Jun 30 08:14:27 mon01 ndo2db: Error: mysql_query() failed for 'INSERT > INTO nagio > s_configfilevariables SET instance_id='1', configfile_id='7', > varname='cfg_file' > , varvalue='/netmon/nagios/etc/timeperiods\.cfg'' These appear normal (I see them as well). Nagios is trying to re- insert values that already exist in that table. It doesn't appear to have any adverse effect. Do you see values in the hostgroup/servicegroups tables? Are you set to broker everything in nagios.cfg? -- 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 joe.hoot at itec.suny.edu Mon Jun 30 16:36:19 2008 From: joe.hoot at itec.suny.edu (Hoot, Joseph) Date: Mon, 30 Jun 2008 10:36:19 -0400 Subject: ndo-utils not populating hostgroups In-Reply-To: <25130C0D-FC94-4981-99F8-AA5B8C5E7BD6@ena.com> References: <26D3EA273309A746A7F98A6B3A97426402043338@mercury.ex.msad.itec.suny.edu><5FA49A74-545E-4DB7-9D8E-A3335D7B36B6@ena.com><26D3EA273309A746A7F98A6B3A97426402043339@mercury.ex.msad.itec.suny.edu> <25130C0D-FC94-4981-99F8-AA5B8C5E7BD6@ena.com> Message-ID: <26D3EA273309A746A7F98A6B3A9742640204333B@mercury.ex.msad.itec.suny.edu> Marc, I don't see anything in hostgroups or servicegroups table: mysql> select * from nagios_hostgroups; Empty set (0.00 sec) mysql> select * from nagios_servicegroups; Empty set (0.00 sec) mysql> I believe that it is setup to broker everything. Here is what I have in nagios.cfg: broker_module=/netmon/nagios/bin/ndomod.o config_file=/netmon/nagios/etc/ndomod.cfg In ndomod.cfg I have the following defaults: instance_name=default output_type=unixsocket output=/netmon/nagios/var/ndo.sock output_buffer_items=10000 <-- I believe this wasn't the default. I bumped it up. buffer_file=/netmon/nagios/var/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=2 Thanks, Joe -----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 30, 2008 10:27 AM To: Nagios User list Subject: Re: [Nagios-users] ndo-utils not populating hostgroups On Jun 30, 2008, at 7:33 AM, Hoot, Joseph wrote: > OK. For some reason, ndo2db is giving errors in my /var/log/messages > file: > > Jun 30 08:14:02 mon01 ndo2db: Successfully connected to MySQL database > Jun 30 08:14:27 mon01 ndo2db: Error: mysql_query() failed for 'INSERT > INTO nagio > s_configfilevariables SET instance_id='1', configfile_id='7', > varname='cfg_file' > , varvalue='/netmon/nagios/etc/timeperiods\.cfg'' These appear normal (I see them as well). Nagios is trying to re- insert values that already exist in that table. It doesn't appear to have any adverse effect. Do you see values in the hostgroup/servicegroups tables? Are you set to broker everything in nagios.cfg? -- 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 30 17:31:51 2008 From: marc at ena.com (Marc Powell) Date: Mon, 30 Jun 2008 10:31:51 -0500 Subject: ndo-utils not populating hostgroups In-Reply-To: <26D3EA273309A746A7F98A6B3A9742640204333B@mercury.ex.msad.itec.suny.edu> References: <26D3EA273309A746A7F98A6B3A97426402043338@mercury.ex.msad.itec.suny.edu><5FA49A74-545E-4DB7-9D8E-A3335D7B36B6@ena.com><26D3EA273309A746A7F98A6B3A97426402043339@mercury.ex.msad.itec.suny.edu> <25130C0D-FC94-4981-99F8-AA5B8C5E7BD6@ena.com> <26D3EA273309A746A7F98A6B3A9742640204333B@mercury.ex.msad.itec.suny.edu> Message-ID: <89C49FBE-1CFD-4425-9D89-E76ACD77BD27@ena.com> On Jun 30, 2008, at 9:36 AM, Hoot, Joseph wrote: > Marc, > > I don't see anything in hostgroups or servicegroups table: > > mysql> select * from nagios_hostgroups; > Empty set (0.00 sec) > > mysql> select * from nagios_servicegroups; > Empty set (0.00 sec) > > mysql> > > I believe that it is setup to broker everything. Here is what I > have in > nagios.cfg: > > broker_module=/netmon/nagios/bin/ndomod.o > config_file=/netmon/nagios/etc/ndomod.cfg How about event_broker_options? # EVENT BROKER OPTIONS # Controls what (if any) data gets sent to the event broker. # Values: 0 = Broker nothing # -1 = Broker everything # = See documentation event_broker_options=-1 > output_buffer_items=10000 <-- I believe this wasn't the > default. > I bumped it up. yes, 5000 is the default. Shouldn't matter in this case. > buffer_file=/netmon/nagios/var/ndomod.tmp > file_rotation_interval=14400 > file_rotation_timeout=60 > reconnect_interval=15 > reconnect_warning_interval=15 > data_processing_options=-1 > config_output_options=2 Same as mine. Nothing obviously wrong here... -- 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 christopher.kucera at nsighttel.com Mon Jun 30 18:48:57 2008 From: christopher.kucera at nsighttel.com (CJ Kucera) Date: Mon, 30 Jun 2008 11:48:57 -0500 Subject: Different notification periods for different events? Message-ID: <20080630164857.GD18029@cj.nbill.cellcom.com> Hello list - Is there a way to configure a service so that notifications for (for instance) WARNINGs are sent out for one time period, but notifications for CRITICAL events are sent out for a different time period? The situation is that we monitor disk usage for a number of services, and there's generally no reason to have a disk usage WARNING wake somebody up in the middle of the night (that can certainly wait until the morning), but we'd still want to know about CRITICAL warnings whenever they occur. In the past we've just set up a pair of disk usage checks for each instance, with complimentary time periods and notification levels as-appropriate, but that's rather cumbersome as the number of hosts/filesystems grows. Any other ideas would be appreciated... Thanks! -CJ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 18:58:51 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 30 Jun 2008 12:58:51 -0400 Subject: AUTO: Sean McKell/Boulder/IBM is out of the office until 10/30/2000. (returning 2008-07-08) In-Reply-To: <1263F1EE-E287-4B60-B5F6-D79B8C73027E@ena.com> References: <1263F1EE-E287-4B60-B5F6-D79B8C73027E@ena.com> Message-ID: <20080630165851.GB8195@cgi.jachomes.com> On Fri, Jun 27, 2008 at 09:46:03AM -0500, Marc Powell wrote: > On Jun 27, 2008, at 9:06 AM, Sean McKell wrote: > > I am out of the office until 2008-07-08. > > > > I'll be available 27 Jun for part of the day. > > Can contact me during vacation at 801-225-9280, and I'll probably > > get online a couple times. > > > > Thanks Sean! Please let us know how the vacation goes or would you > rather we call? Hey, at least his vacation daemon was polite enough a) to tell us that would be the only notice we would get and b) to actually implement that pleasant thought. Now if we could just teach it not to reply to messages where the user is not the To: addressee... 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 joe.hoot at itec.suny.edu Mon Jun 30 19:09:58 2008 From: joe.hoot at itec.suny.edu (Hoot, Joseph) Date: Mon, 30 Jun 2008 13:09:58 -0400 Subject: ndo-utils not populating hostgroups In-Reply-To: <89C49FBE-1CFD-4425-9D89-E76ACD77BD27@ena.com> References: <26D3EA273309A746A7F98A6B3A97426402043338@mercury.ex.msad.itec.suny.edu><5FA49A74-545E-4DB7-9D8E-A3335D7B36B6@ena.com><26D3EA273309A746A7F98A6B3A97426402043339@mercury.ex.msad.itec.suny.edu><25130C0D-FC94-4981-99F8-AA5B8C5E7BD6@ena.com><26D3EA273309A746A7F98A6B3A9742640204333B@mercury.ex.msad.itec.suny.edu> <89C49FBE-1CFD-4425-9D89-E76ACD77BD27@ena.com> Message-ID: <26D3EA273309A746A7F98A6B3A97426402043340@mercury.ex.msad.itec.suny.edu> OK. So from what you can tell, Marc, my config files should be setup to collect information properly. So what is interesting is that if I'm getting these errors because of it already been populated, I should be able to query it. But unfortunately, it doesn't look like it is in there. Here is the INSERT that it is attempting to updated the tables with: INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='7', varname='cfg_file', varvalue='/netmon/nagios/etc/timeperiods\.cfg'' If I run `select * from nagios_configfilevaribales` I don't see anything for configfile_id=7. If I run the INSERT manually, it populates it with no problem. What could possibly be preventing it from INSERTING that when I can login as that user and manually do it? -----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 30, 2008 11:32 AM To: Nagios User list Subject: Re: [Nagios-users] ndo-utils not populating hostgroups On Jun 30, 2008, at 9:36 AM, Hoot, Joseph wrote: > Marc, > > I don't see anything in hostgroups or servicegroups table: > > mysql> select * from nagios_hostgroups; > Empty set (0.00 sec) > > mysql> select * from nagios_servicegroups; > Empty set (0.00 sec) > > mysql> > > I believe that it is setup to broker everything. Here is what I > have in > nagios.cfg: > > broker_module=/netmon/nagios/bin/ndomod.o > config_file=/netmon/nagios/etc/ndomod.cfg How about event_broker_options? # EVENT BROKER OPTIONS # Controls what (if any) data gets sent to the event broker. # Values: 0 = Broker nothing # -1 = Broker everything # = See documentation event_broker_options=-1 > output_buffer_items=10000 <-- I believe this wasn't the > default. > I bumped it up. yes, 5000 is the default. Shouldn't matter in this case. > buffer_file=/netmon/nagios/var/ndomod.tmp > file_rotation_interval=14400 > file_rotation_timeout=60 > reconnect_interval=15 > reconnect_warning_interval=15 > data_processing_options=-1 > config_output_options=2 Same as mine. Nothing obviously wrong here... -- 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 30 19:48:52 2008 From: marc at ena.com (Marc Powell) Date: Mon, 30 Jun 2008 12:48:52 -0500 Subject: ndo-utils not populating hostgroups In-Reply-To: <26D3EA273309A746A7F98A6B3A97426402043340@mercury.ex.msad.itec.suny.edu> References: <26D3EA273309A746A7F98A6B3A97426402043338@mercury.ex.msad.itec.suny.edu><5FA49A74-545E-4DB7-9D8E-A3335D7B36B6@ena.com><26D3EA273309A746A7F98A6B3A97426402043339@mercury.ex.msad.itec.suny.edu><25130C0D-FC94-4981-99F8-AA5B8C5E7BD6@ena.com><26D3EA273309A746A7F98A6B3A9742640204333B@mercury.ex.msad.itec.suny.edu> <89C49FBE-1CFD-4425-9D89-E76ACD77BD27@ena.com> <26D3EA273309A746A7F98A6B3A97426402043340@mercury.ex.msad.itec.suny.edu> Message-ID: <23E9C393-CF7A-4852-8578-56AC6928D0B0@ena.com> On Jun 30, 2008, at 12:09 PM, Hoot, Joseph wrote: > OK. So from what you can tell, Marc, my config files should be > setup to > collect information properly. If event_broker_options=-1, that would appear to be the case from my novice perspective. > So what is interesting is that if I'm getting these errors because > of it > already been populated, I should be able to query it. But > unfortunately, it doesn't look like it is in there. > > Here is the INSERT that it is attempting to updated the tables with: > INSERT INTO nagios_configfilevariables SET instance_id='1', > configfile_id='7', varname='cfg_file', > varvalue='/netmon/nagios/etc/timeperiods\.cfg'' > > If I run `select * from nagios_configfilevaribales` I don't see > anything > for configfile_id=7. Maybe it's different than mine. For me, it's a duplicate key error (instance_id-configfile_id-varname key). All I can say is that I see the same type of error and it appears to be totally irrelevant to the population of the other tables. > If I run the INSERT manually, it populates it with no problem. What > could possibly be preventing it from INSERTING that when I can login > as > that user and manually do it? Dunno, table permissions? Did you get debug output working? Do you see the other inserts for successful/unsuccessful storage in the DB? -- 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 joe.hoot at itec.suny.edu Mon Jun 30 19:51:21 2008 From: joe.hoot at itec.suny.edu (Hoot, Joseph) Date: Mon, 30 Jun 2008 13:51:21 -0400 Subject: ndo-utils not populating hostgroups In-Reply-To: <23E9C393-CF7A-4852-8578-56AC6928D0B0@ena.com> References: <26D3EA273309A746A7F98A6B3A97426402043338@mercury.ex.msad.itec.suny.edu><5FA49A74-545E-4DB7-9D8E-A3335D7B36B6@ena.com><26D3EA273309A746A7F98A6B3A97426402043339@mercury.ex.msad.itec.suny.edu><25130C0D-FC94-4981-99F8-AA5B8C5E7BD6@ena.com><26D3EA273309A746A7F98A6B3A9742640204333B@mercury.ex.msad.itec.suny.edu><89C49FBE-1CFD-4425-9D89-E76ACD77BD27@ena.com><26D3EA273309A746A7F98A6B3A97426402043340@mercury.ex.msad.itec.suny.edu> <23E9C393-CF7A-4852-8578-56AC6928D0B0@ena.com> Message-ID: <26D3EA273309A746A7F98A6B3A97426402043342@mercury.ex.msad.itec.suny.edu> Yup... that event_broker_options=-1. I had forgot to send that to you. All other INSERTS appear to be working and are selectable from the database. -----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 30, 2008 1:49 PM To: Nagios User list Subject: Re: [Nagios-users] ndo-utils not populating hostgroups On Jun 30, 2008, at 12:09 PM, Hoot, Joseph wrote: > OK. So from what you can tell, Marc, my config files should be > setup to > collect information properly. If event_broker_options=-1, that would appear to be the case from my novice perspective. > So what is interesting is that if I'm getting these errors because > of it > already been populated, I should be able to query it. But > unfortunately, it doesn't look like it is in there. > > Here is the INSERT that it is attempting to updated the tables with: > INSERT INTO nagios_configfilevariables SET instance_id='1', > configfile_id='7', varname='cfg_file', > varvalue='/netmon/nagios/etc/timeperiods\.cfg'' > > If I run `select * from nagios_configfilevaribales` I don't see > anything > for configfile_id=7. Maybe it's different than mine. For me, it's a duplicate key error (instance_id-configfile_id-varname key). All I can say is that I see the same type of error and it appears to be totally irrelevant to the population of the other tables. > If I run the INSERT manually, it populates it with no problem. What > could possibly be preventing it from INSERTING that when I can login > as > that user and manually do it? Dunno, table permissions? Did you get debug output working? Do you see the other inserts for successful/unsuccessful storage in the DB? -- 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 joe.hoot at itec.suny.edu Mon Jun 30 20:17:39 2008 From: joe.hoot at itec.suny.edu (Hoot, Joseph) Date: Mon, 30 Jun 2008 14:17:39 -0400 Subject: ndo-utils not populating hostgroups In-Reply-To: <26D3EA273309A746A7F98A6B3A97426402043342@mercury.ex.msad.itec.suny.edu> References: <26D3EA273309A746A7F98A6B3A97426402043338@mercury.ex.msad.itec.suny.edu><5FA49A74-545E-4DB7-9D8E-A3335D7B36B6@ena.com><26D3EA273309A746A7F98A6B3A97426402043339@mercury.ex.msad.itec.suny.edu><25130C0D-FC94-4981-99F8-AA5B8C5E7BD6@ena.com><26D3EA273309A746A7F98A6B3A9742640204333B@mercury.ex.msad.itec.suny.edu><89C49FBE-1CFD-4425-9D89-E76ACD77BD27@ena.com><26D3EA273309A746A7F98A6B3A97426402043340@mercury.ex.msad.itec.suny.edu><23E9C393-CF7A-4852-8578-56AC6928D0B0@ena.com> <26D3EA273309A746A7F98A6B3A97426402043342@mercury.ex.msad.itec.suny.edu> Message-ID: <26D3EA273309A746A7F98A6B3A97426402043343@mercury.ex.msad.itec.suny.edu> I just installed ndoutils on mon Nagios v2.12 system and it appears to be populating these fields correctly. I'll drop the database and reimport to see if I can get it to work on 3.0.2. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hoot, Joseph Sent: Monday, June 30, 2008 1:51 PM To: Nagios User list Subject: Re: [Nagios-users] ndo-utils not populating hostgroups Yup... that event_broker_options=-1. I had forgot to send that to you. All other INSERTS appear to be working and are selectable from the database. -----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 30, 2008 1:49 PM To: Nagios User list Subject: Re: [Nagios-users] ndo-utils not populating hostgroups On Jun 30, 2008, at 12:09 PM, Hoot, Joseph wrote: > OK. So from what you can tell, Marc, my config files should be > setup to > collect information properly. If event_broker_options=-1, that would appear to be the case from my novice perspective. > So what is interesting is that if I'm getting these errors because > of it > already been populated, I should be able to query it. But > unfortunately, it doesn't look like it is in there. > > Here is the INSERT that it is attempting to updated the tables with: > INSERT INTO nagios_configfilevariables SET instance_id='1', > configfile_id='7', varname='cfg_file', > varvalue='/netmon/nagios/etc/timeperiods\.cfg'' > > If I run `select * from nagios_configfilevaribales` I don't see > anything > for configfile_id=7. Maybe it's different than mine. For me, it's a duplicate key error (instance_id-configfile_id-varname key). All I can say is that I see the same type of error and it appears to be totally irrelevant to the population of the other tables. > If I run the INSERT manually, it populates it with no problem. What > could possibly be preventing it from INSERTING that when I can login > as > that user and manually do it? Dunno, table permissions? Did you get debug output working? Do you see the other inserts for successful/unsuccessful storage in the DB? -- 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 joe.hoot at itec.suny.edu Mon Jun 30 20:32:00 2008 From: joe.hoot at itec.suny.edu (Hoot, Joseph) Date: Mon, 30 Jun 2008 14:32:00 -0400 Subject: ndo-utils not populating hostgroups In-Reply-To: <26D3EA273309A746A7F98A6B3A97426402043343@mercury.ex.msad.itec.suny.edu> References: <26D3EA273309A746A7F98A6B3A97426402043338@mercury.ex.msad.itec.suny.edu><5FA49A74-545E-4DB7-9D8E-A3335D7B36B6@ena.com><26D3EA273309A746A7F98A6B3A97426402043339@mercury.ex.msad.itec.suny.edu><25130C0D-FC94-4981-99F8-AA5B8C5E7BD6@ena.com><26D3EA273309A746A7F98A6B3A9742640204333B@mercury.ex.msad.itec.suny.edu><89C49FBE-1CFD-4425-9D89-E76ACD77BD27@ena.com><26D3EA273309A746A7F98A6B3A97426402043340@mercury.ex.msad.itec.suny.edu><23E9C393-CF7A-4852-8578-56AC6928D0B0@ena.com> <26D3EA273309A746A7F98A6B3A97426402043342@mercury.ex.msad.itec.suny.edu> <26D3EA273309A746A7F98A6B3A97426402043343@mercury.ex.msad.itec.suny.edu> Message-ID: <26D3EA273309A746A7F98A6B3A97426402043344@mercury.ex.msad.itec.suny.edu> OK. It looks like there must be a bug (I'm assuming) with ndoutils 1.4b7 and Nagios 3.0.2. It might be fixed with 3.0.3. I'll try to upgrade to that shortly. But Nagios v2.12 + Ndoutils 1.4b7 appears to work fine with Nagvis and populating the hostgroups and sevicesgroups. -----Original Message----- From: Hoot, Joseph Sent: Monday, June 30, 2008 2:18 PM To: Hoot, Joseph; Nagios User list Subject: RE: [Nagios-users] ndo-utils not populating hostgroups I just installed ndoutils on mon Nagios v2.12 system and it appears to be populating these fields correctly. I'll drop the database and reimport to see if I can get it to work on 3.0.2. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hoot, Joseph Sent: Monday, June 30, 2008 1:51 PM To: Nagios User list Subject: Re: [Nagios-users] ndo-utils not populating hostgroups Yup... that event_broker_options=-1. I had forgot to send that to you. All other INSERTS appear to be working and are selectable from the database. -----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 30, 2008 1:49 PM To: Nagios User list Subject: Re: [Nagios-users] ndo-utils not populating hostgroups On Jun 30, 2008, at 12:09 PM, Hoot, Joseph wrote: > OK. So from what you can tell, Marc, my config files should be > setup to > collect information properly. If event_broker_options=-1, that would appear to be the case from my novice perspective. > So what is interesting is that if I'm getting these errors because > of it > already been populated, I should be able to query it. But > unfortunately, it doesn't look like it is in there. > > Here is the INSERT that it is attempting to updated the tables with: > INSERT INTO nagios_configfilevariables SET instance_id='1', > configfile_id='7', varname='cfg_file', > varvalue='/netmon/nagios/etc/timeperiods\.cfg'' > > If I run `select * from nagios_configfilevaribales` I don't see > anything > for configfile_id=7. Maybe it's different than mine. For me, it's a duplicate key error (instance_id-configfile_id-varname key). All I can say is that I see the same type of error and it appears to be totally irrelevant to the population of the other tables. > If I run the INSERT manually, it populates it with no problem. What > could possibly be preventing it from INSERTING that when I can login > as > that user and manually do it? Dunno, table permissions? Did you get debug output working? Do you see the other inserts for successful/unsuccessful storage in the DB? -- 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 harry.hart.ctr at jfcom.mil Mon Jun 30 20:37:18 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Mon, 30 Jun 2008 14:37:18 -0400 Subject: NRPE Plug-in to count files In-Reply-To: References: <1214501117.6529.7.camel@localhost><4863D4CF.9010806@uvm.edu> Message-ID: 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: Thursday, June 26, 2008 2:24 PM To: nagios Mailinglist Subject: Re: [Nagios-users] NRPE Plug-in to count files On Jun 26, 2008, at 12:41 PM, Kent Saunders wrote: > Put this in the remote systems nrpe.cfg file... (and restart nrpe) > command[check_numoffiles]=/usr/local/nagios/libexec/ > check_numoffiles.sh > > Then from the Nagios host call that script by running... > /usr/local/nagios/libexec/check_nrpe -H hostname -c check_numoffiles And -- Copy check_numoffiles.sh to /usr/local/nagios/libexec on the destination machine. -- Marc Thanks to all who responded. I have solved my problem with your help. Harry ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 hvdkooij at vanderkooij.org Mon Jun 30 20:43:14 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 30 Jun 2008 20:43:14 +0200 Subject: Different notification periods for different events? In-Reply-To: <20080630164857.GD18029@cj.nbill.cellcom.com> References: <20080630164857.GD18029@cj.nbill.cellcom.com> Message-ID: <48692942.7070305@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 CJ Kucera wrote: | In the past we've just set up a pair of disk usage checks for each | instance, with complimentary time periods and notification levels | as-appropriate, but that's rather cumbersome as the number of | hosts/filesystems grows. Any other ideas would be appreciated... How about using 2 contacts? One for the warnings in the daytime and 1 for critical events on 24x7? If the number of your contacts are significant less then your servers this is the lesser of two jobs. 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) iD8DBQFIaSlBBvzDRVjxmYERAuNpAJ4vVkDxZJHMsk63PwPcsuyIkhcprACgnAMr S/xNEG70JF1ERmJDNzAkwOA= =aMAm -----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 Volker.Ganswind at wincanton.eu Mon Jun 30 20:46:10 2008 From: Volker.Ganswind at wincanton.eu (Volker.Ganswind at wincanton.eu) Date: Mon, 30 Jun 2008 19:46:10 +0100 Subject: =?iso-8859-1?q?Volker_Ganswind_ist_au=DFer_Haus=2E?= Message-ID: Ich werde ab 30.06.2008 nicht im B?ro sein. Ich kehre zur?ck am 18.07.2008. Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. Sitz der Gesellschaft: Mannheim Amtsgericht Mannheim HRB 4814 Vorsitzender des Aufsichtsrats: Dr. Walter Hasselkus Geschaeftsfuehrer: Karl Nutzinger (Vors.), Harry W. Dumser, Dr. Christian Wurst, Thomas Westphal, Alexander Bauz, Dr. Wolfgang H?nemann ---------------------------------------------------------- Wir arbeiten ausschliesslich auf Grundlage der Allgemeinen Deutschen Spediteurbedingungen, jeweils neueste Fassung. Diese beschraenken in Ziffer 23 die Haftung fuer Gueterschaeden in speditionellem Gewahrsam auf EUR 5/kg, bei Transporten mit verschiedenen Befoerderungsmitteln unter Einschluss einer Seebefoerderung auf 2 SZR/kg sowie darueber hinaus je Schadenfall bzw. Schadenereignis auf EUR 1 Mio. bzw. EUR 2 Mio. oder 2 SZR/kg je nachdem, welcher Betrag hoeher ist. Ziffer 27 ADSp gilt nicht als Vereinbarung anderer Haftungsh?chstbetr?ge im Sinne Art.25 Montrealer Abkommen. Bei allgemeinen Binnenschiffstransporten gelten unsere Verlade- und Transportbedingungen. Diese begrenzen nach Paragraph 17 die Haftung fuer Gueterschaeden auf 2 SZR/kg. Bei Containerbinnenschiffstransporten gelten die Allgemeinen Geschaeftsbedingungen der Rhinecontainer B.V., Rotterdam. Diese sehen eine Haftung fuer Gueterschaeden bis zu 2 SZR/kg vor, soweit der Ort der Uebernahme und der Ort der Ablieferung des Gutes innerhalb Deutschlands liegen. ---------------------------------------------------------- Wincanton plc is a leading European provider of supply chain solutions. We design, implement and operate creative solutions for customers across Europe. Our business has a turnover of over EUR 2.8bn / ?1.9bn and employs 30,000 staff across 400 locations. Warehousing, transport and specialist services are provided for customers in a range of sectors including automotive, retail, FMCG, petrochemicals and manufacturing. Further information on our unique achievements and competencies can be found by visiting: http://www.wincanton.co.uk. ---------------------------------------------------------- CONFIDENTIAL NOTE: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual(s) to whom it is addressed. If you have received this e-mail in error please contact IT Service Desk on +49 (0) 621 / 8048 - 100 or e-mail it.service at wincanton.eu. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Wincanton GmbH or any of its subsidiary companies. Unauthorised publication, use, dissemination, forwarding, printing or copying of this e-mail and its associated attachment(s) is strictly prohibited. Wincanton GmbH, Antwerpener Str. 24, D-68219 Mannheim. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.valdinger at gmail.com Mon Jun 30 21:29:22 2008 From: stephen.valdinger at gmail.com (Stephen Valdinger) Date: Mon, 30 Jun 2008 15:29:22 -0400 Subject: Web front end Message-ID: <98f364d40806301229n11dfabdq73002b013c26e99f@mail.gmail.com> Has anyone heard the status of the php front end for Nagios? How is development of that going? I would like to propose that we use the Nuvola theme as the standard interface and integrate that author(s)' work into the project. Open Source Software often does this sort of thing. Does any one see any benefits objections to this proposal? It seems to me why waste time on a different php interface when that interface is fully complete and very rich-looking? -- Husband: "Make me a sandwich Wife: "What? Make it yourself" Husband: "Sudo make me a sandwich" Wife: "Okay" -------------- 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 webknowledge at gmail.com Mon Jun 30 23:57:57 2008 From: webknowledge at gmail.com (Marcel) Date: Mon, 30 Jun 2008 18:57:57 -0300 Subject: PNP Nagios php-gd error In-Reply-To: <19531.84294.qm@web62411.mail.re1.yahoo.com> References: <19531.84294.qm@web62411.mail.re1.yahoo.com> Message-ID: <2dfcbd1b0806301457h41ab7f2asef274410863963fa@mail.gmail.com> Yeah, man, i'm in a situation like yours... Trying to test pnp, nagiosgrapher, and so on... PNP seems to me to be the most scalable solution, as it implements batch mode updates... But I'm still trying to tweak configurations and stuff... The major problem to me is that the documentation I've found googleing, is all in german... :) i've translated with translate.google.com but it's still confusing to me... At least, my host graph is plotting correctly, but the hostname is showing _HOST_, instead of localhost as I would expect... Well, I'm still trying to understand the templates and such... Just 2 cents... []s On Sat, Jun 28, 2008 at 12:56 AM, Nelson Serafica wrote: > I edit php.ini and put "extension=gd.so" and error on php gd was gone. > However, there are still error. See below: > > RRD Database/usr/local/nagios/share/perfdata/ABE/PING.rrd not found. > > I though it will automatically create the file. Just don't know what to do > next > > ** > > > > > ----- Original Message ---- > From: Nelson Serafica > To: nagios-users at lists.sourceforge.net > Sent: Saturday, June 28, 2008 11:24:39 AM > Subject: [Nagios-users] PNP Nagios php-gd error > > I'm also trying PNP besides Nagiosgraph. I finished install PNP but the > problem when I click the icon, it says > > ok Initalising > > ok Using /usr/local/nagios/share/perfdata/ > > ok RRDTool /usr/bin/rrdtool found. > > ok RRDTool /usr/bin/rrdtool is executable > > ok PHP Function proc_open is enabled > > ok PHP Function fpassthru is enabled > > ok PHP Function xml_parser_create is enabled > > ok PHP zlib Support found. > > ! PHP GD Support not found. > > > After I saw the error, I install php-gd via rpm. Then recompile pnp and > restart nagios. Still, error keep on showing. I'm wondering why it still > saying "PHP GD SUpport not found" when I already install it? > > > ------------------------------ > New Email addresses available on Yahoo! > > Get the Email name you've always wanted on the new @ymail and @rocketmail. > Hurry before someone else does! > > ------------------------------ > New Email names for you! > > Get the Email name you've always wanted on the new @ymail and @rocketmail. > Hurry before someone else does! > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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