From nagiosusers at edcint.co.nz Wed Feb 1 07:11:13 2012 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Wed, 01 Feb 2012 17:11:13 +1100 Subject: Fwd: Re: Re: NRPE/NSClient++ CheckCPU Error? In-Reply-To: <4F28D69A.3090307@edcint.co.nz> References: <4F28D69A.3090307@edcint.co.nz> Message-ID: <4F28D781.9080606@edcint.co.nz> On 31/01/2012 11:13 PM, Robert Jackson wrote: > > Hi Matthew, > > Many thanks for the reply. I'm really sorry for all the hassle. I > really like check_wmi_plus.pl and it's a bit of a learning curve for > me at the moment. I hope you can bear with me? > > Is there a switch on the command that allows multiple runs or how do I > run the command twice with Centreon/Nagios? > I don't think you really want to do that. check_wmi_plus calculates using counters because that way it gets really accurate results. To do this however it needs 2 WMI samples so that is can difference the counters and give you a result. To get 2 WMI samples you could do this the old way it used to do it which was take a sample, wait a bit, take another sample, calculate results from those 2 samples. The newer way is take a sample, calculate results from the sample just taken and the sample taken the last time it ran. If there was no last time you ran or the sample is older than KEXPIRY (set on the command line by --keepexpiry KEXPIRY and defaulted to 3600 seconds) then check_wmi_plus can't calculate any results so it just collects a sample and then waits till the next time it is run. The newer way means less WMI calls, less chance of a timeout and also means that the calculations include counter activity when check_wmi_plus is not even running. If you really want to run the old way then you have to use the --nokeepstate and -y DELAY parameters > The complete error from Nagios is: > > UNKNOWN - The WMI query had problems. You might have your > username/password wrong or the user's access level is too low. Wmic > error text on the next line. > [librpc/rpc/dcerpc_util.c:1290:dcerpc_pipe_auth_recv()] Failed to bind > to uuid 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57 - NT_STATUS_NET_WRITE_FAULT > [librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed > NT status (c0000022) in dcerpc_pipe_connect_b_recv > [wmi/wmic.c:196:main()] ERROR: Login to remote object. > NTSTATUS: NT_STATUS_ACCESS_DENIED - Access denied > > Obviously this indicates username/password or access rights issues. > However the username/password combination I have combined with access > rights (member of the local Administrators group) works as is proven > by the plugin script test in Centreon: > > Command Line > > > > /usr/lib/nagios/plugins/check_wmi_plus.pl -H wm-tsrv2 -u > 'WM-Tsrv2/nagios-wmi' -p 'wmicheck' -m checkcpu -w '85' -c '95' ' ' ' > ' ' ' > > Output > > > > OK (Sample Period 899 sec) - Average CPU Utilisation 8.48%|'Avg CPU > Utilisation'=8.48%;85;95; > > Status > > > > OK > I don't fully understand how Centreon works but that WMI error is just what is returned from Windows by wmic. So whatever user Centreon is passing when is runs for real is either not what you think it is or just does not have the permission level on the Windows server. You'll need to turn on debugging maybe in Nagios and maybe in Centreon to see what the full command that it is actually executing against the Windows host. check_wmi_plus has a debug mode too. Add -d to the command line. Add -z also if you want to see the user/password it is using for the WMI calls. -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m_mustaquim at yahoo.com Wed Feb 1 09:07:02 2012 From: m_mustaquim at yahoo.com (mohd mustaquim) Date: Wed, 1 Feb 2012 00:07:02 -0800 (PST) Subject: (no subject) Message-ID: <1328083622.3585.yint-ygo-j2me@web120104.mail.ne1.yahoo.com> Hi. Alice asked me to help you to stop smoking! Don?t bother! I know how to help you!. http://sineater.prv.pl/comp.link.php?toyahooID=09en7 ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Feb 1 16:04:07 2012 From: m.borsani at it.net (Marco Borsani) Date: Wed, 1 Feb 2012 16:04:07 +0100 Subject: sms notifications Message-ID: <00cb01cce0f2$c5227920$4f676b60$@it.net> Hi all To send sms notifications, I am using since 2003 a couple of radiomodem, connected via serial to my server and smstools SW. Now, I need something "stronger" compared that configuration because for specific checks I have to send many and many sms at the same time. What can I use ? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giles at coochey.net Wed Feb 1 16:38:34 2012 From: giles at coochey.net (Giles Coochey) Date: Wed, 01 Feb 2012 15:38:34 +0000 Subject: sms notifications In-Reply-To: <00cb01cce0f2$c5227920$4f676b60$@it.net> References: <00cb01cce0f2$c5227920$4f676b60$@it.net> Message-ID: <0c1534d8f74c03a1df4f2d26f6af02d6@www.coochey.net> On 2012-02-01 15:04, Marco Borsani wrote: > Hi all > > To send sms notifications, I am using since 2003 a couple of radiomodem, connected via serial to my server and smstools SW. > > Now, I need something "stronger" compared that configuration because for specific checks I have to send many and many sms at the same time. > > What can I use ? > > Regards > > Marco Could you use a clickatel gateway over a 3G modem connection? -- Message sent via my webmail account. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Wed Feb 1 16:38:26 2012 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Wed, 1 Feb 2012 15:38:26 +0000 Subject: sms notifications In-Reply-To: <00cb01cce0f2$c5227920$4f676b60$@it.net> References: <00cb01cce0f2$c5227920$4f676b60$@it.net> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E8369B98F@HCSD-MAIL2> Most carriers here in the US have email equivalents for SMS. Don't know if it's the same elsewhere. From: Marco Borsani [mailto:m.borsani at it.net] Sent: Wednesday, February 01, 2012 10:04 AM To: NAGIOS Subject: [Nagios-users] sms notifications Hi all To send sms notifications, I am using since 2003 a couple of radiomodem, connected via serial to my server and smstools SW. Now, I need something "stronger" compared that configuration because for specific checks I have to send many and many sms at the same time. What can I use ? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Feb 1 16:53:17 2012 From: m.borsani at it.net (Marco Borsani) Date: Wed, 1 Feb 2012 16:53:17 +0100 Subject: R: sms notifications In-Reply-To: <0c1534d8f74c03a1df4f2d26f6af02d6@www.coochey.net> References: <00cb01cce0f2$c5227920$4f676b60$@it.net> <0c1534d8f74c03a1df4f2d26f6af02d6@www.coochey.net> Message-ID: <00ff01cce0f9$a33b9010$e9b2b030$@it.net> How does it work with Nagios ? Da: Giles Coochey [mailto:giles at coochey.net] Inviato: mercoled? 1 febbraio 2012 16:39 A: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] sms notifications Could you use a clickatel gateway over a 3G modem connection? -- Message sent via my webmail account. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giles at coochey.net Wed Feb 1 17:00:00 2012 From: giles at coochey.net (Giles Coochey) Date: Wed, 01 Feb 2012 16:00:00 +0000 Subject: R: sms notifications In-Reply-To: <00ff01cce0f9$a33b9010$e9b2b030$@it.net> References: <00cb01cce0f2$c5227920$4f676b60$@it.net> <0c1534d8f74c03a1df4f2d26f6af02d6@www.coochey.net> <00ff01cce0f9$a33b9010$e9b2b030$@it.net> Message-ID: <7c7a2a9c44470f128674d4ac7b34039b@www.coochey.net> The Clickatell API is essentially putting the message into a URL and using wget to post it. The 3G modem would just be a way to route your Internet via an out-of-band service so you can receive SMS's when your normal internet goes down. I expect the API would allow for queueing of SMSs, it's a much easier solution than running a bank of SMS gateways yourself. On 2012-02-01 15:53, Marco Borsani wrote: > How does it work with Nagios ? > > DA: Giles Coochey [mailto:giles at coochey.net] > INVIATO: mercoled? 1 febbraio 2012 16:39 > A: nagios-users at lists.sourceforge.net > OGGETTO: Re: [Nagios-users] sms notifications > > Could you use a clickatel gateway over a 3G modem connection? > > -- > > Message sent via my webmail account. -- Message sent via my webmail account. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From helmut.wollmersdorfer at fixpunkt.de Wed Feb 1 16:46:21 2012 From: helmut.wollmersdorfer at fixpunkt.de (Helmut Wollmersdorfer) Date: Wed, 1 Feb 2012 16:46:21 +0100 Subject: check_openmanage: Physical Disk ... Undefined value 4096 Message-ID: Hi, since some days I get Physical Disk 0:0:0 [Dell WDC WD1003FBYX-18Y7B0, 1.0TB] on ctrl 0 needs attention: Undefined value 4096
Physical Disk 0:0:1 [Dell WDC WD1003FBYX-18Y7B0, 1.0TB] on ctrl 0 needs attention: Undefined value 4096
Physical Disk 0:0:2 [Dell WDC WD1003FBYX-18Y7B0, 1.0TB] on ctrl 0 needs attention: Undefined value 4096
Physical Disk 0:0:3 [Dell WDC WD1003FBYX-18Y7B0, 1.0TB] on ctrl 0 needs attention: Undefined value 4096 On the console of the server: # /opt/dell/srvadmin/bin/omreport storage pdisk controller=0 vdisk=0 List of Physical Disks belonging to VD10A Controller PERC H700 Integrated (Slot 4) Span 0 ID : 0:0:0 Status : Unknown Name : Physical Disk 0:0:0 State : Unknown Power Status : Spun Up Bus Protocol : SATA Media : HDD Revision : 01.01V02 Failure Predicted : No Certified : Yes Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : 0 Capacity : 931.00 GB (999653638144 bytes) Used RAID Disk Space : 931.00 GB (999653638144 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL Product ID : WDC WD1003FBYX-18Y7B0 Serial No. : WD-WCAW3145836558365 Part Number : TH0V8FCR1255213BC4RGA00 Negotiated Speed : 3.00 Gbps Capable Speed : 3.00 Gbps Manufacture Day : Not Available Manufacture Week : Not Available Manufacture Year : Not Available SAS Address : 4433221107000000 [same for all 4 disks of the array] Thus it seems that check_openmanage works correctly. Also the disk- array seems to work correctly (no error messages in the logs). Is this some sort of wrong diagnostic from the firmware/controller? TIA Helmut Wollmersdorfer ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert at robertvbolton.com Wed Feb 1 17:20:32 2012 From: robert at robertvbolton.com (Robert V. Bolton) Date: Wed, 1 Feb 2012 09:20:32 -0700 Subject: Check_Ping plugin not Incrementing Check Attempt Value In-Reply-To: References: Message-ID: On Tue, Jan 31, 2012 at 2:03 AM, Claudio Kuenzler wrote: > But what's strange in your log are also the missing SOFT states, where are > they? > You're correct, I'm missing some of the SOFT states. I'm going to have to do some more testing before I can say for sure if there is a bug in either Nagios of the check_ping plugin. -- *Robert V. Bolton* Email: robert at robertvbolton.com Web: http://robertvbolton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.ribeiro at altitudeinfra.fr Wed Feb 1 17:17:35 2012 From: david.ribeiro at altitudeinfra.fr (David Ribeiro) Date: Wed, 1 Feb 2012 17:17:35 +0100 (CET) Subject: check_openmanage: Physical Disk ... Undefined value 4096 In-Reply-To: References: Message-ID: <1937717221.145600.1328113055298.JavaMail.root@zm-mbs01.altitudetelecom.fr> Hello, I had the same issue the last week. My disk didn't want to rebuild in the RAID1, i have change the disk by a spare And 10 hours after (don't panic if your disk disappear for several hours), the controller have finished to verify and rebuild the disk into his RAID. Dell support have changed the disk with a new. This appeared on a PowerEdge R610 and i use the check_openmanage 3.6.5 Sincerly, David ----- Mail original ----- De: "Helmut Wollmersdorfer" ?: "Nagios Users List" Envoy?: Mercredi 1 F?vrier 2012 16:46:21 Objet: [Nagios-users] check_openmanage: Physical Disk ... Undefined value 4096 Hi, since some days I get Physical Disk 0:0:0 [Dell WDC WD1003FBYX-18Y7B0, 1.0TB] on ctrl 0 needs attention: Undefined value 4096
Physical Disk 0:0:1 [Dell WDC WD1003FBYX-18Y7B0, 1.0TB] on ctrl 0 needs attention: Undefined value 4096
Physical Disk 0:0:2 [Dell WDC WD1003FBYX-18Y7B0, 1.0TB] on ctrl 0 needs attention: Undefined value 4096
Physical Disk 0:0:3 [Dell WDC WD1003FBYX-18Y7B0, 1.0TB] on ctrl 0 needs attention: Undefined value 4096 On the console of the server: # /opt/dell/srvadmin/bin/omreport storage pdisk controller=0 vdisk=0 List of Physical Disks belonging to VD10A Controller PERC H700 Integrated (Slot 4) Span 0 ID : 0:0:0 Status : Unknown Name : Physical Disk 0:0:0 State : Unknown Power Status : Spun Up Bus Protocol : SATA Media : HDD Revision : 01.01V02 Failure Predicted : No Certified : Yes Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : 0 Capacity : 931.00 GB (999653638144 bytes) Used RAID Disk Space : 931.00 GB (999653638144 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL Product ID : WDC WD1003FBYX-18Y7B0 Serial No. : WD-WCAW3145836558365 Part Number : TH0V8FCR1255213BC4RGA00 Negotiated Speed : 3.00 Gbps Capable Speed : 3.00 Gbps Manufacture Day : Not Available Manufacture Week : Not Available Manufacture Year : Not Available SAS Address : 4433221107000000 [same for all 4 disks of the array] Thus it seems that check_openmanage works correctly. Also the disk- array seems to work correctly (no error messages in the logs). Is this some sort of wrong diagnostic from the firmware/controller? TIA Helmut Wollmersdorfer ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Ce message et toutes les pieces jointes (ci-apres le "message" ) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire sans en conserver de copie et d'en avertir immediatement l'expediteur. Internet ne permettant pas de garantir l'integrite de ce message, AltitudeInfrastructure decline toute responsabilite au titre de ce message s'il a ete modifie, altere, deforme ou falsifie. This message and any attachments (the "message") are confidential and intended solely for the addressees. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you receive this message in error, please delete it without storing any evidence and immediately notify the sender. Internet can not guarantee the integrity of this message, neither AltitudeInfrastructure shall be liable for the message if modified, altered, changed or falsified. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Wed Feb 1 17:56:03 2012 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 01 Feb 2012 17:56:03 +0100 Subject: check_openmanage: Physical Disk ... Undefined value 4096 In-Reply-To: (Helmut Wollmersdorfer's message of "Wed, 1 Feb 2012 16:46:21 +0100") References: Message-ID: <15tbopio5lo.fsf@tux.uio.no> Helmut Wollmersdorfer writes: > Physical Disk 0:0:0 [Dell WDC WD1003FBYX-18Y7B0, 1.0TB] on ctrl 0 > needs attention: Undefined value 4096 Hello Helmut, The "state" value for physical disks via SNMP is an integer, which is translated by the plugin. There are a few defined values, and 4096 is not one of them. > On the console of the server: > > # /opt/dell/srvadmin/bin/omreport storage pdisk controller=0 vdisk=0 > List of Physical Disks belonging to VD10A > > Controller PERC H700 Integrated (Slot 4) > > Span 0 > ID : 0:0:0 > Status : Unknown > Name : Physical Disk 0:0:0 > State : Unknown > Power Status : Spun Up > Bus Protocol : SATA > Media : HDD > Revision : 01.01V02 > Failure Predicted : No > Certified : Yes > Encryption Capable : No > Encrypted : Not Applicable > Progress : Not Applicable > Mirror Set ID : 0 > Capacity : 931.00 GB (999653638144 bytes) > Used RAID Disk Space : 931.00 GB (999653638144 bytes) > Available RAID Disk Space : 0.00 GB (0 bytes) > Hot Spare : No > Vendor ID : DELL > Product ID : WDC WD1003FBYX-18Y7B0 > Serial No. : WD-WCAW3145836558365 > Part Number : TH0V8FCR1255213BC4RGA00 > Negotiated Speed : 3.00 Gbps > Capable Speed : 3.00 Gbps > Manufacture Day : Not Available > Manufacture Week : Not Available > Manufacture Year : Not Available > SAS Address : 4433221107000000 > > [same for all 4 disks of the array] > > Thus it seems that check_openmanage works correctly. Also the disk- > array seems to work correctly (no error messages in the logs). > > Is this some sort of wrong diagnostic from the firmware/controller? No, this is not normal behaviour. I've seen this only on disks that were so damaged that Openmanage failed miserably when attempting to get info from them. Clearly this is not the case here, as you get the same error on multiple disks and they otherwise work fine. If you haven't already, you should try upgrading all BIOS and firmware on the server, especially the controller firmware. You should also upgrade Openmanage if you're not running the latest version (6.5.0). If all else fails, I would contact Dell support and have them look at it. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 greenleaftech.net Wed Feb 1 19:19:56 2012 From: tom at greenleaftech.net (Tom Haddon) Date: Wed, 01 Feb 2012 18:19:56 +0000 Subject: a question about service escalations Message-ID: <4F29824C.3030300@greenleaftech.net> Hi Folks, I'm trying to use service escalations as a way of having all alerts from a given hostgroup go to a different contact than all other alerts. So for example, all hosts are defined to "use" a host definition called "server" which goes to the "vanguard" contact (and the services that run on there use a service template that also uses the "vanguard" contact). Now one particular host is in the "bucket_a" hostgroup, and I've defined an escalation for that hostgroup like so: define serviceescalation { hostgroup_name bucket_a service_description * first_notification 1 last_notification 0 notification_interval 240 contact_groups notvanguard } Unfortunately it seems like both vanguard and notvanguard are receiving alerts still for services on this server. Any ideas what I'm missing? Is it because I'm mixing and matching contacts with contactgroups? I'm expecting it to override the "vanguard" contact with the "notvanguard" contactgroup. Thanks, Tom ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jake at demonware.net Thu Feb 2 02:53:40 2012 From: jake at demonware.net (Jake Xu) Date: Wed, 1 Feb 2012 17:53:40 -0800 Subject: Configuration Management for Nagios services/hosts/commands definitions Message-ID: Dear Nagios Friends, I'd like to know some best practices for managing all those Nagios configuration files. In our environment, we use git for version control, but managing and deploying config files to different Nagios servers is still a pain. I wonder if any can share some good practices or good ideas on how to streamline to process of making changes and deploying new config files. I've considered using puppet to push changes, but the number of config files (50+) seems too much for puppet (because I would probably have to writing config code for each single file). Migrating to Multisite might minimize the number of files a little bit, but a single huge main.mk file is not much easier to maintain. I know that some of you have large and multiple Nagios environments setup as well. It would be nice to see some of you share how you manage the servers systematically. Thanks! Jake -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frnkblk at iname.com Thu Feb 2 03:55:16 2012 From: frnkblk at iname.com (Frank Bulk) Date: Wed, 1 Feb 2012 20:55:16 -0600 Subject: sms notifications In-Reply-To: <00cb01cce0f2$c5227920$4f676b60$@it.net> References: <00cb01cce0f2$c5227920$4f676b60$@it.net> Message-ID: <002b01cce156$17d3df20$477b9d60$@iname.com> We use the MultiTech MultiModem iSMS - works great. Frank From: Marco Borsani [mailto:m.borsani at it.net] Sent: Wednesday, February 01, 2012 9:04 AM To: NAGIOS Subject: [Nagios-users] sms notifications Hi all To send sms notifications, I am using since 2003 a couple of radiomodem, connected via serial to my server and smstools SW. Now, I need something "stronger" compared that configuration because for specific checks I have to send many and many sms at the same time. What can I use ? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 limepepper.co.uk Thu Feb 2 04:56:39 2012 From: tom at limepepper.co.uk (Tom H) Date: Thu, 02 Feb 2012 03:56:39 +0000 Subject: Configuration Management for Nagios services/hosts/commands definitions In-Reply-To: References: Message-ID: <4F2A0977.6060108@limepepper.co.uk> On 02/02/12 01:53, Jake Xu wrote: > > It would be nice to see some of you share how you manage the servers > systematically. > I am using chef to manage the configurations... ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bram at openminds.be Thu Feb 2 09:14:57 2012 From: bram at openminds.be (Bram Gillemon) Date: Thu, 2 Feb 2012 09:14:57 +0100 Subject: Configuration Management for Nagios services/hosts/commands definitions In-Reply-To: <4F2A0977.6060108@limepepper.co.uk> References: <4F2A0977.6060108@limepepper.co.uk> Message-ID: Tom, how do you manage your configurations with chef? Do you use attributes per cookbook to manage the different roles you can add to your server? How do you pass the ports to your nagios? I'm trying to figure out how i can manage all my configuration files using chef. Kr, Bram On 02 Feb 2012, at 04:56, Tom H wrote: > On 02/02/12 01:53, Jake Xu wrote: >> >> It would be nice to see some of you share how you manage the servers >> systematically. >> > > I am using chef to manage the configurations... > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 limepepper.co.uk Thu Feb 2 10:10:36 2012 From: tom at limepepper.co.uk (Tom H) Date: Thu, 02 Feb 2012 09:10:36 +0000 Subject: Configuration Management for Nagios services/hosts/commands definitions In-Reply-To: References: <4F2A0977.6060108@limepepper.co.uk> Message-ID: <4F2A530C.9000309@limepepper.co.uk> On 02/02/12 08:14, Bram Gillemon wrote: > Tom, > > how do you manage your configurations with chef? > > Do you use attributes per cookbook to manage the different roles you can add to your server? How do you pass the ports to your nagios? > > I'm trying to figure out how i can manage all my configuration files using chef. Originally, well still mostly, I have each role declaring a list of nagios client ports which the nagios::server recipe collects using node search on nagios attributes and adds to the template. However I am thinking of creating an abstraction layer in a "network" cookbook that declares a LWRP called "Port" that would be declared in network services cookbooks and used like so ... say for mysql; |Port ||"mysql-port"| |do| |||number 3306 state "OPEN" protocol "TCP" ||||||||||||| |end | The benefit here is that a recipe for any monitoring program could come and get the ports for an app, such as monit, nmap, zabbix and it could even by used for configuring firewalls by adding some "Rule" abstraction. However other than proving the concept with MySQL, thats as far as I got. Cheers, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From helmut.wollmersdorfer at fixpunkt.de Thu Feb 2 15:02:47 2012 From: helmut.wollmersdorfer at fixpunkt.de (Helmut Wollmersdorfer) Date: Thu, 2 Feb 2012 15:02:47 +0100 Subject: check_openmanage: Physical Disk ... Undefined value 4096 In-Reply-To: <15tbopio5lo.fsf@tux.uio.no> References: <15tbopio5lo.fsf@tux.uio.no> Message-ID: <3C085D76-0719-42F5-8EDE-9D5BEE1262D9@fixpunkt.de> Am 01.02.2012 um 17:56 schrieb Trond Hasle Amundsen: > Helmut Wollmersdorfer writes: [...] >> Thus it seems that check_openmanage works correctly. Also the disk- >> array seems to work correctly (no error messages in the logs). >> >> Is this some sort of wrong diagnostic from the firmware/controller? > > No, this is not normal behaviour. I've seen this only on disks that > were > so damaged that Openmanage failed miserably when attempting to get > info > from them. Clearly this is not the case here, as you get the same > error > on multiple disks and they otherwise work fine. > > If you haven't already, you should try upgrading all BIOS and firmware > on the server, especially the controller firmware. You should also > upgrade Openmanage if you're not running the latest version (6.5.0). Thx for the quick response. It seems that this is the same problem as in http://lists.us.dell.com/pipermail/linux-poweredge/2012-January/045834.html (Here is also R510, PERC H700, Debian 6, Kernel 2.6.32, megaraid_sas 00.00.04.01) This means, that the status is never or sporadically updated. The solution is to use a newer megaraid_sas kernel-module, or a newer kernel. Helmut Wollmersdorfer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ftlnagios at gmail.com Thu Feb 2 15:32:36 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Thu, 2 Feb 2012 14:32:36 -0000 Subject: sms notifications In-Reply-To: <002b01cce156$17d3df20$477b9d60$@iname.com> References: <00cb01cce0f2$c5227920$4f676b60$@it.net> <002b01cce156$17d3df20$477b9d60$@iname.com> Message-ID: <000901cce1b7$83177880$89466980$@gmail.com> Hi Marco I use a Nokia 6021 mobile phone hooked up via USB using the gammu software, and I write all my sms alerts to a MYSQL database, an sms daemon then scans the database and sends out any that are in the outbox table through the connected mobile phone. I have tested this with 243 sms alerts all going out at the same time (killed a VPN link) and it worked flawlessly (although did take approx. 15 minutes to send all alerts) Hope this is helpful From: Frank Bulk [mailto:frnkblk at iname.com] Sent: 02 February 2012 02:55 To: NAGIOS Subject: Re: [Nagios-users] sms notifications We use the MultiTech MultiModem iSMS - works great. Frank From: Marco Borsani [mailto:m.borsani at it.net] Sent: Wednesday, February 01, 2012 9:04 AM To: NAGIOS Subject: [Nagios-users] sms notifications Hi all To send sms notifications, I am using since 2003 a couple of radiomodem, connected via serial to my server and smstools SW. Now, I need something "stronger" compared that configuration because for specific checks I have to send many and many sms at the same time. What can I use ? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike at summersault.com Thu Feb 2 15:41:05 2012 From: mike at summersault.com (Mike Neimoyer) Date: Thu, 02 Feb 2012 09:41:05 -0500 Subject: sms notifications In-Reply-To: <000901cce1b7$83177880$89466980$@gmail.com> References: <00cb01cce0f2$c5227920$4f676b60$@it.net> <002b01cce156$17d3df20$477b9d60$@iname.com> <000901cce1b7$83177880$89466980$@gmail.com> Message-ID: <4F2AA081.3090209@summersault.com> On 02/02/2012 09:32 AM, FTL Nagios wrote: > I use a Nokia 6021 mobile phone hooked up via USB using the gammu > software, Similarly, we use a Motorola Razr V3 mobile phone connected via USB cable to the Nagios system and send our alerts using the gammu software as well. We have the phone on an SMS-only plan from T-Mobile. We've had some issues with signal strength to the mobile phone but relocating the mobile, using an active USB cable to overcome the distance, to a different location in the datacenter resolved that issue. Good luck! ~~Mike ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bram at openminds.be Thu Feb 2 15:47:42 2012 From: bram at openminds.be (Bram Gillemon) Date: Thu, 2 Feb 2012 15:47:42 +0100 Subject: sms notifications In-Reply-To: <000901cce1b7$83177880$89466980$@gmail.com> References: <00cb01cce0f2$c5227920$4f676b60$@it.net> <002b01cce156$17d3df20$477b9d60$@iname.com> <000901cce1b7$83177880$89466980$@gmail.com> Message-ID: <745A02C3-2A83-4B5D-9776-A541219C8F25@openminds.be> We are using a Fastrack Xtend - HSPA with a digi PortServer TS 2 And a home made script to send out text messages, i haven't found a pre made script to send AT commands. Kr, Bram On 02 Feb 2012, at 15:32, FTL Nagios wrote: > Hi Marco > > I use a Nokia 6021 mobile phone hooked up via USB using the gammu software, and I write all my sms alerts to a MYSQL database, an sms daemon then scans the database and sends out any that are in the outbox table through the connected mobile phone. > > I have tested this with 243 sms alerts all going out at the same time (killed a VPN link) and it worked flawlessly (although did take approx. 15 minutes to send all alerts) > > Hope this is helpful > > From: Frank Bulk [mailto:frnkblk at iname.com] > Sent: 02 February 2012 02:55 > To: NAGIOS > Subject: Re: [Nagios-users] sms notifications > > We use the MultiTech MultiModem iSMS ? works great. > > Frank > > From: Marco Borsani [mailto:m.borsani at it.net] > Sent: Wednesday, February 01, 2012 9:04 AM > To: NAGIOS > Subject: [Nagios-users] sms notifications > > Hi all > > To send sms notifications, I am using since 2003 a couple of radiomodem, connected via serial to my server and smstools SW. > > Now, I need something ?stronger? compared that configuration because for specific checks I have to send many and many sms at the same time. > > What can I use ? > > Regards > Marco > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Feb 2 16:02:45 2012 From: m.borsani at it.net (Marco Borsani) Date: Thu, 2 Feb 2012 16:02:45 +0100 Subject: R: sms notifications In-Reply-To: <745A02C3-2A83-4B5D-9776-A541219C8F25@openminds.be> References: <00cb01cce0f2$c5227920$4f676b60$@it.net> <002b01cce156$17d3df20$477b9d60$@iname.com> <000901cce1b7$83177880$89466980$@gmail.com> <745A02C3-2A83-4B5D-9776-A541219C8F25@openminds.be> Message-ID: <013a01cce1bb$be605520$3b20ff60$@it.net> May you send me the script ? Does it can control 2 Fastrack Xtend ? Thanks Da: Bram Gillemon [mailto:bram at openminds.be] Inviato: gioved? 2 febbraio 2012 15:48 A: Nagios Users List Oggetto: Re: [Nagios-users] sms notifications We are using a Fastrack Xtend - HSPA with a digi PortServer TS 2 And a home made script to send out text messages, i haven't found a pre made script to send AT commands. Kr, Bram On 02 Feb 2012, at 15:32, FTL Nagios wrote: Hi Marco I use a Nokia 6021 mobile phone hooked up via USB using the gammu software, and I write all my sms alerts to a MYSQL database, an sms daemon then scans the database and sends out any that are in the outbox table through the connected mobile phone. I have tested this with 243 sms alerts all going out at the same time (killed a VPN link) and it worked flawlessly (although did take approx. 15 minutes to send all alerts) Hope this is helpful From: Frank Bulk [mailto:frnkblk at iname.com] Sent: 02 February 2012 02:55 To: NAGIOS Subject: Re: [Nagios-users] sms notifications We use the MultiTech MultiModem iSMS ? works great. Frank From: Marco Borsani [mailto:m.borsani at it.net] Sent: Wednesday, February 01, 2012 9:04 AM To: NAGIOS Subject: [Nagios-users] sms notifications Hi all To send sms notifications, I am using since 2003 a couple of radiomodem, connected via serial to my server and smstools SW. Now, I need something ?stronger? compared that configuration because for specific checks I have to send many and many sms at the same time. What can I use ? Regards Marco ---------------------------------------------------------------------------- -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d_________________________________________ ______ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Thu Feb 2 23:19:43 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Thu, 02 Feb 2012 14:19:43 -0800 Subject: Issue with distributed Host checks Message-ID: <4F2B0BFF.4030703@5dninja.net> I'm seeing oddities with my host checks. These are all on 3.2.1, and I do not have Host dependencies for the hosts in question. A worker node will detect a host as being down and send back a soft passive result. In many cases, the master will then immediately perform an active host check which is NOT logged. That host check will result in a hard state change, even though host checks are set for 2 retries at 1 minute intervals. Anyone know what's going on, or do I need to go read the source? Here's the relevant entries from the master node's nagios.cfg: $ grep host nagios.cfg accept_passive_host_checks=1 cached_host_check_horizon=15 check_for_orphaned_hosts=0 check_host_freshness=0 enable_predictive_host_dependency_checks=1 execute_host_checks=0 global_host_event_handler=event_handler high_host_flap_threshold=20.0 host_check_timeout=30 host_freshness_check_interval=60 host_inter_check_delay_method=s host_perfdata_file=/usr/local/nagios/var/host-perfdata.dat host_perfdata_file_mode=a log_host_retries=1 low_host_flap_threshold=5.0 max_host_check_spread=30 obsess_over_hosts=0 passive_host_checks_are_soft=1 retained_contact_host_attribute_mask=0 retained_host_attribute_mask=0 retained_process_host_attribute_mask=0 translate_passive_host_checks=0 use_aggressive_host_checking=0 And here's an example host object: define host { host_name xxxx address xxxx hostgroups All,cres,cres-dbss,cres-prod-dbss,cres-prod-dbss.soma,dbss,linux2,soma check_command check-host-alive max_check_attempts 2 check_interval 3 retry_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 obsess_over_host 1 check_freshness 1 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 0 contact_groups sysops notifications_enabled 1 notification_interval 60 notification_period 24x7 notification_options d,u,r,f notes_url https://xxxx/cacti/graph_view.php?action=preview&host_id=0&graph_template_id=0&filter=xxxx action_url /nagios/cgi-bin/extui.py?host=xxxx.com _ENVIRONMENT prod _HARDWARE R710 _LOCATION soma _OS Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 _PORTFOLIO Encryption _PRODUCT cres _PURPOSE dbss _RACK 07--11 _SERIAL 536QNM1 _SOURCE ASDB/Servers _SOURCE_URL https://xxxx/servers/admin/servers/server/3363/ __SNMP_COMMUNITY xxxx } -- Mike Lindsey ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jozsef.santa at icicom.hu Wed Feb 1 12:16:51 2012 From: jozsef.santa at icicom.hu (=?iso-8859-2?Q?S=E1nta_J=F3zsef?=) Date: Wed, 1 Feb 2012 12:16:51 +0100 Subject: check_snmp OID integer /10 Message-ID: <014501cce0d2$ff6a6ae0$fe3f40a0$@icicom.hu> Hi! I have a temperature SNMP device. snmpget 10.0.0.63 1.3.6.1.4.1.17095.4.1.3.3.0 -c public -v 1 iso.3.6.1.4.1.17095.4.1.3.3.0 = INTEGER: 40 But I like /10 of the integer. Something like this: [oid("1.3.6.1.4.1.17095.4.1.3.3.0")/10]?C How to add this to the check_snmp command? Thanks! Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Fri Feb 3 09:11:43 2012 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 03 Feb 2012 08:11:43 +0000 Subject: [SPAM] Re: Issue with distributed Host checks In-Reply-To: <4F2B0BFF.4030703@5dninja.net> References: <4F2B0BFF.4030703@5dninja.net> Message-ID: <4F2B96BF.70702@flatto.net> You can try and remove the active_checks_enabled 1 from the host config , the fact that it is enabled make nagios see the change and then trigger the active check which will be the 2nd status update ( from up to down) and hence make it a hard state . if you do not trigger the active check , the master nagios will log the status change and then wait for the worker's next update. Assaf Mike Lindsey wrote: > I'm seeing oddities with my host checks. These are all on 3.2.1, and I > do not have Host dependencies for the hosts in question. > > A worker node will detect a host as being down and send back a soft > passive result. > > In many cases, the master will then immediately perform an active host > check which is NOT logged. That host check will result in a hard state > change, even though host checks are set for 2 retries at 1 minute intervals. > > Anyone know what's going on, or do I need to go read the source? > > Here's the relevant entries from the master node's nagios.cfg: > $ grep host nagios.cfg > accept_passive_host_checks=1 > cached_host_check_horizon=15 > check_for_orphaned_hosts=0 > check_host_freshness=0 > enable_predictive_host_dependency_checks=1 > execute_host_checks=0 > global_host_event_handler=event_handler > high_host_flap_threshold=20.0 > host_check_timeout=30 > host_freshness_check_interval=60 > host_inter_check_delay_method=s > host_perfdata_file=/usr/local/nagios/var/host-perfdata.dat > host_perfdata_file_mode=a > log_host_retries=1 > low_host_flap_threshold=5.0 > max_host_check_spread=30 > obsess_over_hosts=0 > passive_host_checks_are_soft=1 > retained_contact_host_attribute_mask=0 > retained_host_attribute_mask=0 > retained_process_host_attribute_mask=0 > translate_passive_host_checks=0 > use_aggressive_host_checking=0 > > And here's an example host object: > define host { > host_name xxxx > address xxxx > hostgroups > All,cres,cres-dbss,cres-prod-dbss,cres-prod-dbss.soma,dbss,linux2,soma > check_command check-host-alive > max_check_attempts 2 > check_interval 3 > retry_interval 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > obsess_over_host 1 > check_freshness 1 > flap_detection_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 0 > contact_groups sysops > notifications_enabled 1 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r,f > notes_url > https://xxxx/cacti/graph_view.php?action=preview&host_id=0&graph_template_id=0&filter=xxxx > action_url /nagios/cgi-bin/extui.py?host=xxxx.com > _ENVIRONMENT prod > _HARDWARE R710 > _LOCATION soma > _OS Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 > EDT 2009 x86_64 > _PORTFOLIO Encryption > _PRODUCT cres > _PURPOSE dbss > _RACK 07--11 > _SERIAL 536QNM1 > _SOURCE ASDB/Servers > _SOURCE_URL https://xxxx/servers/admin/servers/server/3363/ > __SNMP_COMMUNITY xxxx > } > > ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Fri Feb 3 18:06:11 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Fri, 3 Feb 2012 17:06:11 +0000 Subject: NDOUtils Error writing to data sink! Some output may get lost. xxx queued items to flush Message-ID: Hi all, Ubuntu 11.04 32bit Desktop edition NDOUtils 1.4b9 Im trying to install NDOUtils so I can get Nagios writing its log files to MYSQL. But im not having much luck. I have followed the install guide to the letter: http://nagios.sourceforge.net/docs/ndoutils/NDOUtils.pdf When all said and done that fires out this entry in the nagios.log: [1328283956] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core Development Team and Community Contributors [1328283956] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1328283956] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328283956] Finished daemonizing... (New PID=5771) So did a bit of googling and then :- Chmod 755 /usr/local/nagios/bin/ndo2db-3x Chmod 755 /usr/local/nagios/bin/ndomod-3x.o Restarted the ndomod and nagios services/processes and got somewhere [1328284715] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core Development Team and Community Contributors [1328284715] ndomod: Successfully connected to data sink. 0 queued items to flush. [1328284715] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328284715] ndomod: Error writing to data sink! Some output may get lost... [1328284715] Please check remote ndo2db log, database connection or SSL Parameters [1328284715] Finished daemonizing... (New PID=13760) So did a bit more googling and I then:- Chmod 775 /usr/local/nagios/etc/ndo2db.cfg Chmod 775 /usr/local/nagios/etc/ndomod.cfg Chown nagios:nagios /usr/local/nagios.etc.ndo* Restarted the ndomod and nagios services/processes and got a bit further - No check log/db/parameters error [1328285023] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core Development Team and Community Contributors [1328285023] ndomod: Successfully connected to data sink. 2793 queued items to flush. [1328285023] ndomod: Error writing to data sink! Some output may get lost. 2554 queued items to flush [1328285023] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328285023] Finished daemonizing... (New PID=17107) Then read to change the perms on the ndo.sock file, so: Chmod 775 /usr/local/nagios/var/ndo.sock But still the same output: [1328285748] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core Development Team and Community Contributors [1328285748] ndomod: Successfully connected to data sink. 957 queued items to flush. [1328285748] ndomod: Error writing to data sink! Some output may get lost. 2374 queued items to flush [1328285748] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328285748] Finished daemonizing... (New PID=19520) My 2 config files can be found here: Ndomod.cfg - http://dl.dropbox.com/u/895609/ndomod.cfg Ndo2db.cfg - http://dl.dropbox.com/u/895609/ndo2db.cfg Can anybody please help me? This has to be permission related im sure of it but I cannot solve it. Thankyou in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ftlnagios at gmail.com Fri Feb 3 18:28:26 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Fri, 3 Feb 2012 17:28:26 -0000 Subject: NDOUtils Error writing to data sink! Some output may get lost. xxx queued items to flush In-Reply-To: References: Message-ID: <001e01cce299$3de51a00$b9af4e00$@gmail.com> Ok so for no reason nothing has changed from em writing the end of this email I now see [1328289822] ndomod: Successfully reconnected to data sink! 0 items lost, 328 queued items to flush. [1328289822] ndomod: Error writing to data sink! Some output may get lost. 47 queued items to flush. [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] From: Andrew Thompson [mailto:andrew at fulgent.co.uk] Sent: 03 February 2012 17:06 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NDOUtils Error writing to data sink! Some output may get lost. xxx queued items to flush Hi all, Ubuntu 11.04 32bit Desktop edition NDOUtils 1.4b9 Im trying to install NDOUtils so I can get Nagios writing its log files to MYSQL. But im not having much luck. I have followed the install guide to the letter: http://nagios.sourceforge.net/docs/ndoutils/NDOUtils.pdf When all said and done that fires out this entry in the nagios.log: [1328283956] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright C 2009 Nagios Core Development Team and Community Contributors [1328283956] ndomod: Could not open data sink! I'll keep trying, but some output may get lost. [1328283956] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328283956] Finished daemonizing. (New PID=5771) So did a bit of googling and then :- Chmod 755 /usr/local/nagios/bin/ndo2db-3x Chmod 755 /usr/local/nagios/bin/ndomod-3x.o Restarted the ndomod and nagios services/processes and got somewhere [1328284715] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright C 2009 Nagios Core Development Team and Community Contributors [1328284715] ndomod: Successfully connected to data sink. 0 queued items to flush. [1328284715] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328284715] ndomod: Error writing to data sink! Some output may get lost. [1328284715] Please check remote ndo2db log, database connection or SSL Parameters [1328284715] Finished daemonizing. (New PID=13760) So did a bit more googling and I then:- Chmod 775 /usr/local/nagios/etc/ndo2db.cfg Chmod 775 /usr/local/nagios/etc/ndomod.cfg Chown nagios:nagios /usr/local/nagios.etc.ndo* Restarted the ndomod and nagios services/processes and got a bit further - No check log/db/parameters error [1328285023] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright C 2009 Nagios Core Development Team and Community Contributors [1328285023] ndomod: Successfully connected to data sink. 2793 queued items to flush. [1328285023] ndomod: Error writing to data sink! Some output may get lost. 2554 queued items to flush [1328285023] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328285023] Finished daemonizing. (New PID=17107) Then read to change the perms on the ndo.sock file, so: Chmod 775 /usr/local/nagios/var/ndo.sock But still the same output: [1328285748] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright C 2009 Nagios Core Development Team and Community Contributors [1328285748] ndomod: Successfully connected to data sink. 957 queued items to flush. [1328285748] ndomod: Error writing to data sink! Some output may get lost. 2374 queued items to flush [1328285748] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328285748] Finished daemonizing. (New PID=19520) My 2 config files can be found here: Ndomod.cfg - http://dl.dropbox.com/u/895609/ndomod.cfg Ndo2db.cfg - http://dl.dropbox.com/u/895609/ndo2db.cfg Can anybody please help me? This has to be permission related im sure of it but I cannot solve it. Thankyou in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ftlnagios at gmail.com Fri Feb 3 18:29:13 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Fri, 3 Feb 2012 17:29:13 -0000 Subject: NDOUtils Error writing to data sink! Some output may get lost. xxx queued items to flush In-Reply-To: References: Message-ID: <002301cce299$5984c990$0c8e5cb0$@gmail.com> Ok so for no apparent reason as nothing has changed from me writing the original email the log has now logged something new [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] [1328289822] From: Andrew Thompson [mailto:andrew at fulgent.co.uk] Sent: 03 February 2012 17:06 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NDOUtils Error writing to data sink! Some output may get lost. xxx queued items to flush Hi all, Ubuntu 11.04 32bit Desktop edition NDOUtils 1.4b9 Im trying to install NDOUtils so I can get Nagios writing its log files to MYSQL. But im not having much luck. I have followed the install guide to the letter: http://nagios.sourceforge.net/docs/ndoutils/NDOUtils.pdf When all said and done that fires out this entry in the nagios.log: [1328283956] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright C 2009 Nagios Core Development Team and Community Contributors [1328283956] ndomod: Could not open data sink! I'll keep trying, but some output may get lost. [1328283956] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328283956] Finished daemonizing. (New PID=5771) So did a bit of googling and then :- Chmod 755 /usr/local/nagios/bin/ndo2db-3x Chmod 755 /usr/local/nagios/bin/ndomod-3x.o Restarted the ndomod and nagios services/processes and got somewhere [1328284715] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright C 2009 Nagios Core Development Team and Community Contributors [1328284715] ndomod: Successfully connected to data sink. 0 queued items to flush. [1328284715] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328284715] ndomod: Error writing to data sink! Some output may get lost. [1328284715] Please check remote ndo2db log, database connection or SSL Parameters [1328284715] Finished daemonizing. (New PID=13760) So did a bit more googling and I then:- Chmod 775 /usr/local/nagios/etc/ndo2db.cfg Chmod 775 /usr/local/nagios/etc/ndomod.cfg Chown nagios:nagios /usr/local/nagios.etc.ndo* Restarted the ndomod and nagios services/processes and got a bit further - No check log/db/parameters error [1328285023] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright C 2009 Nagios Core Development Team and Community Contributors [1328285023] ndomod: Successfully connected to data sink. 2793 queued items to flush. [1328285023] ndomod: Error writing to data sink! Some output may get lost. 2554 queued items to flush [1328285023] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328285023] Finished daemonizing. (New PID=17107) Then read to change the perms on the ndo.sock file, so: Chmod 775 /usr/local/nagios/var/ndo.sock But still the same output: [1328285748] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright C 2009 Nagios Core Development Team and Community Contributors [1328285748] ndomod: Successfully connected to data sink. 957 queued items to flush. [1328285748] ndomod: Error writing to data sink! Some output may get lost. 2374 queued items to flush [1328285748] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328285748] Finished daemonizing. (New PID=19520) My 2 config files can be found here: Ndomod.cfg - http://dl.dropbox.com/u/895609/ndomod.cfg Ndo2db.cfg - http://dl.dropbox.com/u/895609/ndo2db.cfg Can anybody please help me? This has to be permission related im sure of it but I cannot solve it. Thankyou in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ftlnagios at gmail.com Fri Feb 3 18:37:02 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Fri, 3 Feb 2012 17:37:02 -0000 Subject: FW: NDOUtils Error writing to data sink! Some output may get lost. xxx queued items to flush References: Message-ID: <002801cce29a$70efb3a0$52cf1ae0$@gmail.com> Ok so for no apparent reason as nothing has changed from me writing the original email the log has now logged something new [1328289822] ndomod: Successfully reconnected to data sink! 0 items lost, 328 queued items to flush. [1328289822] ndomod: Error writing to data sink! Some output may get lost. 47 queued items to flush. [1328289838] ndomod: Successfully reconnected to data sink! 0 items lost, 189 queued items to flush. [1328289838] ndomod: Successfully flushed 189 queued items to data sink. [1328289838] ndomod: Error writing to data sink! Some output may get lost. [1328289838] ndomod: Please check remote ndo2db log, database connection or SSL parameters [1328289854] ndomod: Successfully reconnected to data sink! 0 items lost, 192 queued items to flush. [1328289854] ndomod: Successfully flushed 192 queued items to data sink. [1328289854] ndomod: Error writing to data sink! Some output may get lost. [1328289854] ndomod: Please check remote ndo2db log, database connection or SSL parameters So it started at least flushing stuff if not logging But then a few minutes later back to normal [1328290414] ndomod: Successfully reconnected to data sink! 0 items lost, 397 queued items to flush [1328290414] ndomod: Error writing to data sink! Some output may get lost. 139 queued items to flush Nothing at all has changed. This will drive me drink, I know it!!!! From: Andrew Thompson [mailto:andrew at fulgent.co.uk] Sent: 03 February 2012 17:06 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NDOUtils Error writing to data sink! Some output may get lost. xxx queued items to flush Hi all, Ubuntu 11.04 32bit Desktop edition NDOUtils 1.4b9 Im trying to install NDOUtils so I can get Nagios writing its log files to MYSQL. But im not having much luck. I have followed the install guide to the letter: http://nagios.sourceforge.net/docs/ndoutils/NDOUtils.pdf When all said and done that fires out this entry in the nagios.log: [1328283956] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright C 2009 Nagios Core Development Team and Community Contributors [1328283956] ndomod: Could not open data sink! I'll keep trying, but some output may get lost. [1328283956] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328283956] Finished daemonizing. (New PID=5771) So did a bit of googling and then :- Chmod 755 /usr/local/nagios/bin/ndo2db-3x Chmod 755 /usr/local/nagios/bin/ndomod-3x.o Restarted the ndomod and nagios services/processes and got somewhere [1328284715] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright C 2009 Nagios Core Development Team and Community Contributors [1328284715] ndomod: Successfully connected to data sink. 0 queued items to flush. [1328284715] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328284715] ndomod: Error writing to data sink! Some output may get lost. [1328284715] Please check remote ndo2db log, database connection or SSL Parameters [1328284715] Finished daemonizing. (New PID=13760) So did a bit more googling and I then:- Chmod 775 /usr/local/nagios/etc/ndo2db.cfg Chmod 775 /usr/local/nagios/etc/ndomod.cfg Chown nagios:nagios /usr/local/nagios.etc.ndo* Restarted the ndomod and nagios services/processes and got a bit further - No check log/db/parameters error [1328285023] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright C 2009 Nagios Core Development Team and Community Contributors [1328285023] ndomod: Successfully connected to data sink. 2793 queued items to flush. [1328285023] ndomod: Error writing to data sink! Some output may get lost. 2554 queued items to flush [1328285023] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328285023] Finished daemonizing. (New PID=17107) Then read to change the perms on the ndo.sock file, so: Chmod 775 /usr/local/nagios/var/ndo.sock But still the same output: [1328285748] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright C 2009 Nagios Core Development Team and Community Contributors [1328285748] ndomod: Successfully connected to data sink. 957 queued items to flush. [1328285748] ndomod: Error writing to data sink! Some output may get lost. 2374 queued items to flush [1328285748] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1328285748] Finished daemonizing. (New PID=19520) My 2 config files can be found here: Ndomod.cfg - http://dl.dropbox.com/u/895609/ndomod.cfg Ndo2db.cfg - http://dl.dropbox.com/u/895609/ndo2db.cfg Can anybody please help me? This has to be permission related im sure of it but I cannot solve it. Thankyou in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonny.mosco at gmail.com Fri Feb 3 18:50:21 2012 From: jonny.mosco at gmail.com (Jonny Mosco) Date: Fri, 3 Feb 2012 12:50:21 -0500 Subject: FW: NDOUtils Error writing to data sink! Some output may get lost. xxx queued items to flush In-Reply-To: <002801cce29a$70efb3a0$52cf1ae0$@gmail.com> References: <002801cce29a$70efb3a0$52cf1ae0$@gmail.com> Message-ID: In ndo2db.cfg, is the username and password to connect to the db correct? db_user=nagios db_pass=nagios I had a similar error, and that was how I fixed it. On Fri, Feb 3, 2012 at 12:37 PM, FTL Nagios wrote: > Ok so for no apparent reason as nothing has changed from me writing the > original email the log has now logged something new**** > > ** ** > > [1328289822] ndomod: Successfully reconnected to data sink! 0 items lost, > 328 queued items to flush.**** > > [1328289822] ndomod: Error writing to data sink! Some output may get lost. > 47 queued items to flush.**** > > ** ** > > [1328289838] ndomod: Successfully reconnected to data sink! 0 items lost, > 189 queued items to flush.**** > > [1328289838] ndomod: Successfully flushed 189 queued items to data sink.** > ** > > [1328289838] ndomod: Error writing to data sink! Some output may get lost? > **** > > [1328289838] ndomod: Please check remote ndo2db log, database connection > or SSL parameters**** > > [1328289854] ndomod: Successfully reconnected to data sink! 0 items lost, > 192 queued items to flush.**** > > [1328289854] ndomod: Successfully flushed 192 queued items to data sink.** > ** > > [1328289854] ndomod: Error writing to data sink! Some output may get lost? > **** > > [1328289854] ndomod: Please check remote ndo2db log, database connection > or SSL parameters**** > > ** ** > > So it started at least flushing stuff if not logging**** > > ** ** > > But then a few minutes later back to normal**** > > ** ** > > [1328290414] ndomod: Successfully reconnected to data sink! 0 items lost, > 397 queued items to flush**** > > [1328290414] ndomod: Error writing to data sink! Some output may get > lost. 139 queued items to flush**** > > ** ** > > ** ** > > Nothing at all has changed.**** > > ** ** > > This will drive me drink, I know it!!!!**** > > ** ** > > ** ** > > *From:* Andrew Thompson [mailto:andrew at fulgent.co.uk] > *Sent:* 03 February 2012 17:06 > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] NDOUtils Error writing to data sink! Some > output may get lost. xxx queued items to flush**** > > ** ** > > Hi all,**** > > ** ** > > Ubuntu 11.04 32bit Desktop edition**** > > NDOUtils 1.4b9**** > > ** ** > > ** ** > > ** ** > > Im trying to install NDOUtils so I can get Nagios writing its log files to > MYSQL.**** > > ** ** > > But im not having much luck.**** > > ** ** > > I have followed the install guide to the letter: > http://nagios.sourceforge.net/docs/ndoutils/NDOUtils.pdf**** > > ** ** > > When all said and done that fires out this entry in the nagios.log:**** > > ** ** > > [1328283956] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright ? 2009 Nagios > Core Development Team and Community Contributors**** > > [1328283956] ndomod: Could not open data sink! I?ll keep trying, but some > output may get lost?**** > > [1328283956] Event broker module ?/usr/local/nagios/bin/ndomod-3x.o? > initialized successfully.**** > > [1328283956] Finished daemonizing? (New PID=5771)**** > > ** ** > > ** ** > > ** ** > > So did a bit of googling and then :-**** > > ** ** > > Chmod 755 /usr/local/nagios/bin/ndo2db-3x**** > > Chmod 755 /usr/local/nagios/bin/ndomod-3x.o**** > > ** ** > > ** ** > > ** ** > > Restarted the ndomod and nagios services/processes and got somewhere**** > > ** ** > > [1328284715] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright ? 2009 Nagios > Core Development Team and Community Contributors**** > > [1328284715] ndomod: Successfully connected to data sink. 0 queued items > to flush.**** > > [1328284715] Event broker module ?/usr/local/nagios/bin/ndomod-3x.o? > initialized successfully.**** > > [1328284715] ndomod: Error writing to data sink! Some output may get lost? > **** > > [1328284715] Please check remote ndo2db log, database connection or SSL > Parameters**** > > [1328284715] Finished daemonizing? (New PID=13760)**** > > ** ** > > ** ** > > ** ** > > So did a bit more googling and I then:-**** > > ** ** > > Chmod 775 /usr/local/nagios/etc/ndo2db.cfg**** > > Chmod 775 /usr/local/nagios/etc/ndomod.cfg**** > > Chown nagios:nagios /usr/local/nagios.etc.ndo***** > > ** ** > > ** ** > > ** ** > > Restarted the ndomod and nagios services/processes and got a bit further ? > No check log/db/parameters error**** > > ** ** > > ** ** > > [1328285023] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright ? 2009 Nagios > Core Development Team and Community Contributors**** > > [1328285023] ndomod: Successfully connected to data sink. 2793 queued > items to flush.**** > > [1328285023] ndomod: Error writing to data sink! Some output may get lost. > 2554 queued items to flush**** > > [1328285023] Event broker module ?/usr/local/nagios/bin/ndomod-3x.o? > initialized successfully.**** > > [1328285023] Finished daemonizing? (New PID=17107)**** > > ** ** > > ** ** > > ** ** > > Then read to change the perms on the ndo.sock file, so:**** > > ** ** > > Chmod 775 /usr/local/nagios/var/ndo.sock**** > > ** ** > > ** ** > > But still the same output:**** > > ** ** > > [1328285748] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright ? 2009 Nagios > Core Development Team and Community Contributors**** > > [1328285748] ndomod: Successfully connected to data sink. 957 queued items > to flush.**** > > [1328285748] ndomod: Error writing to data sink! Some output may get lost. > 2374 queued items to flush**** > > [1328285748] Event broker module ?/usr/local/nagios/bin/ndomod-3x.o? > initialized successfully.**** > > [1328285748] Finished daemonizing? (New PID=19520)**** > > ** ** > > My 2 config files can be found here:**** > > ** ** > > Ndomod.cfg - http://dl.dropbox.com/u/895609/ndomod.cfg**** > > Ndo2db.cfg - http://dl.dropbox.com/u/895609/ndo2db.cfg**** > > ** ** > > ** ** > > Can anybody please help me? This has to be permission related im sure of > it but I cannot solve it.**** > > ** ** > > Thankyou in advance**** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ftlnagios at gmail.com Fri Feb 3 19:34:10 2012 From: ftlnagios at gmail.com (Ftlnagios) Date: Fri, 03 Feb 2012 18:34:10 +0000 Subject: Fwd: Re: FW: NDOUtils Error writing to data sink! Some output may get lost. xxx queued items to flush Message-ID: Hi Jonny Thanks for the suggestion. That user name and password is correct. I am also able to login to the Nagios_Reporting with the above details Sent from Samsung Mobile -------- Original message -------- Subject: Re: [Nagios-users] FW: NDOUtils Error writing to data sink! Some output may get lost. xxx queued items to flush From: Jonny Mosco To: Nagios Users List CC: In ndo2db.cfg, is the username and password to connect to the db correct? db_user=nagios db_pass=nagios I had a similar error, and that was how I fixed it. On Fri, Feb 3, 2012 at 12:37 PM, FTL Nagios wrote: Ok so for no apparent reason as nothing has changed from me writing the original email the log has now logged something new ? [1328289822] ndomod: Successfully reconnected to data sink! 0 items lost, 328 queued items to flush. [1328289822] ndomod: Error writing to data sink! Some output may get lost. 47 queued items to flush. ? [1328289838] ndomod: Successfully reconnected to data sink! 0 items lost, 189 queued items to flush. [1328289838] ndomod: Successfully flushed 189 queued items to data sink. [1328289838] ndomod: Error writing to data sink! Some output may get lost? [1328289838] ndomod: Please check remote ndo2db log, database connection or SSL parameters [1328289854] ndomod: Successfully reconnected to data sink! 0 items lost, 192 queued items to flush. [1328289854] ndomod: Successfully flushed 192 queued items to data sink. [1328289854] ndomod: Error writing to data sink! Some output may get lost? [1328289854] ndomod: Please check remote ndo2db log, database connection or SSL parameters ? So it started at least flushing stuff if not logging ? But then a few minutes later back to normal ? [1328290414] ndomod: Successfully reconnected to data sink! 0 items lost, 397 queued items to flush [1328290414] ndomod: Error writing to data sink! Some output may get lost. 139 queued items to flush ? ? Nothing at all has changed. ? This will drive me drink, I know it!!!! ? ? From: Andrew Thompson [mailto:andrew at fulgent.co.uk] Sent: 03 February 2012 17:06 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NDOUtils Error writing to data sink! Some output may get lost. xxx queued items to flush ? Hi all, ? Ubuntu 11.04 32bit Desktop edition NDOUtils 1.4b9 ? ? ? Im trying to install NDOUtils so I can get Nagios writing its log files to MYSQL. ? But im not having much luck. ? I have followed the install guide to the letter: http://nagios.sourceforge.net/docs/ndoutils/NDOUtils.pdf ? When all said and done that fires out this entry in the nagios.log: ? [1328283956] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright ? 2009 Nagios Core Development Team and Community Contributors [1328283956] ndomod: Could not open data sink! I?ll keep trying, but some output may get lost? [1328283956] Event broker module ?/usr/local/nagios/bin/ndomod-3x.o? initialized successfully. [1328283956] Finished daemonizing? (New PID=5771) ? ? ? So did a bit of googling and then :- ? Chmod 755 /usr/local/nagios/bin/ndo2db-3x Chmod 755 /usr/local/nagios/bin/ndomod-3x.o ? ? ? Restarted the ndomod and nagios services/processes and got somewhere ? [1328284715] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright ? 2009 Nagios Core Development Team and Community Contributors [1328284715] ndomod: Successfully connected to data sink. 0 queued items to flush. [1328284715] Event broker module ?/usr/local/nagios/bin/ndomod-3x.o? initialized successfully. [1328284715] ndomod: Error writing to data sink! Some output may get lost? [1328284715] Please check remote ndo2db log, database connection or SSL Parameters [1328284715] Finished daemonizing? (New PID=13760) ? ? ? So did a bit more googling and I then:- ? Chmod 775 /usr/local/nagios/etc/ndo2db.cfg Chmod 775 /usr/local/nagios/etc/ndomod.cfg Chown nagios:nagios /usr/local/nagios.etc.ndo* ? ? ? Restarted the ndomod and nagios services/processes and got a bit further ? No check log/db/parameters error ? ? [1328285023] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright ? 2009 Nagios Core Development Team and Community Contributors [1328285023] ndomod: Successfully connected to data sink. 2793 queued items to flush. [1328285023] ndomod: Error writing to data sink! Some output may get lost. 2554 queued items to flush [1328285023] Event broker module ?/usr/local/nagios/bin/ndomod-3x.o? initialized successfully. [1328285023] Finished daemonizing? (New PID=17107) ? ? ? Then read to change the perms on the ndo.sock file, so: ? Chmod 775 /usr/local/nagios/var/ndo.sock ? ? But still the same output: ? [1328285748] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright ? 2009 Nagios Core Development Team and Community Contributors [1328285748] ndomod: Successfully connected to data sink. 957 queued items to flush. [1328285748] ndomod: Error writing to data sink! Some output may get lost. 2374 queued items to flush [1328285748] Event broker module ?/usr/local/nagios/bin/ndomod-3x.o? initialized successfully. [1328285748] Finished daemonizing? (New PID=19520) ? My 2 config files can be found here: ? Ndomod.cfg - http://dl.dropbox.com/u/895609/ndomod.cfg Ndo2db.cfg - http://dl.dropbox.com/u/895609/ndo2db.cfg ? ? Can anybody please help me? This has to be permission related im sure of it but I cannot solve it. ? Thankyou in advance ? ? ? ? ? ? ? ? ? ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey.w.watts at gmail.com Fri Feb 3 21:02:33 2012 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Fri, 3 Feb 2012 14:02:33 -0600 Subject: check_snmp OID integer /10 In-Reply-To: <014501cce0d2$ff6a6ae0$fe3f40a0$@icicom.hu> References: <014501cce0d2$ff6a6ae0$fe3f40a0$@icicom.hu> Message-ID: You can always write a script that acts as a wrapper around check_snmp if you want prettier info displayed. Jeffrey. 2012/2/1 S?nta J?zsef > Hi!**** > > ** ** > > I have a temperature SNMP device.**** > > ** ** > > snmpget 10.0.0.63 1.3.6.1.4.1.17095.4.1.3.3.0 -c public -v 1**** > > iso.3.6.1.4.1.17095.4.1.3.3.0 = INTEGER: 40**** > > ** ** > > But I like /10 of the integer?**** > > ** ** > > Something like this:**** > > ** ** > > [oid("1.3.6.1.4.1.17095.4.1.3.3.0")/10]?C**** > > ** ** > > How to add this to the check_snmp command?**** > > ** ** > > Thanks!**** > > > ** > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 gmail.com Sun Feb 5 14:11:26 2012 From: ntserafica at gmail.com (Nelson Serafica) Date: Sun, 5 Feb 2012 21:11:26 +0800 Subject: add info on the body of email Message-ID: I just want to confirm. Would it be possible to modify the email content for each services? I have an email alert and I want to put an info (e.g. url) on the content of the email. Below is sample of the email content. ***** Nagios ***** Notification Type: PROBLEM Service: SMTP_25 Host: mta Address: 10.0.1.20 State: CRITICAL Date/Time: Sun Feb 5 21:02:47 EST 2012 Additional Info: CRITICAL - Socket timeout after 10 seconds *<------ I want to put a URL here ----->* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Sun Feb 5 14:29:30 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Sun, 5 Feb 2012 14:29:30 +0100 Subject: add info on the body of email In-Reply-To: References: Message-ID: Sure, you just need to modify the command, which sends the e-mail. For example: # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\nYOURURL" | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Serv ice Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } On Sun, Feb 5, 2012 at 2:11 PM, Nelson Serafica wrote: > I just want to confirm. Would it be possible to modify the email content > for each services? I have an email alert and I want to put an info (e.g. > url) on the content of the email. Below is sample of the email content. > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: SMTP_25 > Host: mta > Address: 10.0.1.20 > State: CRITICAL > > Date/Time: Sun Feb 5 21:02:47 EST 2012 > > Additional Info: > > CRITICAL - Socket timeout after 10 seconds > *<------ I want to put a URL here ----->* > > > > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Sun Feb 5 18:18:37 2012 From: manikumar85 at gmail.com (Manish Kumar) Date: Sun, 5 Feb 2012 22:48:37 +0530 Subject: nrpe ssl handshake error Message-ID: Hi List, The nrpe service on some of my HP-UX machines started giving ssl handshake error. I am able to telnet into port 5666 of these machines and i have restarted the nrpe service on these machines. What can be the issue ??? -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Sun Feb 5 18:27:38 2012 From: manikumar85 at gmail.com (Manish Kumar) Date: Sun, 5 Feb 2012 22:57:38 +0530 Subject: check_snmp to monitor Cisco CPU utilization & Memory Used Message-ID: Dear List, I am using check_snmp plugin to monitor Cisco routers and Cisco L3 switches. I want to monitor CPU Utilization percentage & Memory Used/Free (in MB/KB) for Router and switches. Can someone help me in finding the exact OID to monitor these KPIs. I am using Net-SNMP package as base. I am doing snmpget cli to first check the values for the OIDs. Please help. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Sun Feb 5 18:42:45 2012 From: manikumar85 at gmail.com (Manish Kumar) Date: Sun, 5 Feb 2012 23:12:45 +0530 Subject: facing wiered problem in nagios not loading newly edited config files Message-ID: I have nagios core monitoring an IT infrastructure. I have implemented hostescalations for some of the hosts and added notification of these escalations to some groups which i later modified to replace and add different groups but when i am done with the configuration and restarted nagios , nagios core is still taking the older config and sending notifications to the earlier added contact groups even though i have removed and added new contact group. I am seeing in the log that nagios is sending notifications to the newly added contact groups in addition to the older contact groups. Even i have removed the older nagios.cache file and when i restarted nagios new nagios .cache is produced in which i checked and the older contact group still exists there. I am not able to understand the issue. please help what can be the issue why nagios core 3.2.3 is not loading the new config files. One more thing the file path is mentioned in nagios.cfg. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonny.mosco at gmail.com Sun Feb 5 19:42:01 2012 From: jonny.mosco at gmail.com (Jonny Mosco) Date: Sun, 5 Feb 2012 13:42:01 -0500 Subject: add info on the body of email In-Reply-To: References: Message-ID: Yes. You can add anything from your host/service definitions here. Check the document for macros. I use the notes_url and then expand upon it in the emails. On Sun, Feb 5, 2012 at 8:11 AM, Nelson Serafica wrote: > I just want to confirm. Would it be possible to modify the email content > for each services? I have an email alert and I want to put an info (e.g. > url) on the content of the email. Below is sample of the email content. > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: SMTP_25 > Host: mta > Address: 10.0.1.20 > State: CRITICAL > > Date/Time: Sun Feb 5 21:02:47 EST 2012 > > Additional Info: > > CRITICAL - Socket timeout after 10 seconds > *<------ I want to put a URL here ----->* > > > > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.osbourn at citrix.com Sun Feb 5 21:55:28 2012 From: james.osbourn at citrix.com (James Osbourn) Date: Sun, 5 Feb 2012 20:55:28 +0000 Subject: nrpe ssl handshake error In-Reply-To: References: Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED5C975B8707D@LONPMAILBOX01.citrite.net> On our hosts the NRPE inetd/xinetd config has a line which says only_from = If this IP address list does not match you connecting server then it will not work and give you this error, always catches me out. Jamees From: Manish Kumar [mailto:manikumar85 at gmail.com] Sent: 05 February 2012 17:19 To: nagios-users Subject: [Nagios-users] nrpe ssl handshake error Hi List, The nrpe service on some of my HP-UX machines started giving ssl handshake error. I am able to telnet into port 5666 of these machines and i have restarted the nrpe service on these machines. What can be the issue ??? -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goldcup at ix.netcom.com Mon Feb 6 03:57:50 2012 From: goldcup at ix.netcom.com (doug) Date: Sun, 05 Feb 2012 21:57:50 -0500 Subject: monitor hosts behind firewalls Message-ID: <1328497070.23996.14.camel@sx38p2.dougonline.org> Hi Everyone, I currently monitor various hosts behind firewalls, windows servers, linux, and some workstations. I have them all setup as active hosts that nagios pings to indicate they are up. Since they are all behind firewalls all I'm doing for host status is in fact just pinging the firewall. I'm a little confused about using passive checks and not sure if this is the right way to go about doing what I want. I monitor the firewall and know that is up, and for all those hosts behind I'm just pinging the fw, no need to do that. I use nrpe or nsclient to monitor the services and really that's all I need. Can someone point me in the right direction so I can stop the active host status pings for all hosts behind the firewalls. Thanks Doug ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Mon Feb 6 09:35:49 2012 From: manikumar85 at gmail.com (Manish Kumar) Date: Mon, 6 Feb 2012 14:05:49 +0530 Subject: nrpe ssl handshake error In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED5C975B8707D@LONPMAILBOX01.citrite.net> References: <09051C7A8945F944AB7AC4E86BEB1ED5C975B8707D@LONPMAILBOX01.citrite.net> Message-ID: Hi, In nrpe.cfg only_from has my nagios server IP Address. What else can i check for this issue. On Mon, Feb 6, 2012 at 2:25 AM, James Osbourn wrote: > On our hosts the NRPE inetd/xinetd config has a line which says**** > > ** ** > > only_from = **** > > ** ** > > If this IP address list does not match you connecting server then it will > not work and give you this error, always catches me out.**** > > ** ** > > Jamees**** > > ** ** > > *From:* Manish Kumar [mailto:manikumar85 at gmail.com] > *Sent:* 05 February 2012 17:19 > *To:* nagios-users > *Subject:* [Nagios-users] nrpe ssl handshake error**** > > ** ** > > Hi List,**** > > ** ** > > The nrpe service on some of my HP-UX machines started giving ssl handshake > error. I am able to telnet into port 5666 of these machines and i have > restarted the nrpe service on these machines. What can be the issue ??? > **** > > ** ** > > -- > Thanks > Manish Kumar > http://in.linkedin.com/in/manishkumar85**** > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.elsen at gmail.com Mon Feb 6 09:52:48 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Mon, 6 Feb 2012 09:52:48 +0100 Subject: nrpe ssl handshake error In-Reply-To: References: <09051C7A8945F944AB7AC4E86BEB1ED5C975B8707D@LONPMAILBOX01.citrite.net> Message-ID: > Hi, > > In nrpe.cfg only_from has my nagios server IP Address. What else can i check > for this issue. > - Check the equivalent of /var/log/messages on HP-UX. I think it is /usr/adm/syslog Grep on nrpe (error) messages if any. M. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Manish_Kmr at mahindrasatyam.com Mon Feb 6 09:43:23 2012 From: Manish_Kmr at mahindrasatyam.com (Manish_Kmr) Date: Mon, 6 Feb 2012 08:43:23 +0000 Subject: nrpe ssh handshake error Message-ID: Dear List, I am monitoring some HP-UX servers on which we have installed nrpe. It was working fine until from last few days it started giving SSL handshake error. I have checked nrpe.cfg and it is perfectly fine. The nrpe on HP-UX has been started from commandline on the HP-UX servers. I have tried the following options from my NagiosXI server. [root at nagxi libexec]# ./check_nrpe -H x.x.x.x -c check_disk -a '-w 10% -c 5% -p /home' CHECK_NRPE: Socket timeout after 10 seconds. [root at nagxi libexec]# ./check_nrpe -H x.x.x.x -t 90 -c check_disk -a '-w 10% -c 5% -p /home' CHECK_NRPE: Error - Could not complete SSL handshake. [root at nagxi libexec]# ./check_nrpe -H x.x.x.x -n -c check_disk -a '-w 10% -c 5% -p /home' CHECK_NRPE: Socket timeout after 10 seconds. [root at nagxi libexec]# ./check_nrpe -H x.x.x.x -n -t 20 -c check_disk -a '-w 10% -c 5% -p /home' CHECK_NRPE: Socket timeout after 20 seconds. Thanks, Manish Open Source Tools Team, IMS, Mahindra Satyam Mob: +919035435306 ________________________________ DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.elsen at gmail.com Mon Feb 6 11:36:54 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Mon, 6 Feb 2012 11:36:54 +0100 Subject: nrpe ssh handshake error In-Reply-To: References: Message-ID: > Dear List, > > > > I am monitoring some HP-UX servers on which we have installed nrpe. It was > working fine until from last few days it started giving SSL handshake error. > I have checked nrpe.cfg and it is perfectly fine. The nrpe on HP-UX has been > started from commandline on the HP-UX servers. > > > > I have tried the following options from my NagiosXI server. > > > > [root at nagxi libexec]# ./check_nrpe -H x.x.x.x -c check_disk -a '-w 10% -c 5% > -p /home' > > CHECK_NRPE: Socket timeout after 10 seconds. > > > > > > > > [root at nagxi libexec]# ./check_nrpe -H x.x.x.x -t 90 -c check_disk -a '-w 10% > -c 5% -p /home' > > CHECK_NRPE: Error - Could not complete SSL handshake. > > > > > > [root at nagxi libexec]# ./check_nrpe -H x.x.x.x -n -c check_disk -a '-w 10% -c > 5% -p /home' > > CHECK_NRPE: Socket timeout after 10 seconds. > > > > [root at nagxi libexec]# ./check_nrpe -H x.x.x.x -n -t 20 -c check_disk -a '-w > 10% -c 5% -p /home' > > CHECK_NRPE: Socket timeout after 20 seconds. > > > - Socket timeout means that the service is unreachable or down (agaIn) ; Check # grep -i nrpe /var/adm/syslog.log on HPUX M. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Mon Feb 6 11:39:26 2012 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Mon, 6 Feb 2012 10:39:26 +0000 Subject: monitor hosts behind firewalls In-Reply-To: <1328497070.23996.14.camel@sx38p2.dougonline.org> References: <1328497070.23996.14.camel@sx38p2.dougonline.org> Message-ID: On Mon, Feb 6, 2012 at 2:57 AM, doug wrote: > Hi Everyone, > > I currently monitor various hosts behind firewalls, windows servers, > linux, and some workstations. I have them all setup as active hosts that > nagios pings to indicate they are up. Since they are all behind > firewalls all I'm doing for host status is in fact just pinging the > firewall. I'm a little confused about using passive checks and not sure > if this is the right way to go about doing what I want. I monitor the > firewall and know that is up, and for all those hosts behind I'm just > pinging the fw, no need to do that. I use nrpe or nsclient to monitor > the services and really that's all I need. Can someone point me in the > right direction so I can stop the active host status pings for all hosts > behind the firewalls. > > If you dont want to open up ping on the firewalls you could ether have a dummy hosts check (a check that just returns 0) or have nrpe as the hosts check (eg a check that just checks if nrpe is responding, again an nrpe check that just returns 0 ) client nrpe command like this command[check_nrpe_alive]=/patch/script/that/returns.0.sh Nagios command: define command{ command_name check_nrpe_alive command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -C check_nrpe_alive } define host{ name behind_firewall use generic-host hostgroups +behind_firewall register 0 } then a use clause in your host config of behind_firewall Ritchie -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > Thanks > Doug > > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Mon Feb 6 11:55:51 2012 From: holger at CIS.FU-Berlin.DE (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Mon, 6 Feb 2012 11:55:51 +0100 Subject: Configuration Management for Nagios services/hosts/commands definitions In-Reply-To: References: Message-ID: <20120206105550.GS72582610@CIS.FU-Berlin.DE> * Jake Xu [2012-02-01 17:53]: > I'd like to know some best practices for managing all those Nagios > configuration files. FWIW, Bcfg2 has a plugin for managing Nagios object configuration files: http://docs.bcfg2.org/server/plugins/generators/nagiosgen.html Holger ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goldcup at ix.netcom.com Mon Feb 6 18:54:05 2012 From: goldcup at ix.netcom.com (doug) Date: Mon, 06 Feb 2012 12:54:05 -0500 Subject: monitor hosts behind firewalls In-Reply-To: References: <1328497070.23996.14.camel@sx38p2.dougonline.org> Message-ID: <1328550845.5830.4.camel@sx38p2.dougonline.org> In templates I see the initial check_command pointing to 'check-host-alive'. If I comment that out for the boxes behind the FW how will nagios react? Or must I replace it with as you suggest a 'dummy check'? All my monitoring is off-site. I monitor my clients firewalls, servers, workstations, and some routers if they have static ip. I only need 'check-host-alive' for the routers and firewalls, nothing else. Can you give me an example of a dummy check? Thanks -----Original Message----- From: mail at catsnest.co.uk Reply-To: mail at catsnest.co.uk, Nagios Users List To: Nagios Users List Subject: Re: [Nagios-users] monitor hosts behind firewalls Date: Mon, 6 Feb 2012 10:39:26 +0000 On Mon, Feb 6, 2012 at 2:57 AM, doug wrote: Hi Everyone, I currently monitor various hosts behind firewalls, windows servers, linux, and some workstations. I have them all setup as active hosts that nagios pings to indicate they are up. Since they are all behind firewalls all I'm doing for host status is in fact just pinging the firewall. I'm a little confused about using passive checks and not sure if this is the right way to go about doing what I want. I monitor the firewall and know that is up, and for all those hosts behind I'm just pinging the fw, no need to do that. I use nrpe or nsclient to monitor the services and really that's all I need. Can someone point me in the right direction so I can stop the active host status pings for all hosts behind the firewalls. If you dont want to open up ping on the firewalls you could ether have a dummy hosts check (a check that just returns 0) or have nrpe as the hosts check (eg a check that just checks if nrpe is responding, again an nrpe check that just returns 0 ) client nrpe command like this command[check_nrpe_alive]=/patch/script/that/returns.0.sh Nagios command: define command{ command_name check_nrpe_alive command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -C check_nrpe_alive } define host{ name behind_firewall use generic-host hostgroups +behind_firewall register 0 } then a use clause in your host config of behind_firewall Ritchie -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> Thanks Doug ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Mon Feb 6 20:45:36 2012 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Mon, 6 Feb 2012 19:45:36 +0000 Subject: monitor hosts behind firewalls In-Reply-To: <1328550845.5830.4.camel@sx38p2.dougonline.org> References: <1328497070.23996.14.camel@sx38p2.dougonline.org> <1328550845.5830.4.camel@sx38p2.dougonline.org> Message-ID: On Mon, Feb 6, 2012 at 5:54 PM, doug wrote: > In templates I see the initial check_command pointing to > 'check-host-alive'. If I comment that out for the boxes behind the FW > how will nagios react? Or must I replace it with as you suggest a 'dummy > check'? > > All my monitoring is off-site. I monitor my clients firewalls, servers, > workstations, and some routers if they have static ip. I only need > 'check-host-alive' for the routers and firewalls, nothing else. > > From: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host "check_command: ...If you leave this argument blank, the host will not be actively checked...." you normally have to fiddle a little with submitting a passive check to make it go green you might as well use the nrpe check as your hosts check_command in stead of disableing it it will help with service dependancys so if you loose nrpe assess to your hosts only the host will alert instead each of its services... Can you give me an example of a dummy check? > > #!/bin/bash echo "dummy OK" return 0 ; -- Ritchie Thanks > > -----Original Message----- > From: mail at catsnest.co.uk > Reply-To: mail at catsnest.co.uk, Nagios Users List > > To: Nagios Users List > Subject: Re: [Nagios-users] monitor hosts behind firewalls > Date: Mon, 6 Feb 2012 10:39:26 +0000 > > > > On Mon, Feb 6, 2012 at 2:57 AM, doug wrote: > Hi Everyone, > > I currently monitor various hosts behind firewalls, windows > servers, > linux, and some workstations. I have them all setup as active > hosts that > nagios pings to indicate they are up. Since they are all behind > firewalls all I'm doing for host status is in fact just pinging > the > firewall. I'm a little confused about using passive checks and > not sure > if this is the right way to go about doing what I want. I > monitor the > firewall and know that is up, and for all those hosts behind I'm > just > pinging the fw, no need to do that. I use nrpe or nsclient to > monitor > the services and really that's all I need. Can someone point me > in the > right direction so I can stop the active host status pings for > all hosts > behind the firewalls. > > > > If you dont want to open up ping on the firewalls you could ether have a > dummy hosts check (a check that just returns 0) or have nrpe as the > hosts check (eg a check that just checks if nrpe is responding, again an > nrpe check that just returns 0 ) > > > client nrpe command like this > command[check_nrpe_alive]=/patch/script/that/returns.0.sh > > > Nagios command: > > define command{ > command_name check_nrpe_alive > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -C > check_nrpe_alive > } > > define host{ > name behind_firewall > use generic-host > hostgroups +behind_firewall > register 0 > } > > then a use clause in your host config of behind_firewall > > Ritchie > -- > <-- http://23.me.uk/2 --> > <--Time flies like an arrow; fruit flies like a banana. --> > > > > Thanks > Doug > > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft > developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, > CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe > now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent > to /dev/null > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Manish_Kmr at mahindrasatyam.com Tue Feb 7 12:22:05 2012 From: Manish_Kmr at mahindrasatyam.com (Manish_Kmr) Date: Tue, 7 Feb 2012 11:22:05 +0000 Subject: service dependency mapping in nagios Message-ID: Hi List, I have defined a service dependency of a service of a host to the other service of the same host. What I want is like if the parent service goes critical, the dependent service should automatically go to critical without doing any check. Is it possible to force state change of the dependent service based on its parent service in nagios. What I have read from Nagios docs is that it is service dependency will only help in avoiding active checks and to suppress notification for the dependent host/service. Thanks, Manish Kumar Open Source Tools Team, IMS, Mahindra Satyam Mob: +919035435306 ________________________________ DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Manish_Kmr at mahindrasatyam.com Tue Feb 7 13:59:03 2012 From: Manish_Kmr at mahindrasatyam.com (Manish_Kmr) Date: Tue, 7 Feb 2012 12:59:03 +0000 Subject: service to host dependency in nagios Message-ID: I have defined a host with few services of it. Is it possible in nagios to show the services critical if the host itself goes down. This means I want to map the dependency of these services on the host, so that as soon as host will go down the services will turn critical. Similarly is it possible that if a service of a host goes critical , the other service of the same host should go critical, if we do the dependency mapping. Thanks, Manish Kumar Open Source Tools Team, IMS, Mahindra Satyam Mob: +919035435306 ________________________________ DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey.w.watts at gmail.com Tue Feb 7 18:17:42 2012 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Tue, 7 Feb 2012 11:17:42 -0600 Subject: Service dependency help In-Reply-To: References: Message-ID: Anyone have any advice on this problem? Thanks again, Jeffrey. On Thu, Jan 26, 2012 at 11:56 AM, Jeffrey Watts wrote: > Hello, I'm having some trouble getting a service dependency working and I > was hoping for some help. I've read the section in Wolfgang Barth's book > "Nagios 2nd Edition" and googled around a bit, but something's still not > working right. I'm using Nagios 3.0.6. > > Specifically, I want to set it up so that my OpenManage (thanks Trond!) > and OMSA version checks both are dependent upon SNMP. However, my setup is > still sending notifications for OMSA version and OpenManage when I stop the > SNMP daemon. Here are the relevant snippets: > > define service { > use generic_service_t > service_description SNMP > max_check_attempts 3 > normal_check_interval 60 > retry_check_interval 5 > notification_interval 60 > check_command check_snmp_custom!-H $HOSTADDRESS$ -C tomgeco -P > 2c -o sysDescr.0 > event_handler eventhandler_snmpd > servicegroups snmp > hostgroup_name dellhardware > contact_groups techops > } > > define servicedependency{ > hostgroup_name dellhardware > service_description SNMP > dependent_service_description OMSA version,OpenManage > inherits_parent 1 > execution_failure_criteria n > notification_failure_criteria u,c > } > > Any help as to what I'm doing wrong? > Jeffrey. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Tue Feb 7 19:57:33 2012 From: manikumar85 at gmail.com (Manish Kumar) Date: Wed, 8 Feb 2012 00:27:33 +0530 Subject: nrpe ssh handshake error In-Reply-To: References: Message-ID: The details of the issue is below:- *When nrpe service on HP-UX started using this command: * /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d *And from nagiosXI server:* [root at mmkndnagxi libexec]# ./check_nrpe -H 10.204.100.74 -n -p 5667 -c check_mem -a '-w 65 -c 75' CHECK_NRPE: Socket timeout after 10 seconds. [root at mmkndnagxi libexec]# ./check_nrpe -H 10.204.100.74 -n -t 90 -p 5667 -c check_mem -a '-w 65 -c 75' CHECK_NRPE: Error receiving data from daemon. [root at mmkndnagxi libexec]# ./check_nrpe -H 10.204.100.73 -t 60 -p 5667 -c check_mem -a '-w 65 -c 75' CHECK_NRPE: Error - Could not complete SSL handshake. *When nrpe service on HP-UX started using this command: * /usr/local/nagios/bin/nrpe -n -c /usr/local/nagios/etc/nrpe.cfg -d *And from nagiosXI server:* [root at mmkndnagxi libexec]# ./check_nrpe -H 10.204.100.73 -t 60 -p 5667 -c check_mem -a '-w 65 -c 75' CHECK_NRPE: Error - Could not complete SSL handshake. You have new mail in /var/spool/mail/root [root at mmkndnagxi libexec]# ./check_nrpe -H 10.204.100.73 -n -p 5667 -c check_mem -a '-w 65 -c 75' CHECK_NRPE: Socket timeout after 10 seconds. [root at mmkndnagxi libexec]# ./check_nrpe -H 10.204.100.73 -n -t 60 -p 5667 -c check_mem -a '-w 65 -c 75' CHECK_NRPE: Error receiving data from daemon. [root at mmkndnagxi libexec]# *------------------------------Monitored Server Log-----------------------------* Feb 7 20:34:12 MCPIFDR nrpe[10434]: Daemon shutdown Feb 7 20:35:22 MCPIFDR nrpe[11237]: Unknown option specified in config file '/usr/local/nagios/etc/nrpe.cfg' - Line 81 Feb 7 20:35:22 MCPIFDR nrpe[11237]: INFO: SSL/TLS NOT initialized. Network encryption DISABLED. Feb 7 20:35:22 MCPIFDR nrpe[11238]: Starting up daemon Feb 7 20:35:22 MCPIFDR nrpe[11238]: Warning: Could not set effective GID=111 Feb 7 20:35:22 MCPIFDR nrpe[11238]: Warning: Daemon is configured to accept command arguments from clients! Feb 7 20:35:22 MCPIFDR nrpe[11238]: Listening for connections on port 5667 Feb 7 20:37:24 MCPIFDR nrpe[11298]: Could not read request from client, bailing out... *$ ps -ef|grep nrpe* nagios 11238 1 0 20:35:22 ? 0:00 /usr/local/nagios/bin/nrpe -n -c /usr/local/nagios/etc/nrpe.cfg -d nagios 11332 6726 0 20:39:17 pts/1 0:00 grep nrpe *$ netstat -an|grep 5667* tcp 0 0 10.204.100.73.1527 10.142.0.143.56670 FIN_WAIT_2 tcp 0 0 10.204.100.73.5667 *.* LISTEN * telnet to the port 5667 happening successfully in both the cases.* * -----------------------------------------------------------nrpe.cfg----------------------------------- * ############################################################################# # Sample NRPE Config File # Written by: Ethan Galstad (nagios at nagios.org) # # Last Modified: 11-23-2007 # # NOTES: # This is a sample configuration file for the NRPE daemon. It needs to be # located on the remote host that is running the NRPE daemon, not the host # from which the check_nrpe client is being executed. ############################################################################# # LOG FACILITY # The syslog facility that should be used for logging purposes. log_facility=daemon # PID FILE # The name of the file in which the NRPE daemon should write it's process ID # number. The file is only written if the NRPE daemon is started by the root # user and is running in standalone mode. pid_file=/usr/local/nagios/bin/nrpe.pid # PORT NUMBER # Port number we should wait for connections on. # NOTE: This must be a non-priviledged port (i.e. > 1024). # NOTE: This option is ignored if NRPE is running under either inetd or xinetd server_port=5667 # SERVER ADDRESS # Address that nrpe should bind to in case there are more than one interface # and you do not want nrpe to bind on all interfaces. # NOTE: This option is ignored if NRPE is running under either inetd or xinetd server_address=10.204.100.73 # NRPE USER # This determines the effective user that the NRPE daemon should run as. # You can either supply a username or a UID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_user=nagios # NRPE GROUP # This determines the effective group that the NRPE daemon should run as. # You can either supply a group name or a GID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_group=nagios # ALLOWED HOST ADDRESSES # This is an optional comma-delimited list of IP address or hostnames # that are allowed to talk to the NRPE daemon. # # Note: The daemon only does rudimentary checking of the client's IP # address. I would highly recommend adding entries in your /etc/hosts.allow # file to allow only the specified host to connect to the port # you are running this daemon on. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd #allowed_hosts=127.0.0.1 only_from=127.0.0.1 10.2.202.221 # COMMAND ARGUMENT PROCESSING # This option determines whether or not the NRPE daemon will allow clients # to specify arguments to commands that are executed. This option only works # if the daemon was configured with the --enable-command-args configure script # option. # # *** ENABLING THIS OPTION IS A SECURITY RISK! *** # Read the SECURITY file for information on some of the security implications # of enabling this variable. # # Values: 0=do not allow arguments, 1=allow command arguments dont_blame_nrpe=1 # COMMAND PREFIX # This option allows you to prefix all commands with a user-defined string. # A space is automatically added between the specified prefix string and the # command line from the command definition. # # *** THIS EXAMPLE MAY POSE A POTENTIAL SECURITY RISK, SO USE WITH CAUTION! *** # Usage scenario: # Execute restricted commmands using sudo. For this to work, you need to add # the nagios user to your /etc/sudoers. An example entry for alllowing # execution of the plugins from might be: # # nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/ # # This lets the nagios user run all commands in that directory (and only them) # without asking for a password. If you do this, make sure you don't give # random users write access to that directory or its contents! # command_prefix=/usr/bin/sudo # DEBUGGING OPTION # This option determines whether or not debugging messages are logged to the # syslog facility. # Values: 0=debugging off, 1=debugging on debug=1 # COMMAND TIMEOUT # This specifies the maximum number of seconds that the NRPE daemon will # allow plugins to finish executing before killing them off. command_timeout=60 # CONNECTION TIMEOUT # This specifies the maximum number of seconds that the NRPE daemon will # wait for a connection to be established before exiting. This is sometimes # seen where a network problem stops the SSL being established even though # all network sessions are connected. This causes the nrpe daemons to # accumulate, eating system resources. Do not set this too low. connection_timeout=300 # WEEK RANDOM SEED OPTION # This directive allows you to use SSL even if your system does not have # a /dev/random or /dev/urandom (on purpose or because the necessary patches # were not applied). The random number generator will be seeded from a file # which is either a file pointed to by the environment valiable $RANDFILE # or $HOME/.rnd. If neither exists, the pseudo random number generator will # be initialized and a warning will be issued. # Values: 0=only seed from /dev/[u]random, 1=also seed from weak randomness #allow_weak_random_seed=1 # INCLUDE CONFIG FILE # This directive allows you to include definitions from an external config file. #include= # INCLUDE CONFIG DIRECTORY # This directive allows you to include definitions from config files (with a # .cfg extension) in one or more directories (with recursion). #include_dir= #include_dir= # COMMAND DEFINITIONS # Command definitions that this daemon will run. Definitions # are in the following format: # # command[]= # # When the daemon receives a request to return the results of # it will execute the command specified by the argument. # # Unlike Nagios, the command line cannot contain macros - it must be # typed exactly as it should be executed. # # Note: Any plugins that are used in the command lines must reside # on the machine that this daemon is running on! The examples below # assume that you have plugins installed in a /usr/local/nagios/libexec # directory. Also note that you will have to modify the definitions below # to match the argument format the plugins expect. Remember, these are # examples only! # The following examples use hardcoded command arguments... command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 #command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1 ##Disk Monitoring command[check_root]=/usr/local/nagios/libexec/check_disk -w 15% -c 5% -p / command[check_var]=/usr/local/nagios/libexec/check_disk -w 15% -c 5% -p /var command[check_usr]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /usr command[check_usr_sap]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /usr/sap command[check_oracle]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle command[check_opt]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /opt command[check_home]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /home command[check_stand]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /stand command[check_usr_sap_trans]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /usr/sap/trans command[check_oracle_sapcheck]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/ED2/sapcheck command[check_oracle_sapbackup]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/ED2/sapbackup command[check_oracle_stage]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/stage command[check_oracle_saptrace]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/ED2/saptrace command[check_oracle_sapreorg]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/ED2/sapreorg command[check_oracle_sapdata1]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/ED2/sapdata1 command[check_oracle_sapdata2]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/ED2/sapdata2 command[check_oracle_sapdata3]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/ED2/sapdata3 command[check_oracle_sapdata4]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/ED2/sapdata4 command[check_oracle_origlogA]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/ED2/origlogA command[check_oracle_origlogB]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/ED2/origlogB command[check_oracle_oraarch]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/ED2/oraarch command[check_oracle_mirrlogA]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/ED2/mirrlogA command[check_oracle_mirrlogB]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /oracle/ED2/mirrlogB command[check_sapmnt]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /sapmnt command[check_sapmnt_ed2]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /sapmnt/ED2 command[check_procs_cron]=/usr/local/nagios/libexec/check_procs -c 1:1 -C cron command[check_procs_syslogd]=/usr/local/nagios/libexec/check_procs -c 1:1 -C syslogd #command[check_mem_used]=/usr/local/nagios/libexec/check_memhpux -u -w 75 -c 90 command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z # The following examples allow user-supplied arguments and can # only be used if the NRPE daemon was compiled with support for # command arguments *AND* the dont_blame_nrpe directive in this # config file is set to '1'. This poses a potential security risk, so # make sure you read the SECURITY file before doing this. #command[check_users]=/usr/local/nagios/libexec/check_users -w $ARG1$ -c $ARG2$ #command[check_load]=/usr/local/nagios/libexec/check_load -w $ARG1$ -c $ARG2$ #command[check_procs]=/usr/local/nagios/libexec/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ #command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ command[check_load]=/usr/local/nagios/libexec/check_load $ARG1$ command[check_disk]=/usr/local/nagios/libexec/check_disk $ARG1$ command[check_procs]=/usr/local/nagios/libexec/check_procs $ARG1$ command[check_cpu]=/usr/local/nagios/libexec/check_cpu_stats.sh $ARG1$ command[check_log]=/usr/local/nagios/libexec/check_log -F /var/adm/syslog/syslog.log -O /usr/local/nagios/etc/syslog.log.old -q error command[check_swap]=/usr/local/nagios/libexec/check_swap $ARG1$ command[check_uptime]=/usr/local/nagios/libexec/check_uptime.sh command[check_mem_used]=/usr/local/nagios/libexec/check_memhpux -u $ARG1$ command[check_mem]=/usr/local/nagios/libexec/check_mem_hpux_custom $ARG1$ command[check_iostat]=/usr/local/nagios/libexec/check_hp_iostat $ARG1$ On Mon, Feb 6, 2012 at 4:06 PM, Mark Elsen wrote: > > Dear List, > > > > > > > > I am monitoring some HP-UX servers on which we have installed nrpe. It > was > > working fine until from last few days it started giving SSL handshake > error. > > I have checked nrpe.cfg and it is perfectly fine. The nrpe on HP-UX has > been > > started from commandline on the HP-UX servers. > > > > > > > > I have tried the following options from my NagiosXI server. > > > > > > > > [root at nagxi libexec]# ./check_nrpe -H x.x.x.x -c check_disk -a '-w 10% > -c 5% > > -p /home' > > > > CHECK_NRPE: Socket timeout after 10 seconds. > > > > > > > > > > > > > > > > [root at nagxi libexec]# ./check_nrpe -H x.x.x.x -t 90 -c check_disk -a > '-w 10% > > -c 5% -p /home' > > > > CHECK_NRPE: Error - Could not complete SSL handshake. > > > > > > > > > > > > [root at nagxi libexec]# ./check_nrpe -H x.x.x.x -n -c check_disk -a '-w > 10% -c > > 5% -p /home' > > > > CHECK_NRPE: Socket timeout after 10 seconds. > > > > > > > > [root at nagxi libexec]# ./check_nrpe -H x.x.x.x -n -t 20 -c check_disk -a > '-w > > 10% -c 5% -p /home' > > > > CHECK_NRPE: Socket timeout after 20 seconds. > > > > > > > > - Socket timeout means that the service is unreachable or down > (agaIn) ; Check > > > # grep -i nrpe /var/adm/syslog.log on HPUX > > M. > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Albert.Shih at obspm.fr Tue Feb 7 21:10:51 2012 From: Albert.Shih at obspm.fr (Albert Shih) Date: Tue, 7 Feb 2012 21:10:51 +0100 Subject: nsca old server with new nsca client Message-ID: <20120207201051.GB32871@pcjas.obspm.fr> Hi all, Is there any way I can use a new (2.9.1) client nsca (send_nsca) with old server (2.7.x) ? regards. JAS -- Albert SHIH DIO batiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas at obspm.fr Heure local/Local time: mar 7 f?v 2012 21:10:06 CET ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian at texnet.com Tue Feb 7 21:48:35 2012 From: brian at texnet.com (Brian) Date: Tue, 7 Feb 2012 14:48:35 -0600 (CST) Subject: No Sound Alerts from Ubuntu, Nagroid on Android works GREAT Message-ID: I used to have this working with Mepis and it worked once or twice with gecko-media plugin on ubuntu 10.4 but not reliably, never on 10.11, I tried a windows box with these as well. It wants to install some adobe program that needs to be installed manually (useless OS). cat index.html ns1 I installed media player for browsers based on vlc, gecko-media plug in e,stroked, massaged with firefox, Chrome with no luck. I have yet to try this on Icinga. Nagios321 is installed on run of the mill Lenny in /usr/local/nagios321 and all 700 services and configurations work flawlessly on about 75+ boxes including custom Xen VM checks, jboss memory checks, jboss active sessions, jboss active thread, right smack on the backboe of the internet, the list goes on! I got all the "hard" stuff covered but no skueeking to get me attention ;~(> If it weren't for my phone I'd be SOL. TIA for and thoughts or suggestions. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Tue Feb 7 22:34:21 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Tue, 07 Feb 2012 13:34:21 -0800 Subject: nsca old server with new nsca client In-Reply-To: <20120207201051.GB32871@pcjas.obspm.fr> References: <20120207201051.GB32871@pcjas.obspm.fr> Message-ID: <4F3198DD.9030303@5dninja.net> On 2/7/12 12:10 PM, Albert Shih wrote: > Hi all, > Is there any way I can use a new (2.9.1) client nsca (send_nsca) with old > server (2.7.x) ? 2.9.1 shouldn't include any backwards incompatible code. That said, the normal cross-version issues have been with newer server, and older client so I'm not sure "old server" has been sufficiently tested with "new client"... Is there a particular reason why you can't upgrade your server side? -- Mike Lindsey ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Albert.Shih at obspm.fr Tue Feb 7 22:48:43 2012 From: Albert.Shih at obspm.fr (Albert Shih) Date: Tue, 7 Feb 2012 22:48:43 +0100 Subject: nsca old server with new nsca client In-Reply-To: <4F3198DD.9030303@5dninja.net> References: <20120207201051.GB32871@pcjas.obspm.fr> <4F3198DD.9030303@5dninja.net> Message-ID: <20120207214843.GA33124@pcjas.obspm.fr> Le 07/02/2012 ? 13:34:21-0800, Mike Lindsey a ?crit > On 2/7/12 12:10 PM, Albert Shih wrote: > > Hi all, > > Is there any way I can use a new (2.9.1) client nsca (send_nsca) with old > > server (2.7.x) ? > > 2.9.1 shouldn't include any backwards incompatible code. That said, the I don't known....All I known is the new version of client don't work (for me) when the server is the old one. I've two nagios server, on one I run the new version of nsca-server and everything working. On the second from same client with old sever I was unable to make passive service working. > normal cross-version issues have been with newer server, and older > client so I'm not sure "old server" has been sufficiently tested with > "new client"... > > Is there a particular reason why you can't upgrade your server side? Well...let's ?it's complicated? ;-) In fact I solve my problem by recompiling on the client the 2.7.2 version of nsca client. But well...the problem still here... I can run some test if you like. The client running FreeBSD 8.2 and the server running Linux Debian. Regards. JAS -- Albert SHIH DIO batiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas at obspm.fr Heure local/Local time: mar 7 f?v 2012 22:45:22 CET ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trm.nagios at gmail.com Wed Feb 8 14:40:25 2012 From: trm.nagios at gmail.com (trm asn) Date: Wed, 8 Feb 2012 19:10:25 +0530 Subject: Centralized Dashboard Message-ID: Dear Friend, I have 7 Nagios core server running at 7 different location. I have installed MNTOS to get the consolidated tactical views. Is there any other way to do so. /\ Trm -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Wed Feb 8 14:46:33 2012 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 8 Feb 2012 14:46:33 +0100 Subject: Centralized Dashboard In-Reply-To: References: Message-ID: Am 08.02.2012 um 14:40 schrieb trm asn: > Dear Friend, > > I have 7 Nagios core server running at 7 different location. I have installed MNTOS to get the consolidated tactical views. Is there any other way to do so. Yes! mathias-kettner.de/checkmk_multisite.html http://thruk.org/ Joerg ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Wed Feb 8 15:14:12 2012 From: maxs at webwizarddesign.com (Max Schubert) Date: Wed, 8 Feb 2012 09:14:12 -0500 Subject: Centralized Dashboard In-Reply-To: References: Message-ID: +1 for Thruk + multi-site - well done project, easy to set up and easy to replicate a set up across multiple hosts. I haven't tried it with a large Nagios installation. Query capabilities are very cool as well. Max On 2/8/12, Joerg Linge wrote: > > Am 08.02.2012 um 14:40 schrieb trm asn: > >> Dear Friend, >> >> I have 7 Nagios core server running at 7 different location. I have >> installed MNTOS to get the consolidated tactical views. Is there any other >> way to do so. > > Yes! > > mathias-kettner.de/checkmk_multisite.html > http://thruk.org/ > > Joerg > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seun.ojedeji at gmail.com Wed Feb 8 15:25:00 2012 From: seun.ojedeji at gmail.com (Seun Ojedeji) Date: Wed, 8 Feb 2012 15:25:00 +0100 Subject: Centralized Dashboard In-Reply-To: References: Message-ID: ++1 to multisite/check_mk, i enjoyed it and even the gui was highly interactive. Cheers! On Wed, Feb 8, 2012 at 3:14 PM, Max Schubert wrote: > +1 for Thruk + multi-site - well done project, easy to set up and easy > to replicate a set up across multiple hosts. > > I haven't tried it with a large Nagios installation. > > Query capabilities are very cool as well. > > Max > > On 2/8/12, Joerg Linge wrote: > > > > Am 08.02.2012 um 14:40 schrieb trm asn: > > > >> Dear Friend, > >> > >> I have 7 Nagios core server running at 7 different location. I have > >> installed MNTOS to get the consolidated tactical views. Is there any > other > >> way to do so. > > > > Yes! > > > > mathias-kettner.de/checkmk_multisite.html > > http://thruk.org/ > > > > Joerg > > > ------------------------------------------------------------------------------ > > Keep Your Developer Skills Current with LearnDevNow! > > The most comprehensive online learning library for Microsoft developers > > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > > Metro Style Apps, more. Free future releases when you subscribe now! > > http://p.sf.net/sfu/learndevnow-d2d > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------------------------ *Seun Ojedeji, Federal University Oye Ekiti web: http://www.fuoye.edu.ng Mobile: +2348035233535 **alt email: seun.ojedeji at fuoye.edu.ng* *IDLELO5 paper submission still ongoing...hurry!* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Wed Feb 8 15:08:10 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Wed, 8 Feb 2012 14:08:10 +0000 Subject: Centralized Dashboard In-Reply-To: References: Message-ID: <4288A518A157EC4C8873FEE74F778BF010D593@WPSDGQHH.OPR.STATEFARM.ORG> Check out multisite, part of check_mk suite of tools. Dan From: trm asn [mailto:trm.nagios at gmail.com] Sent: Wednesday, February 08, 2012 7:40 AM To: Nagios Users List Subject: [Nagios-users] Centralized Dashboard Dear Friend, I have 7 Nagios core server running at 7 different location. I have installed MNTOS to get the consolidated tactical views. Is there any other way to do so. /\ Trm -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sven.nierlein at consol.de Wed Feb 8 15:34:08 2012 From: sven.nierlein at consol.de (Sven Nierlein) Date: Wed, 08 Feb 2012 15:34:08 +0100 Subject: Centralized Dashboard In-Reply-To: References: Message-ID: <4F3287E0.7060003@consol.de> On 08.02.2012 15:14, Max Schubert wrote: > +1 for Thruk + multi-site... > I haven't tried it with a large Nagios installation. both are designed for very large setups. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Wed Feb 8 16:12:20 2012 From: werner.flamme at ufz.de (Werner Flamme) Date: Wed, 08 Feb 2012 16:12:20 +0100 Subject: nrpe ssh handshake error In-Reply-To: References: Message-ID: <4F3290D4.6090906@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Manish Kumar [07.02.2012 19:57]: > The details of the issue is below:- > > *When nrpe service on HP-UX started using this command: * > > /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d > > > *And from nagiosXI server:* > > [root at mmkndnagxi libexec]# ./check_nrpe -H 10.204.100.74 -n -p 5667 > -c check_mem -a '-w 65 -c 75' > > CHECK_NRPE: Socket timeout after 10 seconds. Does the nrpe daemon listen on port 5667? On our installations, it listens on 5666. On linux, I can check this with the netstat command (on the server) or with nmap (from remote), but I don't know about HP-UX's means. > *When nrpe service on HP-UX started using this command: * > > /usr/local/nagios/bin/nrpe -n -c /usr/local/nagios/etc/nrpe.cfg -d > > > *And from nagiosXI server:* > > [root at mmkndnagxi libexec]# ./check_nrpe -H 10.204.100.73 -t 60 -p > 5667 -c check_mem -a '-w 65 -c 75' > > CHECK_NRPE: Error - Could not complete SSL handshake. If you tell the server not to use SSL (with the -n option), you should tell it the client too (by using ./check_nrpe -H 10.204.100.73 -n -t ...). And... does the server listen to port 5667? ;-) HTH Werner -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8ykNQACgkQk33Krq8b42NUigCdHLmXqE6W+Vayjc6xqK4RO43u Kk8AnRoDNcUE3/4CdIRRDrhOcTPoCnJZ =TTcA -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlpaneda at scio.com.mx Tue Feb 7 17:31:50 2012 From: jlpaneda at scio.com.mx (=?utf-8?Q?Jorge_Pa=C3=B1eda?=) Date: Tue, 7 Feb 2012 10:31:50 -0600 Subject: monitor hosts behind firewalls Message-ID: Hi, You should use check_nrpe for linux boxes and nsca for you windows boxes with nsclient++ . I have configured both in my environment and I?m able to monitor remote host (Windows & Linux) behind firewalls. You can use these guides to accomplish your purposes. http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf http://nagios.sourceforge.net/download/contrib/documentation/misc/NSCA_Setup.pdf I also recommend you to read these links to understand better how nsca, nrpe and nsclient++ work together. And also the built in checks you can perform with them: http://www.nsclient.org/nscp/wiki/doc/usage/nagios/nsca http://nsclient.org/nscp/wiki/doc/usage/nagios/nrpe Hope this help you, Regards, Jorge L. Pa?eda Systems Administrator Scio Consulting | IT & Infrastructure Dept. Las Ca?adas 501 Int. 230 Col. Tres Mar?as Morelia, Mich., M?xico Tel. (443) 310-96-01 y (443) 310-96-02 ext. 402 U.S. Phone: 408 404 3897 Ext. 402 www.sciodev.com From: mail at catsnest.co.uk [mailto:mail at catsnest.co.uk] Sent: lunes, 06 de febrero de 2012 01:46 p.m. To: Nagios Users List Subject: Re: [Nagios-users] monitor hosts behind firewalls On Mon, Feb 6, 2012 at 5:54 PM, doug wrote: In templates I see the initial check_command pointing to 'check-host-alive'. If I comment that out for the boxes behind the FW how will nagios react? Or must I replace it with as you suggest a 'dummy check'? All my monitoring is off-site. I monitor my clients firewalls, servers, workstations, and some routers if they have static ip. I only need 'check-host-alive' for the routers and firewalls, nothing else. From: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host "check_command: ...If you leave this argument blank, the host will not be actively checked...." you normally have to fiddle a little with submitting a passive check to make it go green you might as well use the nrpe check as your hosts check_command in stead of disableing it it will help with service dependancys so if you loose nrpe assess to your hosts only the host will alert instead each of its services... Can you give me an example of a dummy check? #!/bin/bash echo "dummy OK" return 0 ; -- Ritchie Thanks -----Original Message----- From: mail at catsnest.co.uk Reply-To: mail at catsnest.co.uk, Nagios Users List To: Nagios Users List Subject: Re: [Nagios-users] monitor hosts behind firewalls Date: Mon, 6 Feb 2012 10:39:26 +0000 On Mon, Feb 6, 2012 at 2:57 AM, doug wrote: Hi Everyone, I currently monitor various hosts behind firewalls, windows servers, linux, and some workstations. I have them all setup as active hosts that nagios pings to indicate they are up. Since they are all behind firewalls all I'm doing for host status is in fact just pinging the firewall. I'm a little confused about using passive checks and not sure if this is the right way to go about doing what I want. I monitor the firewall and know that is up, and for all those hosts behind I'm just pinging the fw, no need to do that. I use nrpe or nsclient to monitor the services and really that's all I need. Can someone point me in the right direction so I can stop the active host status pings for all hosts behind the firewalls. If you dont want to open up ping on the firewalls you could ether have a dummy hosts check (a check that just returns 0) or have nrpe as the hosts check (eg a check that just checks if nrpe is responding, again an nrpe check that just returns 0 ) client nrpe command like this command[check_nrpe_alive]=/patch/script/that/returns.0.sh Nagios command: define command{ command_name check_nrpe_alive command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -C check_nrpe_alive } define host{ name behind_firewall use generic-host hostgroups +behind_firewall register 0 } then a use clause in your host config of behind_firewall Ritchie -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> Thanks Doug ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3466 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m_mustaquim at yahoo.com Wed Feb 8 18:25:50 2012 From: m_mustaquim at yahoo.com (mohd mustaquim) Date: Wed, 8 Feb 2012 09:25:50 -0800 (PST) Subject: 2 Message-ID: <1328721950.53843.yint-ygo-j2me@web120104.mail.ne1.yahoo.com> miracles really do exist... http://luegolapelicula.com.ar/work.link.php?cgoogleId=47j5 ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From estanley at nagios.com Thu Feb 9 00:31:26 2012 From: estanley at nagios.com (Eric Stanley) Date: Wed, 08 Feb 2012 17:31:26 -0600 Subject: nsca old server with new nsca client In-Reply-To: <20120207214843.GA33124@pcjas.obspm.fr> References: <20120207201051.GB32871@pcjas.obspm.fr> <4F3198DD.9030303@5dninja.net> <20120207214843.GA33124@pcjas.obspm.fr> Message-ID: <4F3305CE.4000503@nagios.com> Albert, The packet size was increased in 2.9 that caused 2.9 clients to fail with older servers and 2.9 servers to fail with older clients. A fix was implemented in the server in 2.9.1 that would allow older clients to connect to it, but 2.9 and newer clients will not be able to talk to older servers because they still use the larger packet size. The reason the fix is in the server is because there are far fewer servers than clients, meaning less things to replace in order to get things working. If you update your server, your older clients should be able to connect. Hope that helps. Eric On 2/7/2012 3:48 PM, Albert Shih wrote: > Le 07/02/2012 ? 13:34:21-0800, Mike Lindsey a ?crit >> On 2/7/12 12:10 PM, Albert Shih wrote: >>> Hi all, >>> Is there any way I can use a new (2.9.1) client nsca (send_nsca) with old >>> server (2.7.x) ? >> 2.9.1 shouldn't include any backwards incompatible code. That said, the > I don't known....All I known is the new version of client don't work (for > me) when the server is the old one. > > I've two nagios server, on one I run the new version of nsca-server and > everything working. On the second from same client with old sever I was > unable to make passive service working. > >> normal cross-version issues have been with newer server, and older >> client so I'm not sure "old server" has been sufficiently tested with >> "new client"... >> >> Is there a particular reason why you can't upgrade your server side? > Well...let's ?it's complicated? ;-) > > In fact I solve my problem by recompiling on the client the 2.7.2 version > of nsca client. But well...the problem still here... > > I can run some test if you like. > > The client running FreeBSD 8.2 and the server running Linux Debian. > > Regards. > > JAS -- Eric Stanley ___ Developer Nagios Enterprises, LLC Email: estanley at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goldcup at ix.netcom.com Thu Feb 9 01:20:14 2012 From: goldcup at ix.netcom.com (doug) Date: Wed, 08 Feb 2012 19:20:14 -0500 Subject: monitor hosts behind firewalls In-Reply-To: References: Message-ID: <1328746814.32564.7.camel@sx38p2.dougonline.org> Thanks Jorge, I am currently monitoring with nrpe, and nsclient without any issues. I just want to cut out the 'active' host checks for the servers behind the firewalls, as all I'm doing with the host alive check is pinging the FW and not the actually host. -----Original Message----- From: Jorge Pa?eda Reply-To: Nagios Users List To: mail at catsnest.co.uk, 'Nagios Users List' Subject: Re: [Nagios-users] monitor hosts behind firewalls Date: Tue, 7 Feb 2012 10:31:50 -0600 Hi, You should use check_nrpe for linux boxes and nsca for you windows boxes with nsclient++ . I have configured both in my environment and I?m able to monitor remote host (Windows & Linux) behind firewalls. You can use these guides to accomplish your purposes. http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf http://nagios.sourceforge.net/download/contrib/documentation/misc/NSCA_Setup.pdf I also recommend you to read these links to understand better how nsca, nrpe and nsclient++ work together. And also the built in checks you can perform with them: http://www.nsclient.org/nscp/wiki/doc/usage/nagios/nsca http://nsclient.org/nscp/wiki/doc/usage/nagios/nrpe Hope this help you, Regards, Jorge L. Pa?eda Description: Description: scio Systems Administrator Scio Consulting | IT & Infrastructure Dept. Las Ca?adas 501 Int. 230 Col. Tres Mar?as Morelia, Mich., M?xico Tel. (443) 310-96-01 y (443) 310-96-02 ext. 402 U.S. Phone: 408 404 3897 Ext. 402 www.sciodev.com From: mail at catsnest.co.uk [mailto:mail at catsnest.co.uk] Sent: lunes, 06 de febrero de 2012 01:46 p.m. To: Nagios Users List Subject: Re: [Nagios-users] monitor hosts behind firewalls On Mon, Feb 6, 2012 at 5:54 PM, doug wrote: In templates I see the initial check_command pointing to 'check-host-alive'. If I comment that out for the boxes behind the FW how will nagios react? Or must I replace it with as you suggest a 'dummy check'? All my monitoring is off-site. I monitor my clients firewalls, servers, workstations, and some routers if they have static ip. I only need 'check-host-alive' for the routers and firewalls, nothing else. From: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host "check_command: ...If you leave this argument blank, the host will not be actively checked...." you normally have to fiddle a little with submitting a passive check to make it go green you might as well use the nrpe check as your hosts check_command in stead of disableing it it will help with service dependancys so if you loose nrpe assess to your hosts only the host will alert instead each of its services... Can you give me an example of a dummy check? #!/bin/bash echo "dummy OK" return 0 ; -- Ritchie Thanks -----Original Message----- From: mail at catsnest.co.uk Reply-To: mail at catsnest.co.uk, Nagios Users List To: Nagios Users List Subject: Re: [Nagios-users] monitor hosts behind firewalls Date: Mon, 6 Feb 2012 10:39:26 +0000 On Mon, Feb 6, 2012 at 2:57 AM, doug wrote: Hi Everyone, I currently monitor various hosts behind firewalls, windows servers, linux, and some workstations. I have them all setup as active hosts that nagios pings to indicate they are up. Since they are all behind firewalls all I'm doing for host status is in fact just pinging the firewall. I'm a little confused about using passive checks and not sure if this is the right way to go about doing what I want. I monitor the firewall and know that is up, and for all those hosts behind I'm just pinging the fw, no need to do that. I use nrpe or nsclient to monitor the services and really that's all I need. Can someone point me in the right direction so I can stop the active host status pings for all hosts behind the firewalls. If you dont want to open up ping on the firewalls you could ether have a dummy hosts check (a check that just returns 0) or have nrpe as the hosts check (eg a check that just checks if nrpe is responding, again an nrpe check that just returns 0 ) client nrpe command like this command[check_nrpe_alive]=/patch/script/that/returns.0.sh Nagios command: define command{ command_name check_nrpe_alive command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -C check_nrpe_alive } define host{ name behind_firewall use generic-host hostgroups +behind_firewall register 0 } then a use clause in your host config of behind_firewall Ritchie -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> Thanks Doug ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Thu Feb 9 12:17:51 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Thu, 9 Feb 2012 11:17:51 +0000 Subject: Warning: Duplicate definition found for service 'XXXX' on host 'YYYY' Message-ID: Nagios Users, Im trying to restructure my Nagios to make the web interface easier to read. My test servers.cfg file is thus: http://dl.dropbox.com/u/895609/office_servers.cfg When I test my config I get: Warning: Duplicate definition found for service 'XXXX' on host 'YYYY' And when I look at my Nagios Web Interface every host is getting the same checks. Can be seen at http://i27.photobucket.com/albums/c197/thomo123/Nagios/nagios.jpg SERVER1 needs just PING, UPTIME and C:\ DISKSPACE SERVER2 is correct in the services listed it needs SERVER3 needs just PING, UPTIME and C:\ DISKSPACE I have looked at the Nagios cheats page http://nagios.sourceforge.net/docs/3_0/objecttricks.html But I cant use any of these as the -w and -c values for the x:\DISKSPACE percentages vary server to server How can I sort this out please? I have tried everything that my Nagios knowledge has provided me and im stuck. Thankyou in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Thu Feb 9 16:14:47 2012 From: werner.flamme at ufz.de (Werner Flamme) Date: Thu, 09 Feb 2012 16:14:47 +0100 Subject: Warning: Duplicate definition found for service 'XXXX' on host 'YYYY' In-Reply-To: References: Message-ID: <4F33E2E7.8090802@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrew Thompson [09.02.2012 12:17]: > Nagios Users, > > Im trying to restructure my Nagios to make the web interface easier > to read. > > My test servers.cfg file is thus: > http://dl.dropbox.com/u/895609/office_servers.cfg > > When I test my config I get: Warning: Duplicate definition found > for service 'XXXX' on host 'YYYY' > Andrew, what happens when you remove the "hostgroups" line from each service definition? AFAIK this causes the services to be executed on any host in that hostgroup, while you intend to check one server per service (as I understood). HTH Werner -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8z4ucACgkQk33Krq8b42NacACfbbQx2PhWpX3d2QD5VSJaO3I5 emcAn1CSrRFo1CNsCMGMVKqgNdhIqzi2 =VY1E -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Thu Feb 9 19:10:50 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Thu, 9 Feb 2012 18:10:50 +0000 Subject: Warning: Duplicate definition found for service 'XXXX' on host 'YYYY' In-Reply-To: <4F33E2E7.8090802@ufz.de> References: <4F33E2E7.8090802@ufz.de> Message-ID: What happens Werner is I worship the ground you walk on!!!!!! Removing the hostgroups line from the service definitions makes Nagios behave exactly the way I want it to do! Thankyou so much!!!!! -----Original Message----- From: Werner Flamme [mailto:werner.flamme at ufz.de] Sent: 09 February 2012 15:15 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Warning: Duplicate definition found for service 'XXXX' on host 'YYYY' -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrew Thompson [09.02.2012 12:17]: > Nagios Users, > > Im trying to restructure my Nagios to make the web interface easier > to read. > > My test servers.cfg file is thus: > http://dl.dropbox.com/u/895609/office_servers.cfg > > When I test my config I get: Warning: Duplicate definition found > for service 'XXXX' on host 'YYYY' > Andrew, what happens when you remove the "hostgroups" line from each service definition? AFAIK this causes the services to be executed on any host in that hostgroup, while you intend to check one server per service (as I understood). HTH Werner -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8z4ucACgkQk33Krq8b42NacACfbbQx2PhWpX3d2QD5VSJaO3I5 emcAn1CSrRFo1CNsCMGMVKqgNdhIqzi2 =VY1E -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fcecagno at gmail.com Fri Feb 10 02:32:16 2012 From: fcecagno at gmail.com (Felipe Cecagno) Date: Thu, 9 Feb 2012 23:32:16 -0200 Subject: Dynamically add/remove hosts on Nagios Message-ID: Hi everybody, This is the first time I'm posting on this mailing list, so I'm sorry if my question was already discussed here - I tried to find information about it on the mailing list and also on Nagios documentation + googling, but couldn't find it. Well, I'm setting up Nagios to monitor a group of servers in a cloud environment. I decided to use passive checks, so I will have one Nagios central monitor and all servers push statistics to Nagios using NSCA. Everything is OK so far. The problem is that I want to add and remove instances dynamically, I don't want to manually modify hosts.cfg on the central each time I change my infrastructure. So my idea was that when a new instance gets up, it will send to Nagios something like (always using NSCA): "localhost Server UP 0 " On Nagios I would create a new service on localhost to handle this passive check. I've created a Python script (that uses pynag) to modify the hosts.cfg file in order to add and remove host definitions. When Nagios receives this passive check, I would call the script to modify the hosts definition files, and a cron job would execute every minute to look for modifications on hosts.cfg and make Nagios reload the definition files. My doubts are: - is there a smarter way to do that (dynamically add and remove hosts from Nagios)? - since my "Server UP" service uses passive checks only, how do I make Nagios call my script to modify hosts.cfg every time it receives the passive check? Any thoughts/suggestions would be appreciated. :) Thank you in advance, Best regards, -- Felipe Cecagno Mconf Development Team https://mconf.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Fri Feb 10 03:41:01 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Fri, 10 Feb 2012 02:41:01 +0000 Subject: Dynamically add/remove hosts on Nagios In-Reply-To: References: Message-ID: <4288A518A157EC4C8873FEE74F778BF010F98D@WPSDGQHH.OPR.STATEFARM.ORG> As far as passive checks, just use your script as an eventhandler. As for dynamically adding, I wish too :) My restart times are now like 15-20 minutes whenever I make a config change or update hosts. Dan From: Felipe Cecagno [mailto:fcecagno at gmail.com] Sent: Thursday, February 09, 2012 7:32 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Dynamically add/remove hosts on Nagios Hi everybody, This is the first time I'm posting on this mailing list, so I'm sorry if my question was already discussed here - I tried to find information about it on the mailing list and also on Nagios documentation + googling, but couldn't find it. Well, I'm setting up Nagios to monitor a group of servers in a cloud environment. I decided to use passive checks, so I will have one Nagios central monitor and all servers push statistics to Nagios using NSCA. Everything is OK so far. The problem is that I want to add and remove instances dynamically, I don't want to manually modify hosts.cfg on the central each time I change my infrastructure. So my idea was that when a new instance gets up, it will send to Nagios something like (always using NSCA): "localhost Server UP 0 " On Nagios I would create a new service on localhost to handle this passive check. I've created a Python script (that uses pynag) to modify the hosts.cfg file in order to add and remove host definitions. When Nagios receives this passive check, I would call the script to modify the hosts definition files, and a cron job would execute every minute to look for modifications on hosts.cfg and make Nagios reload the definition files. My doubts are: - is there a smarter way to do that (dynamically add and remove hosts from Nagios)? - since my "Server UP" service uses passive checks only, how do I make Nagios call my script to modify hosts.cfg every time it receives the passive check? Any thoughts/suggestions would be appreciated. :) Thank you in advance, Best regards, -- Felipe Cecagno Mconf Development Team https://mconf.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Fri Feb 10 08:56:10 2012 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Fri, 10 Feb 2012 18:56:10 +1100 Subject: NRPE/NSClient++ CheckCPU Error? In-Reply-To: References: <4F28D8A3.5070601@edcint.co.nz> Message-ID: <4F34CD9A.4030405@edcint.co.nz> Just dropping this as a note for the mailing list ..... It turned out that using versions of perl modules older than the recommended ones was the cause of the problem - specifically Config::Inifiles However, the new version of Check WMI Plus (v1.50), works around the limitations of the older module. On 1/02/2012 5:45 PM, Robert Jackson wrote: > > Hi Matthew, > > Create new blank check_wmi_plus.ini (chown --R Nagios:Nagios > check_wmi_plus.ini to allocate permissions). Ran the command as 'root' > from a command prompt: > > /usr/lib/nagios/plugins/check_wmi_plus.pl -H wm-tsrv2 -u 'nagios-wmi' > -p 'wmicheck' -m checkts -s sessions2003 --d -z > > Result output is: > > Command Line (v1.49): /usr/lib/nagios/plugins/check_wmi_plus.pl -H > wm-tsrv2 -u nagios-wmi -p wmicheck -m checkts -s sessions2003 -d -z > > Conf File Dir: /usr/lib/nagios/plugins/edcint > > Loaded Conf File /usr/lib/nagios/plugins/edcint/check_wmi_plus.conf > > Opening Ini Files ... > > opening first ini file: > /usr/lib/nagios/plugins/edcint/check_wmi_plus.d/check_wmi_plus.ini > > checking ini dir /usr/lib/nagios/plugins/edcint/check_wmi_plus.d, > found 1 file(s) > > opening first ini file: check_wmi_plus.ini > > INIFILE and/or INIDIR are set but there were no ini file(s) or an > error occurred trying to read them. > > A valid MODE and/or SUBMODE must be specified > > Typical Usage: -H HOSTNAME -u DOMAIN/USER -p PASSWORD -m MODE [-s > SUBMODE] [-a ARG1 ] [-w WARN] [-c CRIT] > > Full Usage: -H HOSTNAME -u DOMAIN/USER -p PASSWORD -m MODE [-s > SUBMODE] [-b BYTEFACTOR] [-w WARN] [-c CRIT] [-a ARG1 ] [-o ARG2] [-3 > ARG3] [-4 ARG4] [-t TIMEOUT] [-y DELAY] [--namespace WMINAMESPACE] > [--nodatamode] [--nodataexit NODATAEXIT] [--nodatastring NODATASTRING] > [-d] [-z] [--inifile=INIFILE] [--inidir=INIDIR] [--inihelp] > [--nokeepstate] [--keepexpiry KEXPIRY] [--keepid KID] [-v OSVERSION] > [--help] [--itexthelp] > > Help as a Manpage: --help > > Help as Text: --itexthelp > > -- > Smartmon System Monitoring > www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlos at dsag.jazztel.es Fri Feb 10 14:03:57 2012 From: carlos at dsag.jazztel.es (carlos at dsag.jazztel.es) Date: Fri, 10 Feb 2012 14:03:57 +0100 Subject: Dynamically add/remove hosts on Nagios In-Reply-To: References: Message-ID: <20120210140357.0wuns8q5es4wc0cs@webmail.jazztel.es> Hi, By scripting, you can create a new file for your new host (or delete) and reload nagios. Not smart... Felipe Cecagno ha escrito: > Hi everybody, > > This is the first time I'm posting on this mailing list, so I'm sorry if my > question was already discussed here - I tried to find information about it > on the mailing list and also on Nagios documentation + googling, but > couldn't find it. > > Well, I'm setting up Nagios to monitor a group of servers in a cloud > environment. I decided to use passive checks, so I will have one Nagios > central monitor and all servers push statistics to Nagios using NSCA. > Everything is OK so far. > > The problem is that I want to add and remove instances dynamically, I don't > want to manually modify hosts.cfg on the central each time I change my > infrastructure. So my idea was that when a new instance gets up, it will > send to Nagios something like (always using NSCA): > > "localhost? ? ?Server UP? ? ?0? ? ?" > > On Nagios I would create a new service on localhost to handle this passive > check. > I've created a Python script (that uses pynag) to modify the hosts.cfg file > in order to add and remove host definitions. When Nagios receives this > passive check, I would call the script to modify the hosts definition > files, and a cron job would execute every minute to look for modifications > on hosts.cfg and make Nagios reload the definition files. > > My doubts are: > - is there a smarter way to do that (dynamically add and remove hosts from > Nagios)? > - since my "Server UP" service uses passive checks only, how do I make > Nagios call my script to modify hosts.cfg every time it receives the > passive check? > > Any thoughts/suggestions would be appreciated. :) > > Thank you in advance, > Best regards, > > -- > ? ? Felipe Cecagno > ? ? Mconf Development Team > ? ? https://mconf.org > ------------------------------------------------------------------ 2007 Jazztel - Jazz Telecom, S.A.U. http://www.jazztel.com Antes de imprimir este e-mail piense bien si es necesario hacerlo. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlpaneda at scio.com.mx Thu Feb 9 20:36:16 2012 From: jlpaneda at scio.com.mx (=?utf-8?Q?Jorge_Pa=C3=B1eda?=) Date: Thu, 9 Feb 2012 13:36:16 -0600 Subject: monitor hosts behind firewalls Message-ID: Hi, Ok, I understand your issue. I had the same issue but I fixed. My infrastructure is as follow: Nagios Box (external to our local network) --> Internet --> Firewall (Our Gateway) --> Internal Network In our Internal Network we have many servers being monitored by nagios using passive checks with nsclient++, nrpe and nsca. Some of these servers have two network cards, one with a Public IP and the other with an internal IP. One of these servers with Public IP is a Linux Box. In this Linux Box I installed and configured nrpe and used the check_ping command to ping my internal servers to know if they are alive and then this status is sent to Nagios Box. In other words, request checks are made from the Nagios Box to the Linux Box and then Linux Box executes the command and checks the internal servers and returns the result to Nagios Box. To accomplish this I used the links I mentioned below. Attached you will find some examples of my configurations. Nrpe.cfg file is in Linux Box and Server1.cfg is in Nagios Box. Also I attached a quick paint drawing trying to give you a better visualization of my infrastructure and configuration. Other thing I think you can try is to create a script or batch file and use nsclient++ in internal servers to execute it an return a result and sent it to Nagios box through passive checks. Hope this can help you or at least give you a clue of how can you accomplish what you need. If you have any doubt or I can help in any other way please let me know. Regards, Jorge L. Pa?eda Systems Administrator Scio Consulting | IT & Infrastructure Dept. Las Ca?adas 501 Int. 230 Col. Tres Mar?as Morelia, Mich., M?xico Tel. (443) 310-96-01 y (443) 310-96-02 ext. 402 U.S. Phone: 408 404 3897 Ext. 402 www.sciodev.com -----Original Message----- From: doug [mailto:goldcup at ix.netcom.com] Sent: mi?rcoles, 08 de febrero de 2012 06:20 p.m. To: Nagios Users List Subject: Re: [Nagios-users] monitor hosts behind firewalls Thanks Jorge, I am currently monitoring with nrpe, and nsclient without any issues. I just want to cut out the 'active' host checks for the servers behind the firewalls, as all I'm doing with the host alive check is pinging the FW and not the actually host. -----Original Message----- From: Jorge Pa?eda Reply-To: Nagios Users List To: mail at catsnest.co.uk, 'Nagios Users List' Subject: Re: [Nagios-users] monitor hosts behind firewalls Date: Tue, 7 Feb 2012 10:31:50 -0600 Hi, You should use check_nrpe for linux boxes and nsca for you windows boxes with nsclient++ . I have configured both in my environment and I?m able to monitor remote host (Windows & Linux) behind firewalls. You can use these guides to accomplish your purposes. http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf http://nagios.sourceforge.net/download/contrib/documentation/misc/NSCA_Setup.pdf I also recommend you to read these links to understand better how nsca, nrpe and nsclient++ work together. And also the built in checks you can perform with them: http://www.nsclient.org/nscp/wiki/doc/usage/nagios/nsca http://nsclient.org/nscp/wiki/doc/usage/nagios/nrpe Hope this help you, Regards, Jorge L. Pa?eda Description: Description: scio Systems Administrator Scio Consulting | IT & Infrastructure Dept. Las Ca?adas 501 Int. 230 Col. Tres Mar?as Morelia, Mich., M?xico Tel. (443) 310-96-01 y (443) 310-96-02 ext. 402 U.S. Phone: 408 404 3897 Ext. 402 www.sciodev.com From: mail at catsnest.co.uk [mailto:mail at catsnest.co.uk] Sent: lunes, 06 de febrero de 2012 01:46 p.m. To: Nagios Users List Subject: Re: [Nagios-users] monitor hosts behind firewalls On Mon, Feb 6, 2012 at 5:54 PM, doug wrote: In templates I see the initial check_command pointing to 'check-host-alive'. If I comment that out for the boxes behind the FW how will nagios react? Or must I replace it with as you suggest a 'dummy check'? All my monitoring is off-site. I monitor my clients firewalls, servers, workstations, and some routers if they have static ip. I only need 'check-host-alive' for the routers and firewalls, nothing else. From: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host "check_command: ...If you leave this argument blank, the host will not be actively checked...." you normally have to fiddle a little with submitting a passive check to make it go green you might as well use the nrpe check as your hosts check_command in stead of disableing it it will help with service dependancys so if you loose nrpe assess to your hosts only the host will alert instead each of its services... Can you give me an example of a dummy check? #!/bin/bash echo "dummy OK" return 0 ; -- Ritchie Thanks -----Original Message----- From: mail at catsnest.co.uk Reply-To: mail at catsnest.co.uk, Nagios Users List To: Nagios Users List Subject: Re: [Nagios-users] monitor hosts behind firewalls Date: Mon, 6 Feb 2012 10:39:26 +0000 On Mon, Feb 6, 2012 at 2:57 AM, doug wrote: Hi Everyone, I currently monitor various hosts behind firewalls, windows servers, linux, and some workstations. I have them all setup as active hosts that nagios pings to indicate they are up. Since they are all behind firewalls all I'm doing for host status is in fact just pinging the firewall. I'm a little confused about using passive checks and not sure if this is the right way to go about doing what I want. I monitor the firewall and know that is up, and for all those hosts behind I'm just pinging the fw, no need to do that. I use nrpe or nsclient to monitor the services and really that's all I need. Can someone point me in the right direction so I can stop the active host status pings for all hosts behind the firewalls. If you dont want to open up ping on the firewalls you could ether have a dummy hosts check (a check that just returns 0) or have nrpe as the hosts check (eg a check that just checks if nrpe is responding, again an nrpe check that just returns 0 ) client nrpe command like this command[check_nrpe_alive]=/patch/script/that/returns.0.sh Nagios command: define command{ command_name check_nrpe_alive command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -C check_nrpe_alive } define host{ name behind_firewall use generic-host hostgroups +behind_firewall register 0 } then a use clause in your host config of behind_firewall Ritchie -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> Thanks Doug ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Ping_Internal_Servers.7z Type: application/octet-stream Size: 37204 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Sat Feb 11 05:50:34 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Fri, 10 Feb 2012 20:50:34 -0800 Subject: Dynamically add/remove hosts on Nagios In-Reply-To: References: Message-ID: <4F35F39A.8070109@5dninja.net> On 2/9/12 5:32 PM, Felipe Cecagno wrote: > The problem is that I want to add and remove instances dynamically, I > don't want to manually modify hosts.cfg on the central each time I > change my infrastructure. So my idea was that when a new instance gets > up, it will send to Nagios something like (always using NSCA): > > "localhost Server UP 0 " > I believe XI has a feature that does some automatic adding of hosts/services from passive checks. To get it working in Core you need to go about it in a different way. You could potentially have an event handler mechanism that works it.. Say have a "add-host" service on your master Nagios host. So when a new host is added to a cluster you trigger a passive result for that check, that check's event handler kicks off and adds the configuration (using some generous templating) for that host to your master config, pre-caches your object cache and restarts. You could also have a "del-host" service that does the reverse if you're feeling brave. For our environment, I took yet another route. Our CMDB provides an API where I can ask for all our "production updates www" hosts. So to get auto-updating cluster level monitoring for my environment I have a host entry (trimmed for brevity, and such) like: define host { host_name cluster-updates-www alias cluster-updates-www address cluster-updates-www hostgroups All,cluster,updates,updates-www,www check_command cluster_ping _ENVIRONMENT prod _PRODUCT updates _PURPOSE www } It doesn't matter for this, if that hostname is in DNS, as nothing actually queries it. Don't need an ip address either, because nothing uses it. Check command in this instance is: define command { command_name cluster_ping command_line $USER5$/cluster_check.py --product $ARG1$ --purpose $ARG2$ --script '$USER1$/check_icmp' --args '-H %HOST% -c 1800.0,100% -n 2 -t 2' } So the cluster_check.py asks the CMDB for a list of hosts when it first runs, then caches that list for an hour. It pings all the hosts in parallel, sums up the stats and does the right thing. Unfortunately this kind of process requires some external query-able source of truth. Our CMDB (internally developed, not currently releasable) provides a JSON dump on an http port.. If you've got anything you can query or parse - even an rsync'd dns zone file you should be able to cobble something together that works similarly via bash, perl, or whatever works for you. Auto-updating cloud/cluster monitoring and no configuration updates or restart needed. Same script and methodology works for services. Doesn't help you, however if you absolutely must have unique host and service entries I've attached my script if you want to rip it apart and use it for your environment. You'll have to replace any of the bits that mention 'asdb' with code that queries and parses your CMDB, or whatever. It's a good bit of effort, but potentially worth it.. good luck. (Or, there's XI) -- Mike Lindsey -------------- next part -------------- A non-text attachment was scrubbed... Name: cluster_check.py.gz Type: application/x-gzip Size: 2760 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dey.ranjib at gmail.com Sat Feb 11 06:41:39 2012 From: dey.ranjib at gmail.com (ranjib dey) Date: Sat, 11 Feb 2012 11:11:39 +0530 Subject: Dynamically add/remove hosts on Nagios In-Reply-To: References: Message-ID: Have you considered using a configuration management tool like chef or puppet ? They address the exact usecase On Feb 10, 2012 7:08 AM, "Felipe Cecagno" wrote: > Hi everybody, > > This is the first time I'm posting on this mailing list, so I'm sorry if > my question was already discussed here - I tried to find information about > it on the mailing list and also on Nagios documentation + googling, but > couldn't find it. > > Well, I'm setting up Nagios to monitor a group of servers in a cloud > environment. I decided to use passive checks, so I will have one Nagios > central monitor and all servers push statistics to Nagios using NSCA. > Everything is OK so far. > > The problem is that I want to add and remove instances dynamically, I > don't want to manually modify hosts.cfg on the central each time I change > my infrastructure. So my idea was that when a new instance gets up, it will > send to Nagios something like (always using NSCA): > > "localhost Server UP 0 " > > On Nagios I would create a new service on localhost to handle this passive > check. > I've created a Python script (that uses pynag) to modify the hosts.cfg > file in order to add and remove host definitions. When Nagios receives this > passive check, I would call the script to modify the hosts definition > files, and a cron job would execute every minute to look for modifications > on hosts.cfg and make Nagios reload the definition files. > > My doubts are: > - is there a smarter way to do that (dynamically add and remove hosts from > Nagios)? > - since my "Server UP" service uses passive checks only, how do I make > Nagios call my script to modify hosts.cfg every time it receives the > passive check? > > Any thoughts/suggestions would be appreciated. :) > > Thank you in advance, > Best regards, > > -- > Felipe Cecagno > Mconf Development Team > https://mconf.org > > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Sat Feb 11 07:14:24 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Sat, 11 Feb 2012 06:14:24 +0000 Subject: Dynamically add/remove hosts on Nagios In-Reply-To: References: Message-ID: <4288A518A157EC4C8873FEE74F778BF01104FA@WPSDGQHH.OPR.STATEFARM.ORG> That depends on your definition of dynamically. I would like to see it be able to add/remove hosts without requiring a restart of the service. I currently use puppet, but it's still just updating files and then you have to restart to pickup the changes. Dan From: ranjib dey [mailto:dey.ranjib at gmail.com] Sent: Friday, February 10, 2012 11:42 PM To: Nagios Users List Subject: Re: [Nagios-users] Dynamically add/remove hosts on Nagios Have you considered using a configuration management tool like chef or puppet ? They address the exact usecase On Feb 10, 2012 7:08 AM, "Felipe Cecagno" > wrote: Hi everybody, This is the first time I'm posting on this mailing list, so I'm sorry if my question was already discussed here - I tried to find information about it on the mailing list and also on Nagios documentation + googling, but couldn't find it. Well, I'm setting up Nagios to monitor a group of servers in a cloud environment. I decided to use passive checks, so I will have one Nagios central monitor and all servers push statistics to Nagios using NSCA. Everything is OK so far. The problem is that I want to add and remove instances dynamically, I don't want to manually modify hosts.cfg on the central each time I change my infrastructure. So my idea was that when a new instance gets up, it will send to Nagios something like (always using NSCA): "localhost Server UP 0 " On Nagios I would create a new service on localhost to handle this passive check. I've created a Python script (that uses pynag) to modify the hosts.cfg file in order to add and remove host definitions. When Nagios receives this passive check, I would call the script to modify the hosts definition files, and a cron job would execute every minute to look for modifications on hosts.cfg and make Nagios reload the definition files. My doubts are: - is there a smarter way to do that (dynamically add and remove hosts from Nagios)? - since my "Server UP" service uses passive checks only, how do I make Nagios call my script to modify hosts.cfg every time it receives the passive check? Any thoughts/suggestions would be appreciated. :) Thank you in advance, Best regards, -- Felipe Cecagno Mconf Development Team https://mconf.org ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esteban at nuevaeralatam.com Mon Feb 13 21:59:51 2012 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Mon, 13 Feb 2012 14:59:51 -0600 Subject: NDOUtils 1.4 and database trimm Message-ID: Hello: I am using NDOUtils 1.4b9. I want trimm table logentries. I take a log to ndo2utils.cfg and only have: max_timedevents_age=1440 max_systemcommands_age=10080 max_servicechecks_age=10080 max_hostchecks_age=10080 max_eventhandlers_age=44640 max_externalcommands_age=44640 There any max_logentries_age similar parameter? These table eats 2GB of space and never trimm Thanks ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at aggregateknowledge.com Tue Feb 14 02:32:59 2012 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Mon, 13 Feb 2012 17:32:59 -0800 Subject: Submitting patches for NRPE (was: Re: NRPE and include_dir) In-Reply-To: <4D9F9B24.1060603@aggregateknowledge.com> References: <4D7EC833.3050801@aggregateknowledge.com> <4D7F82C0.4070600@aggregateknowledge.com> <4D7F8C21.5060904@op5.se> <4D7FA09E.7020300@aggregateknowledge.com> <4D9F9B24.1060603@aggregateknowledge.com> Message-ID: <4F39B9CB.9010904@aggregateknowledge.com> Wanted to take one last stab at this topic from several months ago (I brought it up on this list last March/April). The issue, as I see it: when you use an include_dir in your nrpe.cfg, the files from that directory are loaded in a nondeterministic manner. This means that you cannot reliably do something like have a "base" nrpe client config file that goes on all of your hosts, but then have a host-specific one that supercedes that base config file for specific commands. The fix is simple, and I have a patch (against nrpe 2.12) ready that I've been running in production for almost a year now. I see that there is now a 2.13 and I've confirmed that the patch would be the same (the function in question is no different in the newer version). I've also submitted this patch to Icinga already, as they seemed receptive to it and I wanted to get it out for broader testing/use. I cannot find any information about how to go about submitting a patch for nrpe. The one thing I've seen is that I can open a bug on sourceforge, but I'm not sure where that gets me (and as I've learned, we don't all agree that this is a "bug" per se to begin with). I also do not see any way to change the documentation (which apparently only exists as an .odt file) to explicitly clarify the behavior. Can anybody point me in the right direction, please? Thanks, Mike ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Tue Feb 14 10:01:42 2012 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Tue, 14 Feb 2012 09:01:42 +0000 Subject: Submitting patches for NRPE (was: Re: NRPE and include_dir) In-Reply-To: <4F39B9CB.9010904@aggregateknowledge.com> References: <4D7EC833.3050801@aggregateknowledge.com> <4D7F82C0.4070600@aggregateknowledge.com> <4D7F8C21.5060904@op5.se> <4D7FA09E.7020300@aggregateknowledge.com> <4D9F9B24.1060603@aggregateknowledge.com> <4F39B9CB.9010904@aggregateknowledge.com> Message-ID: On Tue, Feb 14, 2012 at 1:32 AM, Mike Chesnut wrote: > Wanted to take one last stab at this topic from several months ago (I > brought it up on this list last March/April). > > The issue, as I see it: when you use an include_dir in your nrpe.cfg, > the files from that directory are loaded in a nondeterministic manner. > This means that you cannot reliably do something like have a "base" nrpe > client config file that goes on all of your hosts, but then have a > host-specific one that supercedes that base config file for specific > commands. > > The fix is simple, and I have a patch (against nrpe 2.12) ready that > I've been running in production for almost a year now. I see that there > is now a 2.13 and I've confirmed that the patch would be the same (the > function in question is no different in the newer version). > > I've also submitted this patch to Icinga already, as they seemed > receptive to it and I wanted to get it out for broader testing/use. > > I cannot find any information about how to go about submitting a patch > for nrpe. The one thing I've seen is that I can open a bug on > sourceforge, but I'm not sure where that gets me (and as I've learned, > we don't all agree that this is a "bug" per se to begin with). I also > do not see any way to change the documentation (which apparently only > exists as an .odt file) to explicitly clarify the behavior. > > Can anybody point me in the right direction, please? > > I am just a user but It does sound like a good idea eg a determinined behavior rather then an undetermined one. Not that i agree with the lets over ride commands idea but anyway. I would suggest submitting the patch to the list and seeing if any one is willing to pick this up and test it. I dont see how but people could be relying on the existing behaviour, so this would require a lot of testing. Dont forget most of the Devs are unpaid or only paid to implement specific feathers so they are giving there own time up so will only work on what they feel useful. Anyhow sorry for the evangelical rant. Ritchie. > Thanks, > Mike > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Tue Feb 14 17:23:40 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Tue, 14 Feb 2012 08:23:40 -0800 Subject: DNX dead? Message-ID: <4F3A8A8C.6020508@5dninja.net> Is DNX officially a dead project? Last post on the developer's list is from May of last year - and got no response. Last thread is from two months before that, the last release is from two years ago, and the documentation is even older. -- Mike Lindsey ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at consol.de Tue Feb 14 18:18:55 2012 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Tue, 14 Feb 2012 18:18:55 +0100 Subject: DNX dead? In-Reply-To: <4F3A8A8C.6020508@5dninja.net> References: <4F3A8A8C.6020508@5dninja.net> Message-ID: <4F3A977F.3050706@consol.de> On 14.02.2012 17:23, Mike Lindsey wrote: > Is DNX officially a dead project? > > Last post on the developer's list is from May of last year - and got no > response. Last thread is from two months before that, the last release > is from two years ago, and the documentation is even older. The only one who could declare DNX officially dead is the DNX developer. You may want to have a look at Mod-Gearman in the meantime: http://labs.consol.de/nagios/mod-gearman/ It is based on parts of DNX and activly developed and maintained. Bye, Sven ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Tue Feb 14 18:34:17 2012 From: manikumar85 at gmail.com (Manish Kumar) Date: Tue, 14 Feb 2012 23:04:17 +0530 Subject: DNX dead? In-Reply-To: <4F3A977F.3050706@consol.de> References: <4F3A8A8C.6020508@5dninja.net> <4F3A977F.3050706@consol.de> Message-ID: Hi after going through the features, flexibility and active community support, I have implemented mod_gearman on my production implementation. My implementation is large scale and its working very fine with distributing and fail-over of checks between two servers. On Tue, Feb 14, 2012 at 10:48 PM, Sven Nierlein wrote: > On 14.02.2012 17:23, Mike Lindsey wrote: > > Is DNX officially a dead project? > > > > Last post on the developer's list is from May of last year - and got no > > response. Last thread is from two months before that, the last release > > is from two years ago, and the documentation is even older. > > The only one who could declare DNX officially dead is the DNX developer. > You may want to have a look at Mod-Gearman in the meantime: > http://labs.consol.de/nagios/mod-gearman/ > It is based on parts of DNX and activly developed and maintained. > > Bye, > Sven > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.smith at ukgrid.net Tue Feb 14 18:43:44 2012 From: a.smith at ukgrid.net (a.smith at ukgrid.net) Date: Tue, 14 Feb 2012 17:43:44 +0000 Subject: how best and easiest to implement SNMP trap monitoring Message-ID: <20120214174344.35014jgytbxwjzc4@webmail2.ukgrid.net> Hi, it seems there is no single standard way to implement SNMP trap monitoring, is there any clear best choice to go for from the available options? http://exchange.nagios.org/directory/Addons/SNMP Basically looking for a quick and easy installation and configuration and something that will work reliably. Primarily just wanting to send out emails based on traps from windows systems for which we don't have much choice than to monitor hardware RAID via SNMP traps, thanks for any tips/suggestions, Andy. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Serge.Dukic at orionhealth.com Tue Feb 14 23:22:17 2012 From: Serge.Dukic at orionhealth.com (Serge Dukic) Date: Wed, 15 Feb 2012 11:22:17 +1300 (NZDT) Subject: Plugin to monitor bandwidth usage In-Reply-To: References: Message-ID: <93db778c-c28f-43e4-a188-d16f8b37ddfe@serged-mbpro.orion.internal> Hi, I've got some strange issues with a web application, where it loses connectivity at a certain time each night. After a bit of investigation, I think that this might be related to network congestion. i.e. the backups are taking up all of the available bandwidth and as a result the web app connections time out. I'd like to use a plugin to monitor the amount of bandwidth which is being used by the server as a whole to see if it is ever saturated. e.g. if bandwidth remains at 90% of 1Gb/s send a warning Does anyone know of a plugin which would allow me to monitor this? Thank you Serge -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil.randal at hoopleltd.co.uk Wed Feb 15 01:50:10 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Wed, 15 Feb 2012 00:50:10 +0000 Subject: Plugin to monitor bandwidth usage In-Reply-To: <93db778c-c28f-43e4-a188-d16f8b37ddfe@serged-mbpro.orion.internal> References: <93db778c-c28f-43e4-a188-d16f8b37ddfe@serged-mbpro.orion.internal> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D0ABD9D@HC-EXMBX04.herefordshire.gov.uk> I enable SNMP on our servers and use check_iftraffic3l to monitor them. One of the later check_ iftraffic variations might work for you too. http://exchange.nagios.org/directory/Plugins/Network-Connections%2C-Stats-and-Bandwidth/page2 Cheers, Phil From: Serge Dukic [mailto:Serge.Dukic at orionhealth.com] Sent: 14 February 2012 22:22 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin to monitor bandwidth usage Hi, I've got some strange issues with a web application, where it loses connectivity at a certain time each night. After a bit of investigation, I think that this might be related to network congestion. i.e. the backups are taking up all of the available bandwidth and as a result the web app connections time out. I'd like to use a plugin to monitor the amount of bandwidth which is being used by the server as a whole to see if it is ever saturated. e.g. if bandwidth remains at 90% of 1Gb/s send a warning Does anyone know of a plugin which would allow me to monitor this? Thank you Serge ?Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RWerner at pomwonderful.com Wed Feb 15 01:36:52 2012 From: RWerner at pomwonderful.com (Werner, Robert) Date: Wed, 15 Feb 2012 00:36:52 +0000 Subject: Plugin to monitor bandwidth usage In-Reply-To: <93db778c-c28f-43e4-a188-d16f8b37ddfe@serged-mbpro.orion.internal> References: <93db778c-c28f-43e4-a188-d16f8b37ddfe@serged-mbpro.orion.internal> Message-ID: <3D480E2907FD164191FE65820A669FFF4ED05B3A@POM-LA-MBX01.pomwonderful.com> I use Cacti over SNMP to monitor stuff like that. -- Robert G. Werner Oracle Apps Systems Administrator rwerner at pomwonderful.com 559.521.5089 From: Serge Dukic [mailto:Serge.Dukic at orionhealth.com] Sent: Tuesday, February 14, 2012 2:22 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin to monitor bandwidth usage Hi, I've got some strange issues with a web application, where it loses connectivity at a certain time each night. After a bit of investigation, I think that this might be related to network congestion. i.e. the backups are taking up all of the available bandwidth and as a result the web app connections time out. I'd like to use a plugin to monitor the amount of bandwidth which is being used by the server as a whole to see if it is ever saturated. e.g. if bandwidth remains at 90% of 1Gb/s send a warning Does anyone know of a plugin which would allow me to monitor this? Thank you Serge -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Wed Feb 15 02:05:11 2012 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Wed, 15 Feb 2012 12:05:11 +1100 Subject: Plugin to monitor bandwidth usage In-Reply-To: <93db778c-c28f-43e4-a188-d16f8b37ddfe@serged-mbpro.orion.internal> References: <93db778c-c28f-43e4-a188-d16f8b37ddfe@serged-mbpro.orion.internal> Message-ID: <4F3B04C7.4050607@edcint.co.nz> There is a modified version of check_iftraffic (SNMP monitoring) at the Other Plugins link on www.edcint.co.nz/checkwmiplus It has been modified to provide warning/critical criteria and performance data -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at aggregateknowledge.com Wed Feb 15 04:08:09 2012 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Tue, 14 Feb 2012 19:08:09 -0800 Subject: Submitting patches for NRPE In-Reply-To: References: <4D7EC833.3050801@aggregateknowledge.com> <4D7F82C0.4070600@aggregateknowledge.com> <4D7F8C21.5060904@op5.se> <4D7FA09E.7020300@aggregateknowledge.com> <4D9F9B24.1060603@aggregateknowledge.com> <4F39B9CB.9010904@aggregateknowledge.com> Message-ID: <4F3B2199.20903@aggregateknowledge.com> > I cannot find any information about how to go about submitting a patch > for nrpe. The one thing I've seen is that I can open a bug on > sourceforge, but I'm not sure where that gets me (and as I've learned, > we don't all agree that this is a "bug" per se to begin with). I also > do not see any way to change the documentation (which apparently only > exists as an .odt file) to explicitly clarify the behavior. > > Can anybody point me in the right direction, please? > > I am just a user but It does sound like a good idea eg a determinined > behavior rather then an undetermined one. > Not that i agree with the lets over ride commands idea but anyway. > > I would suggest submitting the patch to the list and seeing if any one > is willing to pick this up and test it. I guess it just seems like there should be a better way... I don't see a public cvs/svn/git repository anywhere, I don't see any way to checkout the code other than downloading a tgz, I don't see any way to submit a patch other than emailing to the list as you've suggested. My general question for the list is, who's working on nrpe these days? Isn't this an open source project? I did find the project on sourceforge and created an issue. Maybe I should attach the patch there? https://sourceforge.net/tracker/?func=detail&aid=3487716&group_id=110412&atid=656217 > I dont see how but people could be relying on the existing behaviour, so > this would require a lot of testing. Yeah Andreas pointed that out last time I brought this up. I can't imagine there are very many cases of that, though. And even then, I still think it's better to make it well-defined, regardless. > Dont forget most of the Devs are unpaid or only paid to implement > specific feathers so they are giving there own time up so will only work > on what they feel useful. > > > Anyhow sorry for the evangelical rant. I don't think you were ranting, nor being evangelical. You're absolutely right. I'm not asking for anybody to do any work other than allowing me to contribute my own work that I've already done to the project so that others (myself included) can benefit going forward. Mike ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ebalao at gmail.com Tue Feb 14 09:29:00 2012 From: ebalao at gmail.com (Emilio Balao) Date: Tue, 14 Feb 2012 09:29:00 +0100 Subject: check_disk_smb not working Message-ID: Hello, I'm trying to get this plugin work. I do this: /usr/local/nagios/libexec/check_disk_smb -H localhost -s repositorio -u user -p password -w 80 -c 85 And I get: Result from smbclient not suitable And the smb.conf look like this: [global] workgroup = WORKGROUP [repositorio] path = /files/emilio public = yes writable = yes create mask = 0777 directory mask = 0777 force user = nobody force group = nogroup guest ok = yes security = SHARE Anyone can help me, please? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bluethundr at jokefire.com Fri Feb 17 18:13:24 2012 From: bluethundr at jokefire.com (Tim Dunphy) Date: Fri, 17 Feb 2012 17:13:24 -0000 (UTC) Subject: permissions error on host groups page Message-ID: <0b29a6d8-cf16-46a9-b449-426b83a03f64@li289-212> Hello list, I am getting a permissions error on my Host Groups page I was wondering if I could get an opinon on how to solve this issue It appears as though you do not have permission to view information for any of the hosts 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. From the cgi.cfg I have the following options set: authorized_for_system_commands=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin I was hoping that I could get some advice on how to solve this issue. This is on a centos 5.7 x86 server. Thanks! tim ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bluethundr at jokefire.com Fri Feb 17 19:13:24 2012 From: bluethundr at jokefire.com (Tim Dunphy) Date: Fri, 17 Feb 2012 18:13:24 -0000 (UTC) Subject: blank home page issue Message-ID: <387a1d44-bf29-42ad-a9b2-ff8edba57e7a@li289-212> Hello list, I have one more nagging issue I'd like to try and solve if you'd be so kind... when I click on the home page to nagios all I see is a white page with nothing on it.. if I have a look at the logs I see that PHP can't find certain files even tho they are there... ## Error in the logs when clicking on homepage: [root at aws-nag conf.d]# tail -f /var/log/httpd/nagios_ssl_error_log [Fri Feb 17 13:06:17 2012] [error] [client 66.192.34.68] PHP Warning: require_once(./includes/rss/extlib/Snoopy.class.inc) [function.require-once]: failed to open stream: No such file or directory in /usr/local/nagios/share/includes/rss/rss_fetch.inc on line 35, referer: https://nag2/nagios/side.php [Fri Feb 17 13:06:17 2012] [error] [client 66.192.34.68] PHP Fatal error: require_once() [function.require]: Failed opening required './includes/rss/extlib/Snoopy.class.inc' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagios/share/includes/rss/rss_fetch.inc on line 35, referer: https://nag2/nagios/side.php ## these are the files that nagios is failing to open: [root at aws-nag ~]# ls -l /usr/local/nagios/html/includes/rss/extlib/Snoopy.class.inc -rwxr--r-- 1 nagios apache 27402 Jul 24 2011 /usr/local/nagios/html/includes/rss/extlib/Snoopy.class.inc [root at aws-nag ~]# ls -l /usr/local/nagios/share/includes/rss/rss_fetch.inc -rw-rw-r-- 1 nagios apache 15058 Feb 13 14:37 /usr/local/nagios/share/includes/rss/rss_fetch.inc thanks once again, tim ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ar at xlrs.de Fri Feb 17 22:02:52 2012 From: ar at xlrs.de (Axel) Date: Fri, 17 Feb 2012 22:02:52 +0100 Subject: permissions error on host groups page In-Reply-To: <0b29a6d8-cf16-46a9-b449-426b83a03f64@li289-212> References: <0b29a6d8-cf16-46a9-b449-426b83a03f64@li289-212> Message-ID: <201202172202.52432.ar@xlrs.de> Hi Tim, Is nagiosadmin the login user you used? Rgds, Axel Tim Dunphy schrieb: >Hello list, > >I am getting a permissions error on my Host Groups page I was wondering >if I could get an opinon on how to solve this issue > > >It appears as though you do not have permission to view information for >any of the hosts 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. > > > From the cgi.cfg I have the following options set: > >authorized_for_system_commands=nagiosadmin >authorized_for_configuration_information=nagiosadmin >authorized_for_system_commands=nagiosadmin >authorized_for_all_services=nagiosadmin >authorized_for_all_hosts=nagiosadmin >authorized_for_all_service_commands=nagiosadmin >authorized_for_all_host_commands=nagiosadmin > > >I was hoping that I could get some advice on how to solve this issue. > > >This is on a centos 5.7 x86 server. > >Thanks! >tim > > > >------------------------------------------------------------------------------ >Virtualization & Cloud Management Using Capacity Planning >Cloud computing makes use of virtualization - but cloud computing >also focuses on allowing computing to be delivered as a service. >http://www.accelacomm.com/jaw/sfnl/114/51521223/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Curtis.Hutson at oncimmune.com Thu Feb 16 17:34:20 2012 From: Curtis.Hutson at oncimmune.com (Curtis E. Hutson) Date: Thu, 16 Feb 2012 16:34:20 +0000 Subject: Unable to solve problem Message-ID: I have been working this problem for a few days now. I have read a number of forums and other posts from others who have had the same problem but can not get this working. Using Nagios Core 3.3.1 runing on CentOS 6.2 Attempting to monitor a windows server and get counter information on pagefile usage, once solved I will add other commands just need to understand the basics. Receive this error Checking services... Error: Service check command 'check_nt -H onc01 -p 12489 -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging file usage is %.2f %%" -w 80 -c 90' specified in service 'Pagefile' for host 'onc01' not defined anywhere! >From a file called hosts-others.cfg where I define my host define host { use generic-host ;Template Used host_name onc01 alias onc01 address 192.168.XXX.XXX check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 contact_groups admins notification_options d,r } define service{ use generic-service host_name onc01 service_description Pagefile check_command check_nt -H onc01 -p 12489 -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging file usage is %.2f %%" -w 80 -c 90 } >From command.cfg define command{ command_name check_pagefile command_line $USER1$/check_nt -H onc01 -p 12489 -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging file usage is %.2f %%" -w 80 -c 90' } Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ftlnagios at gmail.com Fri Feb 17 22:43:03 2012 From: ftlnagios at gmail.com (Ftlnagios) Date: Fri, 17 Feb 2012 21:43:03 +0000 Subject: Unable to solve problem Message-ID: For your check_command in Define service put check_pagefile As defined by command_name in your commands.cfg? Sent from My Samsung Galaxy -------- Original message -------- Subject: [Nagios-users] Unable to solve problem From: "Curtis E. Hutson" To: "nagios-users at lists.sourceforge.net" CC: I have been working this problem for a few days now.? I have read a number of forums and other posts from others who have had the same problem but can not get this working. ? Using Nagios Core 3.3.1 runing on CentOS 6.2 ? ? Attempting to monitor a windows server and get counter information on pagefile usage, once solved I will add other commands just need to understand the basics. ? Receive this error ? Checking services... Error: Service check command 'check_nt -H onc01 -p 12489 -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging file usage is %.2f %%" -w 80 -c 90' specified in service 'Pagefile' for host 'onc01' not defined anywhere! ??????? ? From a file called hosts-others.cfg? where I define my host ? ? define host { ??????? use???????????? generic-host??????????? ;Template Used ??????? host_name ?????onc01 ??????? alias???????? onc01 ??????? address???????? 192.168.XXX.XXX ??????? check_command?? check-host-alive ??????? max_check_attempts????? 10 ??????? notification_interval?? 120 ??????? notification_period???? 24x7 ??????? contact_groups??????? ??admins ??????? notification_options??? d,r ??????? } ? ? define service{ ??????? use???????????????????? generic-service ??????? host_name?????????????? onc01 ??????? service_description???? Pagefile ??????? check_command?????????? check_nt -H onc01 -p 12489 -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging file usage is %.2f %%" -w 80 -c 90 ??????? } ? ? ? From ?command.cfg ? define command{ ??????? command_name??? check_pagefile ??????? command_line??? $USER1$/check_nt -H onc01 -p 12489 -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging file usage is %.2f %%" -w 80 -c 90' ??????? } ? ? ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pepsico.com Sat Feb 18 18:48:14 2012 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Sat, 18 Feb 2012 12:48:14 -0500 Subject: Have we reached some kind of Nagios limit? Message-ID: A couple of days ago, I ran into a problem I've never seen before. We run a single large instance with mostly very heterogeneous checks and host types. One particular group of Windows hosts, however, are all quite similar and they, like most of our other checks rely on the use of templates. I needed to add 10 more hosts of this particular type and typically all I have to do is just define the hosts and the service checks happen automatically as the host templates include them in a group that includes all the relevant checks. I added maybe 5 of these new hosts, ran the pre-flight check and restarted. After the restart I started noticing that our failing service checks (for all services) went from around 260 to over 4K. All of those new failing checks were only on hosts of this same type (that particular application on Windows servers I mentioned above which is also what these new hosts were part of) and they were all reporting the same failure condition: (Return code of 127 is out of bounds - plugin may be missing) Now ordinarily this would indicate a client-side issue, but there isn't one. I can validate that by running check_nrpe manually against any of these hosts. I could imagine a typo that would cause this, particular against other existing hosts that had not been touched, but I double-checked and did not find one (I was just adding host definitions to this group - nothing else). I cloned this environment and went to play with it in a non-production instance that was identical to the production Nagios instance except for a slight newer version of Merlin in the backend (1.1.14 for the non-prod instance, 1.1.13 something for the production one), but both used the same Nagios 3.3.1 + downtime locking patches. I was able to reproduce the situation and after a couple of days of trial and error I've still not been able to completely isolate the issue, but I've determined that - it's not got anything to do with the mk-livestatus module (turned it off, turned it back on), but it's been very helpful in figuring out which of the 13K+ services and 1200+ hosts are impacted - it doesn't seem to be about adding random hosts and services. I can add others and this doesn't happen - the host definition uses a template that puts the host in a hostgroup. Those hostgroups are then used to in service definitions (12-15 services, depending on which group). I had thought that perhaps if the hostgroup_name line of the service definition expanded to too many hosts that could be the problem. I broke the service definitions down into 2 definitions, one for each production hostgroup rather than combining them and that didn't matter. - the service templates that the service definitions use for these hosts all add them to a common servicegroup. My current line of thinking leads me to believe it's got something to do with this. With a particular test scenario I created where I create a new host, but exclude it from the hostgroup definitions and instead manually create service definitions for this host (I know this "one more host" is right on the cusp of this problem), I find that when I add it so the 4,331st service gets added to the servicegroup, the problem starts. If I remove that from that host's service definition all the other hosts' services recover. However, based on this thinking, if I just comment out the servicegroup add from the service template these hosts use, the problem should stop - it doesn't. - the only affect services are on all of the hostgroup I'm changing. Other unrelated hosts and services are unaffected. There are 3 hostgroups: Production Appname Hosts 1, Production Appname Hosts 2, and All Appname Hosts which is obviously a combination of the two. All Appname Hosts is around 324 hosts. I'm not really sure what to try at this point. It does seem like I've hit some kind of internal limitation with Nagios, but I don't know how to determine anything else about it beyond this. If I were able to completely isolate this to say, not adding anything to a single servicegroup, I could avoid that and continue adding hosts as we need it, but I have so far not been able to find such a workaround. If there is a limitation like this, it would of course, be nice for the pre-flight check to tell me that I can't have more than X members of a servicegroup or something. Other info: Nagios version: Nagios 3.3.1 with locking patches Merlin backend: 1.1.13+ (production), 1.1.14 (test) MK-Livestatus module 1.1.12p6 installed (uninstalled doesn't impact) OS: SLES 11.1 Linux, 64-bit Memory: 12GB CPU: 2x 2.4Ghz quad-core Xeon What can I do? Thanks Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at consol.de Sat Feb 18 20:04:39 2012 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Sat, 18 Feb 2012 20:04:39 +0100 Subject: Have we reached some kind of Nagios limit? In-Reply-To: References: Message-ID: <4F3FF647.4020603@consol.de> On 2/18/12 18:48, Frost, Mark {BIS} wrote: > ... > I added maybe 5 of these new hosts, ran the pre-flight check and restarted. After the restart I started noticing that our failing service checks (for all services) went from around 260 to over 4K. All of those new failing checks were only on hosts of this same type (that particular application on Windows servers I mentioned above which is also what these new hosts were part of) and they were all reporting the same failure condition: > (Return code of 127 is out of bounds - plugin may be missing) > ... > What can I do? Disable environment macros. You hit the limit of maximum length of a new shell command which can be pretty huge when using env macros. Its strongly advised to turn them off when using mklivestatus anyway. Sven ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Feb 20 10:13:11 2012 From: ae at op5.se (Andreas Ericsson) Date: Mon, 20 Feb 2012 10:13:11 +0100 Subject: Unable to solve problem In-Reply-To: References: Message-ID: <4F420EA7.1060800@op5.se> On 02/16/2012 05:34 PM, Curtis E. Hutson wrote: > I have been working this problem for a few days now. I have read a number of forums and other posts from others who have had the same problem but can not get this working. > > Using Nagios Core 3.3.1 runing on CentOS 6.2 > > > Attempting to monitor a windows server and get counter information on pagefile usage, once solved I will add other commands just need to understand the basics. > > Receive this error > > Checking services... > Error: Service check command 'check_nt -H onc01 -p 12489 -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging file usage is %.2f %%" -w 80 -c 90' specified in service 'Pagefile' for host 'onc01' not defined anywhere! > > >> From a file called hosts-others.cfg where I define my host > > > define host { > use generic-host ;Template Used > host_name onc01 > alias onc01 > address 192.168.XXX.XXX > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > contact_groups admins > notification_options d,r > } > > >> From command.cfg > > define command{ > command_name check_pagefile > command_line $USER1$/check_nt -H onc01 -p 12489 -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging file usage is %.2f %%" -w 80 -c 90' > } > Change this command_line to: $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 (insert rest of line here) > > define service{ > use generic-service > host_name onc01 > service_description Pagefile > check_command check_nt -H onc01 -p 12489 -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging file usage is %.2f %%" -w 80 -c 90 > } > Change check_command in the service definition to: check_pagefile and you're done. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Mon Feb 20 17:27:01 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Mon, 20 Feb 2012 16:27:01 +0000 Subject: Have we reached some kind of Nagios limit? In-Reply-To: References: Message-ID: <4288A518A157EC4C8873FEE74F778BF0131113@WPSDGQHH.OPR.STATEFARM.ORG> Have you tried running in debug mode? Dan From: Frost, Mark {BIS} [mailto:mark.frost1 at pepsico.com] Sent: Saturday, February 18, 2012 11:48 AM To: Nagios Users List Subject: [Nagios-users] Have we reached some kind of Nagios limit? A couple of days ago, I ran into a problem I've never seen before. We run a single large instance with mostly very heterogeneous checks and host types. One particular group of Windows hosts, however, are all quite similar and they, like most of our other checks rely on the use of templates. I needed to add 10 more hosts of this particular type and typically all I have to do is just define the hosts and the service checks happen automatically as the host templates include them in a group that includes all the relevant checks. I added maybe 5 of these new hosts, ran the pre-flight check and restarted. After the restart I started noticing that our failing service checks (for all services) went from around 260 to over 4K. All of those new failing checks were only on hosts of this same type (that particular application on Windows servers I mentioned above which is also what these new hosts were part of) and they were all reporting the same failure condition: (Return code of 127 is out of bounds - plugin may be missing) Now ordinarily this would indicate a client-side issue, but there isn't one. I can validate that by running check_nrpe manually against any of these hosts. I could imagine a typo that would cause this, particular against other existing hosts that had not been touched, but I double-checked and did not find one (I was just adding host definitions to this group - nothing else). I cloned this environment and went to play with it in a non-production instance that was identical to the production Nagios instance except for a slight newer version of Merlin in the backend (1.1.14 for the non-prod instance, 1.1.13 something for the production one), but both used the same Nagios 3.3.1 + downtime locking patches. I was able to reproduce the situation and after a couple of days of trial and error I've still not been able to completely isolate the issue, but I've determined that * it's not got anything to do with the mk-livestatus module (turned it off, turned it back on), but it's been very helpful in figuring out which of the 13K+ services and 1200+ hosts are impacted * it doesn't seem to be about adding random hosts and services. I can add others and this doesn't happen * the host definition uses a template that puts the host in a hostgroup. Those hostgroups are then used to in service definitions (12-15 services, depending on which group). I had thought that perhaps if the hostgroup_name line of the service definition expanded to too many hosts that could be the problem. I broke the service definitions down into 2 definitions, one for each production hostgroup rather than combining them and that didn't matter. * the service templates that the service definitions use for these hosts all add them to a common servicegroup. My current line of thinking leads me to believe it's got something to do with this. With a particular test scenario I created where I create a new host, but exclude it from the hostgroup definitions and instead manually create service definitions for this host (I know this "one more host" is right on the cusp of this problem), I find that when I add it so the 4,331st service gets added to the servicegroup, the problem starts. If I remove that from that host's service definition all the other hosts' services recover. However, based on this thinking, if I just comment out the servicegroup add from the service template these hosts use, the problem should stop - it doesn't. * the only affect services are on all of the hostgroup I'm changing. Other unrelated hosts and services are unaffected. There are 3 hostgroups: Production Appname Hosts 1, Production Appname Hosts 2, and All Appname Hosts which is obviously a combination of the two. All Appname Hosts is around 324 hosts. I'm not really sure what to try at this point. It does seem like I've hit some kind of internal limitation with Nagios, but I don't know how to determine anything else about it beyond this. If I were able to completely isolate this to say, not adding anything to a single servicegroup, I could avoid that and continue adding hosts as we need it, but I have so far not been able to find such a workaround. If there is a limitation like this, it would of course, be nice for the pre-flight check to tell me that I can't have more than X members of a servicegroup or something. Other info: Nagios version: Nagios 3.3.1 with locking patches Merlin backend: 1.1.13+ (production), 1.1.14 (test) MK-Livestatus module 1.1.12p6 installed (uninstalled doesn't impact) OS: SLES 11.1 Linux, 64-bit Memory: 12GB CPU: 2x 2.4Ghz quad-core Xeon What can I do? Thanks Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Mon Feb 20 23:29:14 2012 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Mon, 20 Feb 2012 16:29:14 -0600 Subject: check_snmp -s (and -r) not working Message-ID: <9e1eda6536a2cd5f523f4aeba93f5423.squirrel@webmail.dd-b.net> Using check_snmp v1.4.15 (nagios-plugins 1.4.15) [ddb at prc-mn-lnx01 dev]$ /usr/lib64/nagios/plugins/check_snmp -H 192.168.1.254 -C XXXXXX -o 1.3.6.1.2.1.2.2.1.8.10125 -l ifOperStatus -s "loser" -v /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 192.168.1.254:161 1.3.6.1.2.1.2.2.1.8.10125 iso.3.6.1.2.1.2.2.1.8.10125 = INTEGER: 2 SNMP OK - ifOperStatus 2 | ifOperStatus=2 I'm trying to check an OID value that isn't range-related, ifOperStatus.. As you see, I'm getting back the enum value that means "down". This does NOT in any way match the -s string I supplied. I'm still getting an "OK" return value. (Obviously it's easy to wrap this with a script that finds the "ifOperStatus=" and returns what I need. I'll do that if I have to.) But...am I misunderstanding what the -s switch does? Or is the -s switch completely non-functional in this version? (I've read about a change rolled back to restore 1.4.14 behavior, but I didn't read the description as saying the string matching was completely non-functional before that.) I've also tried -r for regexps, same results; they seem to be completely ignored. -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pepsico.com Tue Feb 21 00:23:27 2012 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Mon, 20 Feb 2012 18:23:27 -0500 Subject: Have we reached some kind of Nagios limit? In-Reply-To: <4F3FF647.4020603@consol.de> References: <4F3FF647.4020603@consol.de> Message-ID: Thanks, Sven. I'm almost certain you're correct. For some reason I had thought that when I turned on large_installation_tweaks some time ago that environment variables were turned off. However, now I see that it only turns off summary macros. Not sure how I misinterpreted that. So it would make sense that in the case of this particular collection of hosts and services that Nagios was probably creating such a large set of environment variables that it was perhaps overriding a shell limit and preventing the exec'd check from properly executing. I did some preliminary tests and turning that off cleared things up. And of course, in addition to fixing this issue, I believe I'm going to get a performance boost (or at least a resource usage drop) as an added bonus. Unfortunately the only place I do currently use environment variables is with several event scripts. Changing those scripts to use command-line variables is proving to be rather a pain in the butt given how many variables I have them check. But I'm getting there. Thanks very much for your help! Mark -----Original Message----- From: Sven Nierlein [mailto:Sven.Nierlein at consol.de] Sent: Saturday, February 18, 2012 2:05 PM To: Nagios Users List Subject: Re: [Nagios-users] Have we reached some kind of Nagios limit? On 2/18/12 18:48, Frost, Mark {BIS} wrote: > ... > I added maybe 5 of these new hosts, ran the pre-flight check and restarted. After the restart I started noticing that our failing service checks (for all services) went from around 260 to over 4K. All of those new failing checks were only on hosts of this same type (that particular application on Windows servers I mentioned above which is also what these new hosts were part of) and they were all reporting the same failure condition: > (Return code of 127 is out of bounds - plugin may be missing) > ... > What can I do? Disable environment macros. You hit the limit of maximum length of a new shell command which can be pretty huge when using env macros. Its strongly advised to turn them off when using mklivestatus anyway. Sven ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_stevens at affymetrix.com Tue Feb 21 22:40:44 2012 From: michael_stevens at affymetrix.com (Mike Stevens) Date: Tue, 21 Feb 2012 21:40:44 +0000 (UTC) Subject: =?utf-8?q?check=5Fopenmanage?= References: <4F16C5CC.7060709@stegbauer.info> <4F16D3E9.2090607@stegbauer.info> Message-ID: Tobias Dinse stegbauer.info> writes: > > Yes, i can run all commands on the local system without errors. Thats > why I m confused. I also can execute the check_openmanage Script manual > on the local Maschine as Nagios User without problems. I think it must > be an Problem between the script output. But why it works on other > r710?s with debian squeeze? *confused* I know this thread is a bit stale, but are you perchance running selinux? I had these same symptoms with selinux set to enforcing. I had to create a couple of local policies to work around the problem. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Wed Feb 22 00:42:08 2012 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Tue, 21 Feb 2012 17:42:08 -0600 Subject: Where can arguments go? Message-ID: I'm looking to use a special check command to verify routers are in operation by checking the main link port of the router (instead of the default ping). I'm running into confusion, because I need to specify a port number in the host definition, and I can't really see how to do it. I use soemthing like this for a template: define host { name snmp-switch ; The name of this host template use generic-switch #check_command check-host-alive ; Default command to check if routers are "alive" check_command check-snmp-switch-alive $HOSTADDRESS$ $ARG1$ $ARG2$ register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE } I'm not sure the args on the check_command line are legal And I'm not sure that arguments on a "use snmp-switch" line referencing this could have arguments on them. Is this a possible / sane thing to do? Is this the right way to approach it, or am I missing a way that actually makes sense? -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Wed Feb 22 01:11:45 2012 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Wed, 22 Feb 2012 00:11:45 +0000 Subject: Where can arguments go? In-Reply-To: References: Message-ID: <70D7A4219FE365439DA53582BA6D8F2E836A73AC@HCSD-MAIL2> David, You could use something like the check_iftraffic3 plug-in, that would also give you bandwidth useage. Martin T. hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) -----Original Message----- From: David Dyer-Bennet [mailto:dd-b at dd-b.net] Sent: Tuesday, February 21, 2012 6:42 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Where can arguments go? I'm looking to use a special check command to verify routers are in operation by checking the main link port of the router (instead of the default ping). I'm running into confusion, because I need to specify a port number in the host definition, and I can't really see how to do it. I use soemthing like this for a template: define host { name snmp-switch ; The name of this host template use generic-switch #check_command check-host-alive ; Default command to check if routers are "alive" check_command check-snmp-switch-alive $HOSTADDRESS$ $ARG1$ $ARG2$ register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE } I'm not sure the args on the check_command line are legal And I'm not sure that arguments on a "use snmp-switch" line referencing this could have arguments on them. Is this a possible / sane thing to do? Is this the right way to approach it, or am I missing a way that actually makes sense? -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Wed Feb 22 00:59:46 2012 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Wed, 22 Feb 2012 10:59:46 +1100 Subject: Where can arguments go? In-Reply-To: References: Message-ID: <8CEF048B9EC83748B1517DC64EA130FB6B2AC301B4@off-win2003-01.ausregistrygroup.local> Hi, > -----Original Message----- > From: David Dyer-Bennet [mailto:dd-b at dd-b.net] > Sent: Wednesday, 22 February 2012 10:42 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Where can arguments go? > > I'm looking to use a special check command to verify routers are in > operation by checking the main link port of the router (instead of the > default ping). I'm running into confusion, because I need to specify a > port number in the host definition, and I can't really see how to do it. > > I use soemthing like this for a template: > > define host { > name snmp-switch ; The name of this host template > use generic-switch > #check_command check-host-alive ; Default command to check > if routers > are "alive" > check_command check-snmp-switch-alive $HOSTADDRESS$ $ARG1$ > $ARG2$ > register 0 ; DONT REGISTER THIS - ITS JUST A > TEMPLATE > } > > I'm not sure the args on the check_command line are legal And I'm not > sure that arguments on a "use snmp-switch" line referencing this could > have arguments on them. Arguments on the check_command line are perfectly valid, however you aren't using them correctly here. Example time: check_command check_tcp!1500 Within a service or host definition, something like this would execute the defined command 'check_tcp' and pass it a $ARG1$ value of 1500. This would be used like this: define command { command_name check_tcp command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ } This is documented in the Macros section: http://nagios.sourceforge.net/docs/nagioscore/3/en/macros.html > Is this a possible / sane thing to do? Is this the right way to approach > it, or am I missing a way that actually makes sense? > > > -- > David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ > Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ > Photos: http://dd-b.net/photography/gallery/ > Dragaera: http://dragaera.info Stuart ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnilsson at uci.edu Wed Feb 22 01:06:52 2012 From: jnilsson at uci.edu (Jonathan Nilsson) Date: Tue, 21 Feb 2012 16:06:52 -0800 Subject: Where can arguments go? In-Reply-To: References: Message-ID: It looks like you are using variables in the wrong location. Those should go in the command definition. See below for a sample, and hopefully you can adapt it to your specific needs. > I'm running into confusion, because I need to specify a > port number in the host definition, and I can't really see how to do it. > I'm going to assume that "check-snmp-switch-alive" is a script that you have written and that the command from the command-line is: /usr/local/nagios/libexec/check-snmp-switch-alive -p in the host/service definitions, the check_command separates arguments with the exclamation symbol "!" like this: > define host { > name snmp-switch ; The name of this host > template > use generic-switch > #check_command check-host-alive ; Default command to check > if routers > are "alive" > check_command check-snmp-switch-alive!! > register 0 ; DONT REGISTER THIS - ITS > JUST A TEMPLATE > } > where would be the port number and could be any string of other options, including "-[a-z]" switches and their arguments. You then define the command like this: define command { command_name check-snmp-switch-alive command_line /usr/local/nagios/libexec/check-snmp-switch-alive $HOSTNAME$ -p $ARG1$ $ARG2$ } > Is this a possible / sane thing to do? Is this the right way to approach > it, or am I missing a way that actually makes sense? > Yes, I would say that this is appropriate for a switch/router. Personally, I usually don't overwrite the default host check_command since check_ping is fine, and instead add additional services as needed, such as SNMP checks to get more info. Good luck! -- Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Wed Feb 22 12:07:01 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Wed, 22 Feb 2012 11:07:01 +0000 Subject: Exclude Notifications during certian hours Message-ID: Hi all, I have all my servers (approx. 70) monitored by PING using the 24x7 time period and notifications set to 24x7. Im happy with this as I want to know when my servers go down at all times as a lot are critical and under strict SLA's. However I have the need to exclude notifications for 1 physical host and 6 virtual hosts that sit on this physical host during the hours of 00:30-06:30 every night. These machines are not under any SLA and often reboot during the night for various reasons and I'm done with waking up at all hours for these non-critical servers! What is the quickest way for me to exclude these 7 hosts from notifying during these hours whilst leaving all other servers at 24x7? Ive had a read the nagios docs but it didn't really help me as I didn't really understand it. I have edited my server.cfg to show the scenario I want to achieve and that can be found at the link below. http://dl.dropbox.com/u/895609/servers.cfg The layout etc is identical to my live configs, I have just edited the number of hosts/names/contacts etc (the 3 hosts named NOT CRITICAL are the example for the "7 hosts" I first talked about) What is the quickest and most effective way for me to keep checking ALL my servers 24x7 and notifying 24x7, BUT exclude 7 particular servers from checks/notifications between 00:30-06:30 every night? Thanks in advance for your help. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Wed Feb 22 12:32:03 2012 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 22 Feb 2012 11:32:03 +0000 Subject: Exclude Notifications during certian hours In-Reply-To: References: Message-ID: <4F44D233.20100@flatto.net> 1) Create a time period that excludes the hours you do not want to be monitoring those hosts. 2) assign those hosts to a host group 3) assign a ping test with the modified timeperiod to those hosts . Andrew Thompson wrote: > > Hi all, > > I have all my servers (approx. 70) monitored by PING using the 24x7 > time period and notifications set to 24x7. > > Im happy with this as I want to know when my servers go down at all > times as a lot are critical and under strict SLA?s. > > However I have the need to exclude notifications for 1 physical host > and 6 virtual hosts that sit on this physical host during the hours of > 00:30-06:30 every night. > > These machines are not under any SLA and often reboot during the night > for various reasons and I?m done with waking up at all hours for these > non-critical servers! > > What is the quickest way for me to exclude these 7 hosts from > notifying during these hours whilst leaving all other servers at 24x7? > > Ive had a read the nagios docs but it didn?t really help me as I > didn?t really understand it. > > I have edited my server.cfg to show the scenario I want to achieve and > that can be found at the link below. > > http://dl.dropbox.com/u/895609/servers.cfg > > The layout etc is identical to my live configs, I have just edited the > number of hosts/names/contacts etc (the 3 hosts named NOT CRITICAL are > the example for the ?7 hosts? I first talked about) > > What is the quickest and most effective way for me to keep checking > ALL my servers 24x7 and notifying 24x7, BUT exclude 7 particular > servers from checks/notifications between 00:30-06:30 every night? > > Thanks in advance for your help. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Wed Feb 22 17:02:07 2012 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Wed, 22 Feb 2012 10:02:07 -0600 Subject: Where can arguments go? In-Reply-To: References: Message-ID: <3aa7842e7a951f7d70daf07444d4269b.squirrel@webmail.dd-b.net> On Tue, February 21, 2012 18:06, Jonathan Nilsson wrote: > It looks like you are using variables in the wrong location. Those should > go in the command definition. See below for a sample, and hopefully you > can adapt it to your specific needs. Ah, got it. I hadn't thought of moving the check_command from the template into the host definition; I was instead trying to pass arguments through the template invocation, which apparently isn't supported. (And I had syntax wrong on passing args; I know better than that, I've written and used many other commands that need args, and passed them properly before.) Thank you, and thank you other posters with suggestions and variants as well. [snip] >> Is this a possible / sane thing to do? Is this the right way to >> approach >> it, or am I missing a way that actually makes sense? >> > > Yes, I would say that this is appropriate for a switch/router. Personally, > I usually don't overwrite the default host check_command since check_ping > is fine, and instead add additional services as needed, such as SNMP > checks to get more info. I'm thinking of using the router as a parent; if the failure isn't found by the check_command but only by one service failing, will that still cause the whole router host to be considered down for parent purposes? One goal here is to eliminate reports of multiple services being down from beyond the router, if the router itself (or the link) is what's actually down. Of course in many cases, the router is entirely cut off, so ping will also fail. The other thing ping doesn't catch is administrative screw-ups that mess up a port without shutting down the router (unless it happens to be a port that the Nagios monitoring has to go through). -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnilsson at uci.edu Wed Feb 22 19:36:37 2012 From: jnilsson at uci.edu (Jonathan Nilsson) Date: Wed, 22 Feb 2012 10:36:37 -0800 Subject: Where can arguments go? In-Reply-To: <3aa7842e7a951f7d70daf07444d4269b.squirrel@webmail.dd-b.net> References: <3aa7842e7a951f7d70daf07444d4269b.squirrel@webmail.dd-b.net> Message-ID: > > I'm thinking of using the router as a parent; if the failure isn't found > by the check_command but only by one service failing, will that still > cause the whole router host to be considered down for parent purposes? > Ah, I had never thought to setup dependency relationships like that for the sake of notifications. But that makes sense - getting one notification about the switch is better than tons of false notifications about the services behind the switch! I do know that one service failure will NOT cause the whole host to be marked down, unless the host's check_command also fails. But as you explain below, that could still succeed due to admin error. So I do believe you have the right idea. One goal here is to eliminate reports of multiple services being down from > beyond the router, if the router itself (or the link) is what's actually > down. Of course in many cases, the router is entirely cut off, so ping > will also fail. The other thing ping doesn't catch is administrative > screw-ups that mess up a port without shutting down the router (unless it > happens to be a port that the Nagios monitoring has to go through). Thanks for explaining your reasoning! Maybe I'll be motivated to rethink my own configuration a bit. -- Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Wed Feb 22 22:27:32 2012 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Wed, 22 Feb 2012 15:27:32 -0600 Subject: Where can arguments go? In-Reply-To: References: <3aa7842e7a951f7d70daf07444d4269b.squirrel@webmail.dd-b.net> Message-ID: On Wed, February 22, 2012 12:36, Jonathan Nilsson wrote: >> >> I'm thinking of using the router as a parent; if the failure isn't found >> by the check_command but only by one service failing, will that still >> cause the whole router host to be considered down for parent purposes? >> > > Ah, I had never thought to setup dependency relationships like that for > the > sake of notifications. But that makes sense - getting one notification > about the switch is better than tons of false notifications about the > services behind the switch! It's also probably fiddling around with small-percentage improvements, but I'm somewhat theoretically-minded, so the fact that it *can* go wrong and there might be a better way was bothering me. Anyway, that's what I was thinking about. Thanks for confirming that the check_command is what defines "host down", I thought so but wasn't confident. (Nagios documentation is pretty good as such things go, mostly when I get confused I eventually work out that what I had wrong was right in a not-too-weird place in the docs.) -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Thu Feb 23 04:31:49 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Wed, 22 Feb 2012 19:31:49 -0800 Subject: Nagios 3.3.1, event brokers, and debug. In-Reply-To: <4F44D233.20100@flatto.net> References: <4F44D233.20100@flatto.net> Message-ID: <4F45B325.9040309@5dninja.net> I'm trying to test out mod_gearman, but I don't see any message about the event broker loading in the main logfile, and enabling debug logging just results in a blank debug log file. From nagios.cfg: debug_file=/usr/local/nagios/var/nagios.debug debug_level=66 debug_verbosity=2 max_debug_file_size=10000000 event_broker_options=-1 broker_module=/usr/local/nagios/lib/mod_gearman.o config=/usr/local/nagios/etc/gearman.cfg From nagios.log: 1329961651] Successfully shutdown... (PID=79938) [1329961654] Nagios 3.3.1 starting... (PID=81413) [1329961654] Local time is Wed Feb 22 17:47:34 PST 2012 [1329961654] LOG VERSION: 2.0 [1329961655] Finished daemonizing... (New PID=81414) nagios.debug is empty. Any advice? -- Mike Lindsey ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Feb 23 08:30:12 2012 From: m.borsani at it.net (Marco Borsani) Date: Thu, 23 Feb 2012 08:30:12 +0100 Subject: number of notification per host Message-ID: <002701ccf1fd$007c5570$01750050$@it.net> Hi all In a Nagios server 3.2.3 , I have a host that from several days send me many notifications, but when I open its details page I read: ?Last Notification: N/A (notification 0) ? With an old Nagios (1.4.5) I read the total numbers of notifications sended from a host: ? Current Notification Number: 323 " Is it a bug ? Are two different things ? Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at consol.de Thu Feb 23 11:16:50 2012 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Thu, 23 Feb 2012 11:16:50 +0100 Subject: Nagios 3.3.1, event brokers, and debug. In-Reply-To: <4F45B325.9040309@5dninja.net> References: <4F44D233.20100@flatto.net> <4F45B325.9040309@5dninja.net> Message-ID: <4F461212.2050106@consol.de> Hi Mike, Please don't hijack other threads. On 2/23/12 4:31, Mike Lindsey wrote: > I'm trying to test out mod_gearman, but I don't see any message about > the event broker loading in the main logfile, and enabling debug logging > just results in a blank debug log file. > > From nagios.cfg: > debug_file=/usr/local/nagios/var/nagios.debug > debug_level=66 > debug_verbosity=2 > max_debug_file_size=10000000 > event_broker_options=-1 > broker_module=/usr/local/nagios/lib/mod_gearman.o > config=/usr/local/nagios/etc/gearman.cfg > > From nagios.log: > 1329961651] Successfully shutdown... (PID=79938) > [1329961654] Nagios 3.3.1 starting... (PID=81413) > [1329961654] Local time is Wed Feb 22 17:47:34 PST 2012 > [1329961654] LOG VERSION: 2.0 > [1329961655] Finished daemonizing... (New PID=81414) > > nagios.debug is empty. > > Any advice? Make sure you have eventbroker handling compiled in. (--enable-event-broker). Also consider using the latest stable 3.2.3 which has been successfully tested with Mod-Gearman. I never tried the 3.3.1. Sven ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ftlnagios at gmail.com Thu Feb 23 11:20:51 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Thu, 23 Feb 2012 10:20:51 -0000 Subject: number of notification per host In-Reply-To: <002701ccf1fd$007c5570$01750050$@it.net> References: <002701ccf1fd$007c5570$01750050$@it.net> Message-ID: <001501ccf214$d2237ab0$766a7010$@gmail.com> Doesn?t the counter get reset as the log is rotated daily in Nagios 3? On the web interface if you click your host and then View Notifications for this host ? you can click the arrows for Earlier Archive and it will go back through the log files stored in the archive folder for each previous 24 hours. From: Marco Borsani [mailto:m.borsani at it.net] Sent: 23 February 2012 07:30 To: NAGIOS Subject: [Nagios-users] number of notification per host Hi all In a Nagios server 3.2.3 , I have a host that from several days send me many notifications, but when I open its details page I read: ?Last Notification: N/A (notification 0) ? With an old Nagios (1.4.5) I read the total numbers of notifications sended from a host: ? Current Notification Number: 323 " Is it a bug ? Are two different things ? Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Feb 23 11:38:03 2012 From: m.borsani at it.net (Marco Borsani) Date: Thu, 23 Feb 2012 11:38:03 +0100 Subject: R: number of notification per host In-Reply-To: <001501ccf214$d2237ab0$766a7010$@gmail.com> References: <002701ccf1fd$007c5570$01750050$@it.net> <001501ccf214$d2237ab0$766a7010$@gmail.com> Message-ID: <00f701ccf217$3eb54b20$bc1fe160$@it.net> Thanks, I know the Earlier Archive, but I need to see the notification counter in the host details Da: FTL Nagios [mailto:ftlnagios at gmail.com] Inviato: gioved? 23 febbraio 2012 11:21 A: 'Nagios Users List' Oggetto: Re: [Nagios-users] number of notification per host Doesn?t the counter get reset as the log is rotated daily in Nagios 3? On the web interface if you click your host and then View Notifications for this host ? you can click the arrows for Earlier Archive and it will go back through the log files stored in the archive folder for each previous 24 hours. From: Marco Borsani [mailto:m.borsani at it.net] Sent: 23 February 2012 07:30 To: NAGIOS Subject: [Nagios-users] number of notification per host Hi all In a Nagios server 3.2.3 , I have a host that from several days send me many notifications, but when I open its details page I read: ?Last Notification: N/A (notification 0) ? With an old Nagios (1.4.5) I read the total numbers of notifications sended from a host: ? Current Notification Number: 323 " Is it a bug ? Are two different things ? Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caralbornozc at gmail.com Thu Feb 23 17:34:50 2012 From: caralbornozc at gmail.com (Carlos Albornoz) Date: Thu, 23 Feb 2012 13:34:50 -0300 Subject: About check_by_ssh Message-ID: Hi, i try to run a check_by_ssh, my ssh config is here http://pastebin.com/jvSZSAvR but when i run "./check_by_ssh -H desthost -C /pathto/check_any -l destuser" i get "check_by_ssh: Invalid hostname/address - desthost" i try to search why, but i dont find info maybe the script dont work with that ssh config any idea why dont work? Cheers. -- Carlos Albornoz C. Linux User #360502 Fono: 97864420 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Thu Feb 23 19:33:29 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Thu, 23 Feb 2012 10:33:29 -0800 Subject: Nagios 3.3.1, event brokers, and debug. In-Reply-To: <4F461212.2050106@consol.de> References: <4F44D233.20100@flatto.net> <4F45B325.9040309@5dninja.net> <4F461212.2050106@consol.de> Message-ID: <4F468679.80209@5dninja.net> On 2/23/12 2:16 AM, Sven Nierlein wrote: > Hi Mike, > > Please don't hijack other threads. Apologies. Unintentional thread header jacking. > Make sure you have eventbroker handling compiled in. > (--enable-event-broker). > Also consider using the latest stable 3.2.3 which has been > successfully tested with > Mod-Gearman. I never tried the 3.3.1. Turns out that's the problem. I've rebuilt from source and it loads, now to get our package maintainer to rebuild the package. And to figure out why mod_gearman_worker's children keep segfaulting. It *looks* like gearman works fine with 3.3.1. At the very least I see jobs going into the queue. -- Mike Lindsey ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at consol.de Thu Feb 23 19:50:49 2012 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Thu, 23 Feb 2012 19:50:49 +0100 Subject: Nagios 3.3.1, event brokers, and debug. In-Reply-To: <4F468679.80209@5dninja.net> References: <4F44D233.20100@flatto.net> <4F45B325.9040309@5dninja.net> <4F461212.2050106@consol.de> <4F468679.80209@5dninja.net> Message-ID: <4F468A89.2080509@consol.de> On 2/23/12 19:33, Mike Lindsey wrote: > Turns out that's the problem. I've rebuilt from source and it loads, now to get our package maintainer to rebuild the package. And to figure out why mod_gearman_worker's children keep segfaulting. Seems to be freebsd related. A colleague could reproduce that with freebsd 8. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Thu Feb 23 20:12:09 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Thu, 23 Feb 2012 11:12:09 -0800 Subject: Nagios 3.3.1, event brokers, and debug. In-Reply-To: <4F468A89.2080509@consol.de> References: <4F44D233.20100@flatto.net> <4F45B325.9040309@5dninja.net> <4F461212.2050106@consol.de> <4F468679.80209@5dninja.net> <4F468A89.2080509@consol.de> Message-ID: <4F468F89.50403@5dninja.net> On 2/23/12 10:50 AM, Sven Nierlein wrote: > On 2/23/12 19:33, Mike Lindsey wrote: >> Turns out that's the problem. I've rebuilt from source and it loads, >> now to get our package maintainer to rebuild the package. And to >> figure out why mod_gearman_worker's children keep segfaulting. > > Seems to be freebsd related. A colleague could reproduce that with > freebsd 8. Any advice short of rebuilding my entire infrastructure? -- Mike Lindsey ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frnkblk at iname.com Fri Feb 24 00:58:27 2012 From: frnkblk at iname.com (Frank Bulk) Date: Thu, 23 Feb 2012 17:58:27 -0600 Subject: check_http fails for two Sprint sites Message-ID: <006301ccf287$097103d0$1c530b70$@iname.com> Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net failed to pass check_http. What's strange is that the v4 version of www.sprint.net also fails. I see that there are 302's (redirection) to the secure version of the site, but using the '-f follow' command doesn't help, either. It seems that if the site one being is redirected to is secure that the check command fails. I'm running check_http version 1.4.15. Here's my output: ============================================================================ == nagios:/etc/nagios3# nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -4 CRITICAL - Socket timeout after 10 seconds nagios:/etc/nagios3# nagios:/etc/nagios3# wget -4 www.sprint.net --2012-02-23 17:52:06-- http://www.sprint.net/ Resolving www.sprint.net... 208.24.22.50 Connecting to www.sprint.net|208.24.22.50|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://www.sprint.net/ [following] --2012-02-23 17:52:06-- https://www.sprint.net/ Connecting to www.sprint.net|208.24.22.50|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ?index.html.4? [ <=> ] 16,997 --.-K/s in 0.05s 2012-02-23 17:52:06 (348 KB/s) - ?index.html.4? nagios:/etc/nagios3# ============================================================================ == nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -6 CRITICAL - Socket timeout after 10 seconds nagios:/etc/nagios3# nagios:/etc/nagios3# wget -6 www.sprint.net --2012-02-23 17:54:49-- http://www.sprint.net/ Resolving www.sprint.net... 2600:: Connecting to www.sprint.net|2600::|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://www.sprint.net/ [following] --2012-02-23 17:54:49-- https://www.sprint.net/ Connecting to www.sprint.net|2600::|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ?index.html.5? [ <=> ] 17,739 --.-K/s in 0s 2012-02-23 17:54:49 (174 MB/s) - ?index.html.5? nagios:/etc/nagios3# ============================================================================ == ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 24 06:40:19 2012 From: pitchfork at ederdrom.de (Joerg Linge) Date: Fri, 24 Feb 2012 06:40:19 +0100 Subject: check_http fails for two Sprint sites In-Reply-To: <006301ccf287$097103d0$1c530b70$@iname.com> References: <006301ccf287$097103d0$1c530b70$@iname.com> Message-ID: Hi Frank, your side does not respond to http requests OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -H www.sprint.net CRITICAL - Socket timeout after 10 seconds OMD[gearman]:~$ ./lib/nagios/plugins/check_http -H www.sprint.net CRITICAL - Socket timeout after 10 seconds HTTPS works well OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -S -H www.sprint.net HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.744 second response time |time=0.743648s;;;0.000000 size=18004B;;;0 OMD[gearman]:~$ ./lib/nagios/plugins/check_http -S -H www.sprint.net HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.736 second response time |time=0.735588s;;;0.000000 size=18004B;;;0 wget redirects directly to HTTPS OMD[gearman]:~$ wget www.sprint.net --2012-02-24 06:37:35-- http://www.sprint.net/ Resolving www.sprint.net... 2600::, 208.24.22.50 Connecting to www.sprint.net|2600::|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://www.sprint.net/ [following] --2012-02-24 06:37:36-- https://www.sprint.net/ Connecting to www.sprint.net|2600::|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ?index.html? 2012-02-24 06:37:37 (1.31 MB/s) - ?index.html? saved [17739] Joerg Am 24.02.2012 um 00:58 schrieb Frank Bulk: > Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net > failed to pass check_http. What's strange is that the v4 version of > www.sprint.net also fails. > > I see that there are 302's (redirection) to the secure version of the site, > but using the '-f follow' command doesn't help, either. It seems that if > the site one being is redirected to is secure that the check command fails. > > I'm running check_http version 1.4.15. > > Here's my output: > > ============================================================================ > == > nagios:/etc/nagios3# > nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -4 > CRITICAL - Socket timeout after 10 seconds > nagios:/etc/nagios3# > nagios:/etc/nagios3# wget -4 www.sprint.net > --2012-02-23 17:52:06-- http://www.sprint.net/ > Resolving www.sprint.net... 208.24.22.50 > Connecting to www.sprint.net|208.24.22.50|:80... connected. > HTTP request sent, awaiting response... 302 Moved Temporarily > Location: https://www.sprint.net/ [following] > --2012-02-23 17:52:06-- https://www.sprint.net/ > Connecting to www.sprint.net|208.24.22.50|:443... connected. > HTTP request sent, awaiting response... 200 OK > Length: unspecified [text/html] > Saving to: ?index.html.4? > > [ <=> > ] 16,997 --.-K/s in 0.05s > > 2012-02-23 17:52:06 (348 KB/s) - ?index.html.4? > > nagios:/etc/nagios3# > ============================================================================ > == > nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -6 > CRITICAL - Socket timeout after 10 seconds > nagios:/etc/nagios3# > nagios:/etc/nagios3# wget -6 www.sprint.net > --2012-02-23 17:54:49-- http://www.sprint.net/ > Resolving www.sprint.net... 2600:: > Connecting to www.sprint.net|2600::|:80... connected. > HTTP request sent, awaiting response... 302 Moved Temporarily > Location: https://www.sprint.net/ [following] > --2012-02-23 17:54:49-- https://www.sprint.net/ > Connecting to www.sprint.net|2600::|:443... connected. > HTTP request sent, awaiting response... 200 OK > Length: unspecified [text/html] > Saving to: ?index.html.5? > > [ <=> > ] 17,739 --.-K/s in 0s > > 2012-02-23 17:54:49 (174 MB/s) - ?index.html.5? > > nagios:/etc/nagios3# > ============================================================================ > == > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frnkblk at iname.com Fri Feb 24 07:02:33 2012 From: frnkblk at iname.com (Frank Bulk) Date: Fri, 24 Feb 2012 00:02:33 -0600 Subject: check_http fails for two Sprint sites In-Reply-To: References: <006301ccf287$097103d0$1c530b70$@iname.com> Message-ID: <055f01ccf2b9$e6cd2f60$b4678e20$@iname.com> So if wget can follow redirects from insecure to secure sites, why can't check_http? Frank -----Original Message----- From: Joerg Linge [mailto:pitchfork at ederdrom.de] Sent: Thursday, February 23, 2012 11:40 PM To: Nagios Users List Subject: Re: [Nagios-users] check_http fails for two Sprint sites Hi Frank, your side does not respond to http requests OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -H www.sprint.net CRITICAL - Socket timeout after 10 seconds OMD[gearman]:~$ ./lib/nagios/plugins/check_http -H www.sprint.net CRITICAL - Socket timeout after 10 seconds HTTPS works well OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -S -H www.sprint.net HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.744 second response time |time=0.743648s;;;0.000000 size=18004B;;;0 OMD[gearman]:~$ ./lib/nagios/plugins/check_http -S -H www.sprint.net HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.736 second response time |time=0.735588s;;;0.000000 size=18004B;;;0 wget redirects directly to HTTPS OMD[gearman]:~$ wget www.sprint.net --2012-02-24 06:37:35-- http://www.sprint.net/ Resolving www.sprint.net... 2600::, 208.24.22.50 Connecting to www.sprint.net|2600::|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://www.sprint.net/ [following] --2012-02-24 06:37:36-- https://www.sprint.net/ Connecting to www.sprint.net|2600::|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ?index.html? 2012-02-24 06:37:37 (1.31 MB/s) - ?index.html? saved [17739] Joerg Am 24.02.2012 um 00:58 schrieb Frank Bulk: > Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net > failed to pass check_http. What's strange is that the v4 version of > www.sprint.net also fails. > > I see that there are 302's (redirection) to the secure version of the site, > but using the '-f follow' command doesn't help, either. It seems that if > the site one being is redirected to is secure that the check command fails. > > I'm running check_http version 1.4.15. > > Here's my output: > > ============================================================================ > == > nagios:/etc/nagios3# > nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -4 > CRITICAL - Socket timeout after 10 seconds > nagios:/etc/nagios3# > nagios:/etc/nagios3# wget -4 www.sprint.net > --2012-02-23 17:52:06-- http://www.sprint.net/ > Resolving www.sprint.net... 208.24.22.50 > Connecting to www.sprint.net|208.24.22.50|:80... connected. > HTTP request sent, awaiting response... 302 Moved Temporarily > Location: https://www.sprint.net/ [following] > --2012-02-23 17:52:06-- https://www.sprint.net/ > Connecting to www.sprint.net|208.24.22.50|:443... connected. > HTTP request sent, awaiting response... 200 OK > Length: unspecified [text/html] > Saving to: ?index.html.4? > > [ <=> > ] 16,997 --.-K/s in 0.05s > > 2012-02-23 17:52:06 (348 KB/s) - ?index.html.4? > > nagios:/etc/nagios3# > ============================================================================ > == > nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -6 > CRITICAL - Socket timeout after 10 seconds > nagios:/etc/nagios3# > nagios:/etc/nagios3# wget -6 www.sprint.net > --2012-02-23 17:54:49-- http://www.sprint.net/ > Resolving www.sprint.net... 2600:: > Connecting to www.sprint.net|2600::|:80... connected. > HTTP request sent, awaiting response... 302 Moved Temporarily > Location: https://www.sprint.net/ [following] > --2012-02-23 17:54:49-- https://www.sprint.net/ > Connecting to www.sprint.net|2600::|:443... connected. > HTTP request sent, awaiting response... 200 OK > Length: unspecified [text/html] > Saving to: ?index.html.5? > > [ <=> > ] 17,739 --.-K/s in 0s > > 2012-02-23 17:54:49 (174 MB/s) - ?index.html.5? > > nagios:/etc/nagios3# > ============================================================================ > == > > > ---------------------------------------------------------------------------- -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: smime.p7s Type: application/pkcs7-signature Size: 6517 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 24 08:29:01 2012 From: pitchfork at ederdrom.de (Joerg Linge) Date: Fri, 24 Feb 2012 08:29:01 +0100 Subject: check_http fails for two Sprint sites In-Reply-To: <055f01ccf2b9$e6cd2f60$b4678e20$@iname.com> References: <006301ccf287$097103d0$1c530b70$@iname.com> <055f01ccf2b9$e6cd2f60$b4678e20$@iname.com> Message-ID: OK, more tests. check_http with verbose output OMD[gearman]:~$ ./lib/nagios/plugins/check_http -vv -H www.sprint.net GET / HTTP/1.1 User-Agent: check_http/v1.4.15 (nagios-plugins 1.4.15) Connection: close Host: www.sprint.net CRITICAL - Socket timeout after 10 seconds so lets test with low level telnet OMD[gearman]:~$ telnet www.sprint.net 80 Trying 2600::... Connected to www.sprint.net. Escape character is '^]'. GET / HTTP/1.1 Host: www.sprint.net HTTP/1.1 302 Moved Temporarily Server: HTTP Proxy/1.0 Connection: Close Content-Length: 0 Location: https://www.sprint.net/ Server: HTTP Proxy/1.0 ?? Lets do a http 1.0 request OMD[gearman]:~$ telnet www.sprint.net 80 Trying 2600::... Connected to www.sprint.net. Escape character is '^]'. GET / HTTP/1.0 HTTP/1.1 200 OK Set-Cookie: ServerID=1125; path=/ Date: Fri, 24 Feb 2012 07:26:04 GMT Content-Type: text/html Connection: close Server: Apache/2.2.21 (Unix) Now its an Apache 2.2.22 ?? Joerg Am 24.02.2012 um 07:02 schrieb Frank Bulk: > So if wget can follow redirects from insecure to secure sites, why can't > check_http? > > Frank > > -----Original Message----- > From: Joerg Linge [mailto:pitchfork at ederdrom.de] > Sent: Thursday, February 23, 2012 11:40 PM > To: Nagios Users List > Subject: Re: [Nagios-users] check_http fails for two Sprint sites > > Hi Frank, > your side does not respond to http requests > > OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -H www.sprint.net > CRITICAL - Socket timeout after 10 seconds > OMD[gearman]:~$ ./lib/nagios/plugins/check_http -H www.sprint.net > CRITICAL - Socket timeout after 10 seconds > > HTTPS works well > > OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -S -H www.sprint.net > HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.744 second response time > |time=0.743648s;;;0.000000 size=18004B;;;0 > OMD[gearman]:~$ ./lib/nagios/plugins/check_http -S -H www.sprint.net > HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.736 second response time > |time=0.735588s;;;0.000000 size=18004B;;;0 > > wget redirects directly to HTTPS > > OMD[gearman]:~$ wget www.sprint.net > --2012-02-24 06:37:35-- http://www.sprint.net/ > Resolving www.sprint.net... 2600::, 208.24.22.50 > Connecting to www.sprint.net|2600::|:80... connected. > HTTP request sent, awaiting response... 302 Moved Temporarily > Location: https://www.sprint.net/ [following] > --2012-02-24 06:37:36-- https://www.sprint.net/ > Connecting to www.sprint.net|2600::|:443... connected. > HTTP request sent, awaiting response... 200 OK > Length: unspecified [text/html] > Saving to: ?index.html? > 2012-02-24 06:37:37 (1.31 MB/s) - ?index.html? saved [17739] > > > Joerg > > Am 24.02.2012 um 00:58 schrieb Frank Bulk: > >> Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net >> failed to pass check_http. What's strange is that the v4 version of >> www.sprint.net also fails. >> >> I see that there are 302's (redirection) to the secure version of the > site, >> but using the '-f follow' command doesn't help, either. It seems that if >> the site one being is redirected to is secure that the check command > fails. >> >> I'm running check_http version 1.4.15. >> >> Here's my output: >> >> > ============================================================================ >> == >> nagios:/etc/nagios3# >> nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net > -4 >> CRITICAL - Socket timeout after 10 seconds >> nagios:/etc/nagios3# >> nagios:/etc/nagios3# wget -4 www.sprint.net >> --2012-02-23 17:52:06-- http://www.sprint.net/ >> Resolving www.sprint.net... 208.24.22.50 >> Connecting to www.sprint.net|208.24.22.50|:80... connected. >> HTTP request sent, awaiting response... 302 Moved Temporarily >> Location: https://www.sprint.net/ [following] >> --2012-02-23 17:52:06-- https://www.sprint.net/ >> Connecting to www.sprint.net|208.24.22.50|:443... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: unspecified [text/html] >> Saving to: ?index.html.4? >> >> [ <=> >> ] 16,997 --.-K/s in 0.05s >> >> 2012-02-23 17:52:06 (348 KB/s) - ?index.html.4? >> >> nagios:/etc/nagios3# >> > ============================================================================ >> == >> nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net > -6 >> CRITICAL - Socket timeout after 10 seconds >> nagios:/etc/nagios3# >> nagios:/etc/nagios3# wget -6 www.sprint.net >> --2012-02-23 17:54:49-- http://www.sprint.net/ >> Resolving www.sprint.net... 2600:: >> Connecting to www.sprint.net|2600::|:80... connected. >> HTTP request sent, awaiting response... 302 Moved Temporarily >> Location: https://www.sprint.net/ [following] >> --2012-02-23 17:54:49-- https://www.sprint.net/ >> Connecting to www.sprint.net|2600::|:443... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: unspecified [text/html] >> Saving to: ?index.html.5? >> >> [ <=> >> ] 17,739 --.-K/s in 0s >> >> 2012-02-23 17:54:49 (174 MB/s) - ?index.html.5? >> >> nagios:/etc/nagios3# >> > ============================================================================ >> == >> >> >> > ---------------------------------------------------------------------------- > -- >> Virtualization & Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ---------------------------------------------------------------------------- > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Feb 24 11:26:28 2012 From: ae at op5.se (Andreas Ericsson) Date: Fri, 24 Feb 2012 11:26:28 +0100 Subject: Nagios 3.3.1, event brokers, and debug. In-Reply-To: <4F468A89.2080509@consol.de> References: <4F44D233.20100@flatto.net> <4F45B325.9040309@5dninja.net> <4F461212.2050106@consol.de> <4F468679.80209@5dninja.net> <4F468A89.2080509@consol.de> Message-ID: <4F4765D4.2090008@op5.se> On 02/23/2012 07:50 PM, Sven Nierlein wrote: > On 2/23/12 19:33, Mike Lindsey wrote: >> Turns out that's the problem. I've rebuilt from source and it >> loads, now to get our package maintainer to rebuild the package. >> And to figure out why mod_gearman_worker's children keep >> segfaulting. > > Seems to be freebsd related. A colleague could reproduce that with > freebsd 8. > Probably caused by fork() in threads. All bsd's are notoriously and retardedly picky about things like that, so programs that work just splendidly on Linux sometimes fail on *BSD. One solution (apart from moving your monitoring infrastructure to Linux) would be to move away from the threaded Nagios and try the up-and-coming Nagios 3.4. It's been running just fine in our lab the past 4 days, although not with mod_gearman enabled. I'd have to send you the new Nagios code and get Sven to help me patch mod_gearman to avoid using threads, but if you want to give it a shot, I'm sure we could have you up and running in notime. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at consol.de Fri Feb 24 11:37:13 2012 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Fri, 24 Feb 2012 11:37:13 +0100 Subject: Nagios 3.3.1, event brokers, and debug. In-Reply-To: <4F4765D4.2090008@op5.se> References: <4F44D233.20100@flatto.net> <4F45B325.9040309@5dninja.net> <4F461212.2050106@consol.de> <4F468679.80209@5dninja.net> <4F468A89.2080509@consol.de> <4F4765D4.2090008@op5.se> Message-ID: <4F476859.60106@consol.de> On 2/24/12 11:26, Andreas Ericsson wrote: > On 02/23/2012 07:50 PM, Sven Nierlein wrote: >> On 2/23/12 19:33, Mike Lindsey wrote: >>> Turns out that's the problem. I've rebuilt from source and it >>> loads, now to get our package maintainer to rebuild the package. >>> And to figure out why mod_gearman_worker's children keep >>> segfaulting. >> Seems to be freebsd related. A colleague could reproduce that with >> freebsd 8. >> > Probably caused by fork() in threads. All bsd's are notoriously and > retardedly picky about things like that, so programs that work just > splendidly on Linux sometimes fail on *BSD. Mixing threads and forks is not a good idea on linux too. The NEB module part uses threads but no forks. The worker uses only forks but no threads. Currently it seems to be a small problem in different behaviour of strdup(). > I'd have to send you the new Nagios code and get Sven to help me patch > mod_gearman to avoid using threads, but if you want to give it a shot, > I'm sure we could have you up and running in notime. The problem resides in the worker, although i did not test the neb module yet. Let me first get the worker running on freebsd and then let me try the neb part. Sven -- Sven Nierlein Sven.Nierlein at consol.de ConSol* GmbH http://www.consol.de Franziskanerstrasse 38 Tel.:089/45841-439 81669 Muenchen Fax.:089/45841-111 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mssneah at yahoo.com Fri Feb 24 12:30:20 2012 From: mssneah at yahoo.com (moses neah) Date: Fri, 24 Feb 2012 03:30:20 -0800 (PST) Subject: Howto monitor udp ports using nagiosxi wizard In-Reply-To: <1330082715.14174.YahooMailNeo@web45210.mail.sp1.yahoo.com> References: <1330082715.14174.YahooMailNeo@web45210.mail.sp1.yahoo.com> Message-ID: <1330083020.44788.YahooMailNeo@web45213.mail.sp1.yahoo.com> Can anybody help me? I am running nagiosxi version Nagios XI 2011R2.1, I have problem configuring the wizard because what should be the send string and expect string. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Fri Feb 24 12:59:05 2012 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 24 Feb 2012 11:59:05 +0000 Subject: Howto monitor udp ports using nagiosxi wizard In-Reply-To: <1330083020.44788.YahooMailNeo@web45213.mail.sp1.yahoo.com> References: <1330082715.14174.YahooMailNeo@web45210.mail.sp1.yahoo.com> <1330083020.44788.YahooMailNeo@web45213.mail.sp1.yahoo.com> Message-ID: <4F477B89.30009@flatto.net> For the nagiosXI solution try the support at nagios.com This mailinglist is for the free community product . moses neah wrote: > Can anybody help me? I am running nagiosxi version Nagios XI 2011R2.1, > I have problem configuring the wizard because what should be the send > string and expect string. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Feb 24 13:06:01 2012 From: ae at op5.se (Andreas Ericsson) Date: Fri, 24 Feb 2012 13:06:01 +0100 Subject: Nagios 3.3.1, event brokers, and debug. In-Reply-To: <4F476859.60106@consol.de> References: <4F44D233.20100@flatto.net> <4F45B325.9040309@5dninja.net> <4F461212.2050106@consol.de> <4F468679.80209@5dninja.net> <4F468A89.2080509@consol.de> <4F4765D4.2090008@op5.se> <4F476859.60106@consol.de> Message-ID: <4F477D29.8090804@op5.se> On 02/24/2012 11:37 AM, Sven Nierlein wrote: > On 2/24/12 11:26, Andreas Ericsson wrote: >> On 02/23/2012 07:50 PM, Sven Nierlein wrote: >>> On 2/23/12 19:33, Mike Lindsey wrote: >>>> Turns out that's the problem. I've rebuilt from source and it >>>> loads, now to get our package maintainer to rebuild the package. >>>> And to figure out why mod_gearman_worker's children keep >>>> segfaulting. >>> Seems to be freebsd related. A colleague could reproduce that with >>> freebsd 8. >>> >> Probably caused by fork() in threads. All bsd's are notoriously and >> retardedly picky about things like that, so programs that work just >> splendidly on Linux sometimes fail on *BSD. > > Mixing threads and forks is not a good idea on linux too. The NEB module > part uses threads but no forks. The worker uses only forks but no threads. > Currently it seems to be a small problem in different behaviour of strdup(). > But Nagios uses fork() aplenty after lots of threads have been created. I know this has been a source of problem many a time before. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skebi69 at gmail.com Fri Feb 24 14:55:26 2012 From: skebi69 at gmail.com (John Kennedy) Date: Fri, 24 Feb 2012 13:55:26 +0000 Subject: Nagios and Zimbra Message-ID: We have a 4 server cluster running Zimbra. I want to start monitoring the cluster with Nagios. Is anyone here doing this and could give me some good tips on monitoring the cluster and Zimbra as well? I have googled and have a couple of modules but would like to hear some best practices. Thanks John John Kennedy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Fri Feb 24 15:25:53 2012 From: work at paul.dubuc.org (Paul Dubuc) Date: Fri, 24 Feb 2012 09:25:53 -0500 Subject: check_http fails for two Sprint sites In-Reply-To: <006301ccf287$097103d0$1c530b70$@iname.com> References: <006301ccf287$097103d0$1c530b70$@iname.com> Message-ID: <4F479DF1.4080406@paul.dubuc.org> Frank Bulk wrote: > Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net > failed to pass check_http. What's strange is that the v4 version of > www.sprint.net also fails. > > I see that there are 302's (redirection) to the secure version of the site, > but using the '-f follow' command doesn't help, either. It seems that if > the site one being is redirected to is secure that the check command fails. > Did you try any of the other options for -f, like '-f sticky' or '-f stickyport'? ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frnkblk at iname.com Fri Feb 24 15:27:55 2012 From: frnkblk at iname.com (Frank Bulk) Date: Fri, 24 Feb 2012 08:27:55 -0600 Subject: check_http fails for two Sprint sites In-Reply-To: <4F479DF1.4080406@paul.dubuc.org> References: <006301ccf287$097103d0$1c530b70$@iname.com> <4F479DF1.4080406@paul.dubuc.org> Message-ID: <006901ccf300$7faf3480$7f0d9d80$@iname.com> Yes, I did -- no go. You can test it yourself -- there's nothing special about where I'm testing it from. =) It's clear that check_http is choking on it, and I suspect it's because it redirects to a secure version of the site. Frank -----Original Message----- From: Paul Dubuc [mailto:work at paul.dubuc.org] Sent: Friday, February 24, 2012 8:26 AM To: frnkblk at iname.com; Nagios Users List Subject: Re: [Nagios-users] check_http fails for two Sprint sites Frank Bulk wrote: > Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net > failed to pass check_http. What's strange is that the v4 version of > www.sprint.net also fails. > > I see that there are 302's (redirection) to the secure version of the site, > but using the '-f follow' command doesn't help, either. It seems that if > the site one being is redirected to is secure that the check command fails. > Did you try any of the other options for -f, like '-f sticky' or '-f stickyport'? ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mad at b-care.net Fri Feb 24 16:11:57 2012 From: mad at b-care.net (MAD) Date: Fri, 24 Feb 2012 16:11:57 +0100 Subject: Eventlog monitoring through NSClient++ Message-ID: <4F47A8BD.4000906@b-care.net> Hi list, I was trying to monitor events on a Windows server through the CheckEventLog functionnality built in NSClient++. I didn't notice first while I was adding my checks but memory usage and cpu load started raising as I was asking for more and more checks. When I finished adding my 40 rules, my server crashed because of lack of memory. Have someone already seen something similar ? What other tool may I use to check large amounts of events on windows boxes without making them crashes ? I'm using check_nrpe v2.12 and NSClient++ v0.3.9 Thanks in advance. Marc-Andr? ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Fri Feb 24 16:41:00 2012 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 24 Feb 2012 15:41:00 +0000 Subject: Eventlog monitoring through NSClient++ In-Reply-To: <4F47A8BD.4000906@b-care.net> References: <4F47A8BD.4000906@b-care.net> Message-ID: <4F47AF8C.7070506@flatto.net> SNMP comes to mind Or you might want to see about WMI checks . MAD wrote: > Hi list, > > I was trying to monitor events on a Windows server through the > CheckEventLog functionnality built in NSClient++. > > I didn't notice first while I was adding my checks but memory usage and > cpu load started raising as I was asking for more and more checks. When > I finished adding my 40 rules, my server crashed because of lack of memory. > > Have someone already seen something similar ? What other tool may I use > to check large amounts of events on windows boxes without making them > crashes ? > > I'm using check_nrpe v2.12 and NSClient++ v0.3.9 > > Thanks in advance. > > Marc-Andr? > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Fri Feb 24 16:44:48 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Fri, 24 Feb 2012 15:44:48 +0000 Subject: Eventlog monitoring through NSClient++ In-Reply-To: <4F47A8BD.4000906@b-care.net> References: <4F47A8BD.4000906@b-care.net> Message-ID: <4288A518A157EC4C8873FEE74F778BF013E704@WPSDGQHH.OPR.STATEFARM.ORG> We actually use check_logfiles with NSClient so haven't seen this, and we have tons of rules. Might be worth looking at. Not that anything is wrong with NSClient :) just check_logfiles also has more regex and options. Dan -----Original Message----- From: MAD [mailto:mad at b-care.net] Sent: Friday, February 24, 2012 9:12 AM To: Nagios-Users Subject: [Nagios-users] Eventlog monitoring through NSClient++ Hi list, I was trying to monitor events on a Windows server through the CheckEventLog functionnality built in NSClient++. I didn't notice first while I was adding my checks but memory usage and cpu load started raising as I was asking for more and more checks. When I finished adding my 40 rules, my server crashed because of lack of memory. Have someone already seen something similar ? What other tool may I use to check large amounts of events on windows boxes without making them crashes ? I'm using check_nrpe v2.12 and NSClient++ v0.3.9 Thanks in advance. Marc-Andr? ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Fri Feb 24 16:55:36 2012 From: agriffin at nagios.com (Alex Griffin) Date: Fri, 24 Feb 2012 09:55:36 -0600 Subject: Eventlog monitoring through NSClient++ In-Reply-To: <4F47A8BD.4000906@b-care.net> References: <4F47A8BD.4000906@b-care.net> Message-ID: <4F47B2F8.8000101@nagios.com> You could install NagEventLog on your Windows machines to do this as well. This would involve setting up passive checks on your Nagios server as there is no plugin involved if you go this route. Get it here: http://www.steveshipway.org/software/ Alex Griffin --- Tech Team agriffin at nagios.com On 02/24/2012 09:11 AM, MAD wrote: > Hi list, > > I was trying to monitor events on a Windows server through the > CheckEventLog functionnality built in NSClient++. > > I didn't notice first while I was adding my checks but memory usage and > cpu load started raising as I was asking for more and more checks. When > I finished adding my 40 rules, my server crashed because of lack of memory. > > Have someone already seen something similar ? What other tool may I use > to check large amounts of events on windows boxes without making them > crashes ? > > I'm using check_nrpe v2.12 and NSClient++ v0.3.9 > > Thanks in advance. > > Marc-Andr? > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Feb 24 17:04:14 2012 From: benny at bennyvision.com (C. Bensend) Date: Fri, 24 Feb 2012 10:04:14 -0600 Subject: Eventlog monitoring through NSClient++ In-Reply-To: <4288A518A157EC4C8873FEE74F778BF013E704@WPSDGQHH.OPR.STATEFARM.ORG> References: <4F47A8BD.4000906@b-care.net> <4288A518A157EC4C8873FEE74F778BF013E704@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: <622fbba0d58ca824c1e340423e6d9fb2.squirrel@webmail.stinkweasel.net> > We actually use check_logfiles with NSClient so haven't seen this, and we > have tons of rules. Might be worth looking at. Not that anything is > wrong with NSClient :) just check_logfiles also has more regex and > options. +1 The consol.de guys are awesome, and check_logfiles is another example of their excellent contributions to the community. Benny -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 24 16:43:22 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 24 Feb 2012 15:43:22 +0000 Subject: XI - NRPE Message-ID: I have downloaded and installed XI to review and possible by. My question is can nrpe v2.0 run with XI? P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Fri Feb 24 17:18:43 2012 From: agriffin at nagios.com (Alex Griffin) Date: Fri, 24 Feb 2012 10:18:43 -0600 Subject: About check_by_ssh In-Reply-To: References: Message-ID: <4F47B863.6010003@nagios.com> check_by_ssh doesn't check the hostname using ssh's config. Perhaps it should, but looking through the source it looks like the error is coming from this function, which is actually a common function amongst several nagios plugins (located in netutils.h): void host_or_die(const char *str) { if(!str || (!is_addr(str) && !is_hostname(str))) usage_va(_("Invalid hostname/address - %s"), str); } Since it doesn't look like your machine is accessible outside of a local network, you could set up a proper proxy or vpn or something within the network with a public hostname. Then use check_by_ssh with the local IP, e.g. 192.168.0.2 Alex Griffin --- Tech Team agriffin at nagios.com On 02/23/2012 10:34 AM, Carlos Albornoz wrote: > Hi, > > i try to run a check_by_ssh, my ssh config is here > > http://pastebin.com/jvSZSAvR > > but when i run "./check_by_ssh -H desthost -C /pathto/check_any -l destuser" > > i get > > "check_by_ssh: Invalid hostname/address - desthost" > > i try to search why, but i dont find info > maybe the script dont work with that ssh config > any idea why dont work? > > Cheers. > ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mad at b-care.net Fri Feb 24 17:20:48 2012 From: mad at b-care.net (MAD) Date: Fri, 24 Feb 2012 17:20:48 +0100 Subject: Eventlog monitoring through NSClient++ In-Reply-To: <622fbba0d58ca824c1e340423e6d9fb2.squirrel@webmail.stinkweasel.net> References: <4F47A8BD.4000906@b-care.net> <4288A518A157EC4C8873FEE74F778BF013E704@WPSDGQHH.OPR.STATEFARM.ORG> <622fbba0d58ca824c1e340423e6d9fb2.squirrel@webmail.stinkweasel.net> Message-ID: <4F47B8E0.4060904@b-care.net> On 02/24/2012 05:04 PM, C. Bensend wrote: >> We actually use check_logfiles with NSClient so haven't seen this, and we >> have tons of rules. Might be worth looking at. Not that anything is >> wrong with NSClient :) just check_logfiles also has more regex and >> options. > +1 > > The consol.de guys are awesome, and check_logfiles is another > example of their excellent contributions to the community. > > Benny > > Thank you very much for your hints. I'll give a try to the consol.de's check_logfiles :) ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.elsen at gmail.com Fri Feb 24 17:31:30 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Fri, 24 Feb 2012 17:31:30 +0100 Subject: Eventlog monitoring through NSClient++ In-Reply-To: <4F47A8BD.4000906@b-care.net> References: <4F47A8BD.4000906@b-care.net> Message-ID: On Fri, Feb 24, 2012 at 4:11 PM, MAD wrote: > Hi list, > > I was trying to monitor events on a Windows server through the > CheckEventLog functionnality built in NSClient++. > > I didn't notice first while I was adding my checks but memory usage and > cpu load started raising as I was asking for more and more checks. When > I finished adding my 40 rules, my server crashed because of lack of memory. > > Have someone already seen something similar ? What other tool may I use > to check large amounts of events on windows boxes without making them > crashes ? > > I'm using check_nrpe v2.12 and NSClient++ v0.3.9 > > - Checkwmiplus can also query evenlogs , it may perform better (or not....) : http://www.edcint.co.nz/checkwmiplus/ M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Fri Feb 24 17:37:33 2012 From: agriffin at nagios.com (Alex Griffin) Date: Fri, 24 Feb 2012 10:37:33 -0600 Subject: XI - NRPE In-Reply-To: References: Message-ID: <4F47BCCD.7090808@nagios.com> Nagios XI ships with NRPE v2.12, and some wizards may rely on newer features or bugfixes than you'll get in v2.0. If for some reason you must use an older version, you probably won't run into too much trouble. However, I really question why you would want to ignore 8 years worth of bugfixes. Alex Griffin --- Tech Team agriffin at nagios.com On 02/24/2012 09:43 AM, Edwin Zoeller wrote: > I have downloaded and installed XI to review and possible by. My > question is can nrpe v2.0 run with XI? > > PPlease consider the environment before printing this e-mail > > > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil.randal at hoopleltd.co.uk Fri Feb 24 18:11:44 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Fri, 24 Feb 2012 17:11:44 +0000 Subject: Eventlog monitoring through NSClient++ In-Reply-To: References: <4F47A8BD.4000906@b-care.net> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D0DB6E5@HC-EXMBX04.herefordshire.gov.uk> I'm using check_mk to monitor eventlogs (and do other good things). http://mathias-kettner.de/checkmk.html Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: Mark Elsen [mailto:mark.elsen at gmail.com] Sent: 24 February 2012 16:32 To: Nagios Users List Subject: Re: [Nagios-users] Eventlog monitoring through NSClient++ On Fri, Feb 24, 2012 at 4:11 PM, MAD > wrote: Hi list, I was trying to monitor events on a Windows server through the CheckEventLog functionnality built in NSClient++. I didn't notice first while I was adding my checks but memory usage and cpu load started raising as I was asking for more and more checks. When I finished adding my 40 rules, my server crashed because of lack of memory. Have someone already seen something similar ? What other tool may I use to check large amounts of events on windows boxes without making them crashes ? I'm using check_nrpe v2.12 and NSClient++ v0.3.9 - Checkwmiplus can also query evenlogs , it may perform better (or not....) : http://www.edcint.co.nz/checkwmiplus/ M. "Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Fri Feb 24 18:43:16 2012 From: agriffin at nagios.com (Alex Griffin) Date: Fri, 24 Feb 2012 11:43:16 -0600 Subject: Howto monitor udp ports using nagiosxi wizard In-Reply-To: <1330083020.44788.YahooMailNeo@web45213.mail.sp1.yahoo.com> References: <1330082715.14174.YahooMailNeo@web45210.mail.sp1.yahoo.com> <1330083020.44788.YahooMailNeo@web45213.mail.sp1.yahoo.com> Message-ID: <4F47CC34.6040708@nagios.com> The send string is a raw string to send over udp, and should speak the protocol of whatever service you're trying to check. The expect string is a substring to match in the response you get. It's not very user-friendly and doesn't work well with binary protocols, but it's fairly flexible. You just need to know something about the underlying protocol of what you're monitoring. Alex Griffin --- Tech Team agriffin at nagios.com On 02/24/2012 05:30 AM, moses neah wrote: > Can anybody help me? I am running nagiosxi version Nagios XI 2011R2.1, I > have problem configuring the wizard because what should be the send > string and expect string. > > > > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 24 19:02:01 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 24 Feb 2012 18:02:01 +0000 Subject: XI - NRPE In-Reply-To: <4F47BCCD.7090808@nagios.com> References: <4F47BCCD.7090808@nagios.com> Message-ID: First Alex, thanks for the reply. I would rather use the newer myself but this is where I am at. I have Nagios Core v3.2.0, I would like to upgrade to XI. All my Solaris server and Linux are running 2.0. I tried using the nrpe wizard in XI, which according the documentation will work, but when I do this on one on my Linux server, all services go into an Unknown state, CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. So I am come lost and confused. Ed -----Original Message----- From: Alex Griffin [mailto:agriffin at nagios.com] Sent: Friday, February 24, 2012 10:38 AM To: Nagios Users List Subject: Re: [Nagios-users] XI - NRPE Nagios XI ships with NRPE v2.12, and some wizards may rely on newer features or bugfixes than you'll get in v2.0. If for some reason you must use an older version, you probably won't run into too much trouble. However, I really question why you would want to ignore 8 years worth of bugfixes. Alex Griffin --- Tech Team agriffin at nagios.com On 02/24/2012 09:43 AM, Edwin Zoeller wrote: > I have downloaded and installed XI to review and possible by. My > question is can nrpe v2.0 run with XI? > > PPlease consider the environment before printing this e-mail > > > > ---------------------------------------------------------------------- > -------- Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing also > focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Fri Feb 24 19:24:22 2012 From: agriffin at nagios.com (Alex Griffin) Date: Fri, 24 Feb 2012 12:24:22 -0600 Subject: XI - NRPE In-Reply-To: References: <4F47BCCD.7090808@nagios.com> Message-ID: <4F47D5D6.7010200@nagios.com> Did you modify your XI installation at all (e.g. replace the included nrpe version with an older)? You may want to check your logs on the client for more specific error messages from nrpe. Alex Griffin --- Tech Team agriffin at nagios.com On 02/24/2012 12:02 PM, Edwin Zoeller wrote: > First Alex, thanks for the reply. I would rather use the newer myself but this is where I am at. > > I have Nagios Core v3.2.0, I would like to upgrade to XI. All my Solaris server and Linux are running 2.0. I tried using the nrpe wizard in XI, which according the documentation will work, but when I do this on one on my Linux server, all services go into an Unknown state, CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. So I am come lost and confused. > > Ed > > -----Original Message----- > From: Alex Griffin [mailto:agriffin at nagios.com] > Sent: Friday, February 24, 2012 10:38 AM > To: Nagios Users List > Subject: Re: [Nagios-users] XI - NRPE > > Nagios XI ships with NRPE v2.12, and some wizards may rely on newer features or bugfixes than you'll get in v2.0. If for some reason you must use an older version, you probably won't run into too much trouble. > However, I really question why you would want to ignore 8 years worth of bugfixes. > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > On 02/24/2012 09:43 AM, Edwin Zoeller wrote: >> I have downloaded and installed XI to review and possible by. My >> question is can nrpe v2.0 run with XI? >> >> PPlease consider the environment before printing this e-mail >> >> >> >> ---------------------------------------------------------------------- >> -------- Virtualization& Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing also >> focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cdac.chandra at gmail.com Fri Feb 24 09:18:01 2012 From: cdac.chandra at gmail.com (chandra moger) Date: Fri, 24 Feb 2012 13:48:01 +0530 Subject: socket time out error from cluster server in passive node in nagios tools Message-ID: Hi Team, We are getting socket time out error from cluster server in passive node in nagios tools..can you please suggest where we have to find or troubleshoot the solution..we really appreciate if we get answer.. Thanks and Regards, chandra moger 9591800811 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Chandra_Moger at mindtree.com Fri Feb 24 09:12:46 2012 From: Chandra_Moger at mindtree.com (Chandra Lachmayya Moger) Date: Fri, 24 Feb 2012 08:12:46 +0000 Subject: Issue in Nagios tool --socket time out error Message-ID: Hi Team, we are getting socket time out error from cluster server in passive node..can you please suggest where we have to find or troubleshoot the solution..we really appreciate if we get answer.. Thanks chandra 9591800811 ________________________________ http://www.mindtree.com/email/disclaimer.html ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From md2610 at att.com Thu Feb 23 17:44:45 2012 From: md2610 at att.com (DENNY, MICHAEL) Date: Thu, 23 Feb 2012 16:44:45 +0000 Subject: nagios plugins output strings Message-ID: <479A8443B77AA64E8B8B3CBD706C00069E3B40@GAALPA1MSGUSR9N.ITServices.sbc.com> Hey, thanks. Got a question: Is the possible output strings for the plugins listed anywhere? Or are there examples of the output from each plugin somewhere? I'm looking thru the c files but it is slow going. For example, in reading check_disk.c , the output is basically this format: DISK [OK|WARNING|CRITICAL|UNKNOWN][preamble] output | perf So, I'm in the process of flesh this out with what would be in the preamble, output, and perf (with the intent to document some guidance for our ops team for the various results that the plugins produce). Thanks, Mike Mike Denny | Principal Member of the Technical Staff, | md2610 at att.com AT&T Services Inc., an AT&T Co. | 725 W. Peachtree St. N.E. | Atlanta | GA | 30308 "The only way to do this stuff right is just go out there and do it. and, that's what we've learned" - Brady Murray, Eucalyptus, July 21, 2011 ************ This email and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipients or otherwise have reason to believe that you have received this message in error, please notify the sender at 404-986-0744 and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this email is strictly prohibited. ************ ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steveh at telnet.co.nz Fri Feb 24 04:39:46 2012 From: steveh at telnet.co.nz (Steve Hennerley) Date: Fri, 24 Feb 2012 16:39:46 +1300 Subject: check_dhcp failing to return OK from virtualised DHCP servers Message-ID: <7E9FE8D8D2D4DB4898BB59398B0CEBA0013FDFC6F854@Endeavour.TelnetAK1> Hi All, I've been tearing my hair out and unsuccessfully googling this problem for what feels like a lifetime... I'm coming to the conclusion I've missed something blindingly obvious as nobody else in the world seems to have my problem. I have a Nagios 2 server (standalone machine) monitoring my environment. In the same subnet are 2 domain controllers, each providing DHCP (separate scopes as per M$ guidelines). The kicker appears to be that since these two servers are virtualised, the check_dhcp plugin seems to think that the DHCP addresses are coming from the VIRTUAL HOST via the servers as a proxy. Check_dhcp is version: check_dhcp v1.4.15 (nagios-plugins 1.4.15) Here's my check_dhcp output - I'm looking to find either 192.168.1.12 or 192.168.1.11 as DHCP addresses from the servers. (the VMhost they live on is 192.168.1.1) (IPs changed to protect the innocent!) # ./check_dhcp -v -s 192.168.1.12 -s 192.168.1.11 Requested server address: 192.168.1.12 Requested server address: 192.168.1.11 DHCP socket: 3 Hardware address: xx:xx:xx:xx:xx DHCPDISCOVER to 255.255.255.255 port 67 DHCPDISCOVER XID: 294279994 (0x118A5B3A) DHCDISCOVER ciaddr: 0.0.0.0 DHCDISCOVER yiaddr: 0.0.0.0 DHCDISCOVER siaddr: 0.0.0.0 DHCDISCOVER giaddr: 0.0.0.0 send_dhcp_packet result: 548 recv_result_1: 300 recv_result_2: 300 receive_dhcp_packet() result: 300 receive_dhcp_packet() source: 192.168.1.12 Result=OK DHCPOFFER from IP address 192.168.1.1 via 192.168.1.12 DHCPOFFER XID: 294279994 (0x118A5B3A) DHCPOFFER chaddr: 00065B22CF10 DHCPOFFER ciaddr: 0.0.0.0 DHCPOFFER yiaddr: 192.168.0.8 DHCPOFFER siaddr: 192.168.1.1 DHCPOFFER giaddr: 0.0.0.0 Option: 53 (0x01) Option: 1 (0x04) Option: 58 (0x04) Option: 59 (0x04) Lease Time: 0 seconds Renewal Time: 43200 seconds Rebinding Time: 75600 seconds Added offer from server @ 192.168.1.1 of IP address 192.168.0.8 recv_result_1: 300 recv_result_2: 300 receive_dhcp_packet() result: 300 receive_dhcp_packet() source: 192.168.1.11 Result=OK DHCPOFFER from IP address 192.168.1.1 via 192.168.1.11 DHCPOFFER XID: 294279994 (0x118A5B3A) DHCPOFFER chaddr: 00065B22CF10 DHCPOFFER ciaddr: 0.0.0.0 DHCPOFFER yiaddr: 192.168.1.106 DHCPOFFER siaddr: 192.168.1.1 DHCPOFFER giaddr: 0.0.0.0 Option: 53 (0x01) Option: 1 (0x04) Option: 58 (0x04) Option: 59 (0x04) Lease Time: 0 seconds Renewal Time: 43200 seconds Rebinding Time: 75600 seconds Added offer from server @ 192.168.1.1 of IP address 192.168.1.106 No (more) data received (nfound: 0) Result=ERROR Total responses seen on the wire: 2 Valid responses for this machine: 2 CRITICAL: Received 2 DHCPOFFER(s), 0 of 2 requested servers responded, max lease time = 0 sec. Grrrrrrrr.... It's so frustrating knowing the plugin is seeing my servers but misinterpreting what it's seeing! ________________________________ This message contains confidential information and is for the intended recipient only. If you have any reason to believe that you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. 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. Telnet Services Limited, or the sender therefore do not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sm_ford at yahoo.com Thu Feb 23 23:24:07 2012 From: sm_ford at yahoo.com (Scott Ford) Date: Thu, 23 Feb 2012 14:24:07 -0800 (PST) Subject: check_http 1.4.15 Message-ID: <1330035847.76005.YahooMailNeo@web112809.mail.gq1.yahoo.com> All, I installed Nagios Plugins v.1.4.15 after reading a post on Sourceforge that showed the latest version of check_http included an option for regular expression searches in the header of the file.? That option does not seem to be available.? Can anyone shed some light on this?? This is the post I read... http://sourceforge.net/tracker/index.php?func=detail&aid=3469275&group_id=29880&atid=397599 Thank you in advance, Scott ---- [sforddev plugins]# ./check_http --help check_http v1.4.15 (nagios-plugins 1.4.15) Copyright (c) 1999 Ethan Galstad Copyright (c) 1999-2008 Nagios Plugin Development Team ??? This plugin tests the HTTP service on the specified host. It can test normal (http) and secure (https) servers, follow redirects, search for strings and regular expressions, check connection times, and report on certificate expiration times. Usage: ?check_http -H | -I [-u ] [-p ] ?????? [-w ] [-c ] [-t ] [-L] [-a auth] ?????? [-b proxy_auth] [-f ] ?????? [-e ] [-s string] [-l] [-r | -R ] ?????? [-P string] [-m :] [-4|-6] [-N] [-M ] ?????? [-A string] [-k string] [-S] [--sni] [-C ] [-T ] ?????? [-j method] NOTE: One or both of -H and -I must be specified Options: ?-h, --help ??? Print detailed help screen ?-V, --version ??? Print version information ?-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) ?-I, --IP-address=ADDRESS ??? IP address or name (use numeric address if possible to bypass DNS lookup). ?-p, --port=INTEGER ??? Port number (default: 80) ?-4, --use-ipv4 ??? Use IPv4 connection ?-6, --use-ipv6 ??? Use IPv6 connection ?-e, --expect=STRING ??? Comma-delimited list of strings, at least one of them is expected in ??? the first (status) line of the server response (default: HTTP/1.) ??? If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing) ?-s, --string=STRING ??? String to expect in the content ?-u, --url=PATH ??? URL to GET or POST (default: /) ?-P, --post=STRING ??? URL encoded http POST data ?-j, --method=STRING? (for example: HEAD, OPTIONS, TRACE, PUT, DELETE) ??? Set HTTP method. ?-N, --no-body ??? Don't wait for document body: stop reading after headers. ??? (Note that this still does an HTTP GET or POST, not a HEAD.) ?-M, --max-age=SECONDS ??? Warn if document is more than SECONDS old. the number can also be of ??? the form "10m" for minutes, "10h" for hours, or "10d" for days. ?-T, --content-type=STRING ??? specify Content-Type header media type when POSTing ?-l, --linespan ??? Allow regex to span newlines (must precede -r or -R) ?-r, --regex, --ereg=STRING ??? Search page for regex STRING ?-R, --eregi=STRING ??? Search page for case-insensitive regex STRING ?--invert-regex ??? Return CRITICAL if found, OK if not ?-a, --authorization=AUTH_PAIR ??? Username:password on sites with basic authentication ?-b, --proxy-authorization=AUTH_PAIR ???? Username:password on proxy-servers with basic authentication ?-A, --useragent=STRING ??? String to be sent in http header as "User Agent" ?-k, --header=STRING ???? Any other tags to be sent in http header. Use multiple times for additional headers ?-L, --link ??? Wrap output in HTML link (obsoleted by urlize) ?-f, --onredirect= ??? How to handle redirected pages. sticky is like follow but stick to the ??? specified IP address. stickyport also ensure post stays the same. ?-m, --pagesize=INTEGER<:INTEGER> ??? Minimum page size required (bytes) : Maximum page size required (bytes) ?-w, --warning=DOUBLE ??? Response time to result in warning status (seconds) ?-c, --critical=DOUBLE ??? Response time to result in critical status (seconds) ?-t, --timeout=INTEGER ??? Seconds before connection times out (default: 10) ?-v, --verbose ??? Show details for command-line debugging (Nagios may truncate output) Notes: ?This plugin will attempt to open an HTTP connection with the host. ?Successful connects return STATE_OK, refusals and timeouts return STATE_CRITICAL ?other errors return STATE_UNKNOWN.? Successful connects, but incorrect reponse ?messages from the host result in STATE_WARNING return values.? If you are ?checking a virtual server that uses 'host headers' you must supply the FQDN ?(fully qualified domain name) as the [host_name] argument. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Fri Feb 24 19:56:05 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Fri, 24 Feb 2012 18:56:05 +0000 Subject: socket time out error from cluster server in passive node in nagios tools In-Reply-To: References: Message-ID: <4288A518A157EC4C8873FEE74F778BF013ED2A@WPSDGQHH.OPR.STATEFARM.ORG> So getting timeouts sending messages from a node -> NSCA on the nagios server? If that's the case how is your NSCA configured, stand-alone or via xinetd? Dan -----Original Message----- From: chandra moger [mailto:cdac.chandra at gmail.com] Sent: Friday, February 24, 2012 2:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] socket time out error from cluster server in passive node in nagios tools Hi Team, We are getting socket time out error from cluster server in passive node in nagios tools..can you please suggest where we have to find or troubleshoot the solution..we really appreciate if we get answer.. Thanks and Regards, chandra moger 9591800811 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Fri Feb 24 19:56:55 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Fri, 24 Feb 2012 18:56:55 +0000 Subject: nagios plugins output strings In-Reply-To: <479A8443B77AA64E8B8B3CBD706C00069E3B40@GAALPA1MSGUSR9N.ITServices.sbc.com> References: <479A8443B77AA64E8B8B3CBD706C00069E3B40@GAALPA1MSGUSR9N.ITServices.sbc.com> Message-ID: <4288A518A157EC4C8873FEE74F778BF013ED57@WPSDGQHH.OPR.STATEFARM.ORG> This might help: http://nagiosplug.sourceforge.net/developer-guidelines.html Dan -----Original Message----- From: DENNY, MICHAEL [mailto:md2610 at att.com] Sent: Thursday, February 23, 2012 10:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios plugins output strings Hey, thanks. Got a question: Is the possible output strings for the plugins listed anywhere? Or are there examples of the output from each plugin somewhere? I'm looking thru the c files but it is slow going. For example, in reading check_disk.c , the output is basically this format: DISK [OK|WARNING|CRITICAL|UNKNOWN][preamble] output | perf So, I'm in the process of flesh this out with what would be in the preamble, output, and perf (with the intent to document some guidance for our ops team for the various results that the plugins produce). Thanks, Mike Mike Denny | Principal Member of the Technical Staff, | md2610 at att.com AT&T Services Inc., an AT&T Co. | 725 W. Peachtree St. N.E. | Atlanta | GA | 30308 "The only way to do this stuff right is just go out there and do it. and, that's what we've learned" - Brady Murray, Eucalyptus, July 21, 2011 ************ This email and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipients or otherwise have reason to believe that you have received this message in error, please notify the sender at 404-986-0744 and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this email is strictly prohibited. ************ ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at consol.de Sat Feb 25 13:29:07 2012 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Sat, 25 Feb 2012 13:29:07 +0100 Subject: Nagios 3.3.1, event brokers, and debug. In-Reply-To: <4F477D29.8090804@op5.se> References: <4F44D233.20100@flatto.net> <4F45B325.9040309@5dninja.net> <4F461212.2050106@consol.de> <4F468679.80209@5dninja.net> <4F468A89.2080509@consol.de> <4F4765D4.2090008@op5.se> <4F476859.60106@consol.de> <4F477D29.8090804@op5.se> Message-ID: <4F48D413.5000104@consol.de> On 2/24/12 13:06, Andreas Ericsson wrote: > On 02/24/2012 11:37 AM, Sven Nierlein wrote: >> On 2/24/12 11:26, Andreas Ericsson wrote: >>> On 02/23/2012 07:50 PM, Sven Nierlein wrote: >>>> On 2/23/12 19:33, Mike Lindsey wrote: >>>>> Turns out that's the problem. I've rebuilt from source and it >>>>> loads, now to get our package maintainer to rebuild the package. >>>>> And to figure out why mod_gearman_worker's children keep >>>>> segfaulting. >>>> Seems to be freebsd related. A colleague could reproduce that with >>>> freebsd 8. >>>> >>> Probably caused by fork() in threads. All bsd's are notoriously and >>> retardedly picky about things like that, so programs that work just >>> splendidly on Linux sometimes fail on *BSD. >> Mixing threads and forks is not a good idea on linux too. The NEB module >> part uses threads but no forks. The worker uses only forks but no threads. >> Currently it seems to be a small problem in different behaviour of strdup(). >> > But Nagios uses fork() aplenty after lots of threads have been created. I > know this has been a source of problem many a time before. Thats true, but the Mod-Gearman worker does not share code with Nagios. Anyway, the hint was quite helpful and i got the worker and the neb module running on Freebsd 8 with Gearman 0.25. https://github.com/sni/mod_gearman Thanks for reporting this issue and thanks Andreas for your help :-) Bye, Sven -- Sven Nierlein Sven.Nierlein at consol.de ConSol* GmbH http://www.consol.de Franziskanerstrasse 38 Tel.:089/45841-439 81669 Muenchen Fax.:089/45841-111 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seirp.samoht at googlemail.com Sun Feb 26 13:36:20 2012 From: seirp.samoht at googlemail.com (Thomas Pries) Date: Sun, 26 Feb 2012 13:36:20 +0100 Subject: NRPE and IPv6 Message-ID: Hi, I started monitoring my infrastructure with nagios. I just begun dealing with these thing and my first steps were promising, but now I am facing a very basic problem with NRPE. It seems, that nrpe does not support IPv6. I can't belief that, I suppose, I read the wrong docs and pages, in the mailarchive I found some informations about some inofficial patches, but this can't be all. Is that true, NRPE does not support IPv6? Kind Regards Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 quux.de Sun Feb 26 14:45:50 2012 From: lists at quux.de (Jens Link) Date: Sun, 26 Feb 2012 14:45:50 +0100 Subject: NRPE and IPv6 In-Reply-To: (Thomas Pries's message of "Sun, 26 Feb 2012 13:36:20 +0100") References: Message-ID: <874nudwvw1.fsf@pc8.berlin.quux.de> Thomas Pries writes: > Hi, > > I started monitoring my infrastructure with nagios. I just begun > dealing with these thing and my first steps were promising, but now I > am facing a very basic problem with NRPE. It seems, that nrpe does > not support IPv6. True, at least for the nagios version of nrpe. Take a look at the nrpe version that comes with Icinga. Jens -- ------------------------------------------------------------------------- | Foelderichstr. 40 | 13595 Berlin, Germany | +49-151-18721264 | | http://blog.quux.de | jabber: jenslink at guug.de | ------------------- | ------------------------------------------------------------------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seirp.samoht at googlemail.com Sun Feb 26 15:50:43 2012 From: seirp.samoht at googlemail.com (Thomas Pries) Date: Sun, 26 Feb 2012 15:50:43 +0100 Subject: NRPE and IPv6 In-Reply-To: <874nudwvw1.fsf@pc8.berlin.quux.de> References: <874nudwvw1.fsf@pc8.berlin.quux.de> Message-ID: Hi, Am 26. Februar 2012 14:45 schrieb Jens Link : > Thomas Pries writes: > > > ... It seems, that nrpe does > > not support IPv6. > > True, at least for the nagios version of nrpe. Take a look at the nrpe > version that comes with Icinga.... > Ok, that is, what I am thinking about, why using nagios when Icinga provides the better tools. May be, Icinga is the more innovative approch. I am at the beginning and I don't have to take care of existing things. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 quux.de Sun Feb 26 17:16:54 2012 From: lists at quux.de (Jens Link) Date: Sun, 26 Feb 2012 17:16:54 +0100 Subject: NRPE and IPv6 In-Reply-To: (Thomas Pries's message of "Sun, 26 Feb 2012 15:50:43 +0100") References: <874nudwvw1.fsf@pc8.berlin.quux.de> Message-ID: <87wr79vabt.fsf@pc8.berlin.quux.de> Thomas Pries writes: > Ok, that is, what I am thinking about, why using nagios when Icinga > provides the better tools. May be, Icinga is the more innovative > approch. I am at the beginning and I don't have to take care of > existing things. Icinga also has an address6 type for hosts. This makes life in dual stacked environment quite easy. There is a patch for Nagios but I don't think it is in the regular code base. Jens -- ------------------------------------------------------------------------- | Foelderichstr. 40 | 13595 Berlin, Germany | +49-151-18721264 | | http://blog.quux.de | jabber: jenslink at guug.de | ------------------- | ------------------------------------------------------------------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Mon Feb 27 00:14:19 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Sun, 26 Feb 2012 15:14:19 -0800 Subject: Nagios 3.3.1, event brokers, and debug. In-Reply-To: <4F4765D4.2090008@op5.se> References: <4F44D233.20100@flatto.net> <4F45B325.9040309@5dninja.net> <4F461212.2050106@consol.de> <4F468679.80209@5dninja.net> <4F468A89.2080509@consol.de> <4F4765D4.2090008@op5.se> Message-ID: <4F4ABCCB.80507@5dninja.net> On 2/24/12 2:26 AM, Andreas Ericsson wrote: > I'd have to send you the new Nagios code and get Sven to help me patch > mod_gearman to avoid using threads, but if you want to give it a shot, > I'm sure we could have you up and running in notime. We're going with something else in the short term, probably updating our obsess commands to send data to multiple local servers, and pushing freshness checking off the master, onto those local failover nodes. We finally reached the point where freshness checking on the master in Nevada, if there was a problem in Europe, could actually make the master fall far enough behind in processing passive checks.. causing cascading failures. Since we have a corporate directive to "Go Linux" we're just taking this as one among *many* reasons to accelerate our migration plan. -- Mike Lindsey ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at zarzax.com Mon Feb 27 02:17:08 2012 From: mark at zarzax.com (Mark Young) Date: Sun, 26 Feb 2012 19:17:08 -0600 Subject: NDOUtils 1.5 kernel tuning suggestions Message-ID: Hello list, I am wondering if anyone has some suggested values for kernel message queue parameters when using the latest NDOUtils 1.5. These are required after the async patch [http://exchange.nagios.org/directory/Patches/NDOUtils/ndoutils-2Dasync/details] by andree was added. Within seconds I after the upgrade I was getting a full message queue with many hundred "Error: queue send error" errors. I tweaked my kernel parameters through trial and error to be (extremely?) large values and am no longer seeing any 'queue send' and 'queue recv' errors. Though I am concerned about consequences with running these large values. Any sane suggestions? Or maybe these parameters are within "sane" limits? I increased my parameters (in /etc/sysctl.conf and applied by `/sbin/sysctl -p`) to allow: kernel.msgmax = 131072000 kernel.msgmnb = 131072000 kernel.msgmni = 65536000 kernel.sem = 5000 4120000 32 20480 This results in a major increase (as viewed from `ipcs -l`): ------ Semaphore Limits -------- max number of arrays = 128 => 20480 max semaphores per array = 250 => 5000 max semaphores system wide = 32000 => 4120000 max ops per semop call = 32 => 32 semaphore max value = 32767 => 32767 ------ Messages: Limits -------- max queues system wide = 1024 => 6553600 max size of message (bytes) = 65536 => 13107200 default max size of queue (bytes) = 65536 => 13107200 My configuration has about 1,500/20,000 Hosts/Services and running about 1,100/6,900/11,300 total checks (every 1/5/15 minutes) through Nagios Core 3.3.1. The machine is a decent quad core, 10gigs RAM, Fedora 11 server with Nagios and related processes set to run mainly from a RAM disk. The current performance is great. Mark Young ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert at robertvbolton.com Mon Feb 27 02:44:45 2012 From: robert at robertvbolton.com (Robert V. Bolton) Date: Sun, 26 Feb 2012 18:44:45 -0700 Subject: NRPE and IPv6 In-Reply-To: <87wr79vabt.fsf@pc8.berlin.quux.de> References: <874nudwvw1.fsf@pc8.berlin.quux.de> <87wr79vabt.fsf@pc8.berlin.quux.de> Message-ID: There is no need to patch Nagios to support and IPv6 address variable. You can just use a custom object variable. In fact this is the preferred way to do it. http://nagios.sourceforge.net/docs/3_0/customobjectvars.html -- Robert V. Bolton www.robertvbolton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Mon Feb 27 11:23:10 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Mon, 27 Feb 2012 10:23:10 +0000 Subject: Host Availability Report Strange Output Message-ID: Can anybody tell me what is meant by an "Undetermined state" and the reason being "insufficient data"? I added a host last week on Friday 24th and its had no issues at all but my weekly email report gave this output for it HOST Availability Report Last Updated: Mon Feb 27 00:01:18 GMT 2012 Nagios(r) Core(tm) 3.3.1 - Logged in as nagiosadmin HOST 'A WEBSITE' 19-02-2012 00:01:00 to 26-02-2012 23:59:00 Duration: 7d 23h 58m 0s First assumed host state: First assumed service state [Unspecified \/] [Unspecified \/] Report period: Backtracked archives: [[ Current time range ] \/] 4 [Update] [ Availability report completed in 0 min 0 sec ] HOST State Breakdowns: State Type / Reason Time % Total Time % Known Time UP Unscheduled 4d 23h 59m 0s 62.502% 100.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 4d 23h 59m 0s 62.502% 100.000% DOWN Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% UNREACHABLE Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% Undetermined Nagios Not Running 0d 0h 0m 0s 0.000% Insufficient Data 2d 23h 59m 0s 37.498% Total 2d 23h 59m 0s 37.498% All Total 7d 23h 58m 0s 100.000% 100.000% State Breakdowns For HOST Services: Service % Time OK % Time Warning % Time Unknown % Time Critical % Time Undetermined SITE CHECK 62.502% (100.000%) 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 37.498% Average 62.502% (100.000%) 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 37.498% Now I understand that the Unscheduled uptime is right as its 5 days into the weekly report before the host was added. But I don't understand the bottom "undetermined" stats Anybody know if this? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Mon Feb 27 12:02:49 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 27 Feb 2012 12:02:49 +0100 Subject: Host Availability Report Strange Output In-Reply-To: References: Message-ID: You're looking at the report for the last (almost) 8 days, from February 19th till February 26th (included). If your host was added later than the 19th the report "fills up" the time, this is declared as Undetermined. If you generate a report for, lets say, the last 2days, you shouldn't see 'Undetermined' values anymore. On Mon, Feb 27, 2012 at 11:23 AM, Andrew Thompson wrote: > Can anybody tell me what is meant by an ?Undetermined state? and the > reason being ?insufficient data??**** > > ** ** > > I added a host last week on Friday 24th and its had no issues at all but > my weekly email report gave this output for it**** > > ** ** > > ** ** > > ** ** > > *HOST* Availability Report**** > > Last Updated: Mon Feb 27 00:01:18 GMT 2012 > Nagios? Core? 3.3.1 - > Logged in as *nagiosadmin***** > > ** ** > > > > > > > **** > > *HOST* '*A WEBSITE*'**** > > > > > **** > > 19-02-2012 00:01:00 to 26-02-2012 23:59:00**** > > Duration: 7d 23h 58m 0s**** > > First assumed host state:**** > > First assumed service state**** > > [Unspecified \/] **** > > [Unspecified \/] **** > > Report period:**** > > Backtracked archives:**** > > [[ Current time range ] \/] **** > > 4 **** > > [Update] **** > > [ Availability report completed in 0 min 0 sec ]**** > > ** ** > > *HOST* State Breakdowns:**** > > > > **** > > *State*** > > *Type / Reason*** > > *Time*** > > *% Total Time*** > > *% Known Time*** > > UP**** > > Unscheduled**** > > 4d 23h 59m 0s**** > > 62.502%**** > > 100.000%**** > > Scheduled**** > > 0d 0h 0m 0s**** > > 0.000%**** > > 0.000%**** > > Total**** > > 4d 23h 59m 0s**** > > 62.502%**** > > 100.000%**** > > DOWN**** > > Unscheduled**** > > 0d 0h 0m 0s**** > > 0.000%**** > > 0.000%**** > > Scheduled**** > > 0d 0h 0m 0s**** > > 0.000%**** > > 0.000%**** > > Total**** > > 0d 0h 0m 0s**** > > 0.000%**** > > 0.000%**** > > UNREACHABLE**** > > Unscheduled**** > > 0d 0h 0m 0s**** > > 0.000%**** > > 0.000%**** > > Scheduled**** > > 0d 0h 0m 0s**** > > 0.000%**** > > 0.000%**** > > Total**** > > 0d 0h 0m 0s**** > > 0.000%**** > > 0.000%**** > > Undetermined**** > > Nagios Not Running**** > > 0d 0h 0m 0s**** > > 0.000%**** > > Insufficient Data**** > > 2d 23h 59m 0s**** > > 37.498%**** > > Total**** > > 2d 23h 59m 0s**** > > 37.498%**** > > All**** > > Total**** > > 7d 23h 58m 0s**** > > 100.000%**** > > 100.000%**** > > ** ** > > State Breakdowns For *HOST* Services:**** > > *Service*** > > *% Time OK*** > > *% Time Warning*** > > *% Time Unknown*** > > *% Time Critical*** > > *% Time Undetermined*** > > SITE CHECK > **** > > 62.502% (100.000%)**** > > 0.000% (0.000%)**** > > 0.000% (0.000%)**** > > 0.000% (0.000%)**** > > 37.498%**** > > Average**** > > 62.502% (100.000%)**** > > 0.000% (0.000%)**** > > 0.000% (0.000%)**** > > 0.000% (0.000%)**** > > 37.498%**** > > ** ** > > ** ** > > ** ** > > Now I understand that the Unscheduled uptime is right as its 5 days into > the weekly report before the host was added.**** > > ** ** > > But I don?t understand the bottom ?undetermined? stats**** > > ** ** > > Anybody know if this?**** > > ** ** > > Thanks**** > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Mon Feb 27 12:13:31 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 27 Feb 2012 12:13:31 +0100 Subject: check_http 1.4.15 In-Reply-To: <1330035847.76005.YahooMailNeo@web112809.mail.gq1.yahoo.com> References: <1330035847.76005.YahooMailNeo@web112809.mail.gq1.yahoo.com> Message-ID: Hi Scott, The link you posted is a user-contributed patch for check_http, posted on the tracker on Jan 3rd 2012. Nagios Plugins v. 1.4.15 were released in July 2010 so you can be sure that this patch has not made it into 1.4.15. You have two options: - Wait and hope that this patch will make it sometime into the branch and next version release (good luck with that) - Re-compile check_http from source with the patch yourself On Thu, Feb 23, 2012 at 11:24 PM, Scott Ford wrote: > All, > > I installed Nagios Plugins v.1.4.15 after reading a post on Sourceforge > that showed the latest version of check_http included an option for regular > expression searches in the header of the file. That option does not seem > to be available. Can anyone shed some light on this? This is the post I > read... > > > http://sourceforge.net/tracker/index.php?func=detail&aid=3469275&group_id=29880&atid=397599 > > Thank you in advance, > > Scott > > ---- > > [sforddev plugins]# ./check_http --help > check_http v1.4.15 (nagios-plugins 1.4.15) > Copyright (c) 1999 Ethan Galstad > Copyright (c) 1999-2008 Nagios Plugin Development Team > > > This plugin tests the HTTP service on the specified host. It can test > normal (http) and secure (https) servers, follow redirects, search for > strings and regular expressions, check connection times, and report on > certificate expiration times. > > > Usage: > check_http -H | -I [-u ] [-p ] > [-w ] [-c ] [-t ] [-L] [-a auth] > [-b proxy_auth] [-f ] > [-e ] [-s string] [-l] [-r | -R regex>] > [-P string] [-m :] [-4|-6] [-N] [-M ] > [-A string] [-k string] [-S] [--sni] [-C ] [-T ] > [-j method] > NOTE: One or both of -H and -I must be specified > > Options: > -h, --help > Print detailed help screen > -V, --version > Print version information > -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) > -I, --IP-address=ADDRESS > IP address or name (use numeric address if possible to bypass DNS > lookup). > -p, --port=INTEGER > Port number (default: 80) > -4, --use-ipv4 > Use IPv4 connection > -6, --use-ipv6 > Use IPv6 connection > -e, --expect=STRING > Comma-delimited list of strings, at least one of them is expected in > the first (status) line of the server response (default: HTTP/1.) > If specified skips all other status line logic (ex: 3xx, 4xx, 5xx > processing) > -s, --string=STRING > String to expect in the content > -u, --url=PATH > URL to GET or POST (default: /) > -P, --post=STRING > URL encoded http POST data > -j, --method=STRING (for example: HEAD, OPTIONS, TRACE, PUT, DELETE) > Set HTTP method. > -N, --no-body > Don't wait for document body: stop reading after headers. > (Note that this still does an HTTP GET or POST, not a HEAD.) > -M, --max-age=SECONDS > Warn if document is more than SECONDS old. the number can also be of > the form "10m" for minutes, "10h" for hours, or "10d" for days. > -T, --content-type=STRING > specify Content-Type header media type when POSTing > > -l, --linespan > Allow regex to span newlines (must precede -r or -R) > -r, --regex, --ereg=STRING > Search page for regex STRING > -R, --eregi=STRING > Search page for case-insensitive regex STRING > --invert-regex > Return CRITICAL if found, OK if not > > -a, --authorization=AUTH_PAIR > Username:password on sites with basic authentication > -b, --proxy-authorization=AUTH_PAIR > Username:password on proxy-servers with basic authentication > -A, --useragent=STRING > String to be sent in http header as "User Agent" > -k, --header=STRING > Any other tags to be sent in http header. Use multiple times for > additional headers > -L, --link > Wrap output in HTML link (obsoleted by urlize) > -f, --onredirect= > How to handle redirected pages. sticky is like follow but stick to the > specified IP address. stickyport also ensure post stays the same. > -m, --pagesize=INTEGER<:INTEGER> > Minimum page size required (bytes) : Maximum page size required (bytes) > -w, --warning=DOUBLE > Response time to result in warning status (seconds) > -c, --critical=DOUBLE > Response time to result in critical status (seconds) > -t, --timeout=INTEGER > Seconds before connection times out (default: 10) > -v, --verbose > Show details for command-line debugging (Nagios may truncate output) > > Notes: > This plugin will attempt to open an HTTP connection with the host. > Successful connects return STATE_OK, refusals and timeouts return > STATE_CRITICAL > other errors return STATE_UNKNOWN. Successful connects, but incorrect > reponse > messages from the host result in STATE_WARNING return values. If you are > checking a virtual server that uses 'host headers' you must supply the > FQDN > (fully qualified domain name) as the [host_name] argument. > > Send email to nagios-users at lists.sourceforge.net if you have questions > regarding use of this software. To submit patches or suggest improvements, > send email to nagiosplug-devel at lists.sourceforge.net > > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caralbornozc at gmail.com Mon Feb 27 13:31:27 2012 From: caralbornozc at gmail.com (Carlos Albornoz) Date: Mon, 27 Feb 2012 09:31:27 -0300 Subject: About check_by_ssh In-Reply-To: <4F47B863.6010003@nagios.com> References: <4F47B863.6010003@nagios.com> Message-ID: On Fri, Feb 24, 2012 at 1:18 PM, Alex Griffin wrote: > check_by_ssh doesn't check the hostname using ssh's config. Perhaps it > should, but looking through the source it looks like the error is coming > from this function, which is actually a common function amongst several > nagios plugins (located in netutils.h): > > ? ? void > ? ? host_or_die(const char *str) > ? ? { > ? ? ? ? if(!str || (!is_addr(str) && !is_hostname(str))) > ? ? ? ? ? ? usage_va(_("Invalid hostname/address - %s"), str); > ? ? } > > Since it doesn't look like your machine is accessible outside of a local > network, you could set up a proper proxy or vpn or something within the > network with a public hostname. Then use check_by_ssh with the local IP, > e.g. 192.168.0.2 > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > OK, Thanks for the info Alex. -- Carlos Albornoz C. Linux User #360502 Fono: 97864420 ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jagneessens at transwide.com Mon Feb 27 13:49:41 2012 From: jagneessens at transwide.com (Jonathan Agneessens) Date: Mon, 27 Feb 2012 13:49:41 +0100 Subject: nagios heavy memory usage Message-ID: <1330346981.2546.30.camel@nemain> Hi, My nagios installation (with NPCD) is running for about 30 hosts & +- 320 service checks. all works fine except the fact that it consumes a huge amount of memory, in 4 days it reaches 4GB and keeps increasing. Anyone an idea how to troubleshoot what's going wrong? What check/process/... is running away with memory or the memory isn't realeased ? (I've disabled the process_perfdata & shut down the npcd, but didn't change anything) Yes I've got custom checks running (mainly SSH tunnels) but as far as I can see, they don't cause the issue. Virtual system, latest version of nagios & nagios plugins on centos 5.7 tia Jonathan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mad at b-care.net Mon Feb 27 14:25:57 2012 From: mad at b-care.net (MAD) Date: Mon, 27 Feb 2012 14:25:57 +0100 Subject: WMI and user account Message-ID: <4F4B8465.8030503@b-care.net> Hi list, I'm have to find a way to get some advanced monitoring metrics for Windows boxes. As SNMP is not really usefull on Windows (sic!) and I really don't want to be messing with locales to get data from the perfmon, I was looking to use WMI requests. However, each doc I've seen seem to tell me I have to use an administrator account to connect to the WMI agent and extract my data. Is there a way to use an user account with restricted rights? Thanks in advance, Marc-Andr? ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Mon Feb 27 17:23:56 2012 From: manikumar85 at gmail.com (Manish Kumar) Date: Mon, 27 Feb 2012 21:53:56 +0530 Subject: nagios heavy memory usage In-Reply-To: <1330346981.2546.30.camel@nemain> References: <1330346981.2546.30.camel@nemain> Message-ID: Hi, I am also facing same issue with NPCD with my NagiosXI implementation. NPCD has memory leak issue. It keeps sucking and increasing memory hog and lastly it crashes after days and then again i have to restart it. They have released a patch for it but i am still late to upgrade it. On Mon, Feb 27, 2012 at 6:19 PM, Jonathan Agneessens < jagneessens at transwide.com> wrote: > Hi, > > My nagios installation (with NPCD) is running for about 30 hosts & +- > 320 service checks. all works fine except the fact that it consumes a > huge amount of memory, in 4 days it reaches 4GB and keeps increasing. > > Anyone an idea how to troubleshoot what's going wrong? What > check/process/... is running away with memory or the memory isn't > realeased ? (I've disabled the process_perfdata & shut down the npcd, > but didn't change anything) > > Yes I've got custom checks running (mainly SSH tunnels) but as far as I > can see, they don't cause the issue. > > Virtual system, latest version of nagios & nagios plugins on centos 5.7 > > tia > > Jonathan > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Mon Feb 27 17:25:36 2012 From: agriffin at nagios.com (Alex Griffin) Date: Mon, 27 Feb 2012 10:25:36 -0600 Subject: Exclude Notifications during certian hours In-Reply-To: References: Message-ID: <4F4BAE80.4040005@nagios.com> There may be a better way to do this, but I believe this will work. Define a new timeperiod like so: define timeperiod{ timeperiod_name exclude_nights alias No notifications 00:30-6:30 sunday 00:00-00:29,06:31-24:00 monday 00:00-00:29,06:31-24:00 tuesday 00:00-00:29,06:31-24:00 wednesday 00:00-00:29,06:31-24:00 thursday 00:00-00:29,06:31-24:00 friday 00:00-00:29,06:31-24:00 saturday 00:00-00:29,06:31-24:00 } Then in the appropriate host definitions add 'check_period exclude_nights'. Alex Griffin --- Tech Team agriffin at nagios.com Andrew Thompson wrote: > Hi all, > > I have all my servers (approx. 70) monitored by PING using the 24x7 time > period and notifications set to 24x7. > > Im happy with this as I want to know when my servers go down at all > times as a lot are critical and under strict SLA?s. > > However I have the need to exclude notifications for 1 physical host and > 6 virtual hosts that sit on this physical host during the hours of > 00:30-06:30 every night. > > These machines are not under any SLA and often reboot during the night > for various reasons and I?m done with waking up at all hours for these > non-critical servers! > > What is the quickest way for me to exclude these 7 hosts from notifying > during these hours whilst leaving all other servers at 24x7? > > Ive had a read the nagios docs but it didn?t really help me as I didn?t > really understand it. > > I have edited my server.cfg to show the scenario I want to achieve and > that can be found at the link below. > > http://dl.dropbox.com/u/895609/servers.cfg > > The layout etc is identical to my live configs, I have just edited the > number of hosts/names/contacts etc (the 3 hosts named NOT CRITICAL are > the example for the ?7 hosts? I first talked about) > > What is the quickest and most effective way for me to keep checking ALL > my servers 24x7 and notifying 24x7, BUT exclude 7 particular servers > from checks/notifications between 00:30-06:30 every night? > > Thanks in advance for your help. > > > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at dedicatedserversaustralia.com.au Mon Feb 27 13:47:57 2012 From: steve at dedicatedserversaustralia.com.au (Steve Kemp) Date: Mon, 27 Feb 2012 23:47:57 +1100 Subject: XI - NRPE In-Reply-To: <4F47D5D6.7010200@nagios.com> References: <4F47BCCD.7090808@nagios.com> <4F47D5D6.7010200@nagios.com> Message-ID: <066001ccf54e$08489350$18d9b9f0$@dedicatedserversaustralia.com.au> We have found the same issue with NRPE where we had NRPE happily running on our Nagios 3 installs, and simply added the new IP to xinetd, and our firewall and restarted xinet and we get the same 0 bytes from daemon error within XI but the services work without any issues on our V3 installs We also found that the nrpe installer script downloadable from XI would not complete an install either with it just hanging on step 4 firewall settings. It also failed to pick up Cloud Linux LVE kernels as well Regards Steve -----Original Message----- From: Alex Griffin [mailto:agriffin at nagios.com] Sent: Saturday, 25 February 2012 5:24 AM To: Nagios Users List Subject: Re: [Nagios-users] XI - NRPE Did you modify your XI installation at all (e.g. replace the included nrpe version with an older)? You may want to check your logs on the client for more specific error messages from nrpe. Alex Griffin --- Tech Team agriffin at nagios.com On 02/24/2012 12:02 PM, Edwin Zoeller wrote: > First Alex, thanks for the reply. I would rather use the newer myself but this is where I am at. > > I have Nagios Core v3.2.0, I would like to upgrade to XI. All my Solaris server and Linux are running 2.0. I tried using the nrpe wizard in XI, which according the documentation will work, but when I do this on one on my Linux server, all services go into an Unknown state, CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. So I am come lost and confused. > > Ed > > -----Original Message----- > From: Alex Griffin [mailto:agriffin at nagios.com] > Sent: Friday, February 24, 2012 10:38 AM > To: Nagios Users List > Subject: Re: [Nagios-users] XI - NRPE > > Nagios XI ships with NRPE v2.12, and some wizards may rely on newer features or bugfixes than you'll get in v2.0. If for some reason you must use an older version, you probably won't run into too much trouble. > However, I really question why you would want to ignore 8 years worth of bugfixes. > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > On 02/24/2012 09:43 AM, Edwin Zoeller wrote: >> I have downloaded and installed XI to review and possible by. My >> question is can nrpe v2.0 run with XI? >> >> PPlease consider the environment before printing this e-mail >> >> >> >> ---------------------------------------------------------------------- >> -------- Virtualization& Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null > > ---------------------------------------------------------------------- > -------- Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ---------------------------------------------------------------------- > -------- Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing also > focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seirp.samoht at googlemail.com Mon Feb 27 17:32:20 2012 From: seirp.samoht at googlemail.com (Thomas Pries) Date: Mon, 27 Feb 2012 17:32:20 +0100 Subject: NRPE and IPv6 In-Reply-To: References: <874nudwvw1.fsf@pc8.berlin.quux.de> <87wr79vabt.fsf@pc8.berlin.quux.de> Message-ID: <4F4BB014.1040908@googlemail.com> Hi, Am 27.02.2012 02:44, schrieb Robert V. Bolton: > There is no need to patch Nagios to support and IPv6 address variable. > You can just use a custom object variable. In fact this is the preferred > way to do it. http://nagios.sourceforge.net/docs/3_0/customobjectvars.html Thanks for the infos, but if I understand the mentioned docs right, the custom object variables will not solve my problem. My problem is, I define a host with "address 2001:....." and I got "Invalid host name '2001:..." from check_nrpe. I guess, whatever variable I take to handover the IPv6 to check_nrpe, check_nrpe will still be unable to use the IPv6 to access the host, right? Kind regards Thomas ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Mon Feb 27 17:50:47 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Mon, 27 Feb 2012 16:50:47 +0000 Subject: XI - NRPE In-Reply-To: <066001ccf54e$08489350$18d9b9f0$@dedicatedserversaustralia.com.au> References: <4F47BCCD.7090808@nagios.com> <4F47D5D6.7010200@nagios.com> <066001ccf54e$08489350$18d9b9f0$@dedicatedserversaustralia.com.au> Message-ID: <4288A518A157EC4C8873FEE74F778BF0140EAA@WPSDGQHH.OPR.STATEFARM.ORG> Usually I've seen that when you have a mismatch in the buffer sizes, so maybe XI has a larger buffer size? Dan -----Original Message----- From: Steve Kemp [mailto:steve at dedicatedserversaustralia.com.au] Sent: Monday, February 27, 2012 6:48 AM To: 'Nagios Users List' Subject: Re: [Nagios-users] XI - NRPE We have found the same issue with NRPE where we had NRPE happily running on our Nagios 3 installs, and simply added the new IP to xinetd, and our firewall and restarted xinet and we get the same 0 bytes from daemon error within XI but the services work without any issues on our V3 installs We also found that the nrpe installer script downloadable from XI would not complete an install either with it just hanging on step 4 firewall settings. It also failed to pick up Cloud Linux LVE kernels as well Regards Steve -----Original Message----- From: Alex Griffin [mailto:agriffin at nagios.com] Sent: Saturday, 25 February 2012 5:24 AM To: Nagios Users List Subject: Re: [Nagios-users] XI - NRPE Did you modify your XI installation at all (e.g. replace the included nrpe version with an older)? You may want to check your logs on the client for more specific error messages from nrpe. Alex Griffin --- Tech Team agriffin at nagios.com On 02/24/2012 12:02 PM, Edwin Zoeller wrote: > First Alex, thanks for the reply. I would rather use the newer myself but this is where I am at. > > I have Nagios Core v3.2.0, I would like to upgrade to XI. All my Solaris server and Linux are running 2.0. I tried using the nrpe wizard in XI, which according the documentation will work, but when I do this on one on my Linux server, all services go into an Unknown state, CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. So I am come lost and confused. > > Ed > > -----Original Message----- > From: Alex Griffin [mailto:agriffin at nagios.com] > Sent: Friday, February 24, 2012 10:38 AM > To: Nagios Users List > Subject: Re: [Nagios-users] XI - NRPE > > Nagios XI ships with NRPE v2.12, and some wizards may rely on newer features or bugfixes than you'll get in v2.0. If for some reason you must use an older version, you probably won't run into too much trouble. > However, I really question why you would want to ignore 8 years worth of bugfixes. > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > On 02/24/2012 09:43 AM, Edwin Zoeller wrote: >> I have downloaded and installed XI to review and possible by. My >> question is can nrpe v2.0 run with XI? >> >> PPlease consider the environment before printing this e-mail >> >> >> >> ---------------------------------------------------------------------- >> -------- Virtualization& Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null > > ---------------------------------------------------------------------- > -------- Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ---------------------------------------------------------------------- > -------- Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing also > focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Mon Feb 27 19:04:43 2012 From: manikumar85 at gmail.com (Manish Kumar) Date: Mon, 27 Feb 2012 23:34:43 +0530 Subject: Monitoring log files of oracle DB on windows server using nagios Message-ID: Hi List, Need the best solution to monitor log files of the DB server actually oracle DB log files on windows server. Please suggest what can be the best way to achieve this. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Feb 27 19:15:14 2012 From: benny at bennyvision.com (C. Bensend) Date: Mon, 27 Feb 2012 12:15:14 -0600 Subject: Monitoring log files of oracle DB on windows server using nagios In-Reply-To: References: Message-ID: <752f183c396e1cd3570390095efc8470.squirrel@webmail.stinkweasel.net> > Need the best solution to monitor log files of the DB server actually > oracle DB log files on windows server. Please suggest what can be the best > way to achieve this. check_logfiles from the Consol.de guys is your friend. It even groks the Oracle log file formats. Benny -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yribbens at nagios.com Mon Feb 27 21:47:14 2012 From: yribbens at nagios.com (Yancy Ribbens) Date: Mon, 27 Feb 2012 14:47:14 -0600 Subject: WMI and user account In-Reply-To: <4F4B8465.8030503@b-care.net> References: <4F4B8465.8030503@b-care.net> Message-ID: <4F4BEBD2.5000003@nagios.com> Marc-Andr?, The Windows account to access WMI doesn't need to be an Admin account. To use a limited account, that account must be granted access to Windows DCOM, as well as the relevant WMI class (CIMV2 most likely) step by step instructions here: http://assets.nagios.com/downloads/nagiosxi/docs/Monitoring_Windows_Using_WMI.pdf Regards, Yancy Ribbens --- Tech Team yribbens at nagios.com On 2/27/2012 7:25 AM, MAD wrote: > Hi list, > > I'm have to find a way to get some advanced monitoring metrics for > Windows boxes. As SNMP is not really usefull on Windows (sic!) and I > really don't want to be messing with locales to get data from the > perfmon, I was looking to use WMI requests. However, each doc I've seen > seem to tell me I have to use an administrator account to connect to the > WMI agent and extract my data. > > Is there a way to use an user account with restricted rights? > > Thanks in advance, > > Marc-Andr? > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at dedicatedserversaustralia.com.au Tue Feb 28 02:27:45 2012 From: steve at dedicatedserversaustralia.com.au (Steve Kemp) Date: Tue, 28 Feb 2012 12:27:45 +1100 Subject: XI - NRPE In-Reply-To: <4288A518A157EC4C8873FEE74F778BF0140EAA@WPSDGQHH.OPR.STATEFARM.ORG> References: <4F47BCCD.7090808@nagios.com> <4F47D5D6.7010200@nagios.com> <066001ccf54e$08489350$18d9b9f0$@dedicatedserversaustralia.com.au> <4288A518A157EC4C8873FEE74F778BF0140EAA@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: <08b601ccf5b8$2cbf8bc0$863ea340$@dedicatedserversaustralia.com.au> Not sure im following you on this about buffer sizes? Regards Steve -----Original Message----- From: Daniel Wittenberg [mailto:daniel.wittenberg.r0ko at statefarm.com] Sent: Tuesday, 28 February 2012 3:51 AM To: steve at dedicatedserversaustralia.com.au; Nagios Users List Subject: RE: [Nagios-users] XI - NRPE Usually I've seen that when you have a mismatch in the buffer sizes, so maybe XI has a larger buffer size? Dan -----Original Message----- From: Steve Kemp [mailto:steve at dedicatedserversaustralia.com.au] Sent: Monday, February 27, 2012 6:48 AM To: 'Nagios Users List' Subject: Re: [Nagios-users] XI - NRPE We have found the same issue with NRPE where we had NRPE happily running on our Nagios 3 installs, and simply added the new IP to xinetd, and our firewall and restarted xinet and we get the same 0 bytes from daemon error within XI but the services work without any issues on our V3 installs We also found that the nrpe installer script downloadable from XI would not complete an install either with it just hanging on step 4 firewall settings. It also failed to pick up Cloud Linux LVE kernels as well Regards Steve -----Original Message----- From: Alex Griffin [mailto:agriffin at nagios.com] Sent: Saturday, 25 February 2012 5:24 AM To: Nagios Users List Subject: Re: [Nagios-users] XI - NRPE Did you modify your XI installation at all (e.g. replace the included nrpe version with an older)? You may want to check your logs on the client for more specific error messages from nrpe. Alex Griffin --- Tech Team agriffin at nagios.com On 02/24/2012 12:02 PM, Edwin Zoeller wrote: > First Alex, thanks for the reply. I would rather use the newer myself > but this is where I am at. > > I have Nagios Core v3.2.0, I would like to upgrade to XI. All my > Solaris server and Linux are running 2.0. I tried using the nrpe wizard in XI, which according the documentation will work, but when I do this on one on my Linux server, all services go into an Unknown state, CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. So I am come lost and confused. > > Ed > > -----Original Message----- > From: Alex Griffin [mailto:agriffin at nagios.com] > Sent: Friday, February 24, 2012 10:38 AM > To: Nagios Users List > Subject: Re: [Nagios-users] XI - NRPE > > Nagios XI ships with NRPE v2.12, and some wizards may rely on newer features or bugfixes than you'll get in v2.0. If for some reason you must use an older version, you probably won't run into too much trouble. > However, I really question why you would want to ignore 8 years worth > of bugfixes. > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > On 02/24/2012 09:43 AM, Edwin Zoeller wrote: >> I have downloaded and installed XI to review and possible by. My >> question is can nrpe v2.0 run with XI? >> >> PPlease consider the environment before printing this e-mail >> >> >> >> ---------------------------------------------------------------------- >> -------- Virtualization& Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null > > ---------------------------------------------------------------------- > -------- Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ---------------------------------------------------------------------- > -------- Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing also > focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Tue Feb 28 03:52:19 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 28 Feb 2012 02:52:19 +0000 Subject: XI - NRPE In-Reply-To: <08b601ccf5b8$2cbf8bc0$863ea340$@dedicatedserversaustralia.com.au> References: <4F47BCCD.7090808@nagios.com> <4F47D5D6.7010200@nagios.com> <066001ccf54e$08489350$18d9b9f0$@dedicatedserversaustralia.com.au> <4288A518A157EC4C8873FEE74F778BF0140EAA@WPSDGQHH.OPR.STATEFARM.ORG> <08b601ccf5b8$2cbf8bc0$863ea340$@dedicatedserversaustralia.com.au> Message-ID: <4288A518A157EC4C8873FEE74F778BF01415D5@WPSDGQHH.OPR.STATEFARM.ORG> The buffer size is how much data it can send in one 'chunk', and it's hard-coded in the binary. Many people increase the limit so they can send larger payloads of data in the NRPE packets. If you have like a server that's been increased but not the client for example, you'll see this type of error. Dan -----Original Message----- From: Steve Kemp [mailto:steve at dedicatedserversaustralia.com.au] Sent: Monday, February 27, 2012 7:28 PM To: Daniel Wittenberg; 'Nagios Users List' Subject: RE: [Nagios-users] XI - NRPE Not sure im following you on this about buffer sizes? Regards Steve -----Original Message----- From: Daniel Wittenberg [mailto:daniel.wittenberg.r0ko at statefarm.com] Sent: Tuesday, 28 February 2012 3:51 AM To: steve at dedicatedserversaustralia.com.au; Nagios Users List Subject: RE: [Nagios-users] XI - NRPE Usually I've seen that when you have a mismatch in the buffer sizes, so maybe XI has a larger buffer size? Dan -----Original Message----- From: Steve Kemp [mailto:steve at dedicatedserversaustralia.com.au] Sent: Monday, February 27, 2012 6:48 AM To: 'Nagios Users List' Subject: Re: [Nagios-users] XI - NRPE We have found the same issue with NRPE where we had NRPE happily running on our Nagios 3 installs, and simply added the new IP to xinetd, and our firewall and restarted xinet and we get the same 0 bytes from daemon error within XI but the services work without any issues on our V3 installs We also found that the nrpe installer script downloadable from XI would not complete an install either with it just hanging on step 4 firewall settings. It also failed to pick up Cloud Linux LVE kernels as well Regards Steve -----Original Message----- From: Alex Griffin [mailto:agriffin at nagios.com] Sent: Saturday, 25 February 2012 5:24 AM To: Nagios Users List Subject: Re: [Nagios-users] XI - NRPE Did you modify your XI installation at all (e.g. replace the included nrpe version with an older)? You may want to check your logs on the client for more specific error messages from nrpe. Alex Griffin --- Tech Team agriffin at nagios.com On 02/24/2012 12:02 PM, Edwin Zoeller wrote: > First Alex, thanks for the reply. I would rather use the newer myself > but this is where I am at. > > I have Nagios Core v3.2.0, I would like to upgrade to XI. All my > Solaris server and Linux are running 2.0. I tried using the nrpe wizard in XI, which according the documentation will work, but when I do this on one on my Linux server, all services go into an Unknown state, CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. So I am come lost and confused. > > Ed > > -----Original Message----- > From: Alex Griffin [mailto:agriffin at nagios.com] > Sent: Friday, February 24, 2012 10:38 AM > To: Nagios Users List > Subject: Re: [Nagios-users] XI - NRPE > > Nagios XI ships with NRPE v2.12, and some wizards may rely on newer features or bugfixes than you'll get in v2.0. If for some reason you must use an older version, you probably won't run into too much trouble. > However, I really question why you would want to ignore 8 years worth > of bugfixes. > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > On 02/24/2012 09:43 AM, Edwin Zoeller wrote: >> I have downloaded and installed XI to review and possible by. My >> question is can nrpe v2.0 run with XI? >> >> PPlease consider the environment before printing this e-mail >> >> >> >> ---------------------------------------------------------------------- >> -------- Virtualization& Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null > > ---------------------------------------------------------------------- > -------- Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ---------------------------------------------------------------------- > -------- Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing also > focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Tue Feb 28 12:24:05 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Tue, 28 Feb 2012 11:24:05 +0000 Subject: check_mssql_health plugin by consol labs connection issues Message-ID: Hi all Ubuntu 11.04 desktop 32 bit SQL 2005 server Check_mssql_health-1.5.8.2 Just testing this plugin on 1 of my SQL servers. Im using the domain admin to test with so I know it has full Windows auth access. I have installed the DBD:Sybase package. If I run from a terminal: Libexec# ./check_mssql_health --hostname 192.168.1.35 --username domain\\domain admin --password ABCDE --mode connected-users Will throw back: CRITICAL - cannot connect to 192.168.1.35. DBI connect(';host-192.168.1.35;port=1433','domain\domain user',...) failed: (no error string) at ./check_mssql_health line 2175 Nothing is logged in the SQL server event log for security logins So if I try Tsql -H 192.168.1.35 -p 1433 -U domain\\domain user -P ABDCE It returns Locale is "en_GB.UTF-8" Locale charset is "UTF-8" 1> If I then type in 1>SELECT COUNT (*) FROM master..sysprocesses WHERE spid >51 2>go It replies with 11 (1 row affected) 1> My SQL server event log also shows a successful security connection for the domain account from my nagios box IP. So connection fine its fine during testing with tsql But with the check_mssql_health script it says it cannot connect. Part of the script around line 2175 reads if ($self->{handle} = DBI->connect( $self->{dsn}, $self->{username}, $self->{password}, {RaiseError => 1, AutoCommit => 0, PrintError => 1 })) { $retval = $self; I have changed the entry in /etc/freetds/freetds.conf to read [global] # TDS protocol version # tds version = 8.0 Can anybody help me further with this? cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jagneessens at transwide.com Tue Feb 28 13:57:44 2012 From: jagneessens at transwide.com (Jonathan Agneessens) Date: Tue, 28 Feb 2012 13:57:44 +0100 Subject: nagios heavy memory usage In-Reply-To: References: <1330346981.2546.30.camel@nemain> Message-ID: <1330433864.2546.40.camel@nemain> Hi, Well I've been shutting down NPCD for a whole weekend and still my memory is increasing. NPCD can't be the cause. I'm wondering how I can measure what is exactly going on with Nagios internals and where the memory is going to. tia Jonathan On Mon, 2012-02-27 at 17:23 +0100, Manish Kumar wrote: > Hi, > > > I am also facing same issue with NPCD with my NagiosXI implementation. > NPCD has memory leak issue. It keeps sucking and increasing memory hog > and lastly it crashes after days and then again i have to restart it. > They have released a patch for it but i am still late to upgrade it. > > On Mon, Feb 27, 2012 at 6:19 PM, Jonathan Agneessens > wrote: > Hi, > > My nagios installation (with NPCD) is running for about 30 > hosts & +- > 320 service checks. all works fine except the fact that it > consumes a > huge amount of memory, in 4 days it reaches 4GB and keeps > increasing. > > Anyone an idea how to troubleshoot what's going wrong? What > check/process/... is running away with memory or the memory > isn't > realeased ? (I've disabled the process_perfdata & shut down > the npcd, > but didn't change anything) > > Yes I've got custom checks running (mainly SSH tunnels) but as > far as I > can see, they don't cause the issue. > > Virtual system, latest version of nagios & nagios plugins on > centos 5.7 > > tia > > Jonathan > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft > developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, > CSS3, MVC3, > Metro Style Apps, more. Free future releases when you > subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > -- > Thanks > Manish Kumar > http://in.linkedin.com/in/manishkumar85 > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Feb 28 16:41:05 2012 From: ae at op5.se (Andreas Ericsson) Date: Tue, 28 Feb 2012 16:41:05 +0100 Subject: nagios heavy memory usage In-Reply-To: <1330433864.2546.40.camel@nemain> References: <1330346981.2546.30.camel@nemain> <1330433864.2546.40.camel@nemain> Message-ID: <4F4CF591.108@op5.se> On 02/28/2012 01:57 PM, Jonathan Agneessens wrote: > Hi, > > Well I've been shutting down NPCD for a whole weekend and still my > memory is increasing. NPCD can't be the cause. I'm wondering how I can > measure what is exactly going on with Nagios internals and where the > memory is going to. > A wild guess would be embedded perl. Re-compile without it and you should be good to go. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at uea.ac.uk Wed Feb 29 15:55:29 2012 From: W.Miah at uea.ac.uk (Wadud Miah (ITCS)) Date: Wed, 29 Feb 2012 14:55:29 +0000 Subject: NRPE allowed_hosts directive Message-ID: Hello, I am using NRPE version 2.7 and want to configured the allowed_hosts directive so that it can take a network address in the form network_address/netmask. However, it doesn't seem to support this, so I tried putting the IP addresses of all the hosts in the network. However, when I assign this variable to all the IP addresses (which is very long), I get this error: Feb 29 10:49:30 cn004 nrpe[22540]: No variable value specified in config file '/etc/nagios/nrpe.cfg' - Line 65 Feb 29 10:49:30 cn004 nrpe[22540]: Config file '/etc/nagios/nrpe.cfg' contained errors, aborting... When I truncate a number of IP addresses, it works fine. Do you know if the newer version of NRPE resolves this issue? Namely, can it accept network addresses (network_address/netmask) and/or take a long list of IP addresses? The former will be more convenient. Regards, ---------- Wadud Miah, High Performance Computing Systems Developer Research Computing Services, University of East Anglia Web: http://www.uea.ac.uk/~xca10fju/ Telephone: 01603 593856 Information Services ---------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Feb 29 16:16:38 2012 From: benny at bennyvision.com (C. Bensend) Date: Wed, 29 Feb 2012 09:16:38 -0600 Subject: NRPE allowed_hosts directive In-Reply-To: References: Message-ID: <218f1e0974f5641126f546b6865d38b5.squirrel@webmail.stinkweasel.net> > tried putting the IP addresses of all the hosts in the network. However, > when I assign this variable to all the IP addresses (which is very long), Ummmm... Just how many Nagios servers do you HAVE? That configuration option is to list the Nagios servers that will be polling your NRPE daemon, not "all the hosts in the network". Just wanted to make sure you're understanding the option correctly... Benny -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Wed Feb 29 17:47:49 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Wed, 29 Feb 2012 16:47:49 +0000 Subject: Does nagios refuse the \ character? Message-ID: Does Nagios allow \ characters in check commands? If I run this from the terminal: Check_mssql_health --servername IP ADDRESS --username domain\\domain user --password QWERTY --mode connected-users It connects off to my SQL Database and reports back the connected users. I have put the following command into my servers.cfg file # 'check_mssql_health Connected users' command definition Define command{ Command_name check_sql_connections Command_line $USER1$/check_mssql_health --server $HOSTADDRESS$ --username $ARG1$ --password $ARG2$ --mode $ARG3$ And my service description reads: Define service{ Use service-sql-server Host_name SERVER Service_description SQL CONNECTION TIME Check_command check_sql_connections!domain\\domain user!QWERTY!connected-users! But when the check runs it outputs with a critical error saying it cant connect to the database because of a login error and its tried to use domaindomainuser. It has stripped out the \\ Is this normal behaviour of nagios? Do I need quotes or something? Thanks Kind Regards Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csbender at bellsouth.net Wed Feb 29 18:04:11 2012 From: csbender at bellsouth.net (csbender) Date: Wed, 29 Feb 2012 09:04:11 -0800 (PST) Subject: Nag 3.3.1 emai address not changed Message-ID: <1330535051.80342.YahooMailRC@web180716.mail.sp1.yahoo.com> Hi folks I am new to the community glad to join you. We were no longer receiving Nagios alerts. Apparently because IT killed the email account for the previous owner. I decided to have alerts sent directly to me, as I researched the web I found two files to edit. nagios.cfg db_nagiossql_v3.sql Painful to say I probably shouldn't have done this. Anyway the maillog is below and they look correct. Feb 29 16:41:55 ng postfix/pickup[1947]: 2DC5F18928E4: uid=181 from= Feb 29 16:41:55 ng postfix/cleanup[4317]: 2DC5F18928E4: message-id=<20120229164155.2DC5F18928E4 at ng.localdomain> Feb 29 16:41:55 ng postfix/qmgr[1948]: 2DC5F18928E4: from=, size=777, nrcpt=1 (queue active) Feb 29 16:41:55 ng postfix/smtp[4319]: 2DC5F18928E4: to=, relay=wmsexg01.abc.com[10.200.104.15]:25, delay=0.24, delays=0.09/0/0.01/0.14, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 3EE5CB18940) Feb 29 16:41:55 ng postfix/qmgr[1948]: 2DC5F18928E4: removed Problem is the email is coming from the old user email. I am trying to make it come from myself. I have restarted postfix and Nagios but the email is still coming fomr old user . [02-29-2012 16:20:31] Nagios 3.3.1 starting... (PID=2282) First is there a way to clean up these files or test them to see what is wrong? Second how can I change the email address from which all Nagios emails are deliverred from? Thanks in advance Regards ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Wed Feb 29 18:15:51 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Wed, 29 Feb 2012 17:15:51 +0000 Subject: FW: Does nagios refuse the \ character? In-Reply-To: References: Message-ID: Ignore I sorted it by putting some " " in the check command Define service{ Use service-sql-server Host_name SERVER Service_description SQL CONNECTION TIME Check_command check_sql_connections!"domain\\domain user"!QWERTY!connected-users! } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonjwwilliams at gmail.com Wed Feb 29 19:58:32 2012 From: jasonjwwilliams at gmail.com (Jason J. W. Williams) Date: Wed, 29 Feb 2012 11:58:32 -0700 Subject: Host including services from another host with the same base name Message-ID: Hello, I've got two hosts named: apps-1.example.com mysql_apps-1.example.com For some reason mysql_apps-1.example.com is showing not only services defined for it but also services defined for apps-1.example.com. We're running Nagios 3.2.0 on Ubuntu 10.04.4 LTS. This looks to be a known bug: http://tracker.nagios.org/view.php?id=191 Is there a better workaround than completely renaming apps-1.example.com? Any help is greatly appreciated. -J ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yht123321456 at yahoo.com.cn Tue Feb 28 12:15:37 2012 From: yht123321456 at yahoo.com.cn (=?utf-8?B?5p2o5YWI55Sf?=) Date: Tue, 28 Feb 2012 19:15:37 +0800 (CST) Subject: nagios ndoutils problem Message-ID: <1330427737.86200.YahooMailClassic@web15601.mail.cnb.yahoo.com> Feb 28 19:04:37 monitor nagios: ndomod: Successfully connected to data sink.? 0 queued items to flush. Feb 28 19:04:37 monitor nagios: Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. Feb 28 19:04:37 monitor nagios: Finished daemonizing... (New PID=3160) Feb 28 19:04:37 monitor ndo2db-3x: Error: queue send error. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jordi.verges at t-systems.es Wed Feb 29 12:49:37 2012 From: jordi.verges at t-systems.es (Verges Casadevall, Jordi) Date: Wed, 29 Feb 2012 12:49:37 +0100 Subject: Monitoring with check_snmp a file system Message-ID: <5D7D6B756DFE1447A75C495B227AB5F9048AE50E@TSEBCN12EW.itc.ads.t-systems.es> Hello, I'm a newbie on Nagios. I'm reading http://nagiosplugins.org/man/check_snmp I would like to monitor by SNMP file systems on remote servers. I'm trying to use check_snmp but I don't know how to check multiples OIDs For example: check_snmp -H localhost -P 2c -C public -o hrStorageDescr.19,hrStorageSize.19,hrStorageUsed.19 SNMP OK - /usr/local/nagios 1274000 39195 | HOST-RESOURCES-MIB::hrStorageSize.19=1274000 HOST-RESOURCES-MIB::hrStorageUsed.19=39195 But I would like to monitor if % space used is more than 80%, please could you tell me how to configure warnings and criticals? Best Regards, Jordi Verges Casadevall T-Systems Iberia Production (ICTO) - Automation & Tools Sancho de ?vila, 110-130 08018 Barcelona Tel. +34 933 419 576 e-mail: jordi.verges at t-systems.es Internet: www.t-systems.es This e-mail and any attachments may contain confidential or privileged information. Any unauthorized copying, use or distribution of this information is strictly prohibited. This e-mail and any attachments may contain confidential or privileged information. Any unauthorized copying, use or distribution of this information is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sm_ford at yahoo.com Tue Feb 28 21:02:36 2012 From: sm_ford at yahoo.com (Scott Ford) Date: Tue, 28 Feb 2012 12:02:36 -0800 (PST) Subject: check_http 1.4.15 In-Reply-To: <1330035847.76005.YahooMailNeo@web112809.mail.gq1.yahoo.com> References: <1330035847.76005.YahooMailNeo@web112809.mail.gq1.yahoo.com> Message-ID: <1330459356.24223.YahooMailNeo@web112801.mail.gq1.yahoo.com> All, I installed Nagios Plugins v.1.4.15 after reading a post on Sourceforge that showed the latest version of check_http included an option for regular expression searches in the header of the file.? That option does not seem to be available.? Can anyone shed some light on this?? This is the post I read... http://sourceforge.net/tracker/index.php?func=detail&aid=3469275&group_id=29880&atid=397599 Thank you in advance, Scott ---- [sforddev plugins]# ./check_http --help check_http v1.4.15 (nagios-plugins 1.4.15) Copyright (c) 1999 Ethan Galstad Copyright (c) 1999-2008 Nagios Plugin Development Team ??? This plugin tests the HTTP service on the specified host. It can test normal (http) and secure (https) servers, follow redirects, search for strings and regular expressions, check connection times, and report on certificate expiration times. Usage: ?check_http -H | -I [-u ] [-p ] ?????? [-w ] [-c ] [-t ] [-L] [-a auth] ?????? [-b proxy_auth] [-f ] ?????? [-e ] [-s string] [-l] [-r | -R ] ?????? [-P string] [-m :] [-4|-6] [-N] [-M ] ?????? [-A string] [-k string] [-S] [--sni] [-C ] [-T ] ?????? [-j method] NOTE: One or both of -H and -I must be specified Options: ?-h, --help ??? Print detailed help screen ?-V, --version ??? Print version information ?-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) ?-I, --IP-address=ADDRESS ??? IP address or name (use numeric address if possible to bypass DNS lookup). ?-p, --port=INTEGER ??? Port number (default: 80) ?-4, --use-ipv4 ??? Use IPv4 connection ?-6, --use-ipv6 ??? Use IPv6 connection ?-e, --expect=STRING ??? Comma-delimited list of strings, at least one of them is expected in ??? the first (status) line of the server response (default: HTTP/1.) ??? If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing) ?-s, --string=STRING ??? String to expect in the content ?-u, --url=PATH ??? URL to GET or POST (default: /) ?-P, --post=STRING ??? URL encoded http POST data ?-j, --method=STRING? (for example: HEAD, OPTIONS, TRACE, PUT, DELETE) ??? Set HTTP method. ?-N, --no-body ??? Don't wait for document body: stop reading after headers. ??? (Note that this still does an HTTP GET or POST, not a HEAD.) ?-M, --max-age=SECONDS ??? Warn if document is more than SECONDS old. the number can also be of ??? the form "10m" for minutes, "10h" for hours, or "10d" for days. ?-T, --content-type=STRING ??? specify Content-Type header media type when POSTing ?-l, --linespan ??? Allow regex to span newlines (must precede -r or -R) ?-r, --regex, --ereg=STRING ??? Search page for regex STRING ?-R, --eregi=STRING ??? Search page for case-insensitive regex STRING ?--invert-regex ??? Return CRITICAL if found, OK if not ?-a, --authorization=AUTH_PAIR ??? Username:password on sites with basic authentication ?-b, --proxy-authorization=AUTH_PAIR ???? Username:password on proxy-servers with basic authentication ?-A, --useragent=STRING ??? String to be sent in http header as "User Agent" ?-k, --header=STRING ???? Any other tags to be sent in http header. Use multiple times for additional headers ?-L, --link ??? Wrap output in HTML link (obsoleted by urlize) ?-f, --onredirect= ??? How to handle redirected pages. sticky is like follow but stick to the ??? specified IP address. stickyport also ensure post stays the same. ?-m, --pagesize=INTEGER<:INTEGER> ??? Minimum page size required (bytes) : Maximum page size required (bytes) ?-w, --warning=DOUBLE ??? Response time to result in warning status (seconds) ?-c, --critical=DOUBLE ??? Response time to result in critical status (seconds) ?-t, --timeout=INTEGER ??? Seconds before connection times out (default: 10) ?-v, --verbose ??? Show details for command-line debugging (Nagios may truncate output) Notes: ?This plugin will attempt to open an HTTP connection with the host. ?Successful connects return STATE_OK, refusals and timeouts return STATE_CRITICAL ?other errors return STATE_UNKNOWN.? Successful connects, but incorrect reponse ?messages from the host result in STATE_WARNING return values.? If you are ?checking a virtual server that uses 'host headers' you must supply the FQDN ?(fully qualified domain name) as the [host_name] argument. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 29 22:34:10 2012 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 29 Feb 2012 21:34:10 +0000 Subject: Nag 3.3.1 emai address not changed In-Reply-To: <1330535051.80342.YahooMailRC@web180716.mail.sp1.yahoo.com> References: <1330535051.80342.YahooMailRC@web180716.mail.sp1.yahoo.com> Message-ID: > -----Original Message----- > > Problem is the email is coming from the old user email. I am trying to > make it > come from myself. I have restarted postfix and Nagios but the email is > still > coming fomr old user . > > [02-29-2012 16:20:31] Nagios 3.3.1 starting... (PID=2282) > > First is there a way to clean up these files or test them to see what > is wrong? > Second how can I change the email address from which all Nagios emails > are > deliverred from? Nagios itself does not manage mail. There are no configuration settings for it. You'll need to take a look at your notification commands. You may be able to set a from address there, or it may be in your mailer's configuration. Your log shows mail going out from the "nagios" user, which sounds perfectly normal. You'll need to take a deeper look at how your Nagios instance sends mail in order to change the headers of those emails. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6231 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RWerner at pomwonderful.com Wed Feb 29 23:37:41 2012 From: RWerner at pomwonderful.com (Werner, Robert) Date: Wed, 29 Feb 2012 22:37:41 +0000 Subject: Monitoring with check_snmp a file system In-Reply-To: <5D7D6B756DFE1447A75C495B227AB5F9048AE50E@TSEBCN12EW.itc.ads.t-systems.es> References: <5D7D6B756DFE1447A75C495B227AB5F9048AE50E@TSEBCN12EW.itc.ads.t-systems.es> Message-ID: <3D480E2907FD164191FE65820A669FFF4ED22767@POM-LA-MBX01.pomwonderful.com> To get that kind of info over snmp you probably would have to write a script because the check_snmp only pulls one oid at a time. However there already are plugins that will do exactly what you want: http://nagios.manubulon.com/index_snmp.html I use these to monitor diskspace. Read the instructions on that page for how to set your thresholds. -- Robert G. Werner Oracle Apps Systems Administrator rwerner at pomwonderful.com 559.521.5089 From: Verges Casadevall, Jordi [mailto:jordi.verges at t-systems.es] Sent: Wednesday, February 29, 2012 3:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring with check_snmp a file system Hello, I'm a newbie on Nagios. I'm reading http://nagiosplugins.org/man/check_snmp I would like to monitor by SNMP file systems on remote servers. I'm trying to use check_snmp but I don't know how to check multiples OIDs For example: check_snmp -H localhost -P 2c -C public -o hrStorageDescr.19,hrStorageSize.19,hrStorageUsed.19 SNMP OK - /usr/local/nagios 1274000 39195 | HOST-RESOURCES-MIB::hrStorageSize.19=1274000 HOST-RESOURCES-MIB::hrStorageUsed.19=39195 But I would like to monitor if % space used is more than 80%, please could you tell me how to configure warnings and criticals? Best Regards, Jordi Verges Casadevall T-Systems Iberia Production (ICTO) - Automation & Tools Sancho de ?vila, 110-130 08018 Barcelona Tel. +34 933 419 576 e-mail: jordi.verges at t-systems.es Internet: www.t-systems.es This e-mail and any attachments may contain confidential or privileged information. Any unauthorized copying, use or distribution of this information is strictly prohibited. This e-mail and any attachments may contain confidential or privileged information. Any unauthorized copying, use or distribution of this information is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RWerner at pomwonderful.com Wed Feb 29 23:38:59 2012 From: RWerner at pomwonderful.com (Werner, Robert) Date: Wed, 29 Feb 2012 22:38:59 +0000 Subject: check_http 1.4.15 In-Reply-To: <1330459356.24223.YahooMailNeo@web112801.mail.gq1.yahoo.com> References: <1330035847.76005.YahooMailNeo@web112809.mail.gq1.yahoo.com> <1330459356.24223.YahooMailNeo@web112801.mail.gq1.yahoo.com> Message-ID: <3D480E2907FD164191FE65820A669FFF4ED22773@POM-LA-MBX01.pomwonderful.com> Can you include the command line you are using and what you expect it to do? -- Robert G. Werner Oracle Apps Systems Administrator rwerner at pomwonderful.com 559.521.5089 From: Scott Ford [mailto:sm_ford at yahoo.com] Sent: Tuesday, February 28, 2012 12:03 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_http 1.4.15 All, I installed Nagios Plugins v.1.4.15 after reading a post on Sourceforge that showed the latest version of check_http included an option for regular expression searches in the header of the file. That option does not seem to be available. Can anyone shed some light on this? This is the post I read... http://sourceforge.net/tracker/index.php?func=detail&aid=3469275&group_id=29880&atid=397599 Thank you in advance, Scott ---- [sforddev plugins]# ./check_http --help check_http v1.4.15 (nagios-plugins 1.4.15) Copyright (c) 1999 Ethan Galstad > Copyright (c) 1999-2008 Nagios Plugin Development Team > This plugin tests the HTTP service on the specified host. It can test normal (http) and secure (https) servers, follow redirects, search for strings and regular expressions, check connection times, and report on certificate expiration times. Usage: check_http -H | -I [-u ] [-p ] [-w ] [-c ] [-t ] [-L] [-a auth] [-b proxy_auth] [-f ] [-e ] [-s string] [-l] [-r | -R ] [-P string] [-m :] [-4|-6] [-N] [-M ] [-A string] [-k string] [-S] [--sni] [-C ] [-T ] [-j method] NOTE: One or both of -H and -I must be specified Options: -h, --help Print detailed help screen -V, --version Print version information -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) -I, --IP-address=ADDRESS IP address or name (use numeric address if possible to bypass DNS lookup). -p, --port=INTEGER Port number (default: 80) -4, --use-ipv4 Use IPv4 connection -6, --use-ipv6 Use IPv6 connection -e, --expect=STRING Comma-delimited list of strings, at least one of them is expected in the first (status) line of the server response (default: HTTP/1.) If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing) -s, --string=STRING String to expect in the content -u, --url=PATH URL to GET or POST (default: /) -P, --post=STRING URL encoded http POST data -j, --method=STRING (for example: HEAD, OPTIONS, TRACE, PUT, DELETE) Set HTTP method. -N, --no-body Don't wait for document body: stop reading after headers. (Note that this still does an HTTP GET or POST, not a HEAD.) -M, --max-age=SECONDS Warn if document is more than SECONDS old. the number can also be of the form "10m" for minutes, "10h" for hours, or "10d" for days. -T, --content-type=STRING specify Content-Type header media type when POSTing -l, --linespan Allow regex to span newlines (must precede -r or -R) -r, --regex, --ereg=STRING Search page for regex STRING -R, --eregi=STRING Search page for case-insensitive regex STRING --invert-regex Return CRITICAL if found, OK if not -a, --authorization=AUTH_PAIR Username:password on sites with basic authentication -b, --proxy-authorization=AUTH_PAIR Username:password on proxy-servers with basic authentication -A, --useragent=STRING String to be sent in http header as "User Agent" -k, --header=STRING Any other tags to be sent in http header. Use multiple times for additional headers -L, --link Wrap output in HTML link (obsoleted by urlize) -f, --onredirect= How to handle redirected pages. sticky is like follow but stick to the specified IP address. stickyport also ensure post stays the same. -m, --pagesize=INTEGER<:INTEGER> Minimum page size required (bytes) : Maximum page size required (bytes) -w, --warning=DOUBLE Response time to result in warning status (seconds) -c, --critical=DOUBLE Response time to result in critical status (seconds) -t, --timeout=INTEGER Seconds before connection times out (default: 10) -v, --verbose Show details for command-line debugging (Nagios may truncate output) Notes: This plugin will attempt to open an HTTP connection with the host. Successful connects return STATE_OK, refusals and timeouts return STATE_CRITICAL other errors return STATE_UNKNOWN. Successful connects, but incorrect reponse messages from the host result in STATE_WARNING return values. If you are checking a virtual server that uses 'host headers' you must supply the FQDN (fully qualified domain name) as the [host_name] argument. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null