From stuart.browne at ausregistry.com.au Fri Jun 1 01:18:15 2012 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Fri, 1 Jun 2012 09:18:15 +1000 Subject: check_snmp_ibm_imm.sh Plugin Help In-Reply-To: References: Message-ID: <8CEF048B9EC83748B1517DC64EA130FB729C6917CF@off-win2003-01.ausregistrygroup.local> What happens when you run this check as the user Nagios runs as (usually 'nagios')? Stuart From: Peter.Shankland at ricoh-rpl.com [mailto:Peter.Shankland at ricoh-rpl.com] Sent: Thursday, 31 May 2012 8:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp_ibm_imm.sh Plugin Help Hi all, I am trying to use the check_snmp_ibm_imm.sh plugin from Nagios Exchange (http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/IBM/check_snmp_ibm_imm-2Esh/details) but am having issues with getting a status back through Nagios - command line seems to work fine. As an example, when I run "./check_snmp_ibm_imm.sh -H -C -T voltage" at the command line of the Nagios server I get output: [cid:image001.gif at 01CD3FD7.79390170] So this shows that the plugin is working fine. However, when I then translate that into Nagios with the new command of: [cid:image002.gif at 01CD3FD7.79390170] I just get the following: [cid:image003.gif at 01CD3FD7.79390170] It is obviously something I am doing wrong in Nagios but could do with a push in the right direction :) Thanks. Pete. ________________________________ Peter Shankland TECHNICAL NETWORK SPECIALIST IT DEPARTMENT DD:+44 (0) 1952 205160 F:+44 (0) 1952 213100 M:+44 (0) 7919 444077 E: Peter.Shankland at ricoh-rpl.com [cid:image004.gif at 01CD3FD7.79390170] Ricoh UK Products Limited Priorslee | Telford | Shropshire | TF2 9NS T: +44 (0) 1952 290090 [cid:image005.gif at 01CD3FD7.79390170] Please do not print this email unless absolutely necessary in order to save paper and energy, and you will contribute to resource conservation and CO2 reduction. This email including attachments is intended for the addressee(s) only. It may be labelled confidential/ private and contain confidential/private information. Please respect the wishes of the sender in the way you treat this email and the information contained within. If in doubt clarify the wishes of the sender before acting. If you have received this email in error, you may not review, copy or forward this message in whole or in part. Ricoh UK Products employees should delete from their system and notify us of the error via the ISMS Security Incident Reporting database. External recipients should delete from their system and alert us via email, advising the name of the sender and the time and date of receipt. Any views expressed in this email may not necessarily reflect those of Ricoh UK Products Ltd. You should ensure that the onward transmission, opening or use of this message or attachments will not adversely affect your system or data and carry out anti-virus checks before downloading. Internet communications are not secure and therefore Ricoh UK Products Ltd accepts no responsibility for any direct, indirect or consequential damage resulting from the transmission of this message. Registered in England No. 1763860 Registered Office: Ricoh UK Products Limited, Priorslee, Telford, Shropshire, TF2 9NS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4228 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 8445 bytes Desc: image002.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.gif Type: image/gif Size: 5723 bytes Desc: image003.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.gif Type: image/gif Size: 1119 bytes Desc: image004.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.gif Type: image/gif Size: 566 bytes Desc: image005.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 1 10:56:45 2012 From: giles at coochey.net (Giles Coochey) Date: Fri, 01 Jun 2012 09:56:45 +0100 Subject: check_snmp_ibm_imm.sh Plugin Help In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB729C6917CF@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB729C6917CF@off-win2003-01.ausregistrygroup.local> Message-ID: <4FC883CD.3040500@coochey.net> On 01/06/2012 00:18, Stuart Browne wrote: > > What happens when you run this check as the user Nagios runs as > (usually 'nagios')? > > Stuart > > *From:*Peter.Shankland at ricoh-rpl.com > [mailto:Peter.Shankland at ricoh-rpl.com] > *Sent:* Thursday, 31 May 2012 8:14 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] check_snmp_ibm_imm.sh Plugin Help > > Hi all, > > I am trying to use the check_snmp_ibm_imm.sh plugin from Nagios > Exchange > (http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/IBM/check_snmp_ibm_imm-2Esh/details) > but am having issues with getting a status back through Nagios - > command line seems to work fine. > > As an example, when I run "./check_snmp_ibm_imm.sh -H -C > -T voltage" at the command line of the Nagios server I get > output: > > > > So this shows that the plugin is working fine. However, when I then > translate that into Nagios with the new command of: > Not quite - I don't see a status of OK / WARNING or CRITICAL - and this doesn't show you the exit code of the check either. I don't know this plugin, but are there any parameters for warning or critical ? You may need to put these in. At the moment it is only returning performance data to you. > > > > I just get the following: > > > > It is obviously something I am doing wrong in Nagios but could do with > a push in the right direction :) > > Thanks. > Pete. > > ------------------------------------------------------------------------ > > > > * Peter Shankland* > TECHNICAL NETWORK SPECIALIST > IT DEPARTMENT > DD:+44 (0) 1952 205160 > F:+44 (0) 1952 213100 > M:+44 (0) 7919 444077 > E:Peter.Shankland at ricoh-rpl.com > > > > Ricoh UK Products Limited > Priorslee | Telford | Shropshire | TF2 9NS > T: +44 (0) 1952 290090 > > Please do not print this email unless absolutely necessary in order to > save paper and energy, and you will contribute to resource > conservation and CO2 reduction. This email including attachments is > intended for the addressee(s) only. It may be labelled confidential/ > private and contain confidential/private information. Please respect > the wishes of the sender in the way you treat this email and the > information contained within. If in doubt clarify the wishes of the > sender before acting. If you have received this email in error, you > may not review, copy or forward this message in whole or in part. > Ricoh UK Products employees should delete from their system and notify > us of the error via the ISMS Security Incident Reporting database. > External recipients should delete from their system and alert us via > email, advising the name of the sender and the time and date of > receipt. Any views expressed in this email may not necessarily reflect > those of Ricoh UK Products Ltd. You should ensure that the onward > transmission, opening or use of this message or attachments will not > adversely affect your system or data and carry out anti-virus checks > before downloading. Internet communications are not secure and > therefore Ricoh UK Products Ltd accepts no responsibility for any > direct, indirect or consequential damage resulting from the > transmission of this message. > > Registered in England No. 1763860 > Registered Office: Ricoh UK Products Limited, Priorslee, Telford, > Shropshire, TF2 9NS > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Regards, Giles Coochey, CCNA, CCNAS NetSecSpec Ltd +44 (0) 7983 877438 http://www.coochey.net http://www.netsecspec.co.uk giles at coochey.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 4228 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 8445 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 5723 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1119 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 566 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4928 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kuhlmeier at riege.com Mon Jun 4 10:53:26 2012 From: kuhlmeier at riege.com (Dennis Kuhlmeier) Date: Mon, 04 Jun 2012 10:53:26 +0200 Subject: Critical Passive Alerts do not show up as unhandled In-Reply-To: <4FC63274.3040001@nagios.com> References: <4FC4CD55.8030103@greenberg.org> <4FC63274.3040001@nagios.com> Message-ID: <4FCC7786.3090701@riege.com> On 30.05.2012 16:45, Alex Griffin wrote: > From the Nagios Core docs: > > > Unhandled services problems are those that are not acknowledged, are > not currently in scheduled downtime, and for which checks are currently > enabled. > > If I read that right, I think it means that passive checks will never > show up in the unhandled service problems. > Yes, that is the case, but you can just tweak that away if you have to. Just edit side.php and replace all occurences of "serviceprops=42" with "serviceprops=10" as well as hostprops=42 with "hostprops=10" Regards, Dennis > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > On 05/29/2012 08:21 AM, Ed Greenberg wrote: >> I have some passive alerts that I fire with nsca. When they are >> critical, they show up as critical in the service problems, but not in >> Unhandled service problems. Since they are unhandled, how can I make >> them show up in Unhandled, until acknowledged or cleared? >> >> Thanks, >> >> Ed >> -- .............................................................. Riege Software International GmbH Phone: +49 2159 91480 Mollsfeld 10 Fax: +49 2159 914811 40670 Meerbusch Web: www.riege.com Germany E-Mail: kuhlmeier at riege.com -- -- Commercial Register: Managing Directors: Amtsgericht Neuss HRB-NR 4207 Christian Riege VAT Reg No.: DE120585842 Gabriele Riege Johannes Riege Tobias Riege .............................................................. YOU CARE FOR FREIGHT, WE CARE FOR YOU ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 4 13:11:54 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Mon, 4 Jun 2012 13:11:54 +0200 Subject: Nagios 3.4.1 keeps sending notifications for hosts and service(s) in scheduled shutdown time Message-ID: - After upgrading to 3.4.1 I have the problem that NAGIOS sends out (bogus?) notifications for hosts and services which are in scheduled shutdown period. I had to DOWNGRADE to 3.3.1 , to get the expected behavior w.r.t no notifications being send during a scheduled shutdown for a particular host or service. Most probably this isn't a bug ; but I wonder how to solve this problem : - Basically I only (used 'configure -prefix;make , make install) ; no special configure options are being used. This makes me ponder : 1) Do I need to (re)-intialize my Nagios installation even further besides those steps, being mentioned , which were executed for the upgrade-process ? 2) Am I using outdated default-template (settings) somewhere ? 3) Anything else -> ? Tx for all hints. M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 4 13:48:57 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Mon, 4 Jun 2012 11:48:57 +0000 Subject: Nagios 3.4.1 keeps sending notifications for hosts and service(s) in scheduled shutdown time In-Reply-To: References: Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D27658A@HC-EXMBX03.herefordshire.gov.uk> Does the patch in http://tracker.nagios.org/view.php?id=338 fix the issue for you? Cheers, Phil From: Mark Elsen [mailto:mark.elsen at gmail.com] Sent: 04 June 2012 12:12 To: Nagios Users List Subject: [Nagios-users] Nagios 3.4.1 keeps sending notifications for hosts and service(s) in scheduled shutdown time - After upgrading to 3.4.1 I have the problem that NAGIOS sends out (bogus?) notifications for hosts and services which are in scheduled shutdown period. I had to DOWNGRADE to 3.3.1 , to get the expected behavior w.r.t no notifications being send during a scheduled shutdown for a particular host or service. Most probably this isn't a bug ; but I wonder how to solve this problem : - Basically I only (used 'configure -prefix;make , make install) ; no special configure options are being used. This makes me ponder : 1) Do I need to (re)-intialize my Nagios installation even further besides those steps, being mentioned , which were executed for the upgrade-process ? 2) Am I using outdated default-template (settings) somewhere ? 3) Anything else -> ? Tx for all hints. 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 4 22:37:16 2012 From: jake at demonware.net (Jake Xu) Date: Mon, 4 Jun 2012 13:37:16 -0700 Subject: High Service Check Latency In-Reply-To: <4FBCB34C.4060005@mclink.eu> References: <4FBB4457.9090905@mclink.eu> <59b24b3b7c7be70009f7b804a36c2f02.squirrel@webmail.stinkweasel.net> <4FBB8CB4.4080405@mclink.eu> <4FBBA406.4090407@nagios.com> <4FBCB34C.4060005@mclink.eu> Message-ID: Simon, have you tried enabling the use_large_installation_tweaks=1 option in nagios.cfg? Enabling that option helps me eliminate the check latency but increases the load on cpu significantly. You may want to give that a try. Jake On Wed, May 23, 2012 at 2:52 AM, Simone Felici wrote: > So, cpuload is stable around 5.00 - 5.50. IO wait is difficult to identify. > Using top I can read an average of 0% with some peaks up to 4%. Using > iotop the process kjournald is > jumping on first position often with peaks to 10-20%, back to 0 immediatly. > Second place for nagios process. But the 1sec refresh is changing very > often the situation. > Semms really interesting your doc, also I'll try some solutions. I'll use > sym links to not alter any > configuration file. Should do the trick as well. I'll let you know! > > Thank you! > > Simon > > > Il 22/05/2012 16:34, Mike Guthrie ha scritto: > > What kind of information do you have about average CPU load or I\O wait > > time? Whether Nagios is using ndoutils or not there will be a hardware > > limit as to how many disk writes it can handle in a given period of > > time. Even though you're only running a few active checks, it could be > > a symptom that your machine is having to wait on itself to write to disk > > for other things as well. The doc below is written for Nagios XI, but > > of a lot of the items apply to Core as well. I would consider exploring > > some options with a RAM disk in order to reduce disk activity. > > > > > http://assets.nagios.com/downloads/nagiosxi/docs/Utilizing_A_RAM_Disk_In_NagiosXI.pdf > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 4 22:32:59 2012 From: jake at demonware.net (Jake Xu) Date: Mon, 4 Jun 2012 13:32:59 -0700 Subject: check_snmp_ibm_imm.sh Plugin Help In-Reply-To: <4FC883CD.3040500@coochey.net> References: <8CEF048B9EC83748B1517DC64EA130FB729C6917CF@off-win2003-01.ausregistrygroup.local> <4FC883CD.3040500@coochey.net> Message-ID: In the HOSTNAME variable, you might want to use the ip of the IMM instead of the ip of the host. IBM server itself doesn't support this IMM check. You should be running the check against the IBM IMM device. Jake On Fri, Jun 1, 2012 at 1:56 AM, Giles Coochey wrote: > On 01/06/2012 00:18, Stuart Browne wrote: > > What happens when you run this check as the user Nagios runs as (usually > 'nagios')?**** > > ** ** > > Stuart**** > > ** ** > > *From:* Peter.Shankland at ricoh-rpl.com [ > mailto:Peter.Shankland at ricoh-rpl.com ] > *Sent:* Thursday, 31 May 2012 8:14 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] check_snmp_ibm_imm.sh Plugin Help**** > > ** ** > > Hi all, > > I am trying to use the check_snmp_ibm_imm.sh plugin from Nagios Exchange ( > http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/IBM/check_snmp_ibm_imm-2Esh/details) > but am having issues with getting a status back through Nagios - command > line seems to work fine. > > As an example, when I run "./check_snmp_ibm_imm.sh -H -C > -T voltage" at the command line of the Nagios server I get > output: > > > > So this shows that the plugin is working fine. However, when I then > translate that into Nagios with the new command of: > > Not quite - I don't see a status of OK / WARNING or CRITICAL - and this > doesn't show you the exit code of the check either. > I don't know this plugin, but are there any parameters for warning or > critical ? You may need to put these in. At the moment it is only returning > performance data to you. > > > > > > I just get the following: > > > > It is obviously something I am doing wrong in Nagios but could do with a > push in the right direction :) > > Thanks. > Pete. **** > ------------------------------ > > > > * Peter Shankland* > TECHNICAL NETWORK SPECIALIST > IT DEPARTMENT > DD:+44 (0) 1952 205160 > F:+44 (0) 1952 213100 > M:+44 (0) 7919 444077 > E: Peter.Shankland at ricoh-rpl.com > > > > Ricoh UK Products Limited > Priorslee | Telford | Shropshire | TF2 9NS > T: +44 (0) 1952 290090 > > Please do not print this email unless absolutely necessary in order to > save paper and energy, and you will contribute to resource conservation and > CO2 reduction. This email including attachments is intended for the > addressee(s) only. It may be labelled confidential/ private and contain > confidential/private information. Please respect the wishes of the sender > in the way you treat this email and the information contained within. If in > doubt clarify the wishes of the sender before acting. If you have received > this email in error, you may not review, copy or forward this message in > whole or in part. Ricoh UK Products employees should delete from their > system and notify us of the error via the ISMS Security Incident Reporting > database. External recipients should delete from their system and alert us > via email, advising the name of the sender and the time and date of > receipt. Any views expressed in this email may not necessarily reflect > those of Ricoh UK Products Ltd. You should ensure that the onward > transmission, opening or use of this message or attachments will not > adversely affect your system or data and carry out anti-virus checks before > downloading. Internet communications are not secure and therefore Ricoh UK > Products Ltd accepts no responsibility for any direct, indirect or > consequential damage resulting from the transmission of this message. > > Registered in England No. 1763860 > Registered Office: Ricoh UK Products Limited, Priorslee, Telford, > Shropshire, TF2 9NS **** > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Regards, > > Giles Coochey, CCNA, CCNAS > NetSecSpec Ltd+44 (0) 7983 877438http://www.coochey.nethttp://www.netsecspec.co.ukgiles at coochey.net > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwhardeman at gmail.com Tue Jun 5 06:51:38 2012 From: jwhardeman at gmail.com (Joseph Hardeman) Date: Tue, 5 Jun 2012 00:51:38 -0400 Subject: Monitoring Cisco IDS/IPS SSM Modules Message-ID: Hi Everyone, I have been looking around and am hoping that someone can help me out. I recently got a Cisco 5520 with a SSM-20 module (latest code and Signatures) that I need to start monitoring. I have been looking but I have not found a script that will help me monitor this via SNMP. We are looking to use Nagios to capture any security breachs or attempts that are captured by the SSM module and its analysis engine. We do have this device sending Syslog data to the Nagios system, so if there is a way to parse or tail this log to watch for the events that would be helpful too. Thanks in advance. Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eero.volotinen at iki.fi Tue Jun 5 07:24:41 2012 From: eero.volotinen at iki.fi (Eero Volotinen) Date: Tue, 5 Jun 2012 08:24:41 +0300 Subject: Monitoring Cisco IDS/IPS SSM Modules In-Reply-To: References: Message-ID: 2012/6/5 Joseph Hardeman : > Hi Everyone, > > I have been looking around and am hoping that someone can help me out.? I > recently got a Cisco 5520 with a SSM-20 module (latest code and Signatures) > that I need to start monitoring.? I have been looking but I have not found a > script that will help me monitor this via SNMP. > > We are looking to use Nagios to capture any security breachs or attempts > that are captured by the SSM module and its analysis engine. > > We do have this device sending Syslog data to the Nagios system, so if there > is a way to parse or tail this log to watch for the events that would be > helpful too. Maybe OSSEC helps? www.ossec.net ? -- Eero ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 5 08:24:21 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Tue, 5 Jun 2012 08:24:21 +0200 Subject: Nagios 3.4.1 keeps sending notifications for hosts and service(s) in scheduled shutdown time In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853D27658A@HC-EXMBX03.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B853D27658A@HC-EXMBX03.herefordshire.gov.uk> Message-ID: On Mon, Jun 4, 2012 at 1:48 PM, Randal, Phil wrote: > Does the patch in > > > > http://tracker.nagios.org/view.php?id=338 > > > > fix the issue (notifications during scheduled downtime) for you? > > > > Cheers, > > > > Phil > > Initial testing seems to indicate that it does. M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 11:18:33 2012 From: ae at op5.se (Andreas Ericsson) Date: Tue, 05 Jun 2012 11:18:33 +0200 Subject: Nagios 3.4.1 keeps sending notifications for hosts and service(s) in scheduled shutdown time In-Reply-To: References: <7CA580B59C1ABD45B4614ED90D4C7B853D27658A@HC-EXMBX03.herefordshire.gov.uk> Message-ID: <4FCDCEE9.9050909@op5.se> On 06/05/2012 08:24 AM, Mark Elsen wrote: > On Mon, Jun 4, 2012 at 1:48 PM, Randal, Philwrote: > >> Does the patch in >> >> >> >> http://tracker.nagios.org/view.php?id=338 >> >> >> >> fix the issue (notifications during scheduled downtime) for you? >> >> >> >> Cheers, >> >> >> >> Phil >> >> > Initial testing seems to indicate that it does. > I'm looking at that patch now and intend to apply it (or some other version of it) to the core. One question though: The original "return early" patch was meant to fix a problem where contacts were being re-notified of downtime when Nagios restarted in the middle of a downtime period. Is that problem still fixed with the patch found in the issue tracker? -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 5 12:08:39 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Tue, 5 Jun 2012 10:08:39 +0000 Subject: Nagios 3.4.1 keeps sending notifications for hosts and service(s) in scheduled shutdown time In-Reply-To: <4FCDCEE9.9050909@op5.se> References: <7CA580B59C1ABD45B4614ED90D4C7B853D27658A@HC-EXMBX03.herefordshire.gov.uk> <4FCDCEE9.9050909@op5.se> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D279441@HC-EXMBX03.herefordshire.gov.uk> Hi Andreas, In my limited testing it seems to work properly with the patch. I've just scheduled downtime for a host, rebooted it, and restarted Nagios when it was down. No notifications were resent here after the Nagios restart. Cheers, Phil -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: 05 June 2012 10:19 To: Nagios Users List Subject: Re: [Nagios-users] Nagios 3.4.1 keeps sending notifications for hosts and service(s) in scheduled shutdown time On 06/05/2012 08:24 AM, Mark Elsen wrote: > On Mon, Jun 4, 2012 at 1:48 PM, Randal, Philwrote: > >> Does the patch in >> >> >> >> http://tracker.nagios.org/view.php?id=338 >> >> >> >> fix the issue (notifications during scheduled downtime) for you? >> >> >> >> Cheers, >> >> >> >> Phil >> >> > Initial testing seems to indicate that it does. > I'm looking at that patch now and intend to apply it (or some other version of it) to the core. One question though: The original "return early" patch was meant to fix a problem where contacts were being re-notified of downtime when Nagios restarted in the middle of a downtime period. Is that problem still fixed with the patch found in the issue tracker? -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ?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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 5 13:35:56 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Tue, 5 Jun 2012 13:35:56 +0200 Subject: Nagios 3.4.1 keeps sending notifications for hosts and service(s) in scheduled shutdown time In-Reply-To: <4FCDCEE9.9050909@op5.se> References: <7CA580B59C1ABD45B4614ED90D4C7B853D27658A@HC-EXMBX03.herefordshire.gov.uk> <4FCDCEE9.9050909@op5.se> Message-ID: >... >... > > >One question though: > >The original "return early" patch was meant to fix a problem where > >contacts were being re-notified of downtime when Nagios restarted in > >the middle of a downtime period. Is that problem still fixed with the > >patch found in the issue tracker? > > Testing shows 'still fixed' , for this particular mentioned condition. M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.AtLee at cfertech.com Tue Jun 5 16:43:34 2012 From: T.AtLee at cfertech.com (Tim AtLee) Date: Tue, 5 Jun 2012 08:43:34 -0600 Subject: Dell OpenManage Server Admin Message-ID: <0421E521817FC542AF7BA8F20E099B810121ED9B87@exchsrv.cfertech.com> Good morning Looks like you can get OpenManage 7.0. I have experience with the Nagios plugin working with version 6.5 - any word if it works with 7? I expect that I'll have a considerable delay getting this deployed to all the physical servers, so I'll be operating in a blended mode for a bit.. but I'd like to find out if it works first without breaking things. Anyone have any experience using OMSA 7 and Nagios? Thanks, -- Tim AtLee Network Administrator [cid:image001.jpg at 01CD42F6.CB0801A0] 200 Karl Clark Road Edmonton, AB, T6N 1H2 Work: 780 450 8989 #209 Cell: 780 819 3197 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2710 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 sciodev.com Tue Jun 5 18:04:09 2012 From: jlpaneda at sciodev.com (=?iso-8859-1?Q?Jorge_Pa=F1eda?=) Date: Tue, 5 Jun 2012 11:04:09 -0500 Subject: Dell OpenManage Server Admin Message-ID: <32c33c10-7a2f-4118-bc78-48ba97760a81@sciodev.com> Hello Tim, I have some dell servers with OMSA 7 being monitored by nagios using the check_openmanage.exe plugin (http://folk.uio.no/trondham/software/check_openmanage.html). This servers are behind a firewall so I?m using passive checks to monitor OMSA, but everything works perfectly fine, no problem at all. I just recommend you to check your firmware and driver version for your storage devices are updated to the latest versions, if not when you install OMSA 7 you will have a warning all the time until you update them. 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: Tim AtLee [mailto:T.AtLee at cfertech.com] Sent: martes, 05 de junio de 2012 09:44 a.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Dell OpenManage Server Admin Good morning Looks like you can get OpenManage 7.0. I have experience with the Nagios plugin working with version 6.5 ? any word if it works with 7? I expect that I?ll have a considerable delay getting this deployed to all the physical servers, so I?ll be operating in a blended mode for a bit.. but I?d like to find out if it works first without breaking things. Anyone have any experience using OMSA 7 and Nagios? Thanks, -- Tim AtLee Network Administrator 200 Karl Clark Road Edmonton, AB, T6N 1H2 Work: 780 450 8989 #209 Cell: 780 819 3197 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 2710 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 3466 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 5 18:45:16 2012 From: ae at op5.se (Andreas Ericsson) Date: Tue, 05 Jun 2012 18:45:16 +0200 Subject: Nagios 3.4.1 keeps sending notifications for hosts and service(s) in scheduled shutdown time In-Reply-To: References: <7CA580B59C1ABD45B4614ED90D4C7B853D27658A@HC-EXMBX03.herefordshire.gov.uk> <4FCDCEE9.9050909@op5.se> Message-ID: <4FCE379C.9060400@op5.se> Thanks for the verifications, both of you. I'll push the changes upstream later today. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwhardeman at gmail.com Wed Jun 6 04:16:13 2012 From: jwhardeman at gmail.com (Joseph Hardeman) Date: Tue, 5 Jun 2012 22:16:13 -0400 Subject: Monitoring Cisco IDS/IPS SSM Modules In-Reply-To: References: Message-ID: Hi Eero, I had to go to the archives on SourceForge to see your reply. I am not getting emails from the list. No, unfortunitely that won't work. I am looking for a plugin that will query the SSM IPS module for any security breach attempts or that will monitor a log file from syslog-ng capturing the SSM syslog data and will then send either an SNMP trap or trigger a passive alert. I found where people talk about monitoring their Cisco devices that have SSM IPS modules, but no examples so far. Thanks for thinking of that app. :-) Joe On Tue, Jun 5, 2012 at 12:51 AM, Joseph Hardeman wrote: > Hi Everyone, > > I have been looking around and am hoping that someone can help me out. I > recently got a Cisco 5520 with a SSM-20 module (latest code and Signatures) > that I need to start monitoring. I have been looking but I have not found > a script that will help me monitor this via SNMP. > > We are looking to use Nagios to capture any security breachs or attempts > that are captured by the SSM module and its analysis engine. > > We do have this device sending Syslog data to the Nagios system, so if > there is a way to parse or tail this log to watch for the events that would > be helpful too. > > Thanks in advance. > > Joe > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ego_law75 at yahoo.com Wed Jun 6 15:03:18 2012 From: ego_law75 at yahoo.com (Lawrence Okpoho) Date: Wed, 6 Jun 2012 06:03:18 -0700 (PDT) Subject: Fw: Check_flexlm error In-Reply-To: <1338987312.49680.YahooMailNeo@web65901.mail.ac4.yahoo.com> References: <1338987312.49680.YahooMailNeo@web65901.mail.ac4.yahoo.com> Message-ID: <1338987798.46597.YahooMailNeo@web65902.mail.ac4.yahoo.com> ? ??The significant problems we face cannot be solved by the same level of thinking that created them.? ----- Forwarded Message ----- From: Lawrence Okpoho To: "srigler at marathonoil.com" Cc: "cerice at marathonoil.com" Sent: Wednesday, 6 June 2012, 13:55 Subject: Check_flexlm error Hello Steve/Cliff, I ran the nagios plugin script and encounter this error Cannot find "lmstat" where should i add the lmstat path. My lmstat path is in /opt/flexlm/flexnet Please find attached the script Thanks Lawrence ? ??The significant problems we face cannot be solved by the same level of thinking that created them.? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_flexlm Type: application/octet-stream Size: 10099 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Muhamad.Faiz at Asia.Xchanging.com Thu Jun 7 08:25:47 2012 From: Muhamad.Faiz at Asia.Xchanging.com (Muhamad Faiz) Date: Thu, 7 Jun 2012 06:25:47 +0000 Subject: Disk Partitioning for Nagios Message-ID: Hi guys, I'm not sure if this question has been asked before but I can't find anything about this. What is the recommended partitioning scheme in Linux (ie Redhat) suitable for Nagios implementation? How much percentage for /, 40% for /var or what not. Please advice. Thanks. - Faiz "CONFIDENTIALITY NOTICE: This message and any attachment are confidential and may also be privileged. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you are not the intended recipient please telephone or e-mail the sender and delete this message and any attachment from your system." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cosmin.neagu at omnilogic.ro Thu Jun 7 08:54:41 2012 From: cosmin.neagu at omnilogic.ro (Cosmin Neagu) Date: Thu, 07 Jun 2012 09:54:41 +0300 Subject: check_ping strange behavior with google Message-ID: <4FD05031.7010304@omnilogic.ro> Hi nagios users, Starting from yesterday, check_ping is behaving strange for a single host. When giving -H parameter as www.google.ro it gives CRITICAL - Network Unreachable But when giving -H parameter as IP address it is working. I have checked and there are no DNS issues nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H 173.194.35.159 -w 3000.0,80% -c 5000.0,100% PING OK - Packet loss = 0%, RTA = 46.97 ms|rta=46.971001ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0 nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H www.google.ro -w 3000.0,80% -c 5000.0,100% CRITICAL - Network Unreachable (www.google.ro) nagios at mon2:/usr/local/nagios/libexec$ ping www.google.ro PING www-cctld.l.google.com (173.194.35.159) 56(84) bytes of data. 64 bytes from muc03s01-in-f31.1e100.net (173.194.35.159): icmp_seq=1 ttl=54 time=46.8 ms 64 bytes from muc03s01-in-f31.1e100.net (173.194.35.159): icmp_seq=2 ttl=54 time=46.8 ms Using nagios 3.2.3 nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -h check_ping v1.4.15 (nagios-plugins 1.4.15) Copyright (c) 1999 Ethan Galstad After a little more search Other sites works ok when used with check_ping, but not site containing goole is working nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H www.google.de -w 3000.0,80% -c 5000.0,100% CRITICAL - Network Unreachable (www.google.de) nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H www.google.com -w 3000.0,80% -c 5000.0,100% CRITICAL - Network Unreachable (www.google.com) nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H www.google.it -w 3000.0,80% -c 5000.0,100% CRITICAL - Network Unreachable (www.google.it) Any idea why? -- Cosmin Neagu NOC Team Leader Str. I. G. Duca nr. 36 Otopeni, Judetul Ilfov, 075100 Romania www.omnilogic.ro ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victorsanchez2 at gmail.com Thu Jun 7 09:31:56 2012 From: victorsanchez2 at gmail.com (Victor Sanchez2) Date: Thu, 7 Jun 2012 09:31:56 +0200 Subject: Disk Partitioning for Nagios In-Reply-To: References: Message-ID: Hi Faiz, the more important things are about database and performace. If you are going to work with NDOUtils for example and MySQL, the best option is to create a new and independent mount point depending on the data retention that you need. Then /var/lib/mysql could be a good option. For performance, if you are going to work with pnp4nagios for example, a good option is an independent mount point for /var/lib/pnp4nagios. And for global configuration, you can create the following for example: 250MB - /boot (out of the LVM) LVM XXX - swap (depending on your requirements) 2GB /tmp 10GB /usr 8GB /var 4GB /home (it depends on that you want to do) XXX /opt (if you don't need more "external" software, probably you don't need it with a big reserve) 2GB / 50GB /var/lib/mysql 30GB /var/lib/pnp4nagios Also, if you are going to work with SVN to save the .cfg files versions, you probably need a new mount point for this to separate it. This is a example, it depends on each time. If you can, separete the important things in different mount points and maintain an standard operating system partitioning. Best regards, V?ctor. On 7 June 2012 08:25, Muhamad Faiz wrote: > Hi guys, **** > > ** ** > > I?m not sure if this question has been asked before but I can?t find > anything about this. What is the recommended partitioning scheme in Linux > (ie Redhat) suitable for Nagios implementation? How much percentage for /, > 40% for /var or what not. Please advice.**** > > ** ** > > Thanks.**** > > ** ** > > - Faiz**** > > ** ** > > "CONFIDENTIALITY NOTICE: This message and any attachment are confidential > and may also be privileged. If you are not the intended recipient of this > e-mail you may not copy, forward, disclose or otherwise use it or any part > of it in any form whatsoever. If you are not the intended recipient please > telephone or e-mail the sender and delete this message and any attachment > from your system." > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Thu Jun 7 17:39:30 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Thu, 7 Jun 2012 08:39:30 -0700 Subject: check_ping strange behavior with google In-Reply-To: <4FD05031.7010304@omnilogic.ro> References: <4FD05031.7010304@omnilogic.ro> Message-ID: The check_ping Nagios plugin does not ping hostnames, only IP addresses. -Travis On Wed, Jun 6, 2012 at 11:54 PM, Cosmin Neagu wrote: > Hi nagios users, > > Starting from yesterday, check_ping is behaving strange for a single host. > When giving -H parameter as www.google.ro it gives CRITICAL - Network > Unreachable > But when giving -H parameter as IP address it is working. I have checked > and there are no DNS issues > > > nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H 173.194.35.159 -w > 3000.0,80% -c 5000.0,100% > PING OK - Packet loss = 0%, RTA = 46.97 > ms|rta=46.971001ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0 > nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H www.google.ro -w > 3000.0,80% -c 5000.0,100% > CRITICAL - Network Unreachable (www.google.ro) > nagios at mon2:/usr/local/nagios/libexec$ ping www.google.ro > PING www-cctld.l.google.com (173.194.35.159) 56(84) bytes of data. > 64 bytes from muc03s01-in-f31.1e100.net (173.194.35.159): icmp_seq=1 > ttl=54 time=46.8 ms > 64 bytes from muc03s01-in-f31.1e100.net (173.194.35.159): icmp_seq=2 > ttl=54 time=46.8 ms > > > Using nagios 3.2.3 > nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -h > check_ping v1.4.15 (nagios-plugins 1.4.15) > Copyright (c) 1999 Ethan Galstad > > > After a little more search > Other sites works ok when used with check_ping, but not site containing > goole is working > > nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H www.google.de -w > 3000.0,80% -c 5000.0,100% > CRITICAL - Network Unreachable (www.google.de) > nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H www.google.com -w > 3000.0,80% -c 5000.0,100% > CRITICAL - Network Unreachable (www.google.com) > nagios at mon2:/usr/local/nagios/libexec$ ./check_ping -H www.google.it -w > 3000.0,80% -c 5000.0,100% > CRITICAL - Network Unreachable (www.google.it) > > Any idea why? > > > > > > > -- > Cosmin Neagu > NOC Team Leader > Str. I. G. Duca nr. 36 > Otopeni, Judetul Ilfov, 075100 Romania > www.omnilogic.ro > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 7 17:56:36 2012 From: holger at CIS.FU-Berlin.DE (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Thu, 7 Jun 2012 17:56:36 +0200 Subject: check_ping strange behavior with google In-Reply-To: References: <4FD05031.7010304@omnilogic.ro> Message-ID: <20120607155636.GD16045381@CIS.FU-Berlin.DE> * Travis Runyard [2012-06-07 08:39]: > The check_ping Nagios plugin does not ping hostnames, only IP addresses. The check_ping plugin supports hostnames just fine. > On Wed, Jun 6, 2012 at 11:54 PM, Cosmin Neagu wrote: > > Starting from yesterday, check_ping is behaving strange for a single host. > > When giving -H parameter as www.google.ro it gives CRITICAL - Network > > Unreachable > > But when giving -H parameter as IP address it is working. I have checked > > and there are no DNS issues The hostname www.google.ro now? also resolves to an IPv6 address, and check_ping has issues with IPv6 dependending on the ping6(1) implementation used. These issues will hopefully be fixed in the next release of the Nagios Plugins; until then, "check_ping -4 [...]" should do the trick. Holger ? http://en.wikipedia.org/wiki/World_IPv6_Day_and_World_IPv6_Launch_Day ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Thu Jun 7 18:56:28 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Thu, 7 Jun 2012 09:56:28 -0700 Subject: check_ping strange behavior with google In-Reply-To: <20120607155636.GD16045381@CIS.FU-Berlin.DE> References: <4FD05031.7010304@omnilogic.ro> <20120607155636.GD16045381@CIS.FU-Berlin.DE> Message-ID: http://nagiosplugins.org/man/check_ping = IP address. NOT hostname. $HOSTADDRESS$Address of the host. This value is taken from the *address* directive in the host definition . On Thu, Jun 7, 2012 at 8:56 AM, Holger Wei? wrote: > * Travis Runyard [2012-06-07 08:39]: > > The check_ping Nagios plugin does not ping hostnames, only IP addresses. > > The check_ping plugin supports hostnames just fine. > > > On Wed, Jun 6, 2012 at 11:54 PM, Cosmin Neagu >wrote: > > > Starting from yesterday, check_ping is behaving strange for a single > host. > > > When giving -H parameter as www.google.ro it gives CRITICAL - Network > > > Unreachable > > > But when giving -H parameter as IP address it is working. I have > checked > > > and there are no DNS issues > > The hostname www.google.ro now? also resolves to an IPv6 address, and > check_ping has issues with IPv6 dependending on the ping6(1) > implementation used. These issues will hopefully be fixed in the next > release of the Nagios Plugins; until then, "check_ping -4 [...]" should > do the trick. > > Holger > > ? http://en.wikipedia.org/wiki/World_IPv6_Day_and_World_IPv6_Launch_Day > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 7 21:26:25 2012 From: holger at CIS.FU-Berlin.DE (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Thu, 7 Jun 2012 21:26:25 +0200 Subject: check_ping strange behavior with google In-Reply-To: References: <4FD05031.7010304@omnilogic.ro> <20120607155636.GD16045381@CIS.FU-Berlin.DE> Message-ID: <20120607192625.GE16045381@CIS.FU-Berlin.DE> * Travis Runyard [2012-06-07 09:56]: > http://nagiosplugins.org/man/check_ping > > = IP address. NOT hostname. Indeed, "host_address" seems to suggest an IP address. Then again, the long option is called "--hostname" :-) Anyway, you can specify either an IP address or a hostname. Why don't you simply try it out? > $HOSTADDRESS$ - Address of the host. This value is taken from the > *address* directive in the host definition You neither have to hand over the $HOSTADDRESS$ to check_ping (you could use the $HOSTALIAS$ or whatever you like instead), nor do you have to specify an IP address as the "address" of a host.? We use only hostnames in our Nagios configuration. Holger ? "Normally, this is an IP address, although it could really be anything you want" -- http://nagios.sf.net/docs/3_0/objectdefinitions.html#host ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Thu Jun 7 21:47:37 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Thu, 7 Jun 2012 12:47:37 -0700 Subject: check_ping strange behavior with google In-Reply-To: <20120607192625.GE16045381@CIS.FU-Berlin.DE> References: <4FD05031.7010304@omnilogic.ro> <20120607155636.GD16045381@CIS.FU-Berlin.DE> <20120607192625.GE16045381@CIS.FU-Berlin.DE> Message-ID: Long option and short option achieve the same thing, which requires an IP address. I have tried it out, on two separate nagios boxes, one running Debian, the other, Redhat. Why don't you copy and paste the results from shell to prove me wrong? On Thu, Jun 7, 2012 at 12:26 PM, Holger Wei? wrote: > * Travis Runyard [2012-06-07 09:56]: > > http://nagiosplugins.org/man/check_ping > > > > = IP address. NOT hostname. > > Indeed, "host_address" seems to suggest an IP address. Then again, the > long option is called "--hostname" :-) Anyway, you can specify either > an IP address or a hostname. Why don't you simply try it out? > > > $HOSTADDRESS$ - Address of the host. This value is taken from the > > *address* directive in the host definition > > You neither have to hand over the $HOSTADDRESS$ to check_ping (you could > use the $HOSTALIAS$ or whatever you like instead), nor do you have to > specify an IP address as the "address" of a host.? We use only > hostnames in our Nagios configuration. > > Holger > > ? "Normally, this is an IP address, although it could really be anything > you want" -- http://nagios.sf.net/docs/3_0/objectdefinitions.html#host > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 7 22:10:32 2012 From: holger at CIS.FU-Berlin.DE (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Thu, 7 Jun 2012 22:10:32 +0200 Subject: check_ping strange behavior with google In-Reply-To: References: <4FD05031.7010304@omnilogic.ro> <20120607155636.GD16045381@CIS.FU-Berlin.DE> <20120607192625.GE16045381@CIS.FU-Berlin.DE> Message-ID: <20120607201032.GG16045381@CIS.FU-Berlin.DE> * Travis Runyard [2012-06-07 12:47]: > Long option and short option achieve the same thing, which requires an IP > address. I have tried it out, on two separate nagios boxes, one running > Debian, the other, Redhat. Why don't you copy and paste the results from > shell to prove me wrong? $ check_ping -H nagios-plugins.org -w 500,10% -c 750,50% PING OK - Packet loss = 0%, RTA = 123.06 ms|rta=123.056999ms;500.000000;750.000000;0.000000 pl=0%;10;50;0 Holger ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Thu Jun 7 22:18:51 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Thu, 7 Jun 2012 13:18:51 -0700 Subject: check_ping strange behavior with google In-Reply-To: <20120607201032.GG16045381@CIS.FU-Berlin.DE> References: <4FD05031.7010304@omnilogic.ro> <20120607155636.GD16045381@CIS.FU-Berlin.DE> <20120607192625.GE16045381@CIS.FU-Berlin.DE> <20120607201032.GG16045381@CIS.FU-Berlin.DE> Message-ID: Hats off to you, Holger. It does work but I was using google.com which doesn't. Strange because it is pingable but returns network unreachable with check_ping. Hey at least I learned something today. On Thu, Jun 7, 2012 at 1:10 PM, Holger Wei? wrote: > * Travis Runyard [2012-06-07 12:47]: > > Long option and short option achieve the same thing, which requires an IP > > address. I have tried it out, on two separate nagios boxes, one running > > Debian, the other, Redhat. Why don't you copy and paste the results from > > shell to prove me wrong? > > $ check_ping -H nagios-plugins.org -w 500,10% -c 750,50% > PING OK - Packet loss = 0%, RTA = 123.06 > ms|rta=123.056999ms;500.000000;750.000000;0.000000 pl=0%;10;50;0 > > Holger > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 7 22:32:38 2012 From: holger at CIS.FU-Berlin.DE (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Thu, 7 Jun 2012 22:32:38 +0200 Subject: check_ping strange behavior with google In-Reply-To: References: <4FD05031.7010304@omnilogic.ro> <20120607155636.GD16045381@CIS.FU-Berlin.DE> <20120607192625.GE16045381@CIS.FU-Berlin.DE> <20120607201032.GG16045381@CIS.FU-Berlin.DE> Message-ID: <20120607203238.GH16045381@CIS.FU-Berlin.DE> * Travis Runyard [2012-06-07 13:18]: > It does work but I was using google.com which doesn't. Strange because > it is pingable but returns network unreachable with check_ping. See my initial reply in this thread: | The hostname www.google.ro now? also resolves to an IPv6 address, and | check_ping has issues with IPv6 dependending on the ping6(1) | implementation used. These issues will hopefully be fixed in the next | release of the Nagios Plugins; until then, "check_ping -4 [...]" should | do the trick. [ http://article.gmane.org/gmane.network.nagios.user/73851 ] Holger ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cosmin.neagu at omnilogic.ro Fri Jun 8 08:21:12 2012 From: cosmin.neagu at omnilogic.ro (Cosmin Neagu) Date: Fri, 08 Jun 2012 09:21:12 +0300 Subject: check_ping strange behavior with google In-Reply-To: <20120607203238.GH16045381@CIS.FU-Berlin.DE> References: <4FD05031.7010304@omnilogic.ro> <20120607155636.GD16045381@CIS.FU-Berlin.DE> <20120607192625.GE16045381@CIS.FU-Berlin.DE> <20120607201032.GG16045381@CIS.FU-Berlin.DE> <20120607203238.GH16045381@CIS.FU-Berlin.DE> Message-ID: <4FD199D8.5010106@omnilogic.ro> You were right. It need to be told to use ipv4 with -4 switch. Thanks Cosmin Neagu NOC Team Leader Str. I. G. Duca nr. 36 Otopeni, Judetul Ilfov, 075100 Romania www.omnilogic.ro On 06/07/2012 11:32 PM, Holger Wei? wrote: > * Travis Runyard [2012-06-07 13:18]: >> It does work but I was using google.com which doesn't. Strange because >> it is pingable but returns network unreachable with check_ping. > See my initial reply in this thread: > > | The hostname www.google.ro now? also resolves to an IPv6 address, and > | check_ping has issues with IPv6 dependending on the ping6(1) > | implementation used. These issues will hopefully be fixed in the next > | release of the Nagios Plugins; until then, "check_ping -4 [...]" should > | do the trick. > > [ http://article.gmane.org/gmane.network.nagios.user/73851 ] > > Holger > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Shankland at ricoh-rpl.com Fri Jun 8 11:02:09 2012 From: Peter.Shankland at ricoh-rpl.com (Peter.Shankland at ricoh-rpl.com) Date: Fri, 8 Jun 2012 10:02:09 +0100 Subject: Peter Shankland is out of the office. Message-ID: I will be out of the office starting 08/06/2012 and will not return until 11/06/2012. Peter Shankland TECHNICAL NETWORK SPECIALIST IT DEPARTMENT DD:+44 (0) 1952 205160 F:+44 (0) 1952 213100 M:+44 (0) 7919 444077 E: Peter.Shankland at ricoh-rpl.com (Embedded image moved to file: pic28433.gif) Ricoh UK Products Limited Priorslee | Telford | Shropshire | TF2 9NS T: +44 (0) 1952 290090 (Embedded image moved to file: pic29869.gif) Please do not print this email unless absolutely necessary in order to save paper and energy, and you will contribute to resource conservation and CO2 reduction. This email including attachments is intended for the addressee(s) only. It may be labelled confidential/ private and contain confidential/private information. Please respect the wishes of the sender in the way you treat this email and the information contained within. If in doubt clarify the wishes of the sender before acting. If you have received this email in error, you may not review, copy or forward this message in whole or in part. Ricoh UK Products employees should delete from their system and notify us of the error via the ISMS Security Incident Reporting database. External recipients should delete from their system and alert us via email, advising the name of the sender and the time and date of receipt. Any views expressed in this email may not necessarily reflect those of Ricoh UK Products Ltd. You should ensure that the onward transmission, opening or use of this message or attachments will not adversely affect your system or data and carry out anti-virus checks before downloading. Internet communications are not secure and therefore Ricoh UK Products Ltd accepts no responsibility for any direct, indirect or consequential damage resulting from the transmission of this message. Registered in England No. 1763860 Registered Office: Ricoh UK Products Limited, Priorslee, Telford, Shropshire, TF2 9NS -------------- next part -------------- A non-text attachment was scrubbed... Name: pic28433.gif Type: image/gif Size: 1119 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic29869.gif Type: image/gif Size: 566 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 8 15:26:32 2012 From: mail at catsnest.co.uk (RichTea) Date: Fri, 8 Jun 2012 13:26:32 +0000 Subject: Monitoring Cisco IDS/IPS SSM Modules In-Reply-To: References: Message-ID: On Wed, Jun 6, 2012 at 2:16 AM, Joseph Hardeman wrote: > Hi Eero, > > I had to go to the archives on SourceForge to see your reply. I am not > getting emails from the list. > > No, unfortunitely that won't work. I am looking for a plugin that will > query the SSM IPS module for any security breach attempts or that will > monitor a log file from syslog-ng capturing the SSM syslog data and will > then send either an SNMP trap or trigger a passive alert. > > If you are happy to "tail" the syslog you can just use the Nagios check_log plugin. With a custom service. i see from the above the syslog file in on the Nagios server. some sort of service like this applied to the device. define service { name check_local_syslog command $USER1$/check_log --filename=/path/to/syslog/$HOSTNAME$ -some other option (sorry i dont have access to man at the moment) } -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > I found where people talk about monitoring their Cisco devices that have > SSM IPS modules, but no examples so far. > > Thanks for thinking of that app. :-) > > Joe > > > On Tue, Jun 5, 2012 at 12:51 AM, Joseph Hardeman wrote: > >> Hi Everyone, >> >> I have been looking around and am hoping that someone can help me out. I >> recently got a Cisco 5520 with a SSM-20 module (latest code and Signatures) >> that I need to start monitoring. I have been looking but I have not found >> a script that will help me monitor this via SNMP. >> >> We are looking to use Nagios to capture any security breachs or attempts >> that are captured by the SSM module and its analysis engine. >> >> We do have this device sending Syslog data to the Nagios system, so if >> there is a way to parse or tail this log to watch for the events that would >> be helpful too. >> >> Thanks in advance. >> >> Joe >> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 8 16:40:03 2012 From: agriffin at nagios.com (Alex Griffin) Date: Fri, 08 Jun 2012 09:40:03 -0500 Subject: Disk Partitioning for Nagios In-Reply-To: References: Message-ID: <4FD20EC3.8000700@nagios.com> I don't think it's really necessary to have a separate /usr or /boot partition. GRUB2 can boot from LVM partitions these days. 2 GB also seems excessive for a /tmp partition. In all honesty it doesn't actually matter as much as a lot of people think it does. There are some setups which are obviously brain dead, but much of it comes down to personal preference too. Using LVM will allow you to flexibly change your partitions as your needs shift, so you should definitely use that if you're unsure of your needs. Alex Griffin --- Tech Team agriffin at nagios.com On 06/07/2012 02:31 AM, Victor Sanchez2 wrote: > Hi Faiz, > > the more important things are about database and performace. If you are > going to work with NDOUtils for example and MySQL, the best option is to > create a new and independent mount point depending on the data retention > that you need. Then /var/lib/mysql could be a good option. > > For performance, if you are going to work with pnp4nagios for example, a > good option is an independent mount point for /var/lib/pnp4nagios. > > And for global configuration, you can create the following for example: > > 250MB - /boot (out of the LVM) > LVM > XXX - swap (depending on your requirements) > 2GB /tmp > 10GB /usr > 8GB /var > 4GB /home (it depends on that you want to do) > XXX /opt (if you don't need more "external" software, probably > you don't need it with a big reserve) > 2GB / > > 50GB /var/lib/mysql > 30GB /var/lib/pnp4nagios > > Also, if you are going to work with SVN to save the .cfg files versions, > you probably need a new mount point for this to separate it. > > This is a example, it depends on each time. If you can, separete the > important things in different mount points and maintain an standard > operating system partitioning. > > Best regards, > V?ctor. > > > On 7 June 2012 08:25, Muhamad Faiz > wrote: > > Hi guys, ____ > > __ __ > > I?m not sure if this question has been asked before but I can?t find > anything about this. What is the recommended partitioning scheme in > Linux (ie Redhat) suitable for Nagios implementation? How much > percentage for /, 40% for /var or what not. Please advice.____ > > __ __ > > Thanks.____ > > __ __ > > - Faiz____ > > __ __ > > "CONFIDENTIALITY NOTICE: This message and any attachment are > confidential and may also be privileged. If you are not the intended > recipient of this e-mail you may not copy, forward, disclose or > otherwise use it or any part of it in any form whatsoever. If you > are not the intended recipient please telephone or e-mail the sender > and delete this message and any attachment from your system." > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest in > malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victorsanchez2 at gmail.com Fri Jun 8 17:22:32 2012 From: victorsanchez2 at gmail.com (VictorSanchez2) Date: Fri, 08 Jun 2012 17:22:32 +0200 Subject: Disk Partitioning for Nagios In-Reply-To: <4FD20EC3.8000700@nagios.com> References: <4FD20EC3.8000700@nagios.com> Message-ID: <4FD218B8.3070209@gmail.com> On 08/06/12 16:40, Alex Griffin wrote: > I don't think it's really necessary to have a separate /usr or /boot > partition. GRUB2 can boot from LVM partitions these days. 2 GB also > seems excessive for a /tmp partition. > > In all honesty it doesn't actually matter as much as a lot of people > think it does. There are some setups which are obviously brain dead, but > much of it comes down to personal preference too. Using LVM will allow > you to flexibly change your partitions as your needs shift, so you > should definitely use that if you're unsure of your needs. > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > On 06/07/2012 02:31 AM, Victor Sanchez2 wrote: >> Hi Faiz, >> >> the more important things are about database and performace. If you are >> going to work with NDOUtils for example and MySQL, the best option is to >> create a new and independent mount point depending on the data retention >> that you need. Then /var/lib/mysql could be a good option. >> >> For performance, if you are going to work with pnp4nagios for example, a >> good option is an independent mount point for /var/lib/pnp4nagios. >> >> And for global configuration, you can create the following for example: >> >> 250MB - /boot (out of the LVM) >> LVM >> XXX - swap (depending on your requirements) >> 2GB /tmp >> 10GB /usr >> 8GB /var >> 4GB /home (it depends on that you want to do) >> XXX /opt (if you don't need more "external" software, probably >> you don't need it with a big reserve) >> 2GB / >> >> 50GB /var/lib/mysql >> 30GB /var/lib/pnp4nagios >> >> Also, if you are going to work with SVN to save the .cfg files versions, >> you probably need a new mount point for this to separate it. >> >> This is a example, it depends on each time. If you can, separete the >> important things in different mount points and maintain an standard >> operating system partitioning. >> >> Best regards, >> V?ctor. >> >> >> On 7 June 2012 08:25, Muhamad Faiz> > wrote: >> >> Hi guys, ____ >> >> __ __ >> >> I?m not sure if this question has been asked before but I can?t find >> anything about this. What is the recommended partitioning scheme in >> Linux (ie Redhat) suitable for Nagios implementation? How much >> percentage for /, 40% for /var or what not. Please advice.____ >> >> __ __ >> >> Thanks.____ >> >> __ __ >> >> - Faiz____ >> Hi Alex, Probably I'm agree with you, but there is a lot of important things and is only a general example, I don't know the distribution or version. For example, Grub2 with a huge disks could have problems. Also, Grub2 with LVM and XFS filesystems or LVM and cipher partions could have problems is several versions. Also, a small /tmp with an third party application with problems could fill your filesystem with million of files, and also there is a lot of tasks that could fill it generating logs, tcpdumps, etc. 2GB there aren't a lot and could help you to avoid this. I'm my opinion, for enterprise purposes, I prefer /boot without LVM and a little on /tmp to avoid problems with external applications or people that could use /tmp to generate logs or another things. I repeat, all of this is only an example, each one could prefer one thing or another. Each environment is different. Best regards, V?ctor. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mikhail_Parkman at cable.comcast.com Fri Jun 8 17:20:09 2012 From: Mikhail_Parkman at cable.comcast.com (Parkman, Mikhail) Date: Fri, 8 Jun 2012 15:20:09 +0000 Subject: monitor number of open files on linux Message-ID: Can somebody recommend plugin to monitor number of opened files. Thanks. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Fri Jun 8 17:44:00 2012 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 8 Jun 2012 11:44:00 -0400 Subject: monitor number of open files on linux In-Reply-To: References: Message-ID: I would think you can pass regular commands via ssh to do that. On Fri, Jun 8, 2012 at 11:20 AM, Parkman, Mikhail < Mikhail_Parkman at cable.comcast.com> wrote: > Can somebody recommend plugin to monitor number of opened files. > > Thanks. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 8 17:45:13 2012 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 08 Jun 2012 16:45:13 +0100 Subject: monitor number of open files on linux In-Reply-To: References: Message-ID: <4FD21E09.3020408@flatto.net> check for check_lsof or check_openfiles on monitorexchange.com On 08/06/12 16:20, Parkman, Mikhail wrote: > Can somebody recommend plugin to monitor number of opened files. > > Thanks. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 8 17:46:31 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 8 Jun 2012 15:46:31 +0000 Subject: monitor number of open files on linux In-Reply-To: References: Message-ID: Check_open_files.pl -----Original Message----- From: Parkman, Mikhail [mailto:Mikhail_Parkman at cable.comcast.com] Sent: Friday, June 08, 2012 10:20 AM To: Nagios Users List Subject: [Nagios-users] monitor number of open files on linux Can somebody recommend plugin to monitor number of opened files. Thanks. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 8 17:50:28 2012 From: agriffin at nagios.com (Alex Griffin) Date: Fri, 08 Jun 2012 10:50:28 -0500 Subject: monitor number of open files on linux In-Reply-To: References: Message-ID: <4FD21F44.2060606@nagios.com> A quick search turned up 2 plugins that would do the job on Linux, check_open_files and check_linux_stats. [1]: http://exchange.nagios.org/index.php?option=com_mtree&task=search&Itemid=74&searchword=open%20files On Windows I would bet WMI exports that information somehow. Alex Griffin --- Tech Team agriffin at nagios.com On 06/08/2012 10:20 AM, Parkman, Mikhail wrote: > Can somebody recommend plugin to monitor number of opened files. > > Thanks. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mikhail_Parkman at cable.comcast.com Fri Jun 8 22:53:17 2012 From: Mikhail_Parkman at cable.comcast.com (Parkman, Mikhail) Date: Fri, 8 Jun 2012 20:53:17 +0000 Subject: monitor number of open files on linux In-Reply-To: References: Message-ID: Thanks - I decided to go with check_open_files.pl http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/check-open-files/details I didn't find help_me/read_me info for this plugin. After I installed it on the target box into /usr/local/nagios/libexec and just executed it, I got: ---------- [root at target_host libexec]# ./check_open_files.pl Usage: -w -c [-t ] [-v version] [-h help] [root at target_host libexec]# ====== That told me that I should run it at least with "-w some_value1 -c some_value2" Then I tried to run it with different -w -c values and I am not clear why I am getting different threshold values (bold, red) : =============== [root@ target_host libexec]# ./check_open_files.pl -w 500 -c 10000 OK: open files (4590) is below threshold (16194515/323890300)|open_files=4590;16194515;323890300 [root@ target_host libexec]# ./check_open_files.pl -w 1000 -c 10000 OK: open files (4590) is below threshold (32389030/323890300)|open_files=4590;32389030;323890300 [root@ target_host libexec]# ./check_open_files.pl -w 10 -c 100 OK: open files (4590) is below threshold (323890/3238903)|open_files=4590;323890;3238903 =============== Why do I get in response 2 threshold values and why are they different each time I enter another number of warning and critical limits? =============== By the way, total system files limits on the target box is: [root@ target_host libexec]# cat /proc/sys/fs/file-max 3238903 =============== Thanks. -----Original Message----- From: Edwin Zoeller [mailto:Edwin.Zoeller at ama-assn.org] Sent: Friday, June 08, 2012 8:47 AM To: Nagios Users List Subject: Re: [Nagios-users] monitor number of open files on linux Check_open_files.pl -----Original Message----- From: Parkman, Mikhail [mailto:Mikhail_Parkman at cable.comcast.com] Sent: Friday, June 08, 2012 10:20 AM To: Nagios Users List Subject: [Nagios-users] monitor number of open files on linux Can somebody recommend plugin to monitor number of opened files. Thanks. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allanc at chickenandporn.com Fri Jun 8 23:08:30 2012 From: allanc at chickenandporn.com (Allan Clark) Date: Fri, 8 Jun 2012 14:08:30 -0700 Subject: monitor number of open files on linux In-Reply-To: References: Message-ID: On Fri, Jun 8, 2012 at 1:53 PM, Parkman, Mikhail < Mikhail_Parkman at cable.comcast.com> wrote: > Thanks - I decided to go with check_open_files.pl > * > http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/check-open-files/details > * > > I didn't find help_me/read_me info for this plugin. > After I installed it on the target box into /usr/local/nagios/libexec and > just executed it, I got: > ---------- > [root at target_host libexec]# ./check_open_files.pl > Usage: -w -c [-t ] [-v version] [-h help] > [root at target_host libexec]# > ====== > That told me that I should run it at least with "-w some_value1 -c > some_value2" > Then I tried to run it with different -w -c values and I am not clear why > I am getting different threshold values (bold, red) : > =============== > [root@ target_host libexec]# ./check_open_files.pl -w 500 -c 10000 > OK: open files (4590) is below threshold (*16194515/323890300* > )|open_files=4590;*16194515;323890300* > [root@ target_host libexec]# ./check_open_files.pl -w 1000 -c 10000 > OK: open files (4590) is below threshold (*32389030/323890300* > )|open_files=4590;*32389030;323890300* > [root@ target_host libexec]# ./check_open_files.pl -w 10 -c 100 > OK: open files (4590) is below threshold (*323890/3238903* > )|open_files=4590;*323890;3238903* > =============== > Why do I get in response 2 threshold values and why are they different > each time I enter another number of warning and critical limits? > Clearly, in general terms compared to other plugins: 1) you're getting "OK" because 4590 is less than the thresholds you've set; had it exceeded 323890 (in the -w10 example) then you'd get WARN, and if it exceeded the other, an ERROR response. The actual thresholds are returned back because they are based on a calculation, and when the values are below, but the suer thinks they shouldn't be, the Nagios/Icinga screen would show the ref values as well as a comment. 2) your question as to why the numbers change might be more complex than I'm reading, but it's clearly taking % of total system files as a threshold: -w 500 --> 500% of (cat /proc/sys/fs/file-max) ==> 16194515 -c 10000 --> 10000% of (cat /proc/sys/fs/file-max) ==> 323890300 Have I misread your question(s)? I would suggest you set your thresholds to alarm on percentages; I'm not sure 50% and 80% are good numbers, but "-w 50 -c 80" would achieve those. Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 8 23:53:41 2012 From: jake at demonware.net (Jake Xu) Date: Fri, 8 Jun 2012 14:53:41 -0700 Subject: check_ping strange behavior with google In-Reply-To: <4FD199D8.5010106@omnilogic.ro> References: <4FD05031.7010304@omnilogic.ro> <20120607155636.GD16045381@CIS.FU-Berlin.DE> <20120607192625.GE16045381@CIS.FU-Berlin.DE> <20120607201032.GG16045381@CIS.FU-Berlin.DE> <20120607203238.GH16045381@CIS.FU-Berlin.DE> <4FD199D8.5010106@omnilogic.ro> Message-ID: Thank you Holger. That fixes a red light for me! On Thu, Jun 7, 2012 at 11:21 PM, Cosmin Neagu wrote: > You were right. It need to be told to use ipv4 with -4 switch. > Thanks > > Cosmin Neagu > NOC Team Leader > Str. I. G. Duca nr. 36 > Otopeni, Judetul Ilfov, 075100 Romania > www.omnilogic.ro > > > On 06/07/2012 11:32 PM, Holger Wei? wrote: > > * Travis Runyard [2012-06-07 13:18]: > >> It does work but I was using google.com which doesn't. Strange because > >> it is pingable but returns network unreachable with check_ping. > > See my initial reply in this thread: > > > > | The hostname www.google.ro now? also resolves to an IPv6 address, and > > | check_ping has issues with IPv6 dependending on the ping6(1) > > | implementation used. These issues will hopefully be fixed in the next > > | release of the Nagios Plugins; until then, "check_ping -4 [...]" should > > | do the trick. > > > > [ http://article.gmane.org/gmane.network.nagios.user/73851 ] > > > > Holger > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mikhail_Parkman at cable.comcast.com Fri Jun 8 23:30:45 2012 From: Mikhail_Parkman at cable.comcast.com (Parkman, Mikhail) Date: Fri, 8 Jun 2012 21:30:45 +0000 Subject: monitor number of open files on linux In-Reply-To: References: Message-ID: Thank you, Allan - yes this so obvious after you spelled it out for met. Somehow I was thinking in the absolute numbers of open files instead of % of total. From: Allan Clark [mailto:allanc at chickenandporn.com] Sent: Friday, June 08, 2012 2:09 PM To: Nagios Users List Subject: Re: [Nagios-users] monitor number of open files on linux On Fri, Jun 8, 2012 at 1:53 PM, Parkman, Mikhail > wrote: Thanks - I decided to go with check_open_files.pl http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/check-open-files/details I didn't find help_me/read_me info for this plugin. After I installed it on the target box into /usr/local/nagios/libexec and just executed it, I got: ---------- [root at target_host libexec]# ./check_open_files.pl Usage: -w -c [-t ] [-v version] [-h help] [root at target_host libexec]# ====== That told me that I should run it at least with "-w some_value1 -c some_value2" Then I tried to run it with different -w -c values and I am not clear why I am getting different threshold values (bold, red) : =============== [root@ target_host libexec]# ./check_open_files.pl -w 500 -c 10000 OK: open files (4590) is below threshold (16194515/323890300)|open_files=4590;16194515;323890300 [root@ target_host libexec]# ./check_open_files.pl -w 1000 -c 10000 OK: open files (4590) is below threshold (32389030/323890300)|open_files=4590;32389030;323890300 [root@ target_host libexec]# ./check_open_files.pl -w 10 -c 100 OK: open files (4590) is below threshold (323890/3238903)|open_files=4590;323890;3238903 =============== Why do I get in response 2 threshold values and why are they different each time I enter another number of warning and critical limits? Clearly, in general terms compared to other plugins: 1) you're getting "OK" because 4590 is less than the thresholds you've set; had it exceeded 323890 (in the -w10 example) then you'd get WARN, and if it exceeded the other, an ERROR response. The actual thresholds are returned back because they are based on a calculation, and when the values are below, but the suer thinks they shouldn't be, the Nagios/Icinga screen would show the ref values as well as a comment. 2) your question as to why the numbers change might be more complex than I'm reading, but it's clearly taking % of total system files as a threshold: -w 500 --> 500% of (cat /proc/sys/fs/file-max) ==> 16194515 -c 10000 --> 10000% of (cat /proc/sys/fs/file-max) ==> 323890300 Have I misread your question(s)? I would suggest you set your thresholds to alarm on percentages; I'm not sure 50% and 80% are good numbers, but "-w 50 -c 80" would achieve those. Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From durwin at mgtsciences.com Fri Jun 8 22:52:56 2012 From: durwin at mgtsciences.com (durwin at mgtsciences.com) Date: Fri, 8 Jun 2012 14:52:56 -0600 Subject: Graph url being changed. Message-ID: I have installed Fedora 17 and copied my Fedora 15 configuration files over. Nagios works, data is collected. However, when I click the icon to display pnp4nagios graph I find my url has been changed and of course it can't find what it is suppose to display. Below you can see under Fedroa 17 label that the next line has changed. Under Fedora 15 label, it is unchanged. I can image something in configuration has changed, but what? I am using the same nagios.conf in httpd/conf.d/. FEDORA 17 172.23.93.249 - nagios [08/Jun/2012:14:01:26 -0600] "GET /nagios/pnp4nagios/index.php?host=comcast&srv=Packet%20Loss HTTP/1.1" 302 90 "http://172.23.93.6/nagios/cgi-bin//status.cgi?host=all" "Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2" 172.23.93.249 - nagios [08/Jun/2012:14:01:26 -0600] "GET /nagios/pnp4nagios/graph HTTP/1.1" 404 298 " http://172.23.93.6/nagios/cgi-bin//status.cgi?host=all" "Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2" FEDORA 15 172.23.93.249 - nagios [08/Jun/2012:14:01:29 -0600] "GET /nagios/pnp4nagios/index.php?host=comcast&srv=Packet%20Loss HTTP/1.1" 200 12319 "http://172.23.93.7/nagios/cgi-bin//status.cgi?host=all" "Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2" 172.23.93.249 - nagios [08/Jun/2012:14:01:30 -0600] "GET /nagios/pnp4nagios/index.php?host=comcast&srv=Packet_Loss&source=2&view=2&end=1339185689&display=image HTTP/1.1" 200 12938 " http://172.23.93.7/nagios/pnp4nagios/index.php?host=comcast&srv=Packet%20Loss " "Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2" Thank you, Durwin This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary and/or confidential information which may be privileged or otherwise protected from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient(s), please contact the sender by reply email and destroy the original message and any copies of the message as well as any attachments to the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Sun Jun 10 14:38:36 2012 From: ampranti at gmail.com (Andreas Brandino) Date: Sun, 10 Jun 2012 15:38:36 +0300 Subject: Large scale installation Message-ID: Hi all, my nagios installation has currently 400+ hosts and around 1400 checks. As the server load grows, delays are appearing. Is any way to move a part of active checks to a second nagios server? And in that case how will these two nagios servers exchange data? If this is feasible can you point me to some documentation? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Sun Jun 10 14:28:16 2012 From: ampranti at gmail.com (Brandino Andreas) Date: Sun, 10 Jun 2012 15:28:16 +0300 Subject: [SPAM] Large installation Message-ID: <889559939.20120610152816@gmail.com> Hi all, my nagios installation has currently 400+ hosts and around 1400 checks. As the server load grows, delays are appearing. Is any way to move a part of active checks to a second nagios server? And in that case how will these two nagios servers exchange data? If this is feasible can you point me to some documentation? Thank you <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 11 17:28:21 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Mon, 11 Jun 2012 15:28:21 +0000 Subject: Large scale installation In-Reply-To: References: Message-ID: <25276A46-CBA1-47E8-9E4B-CB9DFC4C6202@statefarm.com> Take a look at mod_gearman for distributing the checks: http://labs.consol.de/lang/de/nagios/mod-gearman/ Dan On Jun 10, 2012, at 7:38 AM, Andreas Brandino wrote: Hi all, my nagios installation has currently 400+ hosts and around 1400 checks. As the server load grows, delays are appearing. Is any way to move a part of active checks to a second nagios server? And in that case how will these two nagios servers exchange data? If this is feasible can you point me to some documentation? Thank you ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 11 17:25:46 2012 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 11 Jun 2012 16:25:46 +0100 Subject: Large scale installation In-Reply-To: References: Message-ID: <4FD60DFA.6060805@flatto.net> See the documentation on distributed monitoring . Also check out check_mk and mod_gearman. Assaf On 10/06/12 13:38, Andreas Brandino wrote: > Hi all, > > my nagios installation has currently 400+ hosts and around 1400 checks. > As the server load grows, delays are appearing. > > Is any way to move a part of active checks to a second nagios server? > And in that case how will these two nagios servers exchange data? > If this is feasible can you point me to some documentation? > > Thank you > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 11 17:54:02 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Mon, 11 Jun 2012 15:54:02 +0000 Subject: Large scale installation In-Reply-To: References: Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D2AE84A@HC-EXMBX03.herefordshire.gov.uk> What's the spec of your nagios server? We're checking (around) 500 hosts, 4500 active, 5000 passive service with Nagios 3.4.1 in a CentOS 5.8 VM with 2GB RAM, 4 vCPUs, without problems with the help of check_mk /mk_livestatus (http://mathias-kettner.de/check_mk.html) Also using pnp4nagios and rrdcached and ramdisk for checkresults. Large installation config tweaks, and tuning the check result reaper frequency all help even out the load. 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: Andreas Brandino [mailto:ampranti at gmail.com] Sent: 10 June 2012 13:39 To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Large scale installation Hi all, my nagios installation has currently 400+ hosts and around 1400 checks. As the server load grows, delays are appearing. Is any way to move a part of active checks to a second nagios server? And in that case how will these two nagios servers exchange data? If this is feasible can you point me to some documentation? Thank you "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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Mon Jun 11 18:34:58 2012 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Mon, 11 Jun 2012 17:34:58 +0100 Subject: Large scale installation References: <7CA580B59C1ABD45B4614ED90D4C7B853D2AE84A@HC-EXMBX03.herefordshire.gov.uk> Message-ID: Doesn't it depend on how often you're performing the checks too? 1000 checks every 10 seconds is harder than 10,000 checks every hour. We have 589 hosts/3619 service on a 2 cpu 2.8GHz xeon with 1GB of ram, which does other things too. The machine is about 8-10 years old. The checks are scheduled every 4 minutes, however only 45% have run in the last 4 minutes. 95% have run in the last 15. This is with nagios2, which has issues like blocking when hosts are down (32 currently are) though. -----Original Message----- From: Randal, Phil [mailto:phil.randal at hoopleltd.co.uk] Sent: Mon 11/06/2012 4:54 PM To: Nagios Users List Subject: Re: [Nagios-users] Large scale installation What's the spec of your nagios server? We're checking (around) 500 hosts, 4500 active, 5000 passive service with Nagios 3.4.1 in a CentOS 5.8 VM with 2GB RAM, 4 vCPUs, without problems with the help of check_mk /mk_livestatus (http://mathias-kettner.de/check_mk.html) Also using pnp4nagios and rrdcached and ramdisk for checkresults. Large installation config tweaks, and tuning the check result reaper frequency all help even out the load. 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: Andreas Brandino [mailto:ampranti at gmail.com] Sent: 10 June 2012 13:39 To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Large scale installation Hi all, my nagios installation has currently 400+ hosts and around 1400 checks. As the server load grows, delays are appearing. Is any way to move a part of active checks to a second nagios server? And in that case how will these two nagios servers exchange data? If this is feasible can you point me to some documentation? Thank you "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. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Shankland at ricoh-rpl.com Mon Jun 11 12:19:35 2012 From: Peter.Shankland at ricoh-rpl.com (Peter.Shankland at ricoh-rpl.com) Date: Mon, 11 Jun 2012 11:19:35 +0100 Subject: check_snmp_ibm_imm.sh Plugin Help In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB729C6917CF@off-win2003-01.ausregistrygroup.local> <4FC883CD.3040500@coochey.net> Message-ID: When I run the following command, to check running it against the nagios user: su nagios -s /bin/bash -c "./check_snmp_ibm_imm.sh -H 172.29.13.16 -C 4H2KZNpX -T voltage" I do get correct output: Planar 3.3V = 3250 Planar 5V = 4900 Planar 12V = 11880 Planar VBAT = 2920 |Voltage1=3250;;;; Voltage2=4900;;;; Voltage3=11880;;;; Voltage4=2920;;;; Within Nagios, I am using the IP address of the IMM card and not a DNS name of either the IMM or physical server. Any ideas? Thanks. Jake Xu 04/06/2012 21:32 Please respond to Nagios Users List To Nagios Users List , cc Subject Re: [Nagios-users] check_snmp_ibm_imm.sh Plugin Help In the HOSTNAME variable, you might want to use the ip of the IMM instead of the ip of the host. IBM server itself doesn't support this IMM check. You should be running the check against the IBM IMM device. Jake On Fri, Jun 1, 2012 at 1:56 AM, Giles Coochey wrote: On 01/06/2012 00:18, Stuart Browne wrote: What happens when you run this check as the user Nagios runs as (usually 'nagios')? Stuart From: Peter.Shankland at ricoh-rpl.com [mailto:Peter.Shankland at ricoh-rpl.com] Sent: Thursday, 31 May 2012 8:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp_ibm_imm.sh Plugin Help Hi all, I am trying to use the check_snmp_ibm_imm.sh plugin from Nagios Exchange ( http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/IBM/check_snmp_ibm_imm-2Esh/details ) but am having issues with getting a status back through Nagios - command line seems to work fine. As an example, when I run "./check_snmp_ibm_imm.sh -H -C -T voltage" at the command line of the Nagios server I get output: So this shows that the plugin is working fine. However, when I then translate that into Nagios with the new command of: Not quite - I don't see a status of OK / WARNING or CRITICAL - and this doesn't show you the exit code of the check either. I don't know this plugin, but are there any parameters for warning or critical ? You may need to put these in. At the moment it is only returning performance data to you. I just get the following: It is obviously something I am doing wrong in Nagios but could do with a push in the right direction :) Thanks. Pete. Peter Shankland TECHNICAL NETWORK SPECIALIST IT DEPARTMENT DD:+44 (0) 1952 205160 F:+44 (0) 1952 213100 M:+44 (0) 7919 444077 E: Peter.Shankland at ricoh-rpl.com Ricoh UK Products Limited Priorslee | Telford | Shropshire | TF2 9NS T: +44 (0) 1952 290090 Please do not print this email unless absolutely necessary in order to save paper and energy, and you will contribute to resource conservation and CO2 reduction. This email including attachments is intended for the addressee(s) only. It may be labelled confidential/ private and contain confidential/private information. Please respect the wishes of the sender in the way you treat this email and the information contained within. If in doubt clarify the wishes of the sender before acting. If you have received this email in error, you may not review, copy or forward this message in whole or in part. Ricoh UK Products employees should delete from their system and notify us of the error via the ISMS Security Incident Reporting database. External recipients should delete from their system and alert us via email, advising the name of the sender and the time and date of receipt. Any views expressed in this email may not necessarily reflect those of Ricoh UK Products Ltd. You should ensure that the onward transmission, opening or use of this message or attachments will not adversely affect your system or data and carry out anti-virus checks before downloading. Internet communications are not secure and therefore Ricoh UK Products Ltd accepts no responsibility for any direct, indirect or consequential damage resulting from the transmission of this message. Registered in England No. 1763860 Registered Office: Ricoh UK Products Limited, Priorslee, Telford, Shropshire, TF2 9NS ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Regards, Giles Coochey, CCNA, CCNAS NetSecSpec Ltd +44 (0) 7983 877438 http://www.coochey.net http://www.netsecspec.co.uk giles at coochey.net ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Peter Shankland TECHNICAL NETWORK SPECIALIST IT DEPARTMENT DD:+44 (0) 1952 205160 F:+44 (0) 1952 213100 M:+44 (0) 7919 444077 E: Peter.Shankland at ricoh-rpl.com Ricoh UK Products Limited Priorslee | Telford | Shropshire | TF2 9NS T: +44 (0) 1952 290090 Please do not print this email unless absolutely necessary in order to save paper and energy, and you will contribute to resource conservation and CO2 reduction. This email including attachments is intended for the addressee(s) only. It may be labelled confidential/ private and contain confidential/private information. Please respect the wishes of the sender in the way you treat this email and the information contained within. If in doubt clarify the wishes of the sender before acting. If you have received this email in error, you may not review, copy or forward this message in whole or in part. Ricoh UK Products employees should delete from their system and notify us of the error via the ISMS Security Incident Reporting database. External recipients should delete from their system and alert us via email, advising the name of the sender and the time and date of receipt. Any views expressed in this email may not necessarily reflect those of Ricoh UK Products Ltd. You should ensure that the onward transmission, opening or use of this message or attachments will not adversely affect your system or data and carry out anti-virus checks before downloading. Internet communications are not secure and therefore Ricoh UK Products Ltd accepts no responsibility for any direct, indirect or consequential damage resulting from the transmission of this message. Registered in England No. 1763860 Registered Office: Ricoh UK Products Limited, Priorslee, Telford, Shropshire, TF2 9NS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1119 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 566 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 11 14:31:02 2012 From: mad at b-care.net (MAD) Date: Mon, 11 Jun 2012 14:31:02 +0200 Subject: Passive freshness checks go wrong Message-ID: <4FD5E506.5050406@b-care.net> Hi, I have a Nagios 3.2.3 box on an Ubuntu server 11.04 with about 930 hosts and 28500 services. For each host, I have 5 passive checks mapped on SNMP Traps. In order to secure those checks, I set up a freshness checks using check_dummy and a freshness threshold of 15min, as I normally receive traps every 10min. When I added 5 hosts to Nagios, all my passive checks went progressively to a critical status saying that "return code of 127 is out of bound - plugin may be missing". I didn't touch my commands.cfg file nor my services files, I have only added 5 files to my hosts configuration directory and reloaded nagios. Has somebody already seen that kind of behaviour? Thanks in advance, Marc-Andr? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 11 20:16:17 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 11 Jun 2012 20:16:17 +0200 Subject: [SPAM] Large installation In-Reply-To: <889559939.20120610152816@gmail.com> References: <889559939.20120610152816@gmail.com> Message-ID: I think mod_gearman is what you're looking for: http://labs.consol.de/lang/en/nagios/mod-gearman/ Also 1400 checks is not that huge of a setup. You can also specify check_interval for certain checks which don't need to be executed every now and then (e.g. Disk Space Utilization, HDD Smart Status or validity of SSL certificates). This can help a lot to bring down the load on your Nagios server. On Sun, Jun 10, 2012 at 2:28 PM, Brandino Andreas wrote: > Hi all, > > my nagios installation has currently 400+ hosts and around 1400 checks. > As the server load grows, delays are appearing. > > Is any way to move a part of active checks to a second nagios server? > And in that case how will these two nagios servers exchange data? > If this is feasible can you point me to some documentation? > > Thank you > > <> --- - - - --- <> > Brandino Andreas > ampranti at gmail.com > <> --- - - - --- <> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Mon Jun 11 20:38:32 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Mon, 11 Jun 2012 20:38:32 +0200 Subject: Large scale installation In-Reply-To: References: Message-ID: <8C04D03B-2354-441B-8C33-ED3BF4EE725E@linux.it> Hi, there are some key factors involved in high delays: iowait Ciao, Giorgio Il giorno 10/giu/2012, alle ore 14:38, Andreas Brandino ha scritto: > Hi all, > > my nagios installation has currently 400+ hosts and around 1400 checks. > As the server load grows, delays are appearing. > > Is any way to move a part of active checks to a second nagios server? > And in that case how will these two nagios servers exchange data? > If this is feasible can you point me to some documentation? > > Thank you > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Mon Jun 11 21:40:18 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Mon, 11 Jun 2012 21:40:18 +0200 (CEST) Subject: Large scale installation In-Reply-To: References: Message-ID: Hi, I suggest to review your installation. Try with the large installation tweaks http://nagios.sourceforge.net/docs/3_0/largeinstalltweaks.html. Then, check whether you need all your checks at 5 mins or you can move some of them to 10 mins pace. Then, review your check plugins: Perl plugins eat more memory and CPU cycles then C compiled checks. If they support EPN http://nagios.sourceforge.net/docs/3_0/embeddedperl.html, use it, it makes your plugin faster and lighter. Then, check your checks. Some checks return data slower then others. Let's say, SNMP checks are not lightning fast. Then, check your graphs. Graphing perfdata takes CPU cycles and uses memory. Do you need all your graphs? Then, get rid of NDOUtils. They are chocking all the way, not efficient, clumsy, old and heavy. If you want to store your data in MySQL, use Merlin instead. Anyway, did you tune your MySQL? Is it causing too much I/O? Is it munching too much RAM or CPU cycles? Did you tune your Apache or http server? Does it cope with your needs? Is it munching too much RAM or CPU cycles? If you want live infos about your hosts and services, let's say to use with Navis, grab MKlive: it's blazing fast and gives you access to the core Nagios process. Are you using a virtualized environment? If so, remember that I/O layer in virtualized environments has a poor performance, use fast and real disks and your I/O will drop dramatically. Try to move status.dat to /dev/shm. The latter is a ram disk ready to use and writing in ram is always faster then writing on disk. Avoid logging too much, it increases I/O and takes CPU and RAM. What iotop and iostat are telling you? What do you see in top or htop? If you can or wish, compile all from sources, it will go faster on your system. You can use passive checks with NSCA or NRDP to reduce load, even though I do not like them a lot. These are just few ideas that came to my mind. Let's talk about sharing load. You can use different methods: Merlin (http://www.op5.org/community/plugin-inventory/op5-projects/merlin): gives you loadbalancing and redundancy. I use it for Ninja, never used for load balancing and redundancy. DNX (http://dnx.sourceforge.net/): Something new, it's gaining momentum, good to offload the checks. Worth to give a try. Mod_gearman (http://labs.consol.de/lang/de/nagios/mod-gearman/): Love at first site :-) Easy, powerful, load balancing and fault tolerant. Compile gearmand with memcached support and all the result checks will go directly to ram, avoiding I/O on disk. It's really simple to setup, if one of the workers go down, the others will share its work. Be careful: security is a problem, there is not a good auth system, but using a VPN will solve the problem. Efficient, I use a virtual machine with 2 cores and 2 gb of ram to make about 5K checks. And the load is not a concern. You need more horse power? Add a worker. You have some checks timing out due to poor connections to the targets? Put a worker close to the target, but be careful, the timing, let's say the rta of a ping, will be from the worker perspective. Well, hope it helps. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 12 02:34:07 2012 From: jake at demonware.net (Jake Xu) Date: Mon, 11 Jun 2012 17:34:07 -0700 Subject: Large scale installation In-Reply-To: References: Message-ID: Also, you might want to find out the performance of your service checks. The nagios profiler is a very good tool to find execution time of individual services. http://exchange.nagios.org/directory/Plugins/Network-and-Systems-Management/Nagios/Profiler-to-check-plugin-execution-time/details On Mon, Jun 11, 2012 at 12:40 PM, Giorgio Zarrelli wrote: > Hi, > > I suggest to review your installation. Try with the large installation > tweaks http://nagios.sourceforge.net/docs/3_0/largeinstalltweaks.html. > > Then, check whether you need all your checks at 5 mins or you can move > some of them to 10 mins pace. > > Then, review your check plugins: Perl plugins eat more memory and CPU > cycles then C compiled checks. If they support EPN > http://nagios.sourceforge.net/docs/3_0/embeddedperl.html, use it, it makes > your plugin faster and lighter. > > Then, check your checks. Some checks return data slower then others. Let's > say, SNMP checks are not lightning fast. > > Then, check your graphs. Graphing perfdata takes CPU cycles and uses > memory. Do you need all your graphs? > > Then, get rid of NDOUtils. They are chocking all the way, not efficient, > clumsy, old and heavy. If you want to store your data in MySQL, use Merlin > instead. > > Anyway, did you tune your MySQL? Is it causing too much I/O? Is it > munching too much RAM or CPU cycles? > > Did you tune your Apache or http server? Does it cope with your needs? Is > it munching too much RAM or CPU cycles? > > If you want live infos about your hosts and services, let's say to use > with Navis, grab MKlive: it's blazing fast and gives you access to the > core Nagios process. > > Are you using a virtualized environment? If so, remember that I/O layer in > virtualized environments has a poor performance, use fast and real disks > and your I/O will drop dramatically. > > Try to move status.dat to /dev/shm. The latter is a ram disk ready to use > and writing in ram is always faster then writing on disk. > > Avoid logging too much, it increases I/O and takes CPU and RAM. > > What iotop and iostat are telling you? > > What do you see in top or htop? > > If you can or wish, compile all from sources, it will go faster on your > system. > > You can use passive checks with NSCA or NRDP to reduce load, even though I > do not like them a lot. > > These are just few ideas that came to my mind. > > > Let's talk about sharing load. > > You can use different methods: > > Merlin > (http://www.op5.org/community/plugin-inventory/op5-projects/merlin): gives > you loadbalancing and redundancy. I use it for Ninja, never used for load > balancing and redundancy. > > DNX (http://dnx.sourceforge.net/): Something new, it's gaining momentum, > good to offload the checks. Worth to give a try. > > Mod_gearman (http://labs.consol.de/lang/de/nagios/mod-gearman/): Love at > first site :-) Easy, powerful, load balancing and fault tolerant. Compile > gearmand with memcached support and all the result checks will go directly > to ram, avoiding I/O on disk. It's really simple to setup, if one of the > workers go down, the others will share its work. Be careful: security is a > problem, there is not a good auth system, but using a VPN will solve the > problem. Efficient, I use a virtual machine with 2 cores and 2 gb of ram > to make about 5K checks. And the load is not a concern. You need more > horse power? Add a worker. You have some checks timing out due to poor > connections to the targets? Put a worker close to the target, but be > careful, the timing, let's say the rta of a ping, will be from the worker > perspective. > > Well, hope it helps. > > > > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at griggle.net Tue Jun 12 03:59:23 2012 From: ian at griggle.net (Ian Orszaczki) Date: Tue, 12 Jun 2012 11:59:23 +1000 Subject: Large scale installation In-Reply-To: References: Message-ID: Great advice. Funny you should mention status.dat in ramdisk as we have hit a hiccup this morning which has meant we have lost comments and downtimes. We had moved status.dat to a ramdisk as recommended for large installations (we monitoring 3390 hosts with 18748 services from one server, latencies below 2 secs and load under 2) but after running out of open files the status.dat was zero'd. As an extreme hack I ran a quick script across the output of - # grep EXTERNAL nagios.log | grep ACK | cut -c57- > /tmp/acks.txt Script - #!/bin/sh # This is a sample shell script showing how you can submit the ACKNOWLEDGE_HOST_PROBLEM command # to Nagios. Adjust variables to fit your environment as necessary. now=`date +%s` commandfile='/app/nagios/var/rw/nagios.cmd' cat /tmp/acks.txt | while read line do echo $line /usr/bin/printf "[%lu] $line\n" $now > $commandfile done Therefore I am going to move status.dat back onto the localdisk (luckily SSD drives) so that we can at least restore from a recent backup. I will probably also create valid copy, along with retention.dat, every hour to enable quick recovery. And yes, I have increased the process and open files limits for the nagios user. Am I missing anything obvious > On Tue, Jun 12, 2012 at 5:40 AM, Giorgio Zarrelli wrote: > Hi, > > I suggest to review your installation. Try with the large installation > tweaks http://nagios.sourceforge.net/docs/3_0/largeinstalltweaks.html. > > Then, check whether you need all your checks at 5 mins or you can move > some of them to 10 mins pace. > > Then, review your check plugins: Perl plugins eat more memory and CPU > cycles then C compiled checks. If they support EPN > http://nagios.sourceforge.net/docs/3_0/embeddedperl.html, use it, it makes > your plugin faster and lighter. > > Then, check your checks. Some checks return data slower then others. Let's > say, SNMP checks are not lightning fast. > > Then, check your graphs. Graphing perfdata takes CPU cycles and uses > memory. Do you need all your graphs? > > Then, get rid of NDOUtils. They are chocking all the way, not efficient, > clumsy, old and heavy. If you want to store your data in MySQL, use Merlin > instead. > > Anyway, did you tune your MySQL? Is it causing too much I/O? Is it > munching too much RAM or CPU cycles? > > Did you tune your Apache or http server? Does it cope with your needs? Is > it munching too much RAM or CPU cycles? > > If you want live infos about your hosts and services, let's say to use > with Navis, grab MKlive: it's blazing fast and gives you access to the > core Nagios process. > > Are you using a virtualized environment? If so, remember that I/O layer in > virtualized environments has a poor performance, use fast and real disks > and your I/O will drop dramatically. > > Try to move status.dat to /dev/shm. The latter is a ram disk ready to use > and writing in ram is always faster then writing on disk. > > Avoid logging too much, it increases I/O and takes CPU and RAM. > > What iotop and iostat are telling you? > > What do you see in top or htop? > > If you can or wish, compile all from sources, it will go faster on your > system. > > You can use passive checks with NSCA or NRDP to reduce load, even though I > do not like them a lot. > > These are just few ideas that came to my mind. > > > Let's talk about sharing load. > > You can use different methods: > > Merlin > (http://www.op5.org/community/plugin-inventory/op5-projects/merlin): gives > you loadbalancing and redundancy. I use it for Ninja, never used for load > balancing and redundancy. > > DNX (http://dnx.sourceforge.net/): Something new, it's gaining momentum, > good to offload the checks. Worth to give a try. > > Mod_gearman (http://labs.consol.de/lang/de/nagios/mod-gearman/): Love at > first site :-) Easy, powerful, load balancing and fault tolerant. Compile > gearmand with memcached support and all the result checks will go directly > to ram, avoiding I/O on disk. It's really simple to setup, if one of the > workers go down, the others will share its work. Be careful: security is a > problem, there is not a good auth system, but using a VPN will solve the > problem. Efficient, I use a virtual machine with 2 cores and 2 gb of ram > to make about 5K checks. And the load is not a concern. You need more > horse power? Add a worker. You have some checks timing out due to poor > connections to the targets? Put a worker close to the target, but be > careful, the timing, let's say the rta of a ping, will be from the worker > perspective. > > Well, hope it helps. > > > > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Tue Jun 12 07:24:35 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 12 Jun 2012 07:24:35 +0200 Subject: Large scale installation In-Reply-To: References: Message-ID: <9FFA6BD3-B1B9-47E7-9C95-336A4DAF73C9@linux.it> Hi, You are right., open files IS a major concern I forgot to mention. A quick and dirty method to solve it is to raise the number of open files putting ulimit command folllowed by a high value in The Nagios startup script. ulimit -a will tell The current system wirde ulimit value. Lucky you, ssd disks are a good improvement! Ciao, Giorgio Il giorno 12/giu/2012, alle ore 03:59, Ian Orszaczki ha scritto: > > Great advice. Funny you should mention status.dat in ramdisk as we have hit a hiccup this morning which has meant we have lost comments and downtimes. > > We had moved status.dat to a ramdisk as recommended for large installations (we monitoring 3390 hosts with 18748 services from one server, latencies below 2 secs and load under 2) but after running out of open files the status.dat was zero'd. > > > As an extreme hack I ran a quick script across the output of - > # grep EXTERNAL nagios.log | grep ACK | cut -c57- > /tmp/acks.txt > > Script - > > > #!/bin/sh > > > # This is a sample shell script showing how you can submit the ACKNOWLEDGE_HOST_PROBLEM command > > > # to Nagios. Adjust variables to fit your environment as necessary. > > > now=`date +%s` > > > commandfile='/app/nagios/var/rw/nagios.cmd' > > > cat /tmp/acks.txt | while read line > > > do > > > echo $line > > > /usr/bin/printf "[%lu] $line\n" $now > $commandfile > > > done > > Therefore I am going to move status.dat back onto the localdisk (luckily SSD drives) so that we can at least restore from a recent backup. I will probably also create valid copy, along with retention.dat, every hour to enable quick recovery. And yes, I have increased the process and open files limits for the nagios user. > > Am I missing anything obvious > > > > On Tue, Jun 12, 2012 at 5:40 AM, Giorgio Zarrelli wrote: > Hi, > > I suggest to review your installation. Try with the large installation > tweaks http://nagios.sourceforge.net/docs/3_0/largeinstalltweaks.html. > > Then, check whether you need all your checks at 5 mins or you can move > some of them to 10 mins pace. > > Then, review your check plugins: Perl plugins eat more memory and CPU > cycles then C compiled checks. If they support EPN > http://nagios.sourceforge.net/docs/3_0/embeddedperl.html, use it, it makes > your plugin faster and lighter. > > Then, check your checks. Some checks return data slower then others. Let's > say, SNMP checks are not lightning fast. > > Then, check your graphs. Graphing perfdata takes CPU cycles and uses > memory. Do you need all your graphs? > > Then, get rid of NDOUtils. They are chocking all the way, not efficient, > clumsy, old and heavy. If you want to store your data in MySQL, use Merlin > instead. > > Anyway, did you tune your MySQL? Is it causing too much I/O? Is it > munching too much RAM or CPU cycles? > > Did you tune your Apache or http server? Does it cope with your needs? Is > it munching too much RAM or CPU cycles? > > If you want live infos about your hosts and services, let's say to use > with Navis, grab MKlive: it's blazing fast and gives you access to the > core Nagios process. > > Are you using a virtualized environment? If so, remember that I/O layer in > virtualized environments has a poor performance, use fast and real disks > and your I/O will drop dramatically. > > Try to move status.dat to /dev/shm. The latter is a ram disk ready to use > and writing in ram is always faster then writing on disk. > > Avoid logging too much, it increases I/O and takes CPU and RAM. > > What iotop and iostat are telling you? > > What do you see in top or htop? > > If you can or wish, compile all from sources, it will go faster on your > system. > > You can use passive checks with NSCA or NRDP to reduce load, even though I > do not like them a lot. > > These are just few ideas that came to my mind. > > > Let's talk about sharing load. > > You can use different methods: > > Merlin > (http://www.op5.org/community/plugin-inventory/op5-projects/merlin): gives > you loadbalancing and redundancy. I use it for Ninja, never used for load > balancing and redundancy. > > DNX (http://dnx.sourceforge.net/): Something new, it's gaining momentum, > good to offload the checks. Worth to give a try. > > Mod_gearman (http://labs.consol.de/lang/de/nagios/mod-gearman/): Love at > first site :-) Easy, powerful, load balancing and fault tolerant. Compile > gearmand with memcached support and all the result checks will go directly > to ram, avoiding I/O on disk. It's really simple to setup, if one of the > workers go down, the others will share its work. Be careful: security is a > problem, there is not a good auth system, but using a VPN will solve the > problem. Efficient, I use a virtual machine with 2 cores and 2 gb of ram > to make about 5K checks. And the load is not a concern. You need more > horse power? Add a worker. You have some checks timing out due to poor > connections to the targets? Put a worker close to the target, but be > careful, the timing, let's say the rta of a ping, will be from the worker > perspective. > > Well, hope it helps. > > > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sd at o4s.nl Tue Jun 12 10:08:23 2012 From: sd at o4s.nl (Sven Dohmen) Date: Tue, 12 Jun 2012 10:08:23 +0200 Subject: Dell Openmanage Message-ID: Since several months we are using the Dell Openmanage plugin from http://folk.uio.no/trondham/software/check_openmanage.html. This has been working fine untill the last couple weeks. For some servers we are getting the following results back: W: Controller 0 [PERC 6/i Integrated]: Firmware '6.2.0-0013' is out of date ------ SYSTEM: PowerEdge R710, SN: INTERNAL ERROR: Use of uninitialized value within %fw_type in string eq at (eval 1) line 4976. INTERNAL ERROR: Use of uninitialized value within %fw_type in pattern match (m//) at (eval 1) line 4980. I noticed this only happens when 1 of the drivers is out of date. Is there a solution for without directly updating the firmware (which is already planned over several weeks). Met vriendelijke groet / With kind regards, Sven Dohmen NOC Engineer Open for Support bv Amerikalaan 1 6199 AE Maastricht-Airport Tel +31 (0)43 88 000 88 Fax +31 (0)43 88 000 80 http://www.o4s.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btroi2003 at yahoo.fr Tue Jun 12 14:33:07 2012 From: btroi2003 at yahoo.fr (bruno beatrice) Date: Tue, 12 Jun 2012 13:33:07 +0100 (BST) Subject: check windows's manager tasks Message-ID: <1339504387.80636.YahooMailClassic@web132108.mail.ird.yahoo.com> hello, i'd like check my windows task manager. i'd like to receive a mail when it doesn't work. i don't nagios very well. Someone can explain me step by step how i must configure my nagios? thank's -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From henri.mjr at gmail.com Tue Jun 12 14:39:31 2012 From: henri.mjr at gmail.com (Henrique Machado) Date: Tue, 12 Jun 2012 09:39:31 -0300 Subject: Error: Service check command Message-ID: Hi. I'm trying to add the check_ftp command for one of my hosts. But i got this error: Error: Service check command 'check_ftp -H ftpserver' specified in service 'FTP' for host ' ftpserver' not defined anywhere! Checked 89 services. In my commands.cfg I have: # 'check_ftp' command definition define command{ command_name check_ftp command_line $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$ } What i'm missing? Tks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 12 15:18:22 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 12 Jun 2012 15:18:22 +0200 Subject: Error: Service check command In-Reply-To: References: Message-ID: On Tue, Jun 12, 2012 at 2:39 PM, Henrique Machado wrote: > Hi. > > I'm trying to add the check_ftp command for one of my hosts. But i got > this error: > > Error: Service check command 'check_ftp -H ftpserver' specified in service > 'FTP' for host ' ftpserver' not defined anywhere! > Checked 89 services. > > > In my commands.cfg I have: > > # 'check_ftp' command definition > define command{ > command_name check_ftp > command_line $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$ > } > > > What i'm missing? Show the service definition which fails. The command definition looks alright. > > Tks > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Tue Jun 12 19:50:46 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Tue, 12 Jun 2012 10:50:46 -0700 Subject: Error: Service check command In-Reply-To: References: Message-ID: Don't specify "-H ftpserver" in the service definition since the command already knows which host to check. Good: define service{ use generic-service hostgroup_name web-servers service_description FTP check_command check_ftp } Bad: define service{ use generic-service hostgroup_name web-servers service_description FTP check_command check_ftp -H ftpserver } On Tue, Jun 12, 2012 at 6:18 AM, Claudio Kuenzler wrote: > > On Tue, Jun 12, 2012 at 2:39 PM, Henrique Machado wrote: > >> Hi. >> >> I'm trying to add the check_ftp command for one of my hosts. But i got >> this error: >> >> Error: Service check command 'check_ftp -H ftpserver' specified in >> service 'FTP' for host ' ftpserver' not defined anywhere! >> Checked 89 services. >> >> >> In my commands.cfg I have: >> >> # 'check_ftp' command definition >> define command{ >> command_name check_ftp >> command_line $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$ >> } >> >> >> What i'm missing? > > > Show the service definition which fails. > The command definition looks alright. > > >> >> Tks >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giorgio.zarrelli at gmail.com Mon Jun 11 11:51:30 2012 From: giorgio.zarrelli at gmail.com (Giorgio Zarrelli) Date: Mon, 11 Jun 2012 09:51:30 +0000 (UTC) Subject: High Service Check Latency References: <4FBB4457.9090905@mclink.eu> Message-ID: Hi, check the i/o on disk. If you graph lots of checks or simply write the status.dat on slow disk, everything gets slow. Io you find the disk being too taxed, try moving logs and status.dat on ramdisk. Giorgio ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From henri.mjr at gmail.com Tue Jun 12 22:27:45 2012 From: henri.mjr at gmail.com (Henrique Machado) Date: Tue, 12 Jun 2012 17:27:45 -0300 Subject: Error: Service check command In-Reply-To: References: Message-ID: Yeah! The "good" worked for me. Thank you guys. 2012/6/12 Travis Runyard > Don't specify "-H ftpserver" in the service definition since the command > already knows which host to check. > > Good: > > define service{ > use generic-service > hostgroup_name web-servers > service_description FTP > check_command check_ftp > } > > Bad: > > define service{ > use generic-service > hostgroup_name web-servers > service_description FTP > check_command check_ftp -H ftpserver > } > > On Tue, Jun 12, 2012 at 6:18 AM, Claudio Kuenzler wrote: > >> >> On Tue, Jun 12, 2012 at 2:39 PM, Henrique Machado wrote: >> >>> Hi. >>> >>> I'm trying to add the check_ftp command for one of my hosts. But i got >>> this error: >>> >>> Error: Service check command 'check_ftp -H ftpserver' specified in >>> service 'FTP' for host ' ftpserver' not defined anywhere! >>> Checked 89 services. >>> >>> >>> In my commands.cfg I have: >>> >>> # 'check_ftp' command definition >>> define command{ >>> command_name check_ftp >>> command_line $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$ >>> } >>> >>> >>> What i'm missing? >> >> >> Show the service definition which fails. >> The command definition looks alright. >> >> >>> >>> Tks >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 12 23:55:21 2012 From: RWerner at pomwonderful.com (Werner, Robert) Date: Tue, 12 Jun 2012 21:55:21 +0000 Subject: Dell Openmanage In-Reply-To: References: Message-ID: <3D480E2907FD164191FE65820A669FFF4F29CC45@POM-LA-MBX01.pomwonderful.com> You can blacklist the Controller Firmware test. I use the following to blacklist the fw on controller 0: check_openmanage -H $HOSTADDRESS$ -C -b ctrl_fw=0 -- Robert G. Werner Oracle Apps Systems Administrator rwerner at pomwonderful.com 559.521.5089 From: Sven Dohmen [mailto:sd at o4s.nl] Sent: Tuesday, June 12, 2012 1:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Dell Openmanage Since several months we are using the Dell Openmanage plugin from http://folk.uio.no/trondham/software/check_openmanage.html. This has been working fine untill the last couple weeks. For some servers we are getting the following results back: W: Controller 0 [PERC 6/i Integrated]: Firmware '6.2.0-0013' is out of date ------ SYSTEM: PowerEdge R710, SN: INTERNAL ERROR: Use of uninitialized value within %fw_type in string eq at (eval 1) line 4976. INTERNAL ERROR: Use of uninitialized value within %fw_type in pattern match (m//) at (eval 1) line 4980. I noticed this only happens when 1 of the drivers is out of date. Is there a solution for without directly updating the firmware (which is already planned over several weeks). Met vriendelijke groet / With kind regards, Sven Dohmen NOC Engineer [Image removed by sender.] Open for Support bv Amerikalaan 1 6199 AE Maastricht-Airport Tel +31 (0)43 88 000 88 Fax +31 (0)43 88 000 80 http://www.o4s.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 804 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 13 16:46:45 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 13 Jun 2012 09:46:45 -0500 Subject: check windows's manager tasks In-Reply-To: <1339504387.80636.YahooMailClassic@web132108.mail.ird.yahoo.com> References: <1339504387.80636.YahooMailClassic@web132108.mail.ird.yahoo.com> Message-ID: <4FD8A7D5.9090509@nagios.com> What do you mean when you say "it doesn't work"? That's very vague and not enough information to help you. Alex Griffin --- Tech Team agriffin at nagios.com On 06/12/2012 07:33 AM, bruno beatrice wrote: > hello, > i'd like check my windows task manager. i'd like to receive a mail when > it doesn't work. i don't nagios very well. Someone can explain me step > by step how i must configure my nagios? > thank's > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Wed Jun 13 19:49:34 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Wed, 13 Jun 2012 23:19:34 +0530 Subject: Nagios Plugin to monitor tomcat and java applications Message-ID: Hi, Any Nagios Plugin to monitor tomcat and java applications. Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 13 20:19:18 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 13 Jun 2012 13:19:18 -0500 Subject: Nagios Plugin to monitor tomcat and java applications In-Reply-To: References: Message-ID: <4FD8D9A6.3040104@nagios.com> There are a few tomcat plugins here: http://exchange.nagios.org/index.php?option=com_mtree&task=search&Itemid=74&searchword=tomcat Alex Griffin --- Tech Team agriffin at nagios.com On 06/13/2012 12:49 PM, Kaushal Shriyan wrote: > Hi, > > Any Nagios Plugin to monitor tomcat and java applications. > > Regards > > Kaushal > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btroi2003 at yahoo.fr Wed Jun 13 22:45:38 2012 From: btroi2003 at yahoo.fr (bruno beatrice) Date: Wed, 13 Jun 2012 21:45:38 +0100 (BST) Subject: check windows's manager tasks In-Reply-To: <4FD8A7D5.9090509@nagios.com> References: <4FD8A7D5.9090509@nagios.com> Message-ID: <1339620338.91422.YahooMailClassic@web132103.mail.ird.yahoo.com> when the task doesn't start --- En date de?: Mer 13.6.12, Alex Griffin a ?crit?: De: Alex Griffin Objet: Re: [Nagios-users] check windows's manager tasks ?: "Nagios Users List" Date: Mercredi 13 juin 2012, 16h46 What do you mean when you say "it doesn't work"? That's very vague and not enough information to help you. Alex Griffin --- Tech Team agriffin at nagios.com On 06/12/2012 07:33 AM, bruno beatrice wrote: > hello, > i'd like check my windows task manager. i'd like to receive a mail when > it doesn't work. i don't nagios very well. Someone can explain me step > by step how i must configure my nagios? > thank's > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From F.Zwarts at KVI.nl Wed Jun 13 12:04:11 2012 From: F.Zwarts at KVI.nl (Fred Zwarts (KVI)) Date: Wed, 13 Jun 2012 12:04:11 +0200 Subject: DHCP for IPv6 check Message-ID: In our nagios configuration we use check_dhcp to check whether the our dhcp servers are up and running. However, this plugin only checks the DHCP IPv4 protocol. Is there a plugin that is (also) capable to check the IPv6 DHCP server? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Thu Jun 14 06:19:03 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Thu, 14 Jun 2012 09:49:03 +0530 Subject: Nagios SVN Alerts Message-ID: Hi, Is there a nagios plugin which will trigger alert if the svn codebase is inconsistent in bunch of servers? Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Tue Jun 12 18:17:24 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 12 Jun 2012 18:17:24 +0200 Subject: Error: Service check command In-Reply-To: References: Message-ID: <350FB24E-8352-444A-9DC5-595F52EA255E@linux.it> Right, Please provide the Service definition Ciao, Giorgio Il giorno 12/giu/2012, alle ore 15:18, Claudio Kuenzler ha scritto: > > On Tue, Jun 12, 2012 at 2:39 PM, Henrique Machado wrote: > Hi. > > I'm trying to add the check_ftp command for one of my hosts. But i got this error: > > Error: Service check command 'check_ftp -H ftpserver' specified in service 'FTP' for host ' ftpserver' not defined anywhere! > Checked 89 services. > > > In my commands.cfg I have: > > # 'check_ftp' command definition > define command{ > command_name check_ftp > command_line $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$ > } > > > What i'm missing? > > Show the service definition which fails. > The command definition looks alright. > > > Tks > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From henri.mjr at gmail.com Thu Jun 14 23:31:35 2012 From: henri.mjr at gmail.com (Henrique Machado) Date: Thu, 14 Jun 2012 18:31:35 -0300 Subject: Error: Service check command In-Reply-To: <350FB24E-8352-444A-9DC5-595F52EA255E@linux.it> References: <350FB24E-8352-444A-9DC5-595F52EA255E@linux.it> Message-ID: I've already solved it. The problem was the -H in te service definiton. Thanks Att, Henrique Machado ITIL V3 Certified 2012/6/12 Giorgio Zarrelli > Right, > Please provide the Service definition > > Ciao, > > Giorgio > > Il giorno 12/giu/2012, alle ore 15:18, Claudio Kuenzler < > ck at claudiokuenzler.com> ha scritto: > > > On Tue, Jun 12, 2012 at 2:39 PM, Henrique Machado wrote: > >> Hi. >> >> I'm trying to add the check_ftp command for one of my hosts. But i got >> this error: >> >> Error: Service check command 'check_ftp -H ftpserver' specified in >> service 'FTP' for host ' ftpserver' not defined anywhere! >> Checked 89 services. >> >> >> In my commands.cfg I have: >> >> # 'check_ftp' command definition >> define command{ >> command_name check_ftp >> command_line $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$ >> } >> >> >> What i'm missing? > > > Show the service definition which fails. > The command definition looks alright. > > >> >> Tks >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From 07parthi1 at gmail.com Wed Jun 13 09:06:06 2012 From: 07parthi1 at gmail.com (parthi krish) Date: Wed, 13 Jun 2012 12:36:06 +0530 Subject: Dear Friends, I m facing a problem in nagios, help me to solve **nagios does not discover hosts properly, Error: Host Status Information Not Found! Message-ID: nagios does not discover hosts properly, Error: Host Status Information Not Found! ************************************************************************************************ when i configure nagios box to use linux box, i defined new host groups,new hosts and new services but when i try to discover those details in my browser window http://localhost/nagios/ there is only displaying localhost and new hostgroups only there is no discover my new host and new services under the new host groups ******************************************************************************************** but when i am clicking 7 or 8 times on services on nagios window , it is discovering all the hosts and services but when i press on new host my result is Host remotehost (remotehost) Member of MyhostGroup 172.30.0.70 Error: Host Status Information Not Found! ********************************************* 172.30.0.70 is connected in my network i couldn't fine out the problem please help me my defined host code for myhost Code: Select all # Define a host for the local machine define host{ use linux-server ; Name of host template to use ; This host definition will inherit all variables that are defined ; in (or inherited by) the linux-server host template definition. host_name remotehost alias remotehost address 172.30.0.70 hostgroups MyhostGroup } ############################################################################### ############################################################################### # # HOST GROUP DEFINITION # ############################################################################### ############################################################################### # Define an optional hostgroup for Linux machines define hostgroup{ hostgroup_name MyhostGroup ; The name of the hostgroup alias MyhostGroup ; Long name of the group members remotehost ; Comma separated list of hosts that belong to this group } ############################################################################### ############################################################################### # # SERVICE DEFINITIONS # ############################################################################### ############################################################################### # Define a service to "ping" the local machine define service{ use local-service ; Name of service template to use host_name remotehost service_description PING check_command check_ping!100.0,20%!500.0,60% } # Define a service to check the disk space of the root partition # on the local machine. Warning if < 20% free, critical if # < 10% free space on partition. define service{ use local-service ; Name of service template to use host_name remotehost service_description Root Partition check_command check_local_disk!20%!10%!/ } # Define a service to check the number of currently logged in # users on the local machine. Warning if > 20 users, critical # if > 50 users. define service{ use local-service ; Name of service template to use host_name remotehost service_description Current Users check_command check_local_users!20!50 } # Define a service to check the number of currently running procs # on the local machine. Warning if > 250 processes, critical if # > 400 users. define service{ use local-service ; Name of service template to use host_name remotehost service_description Total Processes check_command check_local_procs!250!400!RSZDT } # Define a service to check the load on the local machine. define service{ use local-service ; Name of service template to use host_name remotehost service_description Current Load check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } # Define a service to check the swap usage the local machine. # Critical if less than 10% of swap is free, warning if less than 20% is free i have included remote host in nagios.cfg Code: # Definitions for monitoring the local (Linux) host cfg_file=/usr/local/nagios/etc/objects/localhost.cfg cfg_file=/usr/local/nagios/etc/objects/myhost.cfg /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg i used it to verify results is Total Warnings: 0 Total Errors: 0 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 13 11:06:32 2012 From: m.borsani at it.net (Marco Borsani) Date: Wed, 13 Jun 2012 11:06:32 +0200 Subject: check_mk panel Message-ID: <007901cd4943$d9ebfb10$8dc3f130$@it.net> Hi all I am testing check_mk. Installation without problems, create inventory of two hosts (localhost + another) without problem, but when I try to use the web panel I don?t see anything .. I should se 2 hosts and 60 services (like in the new host group created in the Nagios panel) Any idea? 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardo at lbasolutions.com Wed Jun 13 15:16:28 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Wed, 13 Jun 2012 10:16:28 -0300 Subject: check_http Message-ID: Hey people, I'm monitoring my site using the command line /usr/local/nagios/libexec/check_http -w 4 -c 8 -H mysite.com. It's work fine, however, I have some sites that has not a host added in my dns, and to access it and use mysite.com/tux. and when I use heck_http -w 4 -c 8 -H mysite.com/tux, it fail. How can I monitory it ? many thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 14 11:13:07 2012 From: m.borsani at it.net (Marco Borsani) Date: Thu, 14 Jun 2012 11:13:07 +0200 Subject: check_mk panel Message-ID: <007001cd4a0d$ef3ee840$cdbcb8c0$@it.net> Hi all I am testing check_mk. Installation without problems, create inventory of two hosts (localhost + another) without problem, but when I try to use the web panel I don?t see anything .. I should se 2 hosts and 60 services (like in the new host group created in the Nagios panel) Any idea? 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From epochcr at hotmail.com Fri Jun 15 00:08:08 2012 From: epochcr at hotmail.com (J P) Date: Thu, 14 Jun 2012 12:08:08 -1000 Subject: Is there a way to break down the details of check_http by: DNS Time, Connection Time, First Byte Time, Last Byte Time Message-ID: Currently have nagios configured with check_http plugin to test the load times of fetching a URL. I need a graph/plugin that can give me these types of details DNS Time, Connection Time,First Byte Time,Last Byte Time. Is this possible at least with personalized plugin... or has anybody seen this already done? Thanks Manuel Congosto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Fri Jun 15 00:28:07 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Thu, 14 Jun 2012 15:28:07 -0700 Subject: check_http In-Reply-To: References: Message-ID: You can monitor the path of a website with the -u option. Here is an example: check_http -H mysite.com -u "/tux" -f follow You will probably want to use the "-f follow" option if your website uses any kind of redirection method. ;-) Travis Runyard On Wed, Jun 13, 2012 at 6:16 AM, Leonardo Bacha Abrantes < leonardo at lbasolutions.com> wrote: > Hey people, > > I'm monitoring my site using the command line > /usr/local/nagios/libexec/check_http -w 4 -c 8 -H mysite.com. It's work > fine, however, I have some sites that has not a host added in my dns, and > to access it and use mysite.com/tux. > > and when I use heck_http -w 4 -c 8 -H mysite.com/tux, it fail. > How can I monitory it ? > > many thanks! > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardo at lbasolutions.com Fri Jun 15 13:48:00 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Fri, 15 Jun 2012 08:48:00 -0300 Subject: check_http In-Reply-To: References: Message-ID: Hey Travis! thank you so much my friend! it worked!! On Thu, Jun 14, 2012 at 7:28 PM, Travis Runyard wrote: > You can monitor the path of a website with the -u option. Here is an > example: > check_http -H mysite.com -u "/tux" -f follow > > You will probably want to use the "-f follow" option if your website uses > any kind of redirection method. > > ;-) > Travis Runyard > > On Wed, Jun 13, 2012 at 6:16 AM, Leonardo Bacha Abrantes < > leonardo at lbasolutions.com> wrote: > >> Hey people, >> >> I'm monitoring my site using the command line >> /usr/local/nagios/libexec/check_http -w 4 -c 8 -H mysite.com. It's work >> fine, however, I have some sites that has not a host added in my dns, and >> to access it and use mysite.com/tux. >> >> and when I use heck_http -w 4 -c 8 -H mysite.com/tux, it fail. >> How can I monitory it ? >> >> many thanks! >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Fri Jun 15 15:57:59 2012 From: ampranti at gmail.com (Andreas Brandino) Date: Fri, 15 Jun 2012 16:57:59 +0300 Subject: Large scale installation In-Reply-To: <9FFA6BD3-B1B9-47E7-9C95-336A4DAF73C9@linux.it> References: <9FFA6BD3-B1B9-47E7-9C95-336A4DAF73C9@linux.it> Message-ID: Thank you for the reply. My server has Intel(R) Xeon(TM) CPU 2.80GHz (1 core) and 3Gb of RAM. I have 1300 checks , 320 hosts and mk_livestatus . CPU load is about 55-60%. Also, one client is always connected to load nagvis maps and specific checks state (refresh rate is 30 secs). Checks are performed in various intervals (ranging from 1 minute to 10 minutes). All plugins are in perl; I think a lot of effort is required to convert them to C (compiled). use_large_installation_tweaks is already enabled (use_large_installation_tweaks=1) I am not using mysql; whole configuration is text based. Also this is the report from nagiostats: Nagios Stats 3.4.1 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) Last Modified: 05-11-2012 License: GPL CURRENT STATUS DATA ------------------------------------------------------ Status File: /var/log/nagios/status.dat Status File Age: 0d 0h 0m 6s Status File Version: 3.4.1 Program Running Time: 0d 2h 24m 37s Nagios PID: 11485 Used/High/Total Command Buffers: 0 / 0 / 4096 Total Services: 1342 Services Checked: 1342 Services Scheduled: 1341 Services Actively Checked: 1341 Services Passively Checked: 1 Total Service State Change: 0.000 / 39.540 / 0.076 % Active Service Latency: 0.005 / 0.717 / 0.203 sec Active Service Execution Time: 0.013 / 20.340 / 2.241 sec Active Service State Change: 0.000 / 11.580 / 0.047 % Active Services Last 1/5/15/60 min: 199 / 1002 / 1294 / 1328 Passive Service Latency: 34.021 / 34.021 / 34.021 sec Passive Service State Change: 39.540 / 39.540 / 39.540 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 1278 / 19 / 18 / 27 Services Flapping: 1 Services In Downtime: 0 Total Hosts: 318 Hosts Checked: 318 Hosts Scheduled: 318 Hosts Actively Checked: 318 Host Passively Checked: 0 Total Host State Change: 0.000 / 0.000 / 0.000 % Active Host Latency: 0.017 / 0.446 / 0.195 sec Active Host Execution Time: 0.019 / 30.026 / 5.615 sec Active Host State Change: 0.000 / 0.000 / 0.000 % Active Hosts Last 1/5/15/60 min: 43 / 285 / 318 / 318 Passive Host Latency: 0.000 / 0.000 / 0.000 sec Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 298 / 18 / 2 Hosts Flapping: 0 Hosts In Downtime: 0 Active Host Checks Last 1/5/15 min: 51 / 319 / 986 Scheduled: 46 / 294 / 915 On-demand: 5 / 25 / 71 Parallel: 46 / 295 / 921 Serial: 0 / 0 / 0 Cached: 5 / 24 / 66 Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 Active Service Checks Last 1/5/15 min: 238 / 1048 / 3138 Scheduled: 238 / 1048 / 3138 On-demand: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 External Commands Last 1/5/15 min: 0 / 0 / 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I think the above statistics are ok; I want to use a second server (and move active checks) to keep load under 60% (or even lower that 40%) while checks increase. Thank you 2012/6/12 Giorgio Zarrelli > Hi, > > You are right., open files IS a major concern I forgot to mention. A quick > and dirty method to solve it is to raise the number of open files putting > ulimit command folllowed by a high value in The Nagios startup script. > > ulimit -a will tell The current system wirde ulimit value. > > Lucky you, ssd disks are a good improvement! > > Ciao, > > Giorgio > > Il giorno 12/giu/2012, alle ore 03:59, Ian Orszaczki ha > scritto: > > > Great advice. Funny you should mention status.dat in ramdisk as we have > hit a hiccup this morning which has meant we have lost comments and > downtimes. > > We had moved status.dat to a ramdisk as recommended for large > installations (we monitoring 3390 hosts with 18748 services from one > server, latencies below 2 secs and load under 2) but after running out of > open files the status.dat was zero'd. > > > As an extreme hack I ran a quick script across the output of - > # grep EXTERNAL nagios.log | grep ACK | cut -c57- > /tmp/acks.txt > > Script - > #!/bin/sh > # This is a sample shell script showing how you can submit the > ACKNOWLEDGE_HOST_PROBLEM command > # to Nagios. Adjust variables to fit your environment as necessary. > now=`date +%s` > commandfile='/app/nagios/var/rw/nagios.cmd' > cat /tmp/acks.txt | while read line > do > echo $line > /usr/bin/printf "[%lu] $line\n" $now > $commandfile > done > > Therefore I am going to move status.dat back onto the localdisk (luckily > SSD drives) so that we can at least restore from a recent backup. I will > probably also create valid copy, along with retention.dat, every hour to > enable quick recovery. And yes, I have increased the process and open files > limits for the nagios user. > > Am I missing anything obvious > > > > On Tue, Jun 12, 2012 at 5:40 AM, Giorgio Zarrelli wrote: > >> Hi, >> >> I suggest to review your installation. Try with the large installation >> tweaks http://nagios.sourceforge.net/docs/3_0/largeinstalltweaks.html. >> >> Then, check whether you need all your checks at 5 mins or you can move >> some of them to 10 mins pace. >> >> Then, review your check plugins: Perl plugins eat more memory and CPU >> cycles then C compiled checks. If they support EPN >> http://nagios.sourceforge.net/docs/3_0/embeddedperl.html, use it, it >> makes >> your plugin faster and lighter. >> >> Then, check your checks. Some checks return data slower then others. Let's >> say, SNMP checks are not lightning fast. >> >> Then, check your graphs. Graphing perfdata takes CPU cycles and uses >> memory. Do you need all your graphs? >> >> Then, get rid of NDOUtils. They are chocking all the way, not efficient, >> clumsy, old and heavy. If you want to store your data in MySQL, use Merlin >> instead. >> >> Anyway, did you tune your MySQL? Is it causing too much I/O? Is it >> munching too much RAM or CPU cycles? >> >> Did you tune your Apache or http server? Does it cope with your needs? Is >> it munching too much RAM or CPU cycles? >> >> If you want live infos about your hosts and services, let's say to use >> with Navis, grab MKlive: it's blazing fast and gives you access to the >> core Nagios process. >> >> Are you using a virtualized environment? If so, remember that I/O layer in >> virtualized environments has a poor performance, use fast and real disks >> and your I/O will drop dramatically. >> >> Try to move status.dat to /dev/shm. The latter is a ram disk ready to use >> and writing in ram is always faster then writing on disk. >> >> Avoid logging too much, it increases I/O and takes CPU and RAM. >> >> What iotop and iostat are telling you? >> >> What do you see in top or htop? >> >> If you can or wish, compile all from sources, it will go faster on your >> system. >> >> You can use passive checks with NSCA or NRDP to reduce load, even though I >> do not like them a lot. >> >> These are just few ideas that came to my mind. >> >> >> Let's talk about sharing load. >> >> You can use different methods: >> >> Merlin >> (http://www.op5.org/community/plugin-inventory/op5-projects/merlin): >> gives >> you loadbalancing and redundancy. I use it for Ninja, never used for load >> balancing and redundancy. >> >> DNX (http://dnx.sourceforge.net/): Something new, it's gaining momentum, >> good to offload the checks. Worth to give a try. >> >> Mod_gearman (http://labs.consol.de/lang/de/nagios/mod-gearman/): Love at >> first site :-) Easy, powerful, load balancing and fault tolerant. Compile >> gearmand with memcached support and all the result checks will go directly >> to ram, avoiding I/O on disk. It's really simple to setup, if one of the >> workers go down, the others will share its work. Be careful: security is a >> problem, there is not a good auth system, but using a VPN will solve the >> problem. Efficient, I use a virtual machine with 2 cores and 2 gb of ram >> to make about 5K checks. And the load is not a concern. You need more >> horse power? Add a worker. You have some checks timing out due to poor >> connections to the targets? Put a worker close to the target, but be >> careful, the timing, let's say the rta of a ping, will be from the worker >> perspective. >> >> Well, hope it helps. >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 15 22:28:20 2012 From: jake at demonware.net (Jake Xu) Date: Fri, 15 Jun 2012 13:28:20 -0700 Subject: check_mk panel In-Reply-To: <007001cd4a0d$ef3ee840$cdbcb8c0$@it.net> References: <007001cd4a0d$ef3ee840$cdbcb8c0$@it.net> Message-ID: Hi Marco, have you added your username to the multisite.mk? You need a new permission to access the multisite webpage Jake On Thu, Jun 14, 2012 at 2:13 AM, Marco Borsani wrote: > ** ** > > ** ** > > Hi all**** > > ** ** > > I am testing check_mk.**** > > Installation without problems, create inventory of two hosts (localhost + > another) without problem, but when I try to use the web panel I don?t see > anything ..**** > > I should se 2 hosts and 60 services (like in the new host group created in > the Nagios panel)**** > > ** ** > > Any idea?**** > > ** ** > > 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.**** > > ** ** > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Jun 16 01:54:56 2012 From: ae at op5.se (Andreas Ericsson) Date: Sat, 16 Jun 2012 01:54:56 +0200 Subject: Large scale installation In-Reply-To: References: Message-ID: <4FDBCB50.6020709@op5.se> On 06/12/2012 03:59 AM, Ian Orszaczki wrote: > Great advice. Funny you should mention status.dat in ramdisk as we have > hit a hiccup this morning which has meant we have lost comments and > downtimes. > > We had moved status.dat to a ramdisk as recommended for large installations > (we monitoring 3390 hosts with 18748 services from one server, latencies > below 2 secs and load under 2) but after running out of open files the > status.dat was zero'd. > > > As an extreme hack I ran a quick script across the output of - > # grep EXTERNAL nagios.log | grep ACK | cut -c57-> /tmp/acks.txt > > Script - > #!/bin/sh > # This is a sample shell script showing how you can submit the > ACKNOWLEDGE_HOST_PROBLEM command > # to Nagios. Adjust variables to fit your environment as necessary. > now=`date +%s` > commandfile='/app/nagios/var/rw/nagios.cmd' > cat /tmp/acks.txt | while read line > do > echo $line > /usr/bin/printf "[%lu] $line\n" $now> $commandfile > done > > Therefore I am going to move status.dat back onto the localdisk (luckily > SSD drives) so that we can at least restore from a recent backup. I will > probably also create valid copy, along with retention.dat, every hour to > enable quick recovery. And yes, I have increased the process and open files > limits for the nagios user. > > Am I missing anything obvious> > You're using embedded perl. Nagios doesn't leak at all without that. If you can do some valgrind running of it I could take a look at the output and see if there's anything problematic that can actually be fixed, as opposed to something in the perl library. > > On Tue, Jun 12, 2012 at 5:40 AM, Giorgio Zarrelli wrote: > >> Hi, >> >> I suggest to review your installation. Try with the large installation >> tweaks http://nagios.sourceforge.net/docs/3_0/largeinstalltweaks.html. >> >> Then, check whether you need all your checks at 5 mins or you can move >> some of them to 10 mins pace. >> >> Then, review your check plugins: Perl plugins eat more memory and CPU >> cycles then C compiled checks. If they support EPN >> http://nagios.sourceforge.net/docs/3_0/embeddedperl.html, use it, it makes >> your plugin faster and lighter. >> >> Then, check your checks. Some checks return data slower then others. Let's >> say, SNMP checks are not lightning fast. >> >> Then, check your graphs. Graphing perfdata takes CPU cycles and uses >> memory. Do you need all your graphs? >> >> Then, get rid of NDOUtils. They are chocking all the way, not efficient, >> clumsy, old and heavy. If you want to store your data in MySQL, use Merlin >> instead. >> >> Anyway, did you tune your MySQL? Is it causing too much I/O? Is it >> munching too much RAM or CPU cycles? >> >> Did you tune your Apache or http server? Does it cope with your needs? Is >> it munching too much RAM or CPU cycles? >> >> If you want live infos about your hosts and services, let's say to use >> with Navis, grab MKlive: it's blazing fast and gives you access to the >> core Nagios process. >> >> Are you using a virtualized environment? If so, remember that I/O layer in >> virtualized environments has a poor performance, use fast and real disks >> and your I/O will drop dramatically. >> >> Try to move status.dat to /dev/shm. The latter is a ram disk ready to use >> and writing in ram is always faster then writing on disk. >> >> Avoid logging too much, it increases I/O and takes CPU and RAM. >> >> What iotop and iostat are telling you? >> >> What do you see in top or htop? >> >> If you can or wish, compile all from sources, it will go faster on your >> system. >> >> You can use passive checks with NSCA or NRDP to reduce load, even though I >> do not like them a lot. >> >> These are just few ideas that came to my mind. >> >> >> Let's talk about sharing load. >> >> You can use different methods: >> >> Merlin >> (http://www.op5.org/community/plugin-inventory/op5-projects/merlin): gives >> you loadbalancing and redundancy. I use it for Ninja, never used for load >> balancing and redundancy. >> >> DNX (http://dnx.sourceforge.net/): Something new, it's gaining momentum, >> good to offload the checks. Worth to give a try. >> >> Mod_gearman (http://labs.consol.de/lang/de/nagios/mod-gearman/): Love at >> first site :-) Easy, powerful, load balancing and fault tolerant. Compile >> gearmand with memcached support and all the result checks will go directly >> to ram, avoiding I/O on disk. It's really simple to setup, if one of the >> workers go down, the others will share its work. Be careful: security is a >> problem, there is not a good auth system, but using a VPN will solve the >> problem. Efficient, I use a virtual machine with 2 cores and 2 gb of ram >> to make about 5K checks. And the load is not a concern. You need more >> horse power? Add a worker. You have some checks timing out due to poor >> connections to the targets? Put a worker close to the target, but be >> careful, the timing, let's say the rta of a ping, will be from the worker >> perspective. >> >> Well, hope it helps. >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Sat Jun 16 09:49:38 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Sat, 16 Jun 2012 09:49:38 +0200 Subject: Large scale installation In-Reply-To: References: <9FFA6BD3-B1B9-47E7-9C95-336A4DAF73C9@linux.it> Message-ID: So, give mod_gearman a try. Ciao, Giorgio Il giorno 15/giu/2012, alle ore 15:57, Andreas Brandino ha scritto: > Thank you for the reply. > > My server has Intel(R) Xeon(TM) CPU 2.80GHz (1 core) and 3Gb of RAM. > I have 1300 checks , 320 hosts and mk_livestatus . CPU load is about 55-60%. > Also, one client is always connected to load nagvis maps and specific checks state (refresh rate is 30 secs). > > Checks are performed in various intervals (ranging from 1 minute to 10 minutes). > All plugins are in perl; I think a lot of effort is required to convert them to C (compiled). > use_large_installation_tweaks is already enabled (use_large_installation_tweaks=1) > > I am not using mysql; whole configuration is text based. > > Also this is the report from nagiostats: > > Nagios Stats 3.4.1 > Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) > Last Modified: 05-11-2012 > License: GPL > > CURRENT STATUS DATA > ------------------------------------------------------ > Status File: /var/log/nagios/status.dat > Status File Age: 0d 0h 0m 6s > Status File Version: 3.4.1 > > Program Running Time: 0d 2h 24m 37s > Nagios PID: 11485 > Used/High/Total Command Buffers: 0 / 0 / 4096 > > Total Services: 1342 > Services Checked: 1342 > Services Scheduled: 1341 > Services Actively Checked: 1341 > Services Passively Checked: 1 > Total Service State Change: 0.000 / 39.540 / 0.076 % > Active Service Latency: 0.005 / 0.717 / 0.203 sec > Active Service Execution Time: 0.013 / 20.340 / 2.241 sec > Active Service State Change: 0.000 / 11.580 / 0.047 % > Active Services Last 1/5/15/60 min: 199 / 1002 / 1294 / 1328 > Passive Service Latency: 34.021 / 34.021 / 34.021 sec > Passive Service State Change: 39.540 / 39.540 / 39.540 % > Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 > Services Ok/Warn/Unk/Crit: 1278 / 19 / 18 / 27 > Services Flapping: 1 > Services In Downtime: 0 > > Total Hosts: 318 > Hosts Checked: 318 > Hosts Scheduled: 318 > Hosts Actively Checked: 318 > Host Passively Checked: 0 > Total Host State Change: 0.000 / 0.000 / 0.000 % > Active Host Latency: 0.017 / 0.446 / 0.195 sec > Active Host Execution Time: 0.019 / 30.026 / 5.615 sec > Active Host State Change: 0.000 / 0.000 / 0.000 % > Active Hosts Last 1/5/15/60 min: 43 / 285 / 318 / 318 > Passive Host Latency: 0.000 / 0.000 / 0.000 sec > Passive Host State Change: 0.000 / 0.000 / 0.000 % > Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 > Hosts Up/Down/Unreach: 298 / 18 / 2 > Hosts Flapping: 0 > Hosts In Downtime: 0 > > Active Host Checks Last 1/5/15 min: 51 / 319 / 986 > Scheduled: 46 / 294 / 915 > On-demand: 5 / 25 / 71 > Parallel: 46 / 295 / 921 > Serial: 0 / 0 / 0 > Cached: 5 / 24 / 66 > Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 > Active Service Checks Last 1/5/15 min: 238 / 1048 / 3138 > Scheduled: 238 / 1048 / 3138 > On-demand: 0 / 0 / 0 > Cached: 0 / 0 / 0 > Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 > > External Commands Last 1/5/15 min: 0 / 0 / 0 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > I think the above statistics are ok; I want to use a second server (and move active checks) to keep load under 60% (or even lower that 40%) while checks increase. > > Thank you > > > > > > > 2012/6/12 Giorgio Zarrelli > Hi, > > You are right., open files IS a major concern I forgot to mention. A quick and dirty method to solve it is to raise the number of open files putting ulimit command folllowed by a high value in The Nagios startup script. > > ulimit -a will tell The current system wirde ulimit value. > > Lucky you, ssd disks are a good improvement! > > Ciao, > > Giorgio > > Il giorno 12/giu/2012, alle ore 03:59, Ian Orszaczki ha scritto: > >> >> Great advice. Funny you should mention status.dat in ramdisk as we have hit a hiccup this morning which has meant we have lost comments and downtimes. >> >> We had moved status.dat to a ramdisk as recommended for large installations (we monitoring 3390 hosts with 18748 services from one server, latencies below 2 secs and load under 2) but after running out of open files the status.dat was zero'd. >> >> >> As an extreme hack I ran a quick script across the output of - >> # grep EXTERNAL nagios.log | grep ACK | cut -c57- > /tmp/acks.txt >> >> Script - >> >> >> >> #!/bin/sh >> >> >> >> # This is a sample shell script showing how you can submit the ACKNOWLEDGE_HOST_PROBLEM command >> >> >> >> # to Nagios. Adjust variables to fit your environment as necessary. >> >> >> >> now=`date +%s` >> >> >> >> commandfile='/app/nagios/var/rw/nagios.cmd' >> >> >> >> cat /tmp/acks.txt | while read line >> >> >> >> do >> >> >> >> echo $line >> >> >> >> /usr/bin/printf "[%lu] $line\n" $now > $commandfile >> >> >> >> done >> >> Therefore I am going to move status.dat back onto the localdisk (luckily SSD drives) so that we can at least restore from a recent backup. I will probably also create valid copy, along with retention.dat, every hour to enable quick recovery. And yes, I have increased the process and open files limits for the nagios user. >> >> Am I missing anything obvious > >> >> >> On Tue, Jun 12, 2012 at 5:40 AM, Giorgio Zarrelli wrote: >> Hi, >> >> I suggest to review your installation. Try with the large installation >> tweaks http://nagios.sourceforge.net/docs/3_0/largeinstalltweaks.html. >> >> Then, check whether you need all your checks at 5 mins or you can move >> some of them to 10 mins pace. >> >> Then, review your check plugins: Perl plugins eat more memory and CPU >> cycles then C compiled checks. If they support EPN >> http://nagios.sourceforge.net/docs/3_0/embeddedperl.html, use it, it makes >> your plugin faster and lighter. >> >> Then, check your checks. Some checks return data slower then others. Let's >> say, SNMP checks are not lightning fast. >> >> Then, check your graphs. Graphing perfdata takes CPU cycles and uses >> memory. Do you need all your graphs? >> >> Then, get rid of NDOUtils. They are chocking all the way, not efficient, >> clumsy, old and heavy. If you want to store your data in MySQL, use Merlin >> instead. >> >> Anyway, did you tune your MySQL? Is it causing too much I/O? Is it >> munching too much RAM or CPU cycles? >> >> Did you tune your Apache or http server? Does it cope with your needs? Is >> it munching too much RAM or CPU cycles? >> >> If you want live infos about your hosts and services, let's say to use >> with Navis, grab MKlive: it's blazing fast and gives you access to the >> core Nagios process. >> >> Are you using a virtualized environment? If so, remember that I/O layer in >> virtualized environments has a poor performance, use fast and real disks >> and your I/O will drop dramatically. >> >> Try to move status.dat to /dev/shm. The latter is a ram disk ready to use >> and writing in ram is always faster then writing on disk. >> >> Avoid logging too much, it increases I/O and takes CPU and RAM. >> >> What iotop and iostat are telling you? >> >> What do you see in top or htop? >> >> If you can or wish, compile all from sources, it will go faster on your >> system. >> >> You can use passive checks with NSCA or NRDP to reduce load, even though I >> do not like them a lot. >> >> These are just few ideas that came to my mind. >> >> >> Let's talk about sharing load. >> >> You can use different methods: >> >> Merlin >> (http://www.op5.org/community/plugin-inventory/op5-projects/merlin): gives >> you loadbalancing and redundancy. I use it for Ninja, never used for load >> balancing and redundancy. >> >> DNX (http://dnx.sourceforge.net/): Something new, it's gaining momentum, >> good to offload the checks. Worth to give a try. >> >> Mod_gearman (http://labs.consol.de/lang/de/nagios/mod-gearman/): Love at >> first site :-) Easy, powerful, load balancing and fault tolerant. Compile >> gearmand with memcached support and all the result checks will go directly >> to ram, avoiding I/O on disk. It's really simple to setup, if one of the >> workers go down, the others will share its work. Be careful: security is a >> problem, there is not a good auth system, but using a VPN will solve the >> problem. Efficient, I use a virtual machine with 2 cores and 2 gb of ram >> to make about 5K checks. And the load is not a concern. You need more >> horse power? Add a worker. You have some checks timing out due to poor >> connections to the targets? Put a worker close to the target, but be >> careful, the timing, let's say the rta of a ping, will be from the worker >> perspective. >> >> Well, hope it helps. >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxoid at gmail.com Sat Jun 16 13:05:45 2012 From: linuxoid at gmail.com (Ruslan Valiyev) Date: Sat, 16 Jun 2012 13:05:45 +0200 Subject: Allow access to custom variables outside Nagios Message-ID: <22C1952F-BC3C-40A1-B207-B9AA04528F76@gmail.com> Hi all, We have custom variables like this: define host { use linux-server host_name host.foo.com address 192.168.1.44 _serverfunction Oracle EBS R12 Application Server _serveradmin Admins_Linux _serviceadmin Admins_Oracle _userorg ACME } Now we have our own script to send out the notifications. And, apparently, custom variables are not exported outside Nagios for safety. To give an example of when we?re able to get the var data: my $o_hostname = $ENV{NAGIOS_HOSTNAME}; And this one doesn?t return anything: my $o_hostfunction = $ENV{NAGIOS__HOSTSERVERFUNCTION}; Could someone help finding this limitation in the source code? The environment we have is pretty strict and isolated, also the custom variables we use never contain any confidential information. Regards, Ruslan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trutled at us.ibm.com Sat Jun 16 16:05:39 2012 From: trutled at us.ibm.com (Thomas Rutledge) Date: Sat, 16 Jun 2012 08:05:39 -0600 Subject: AUTO: Thomas Rutledge is out of the office. (returning 06/20/2012) Message-ID: I am out of the office until 06/20/2012. I will respond to your message (as necessary) when I return. If this is Rational or other Library Services issues, please send e-mail to wbs at dcertpmail.raleigh.ibm.com for the rest of the team to review and help you ... Note: This is an automated response to your message "Nagios-users Digest, Vol 73, Issue 8" sent on 06/16/2012 5:05:57. This is the only notification you will receive while this person is away. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adamigoarnold at gmail.com Sun Jun 17 15:47:06 2012 From: adamigoarnold at gmail.com (Axel Amigo Arnold) Date: Sun, 17 Jun 2012 15:47:06 +0200 Subject: check_procs returning wrong data Message-ID: Hello, I am using nagios plugins 1.4.15 and I have a question about the check_procs plugin. If I execute it as *root*: root at localhost[/usr/local/nagios/libexec]# ./check_procs -w 50 -c 100 PROCS CRITICAL: 126 processes Now if I do it as *nagios user*: nagios at localhost[/usr/local/nagios/libexec]# ./check_procs -w 50 -c 100 PROCS OK: 2 processes Obviously it gives me the result of doing *ps *as the selected user, and I don't want this to happen like this. >From the remote Nagios Server using NRPE, I also have the wrong result of 2 processes. Is there a fix for this? May I have to write a script for myself? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From valiyev at unicc.org Fri Jun 15 15:13:17 2012 From: valiyev at unicc.org (VALIYEV Ruslan) Date: Fri, 15 Jun 2012 13:13:17 +0000 Subject: Allow access to custom variables outside Nagios Message-ID: <6A4CAF993855C84A9E684E58AE6A7FAC66D5FE19@MMSCHM01.GMS05.unicc.org> Hi all, We have custom variables like this: define host { use linux-server host_name host.foo.com address 192.168.1.44 _serverfunction Oracle EBS R12 Application Server _serveradmin Admins_Linux _serviceadmin Admins_Oracle _userorg ACME } Now we have our own script to send out the notifications. And, apparently, custom variables are not exported outside Nagios for safety. To give an example of when we?re able to get the var data: my $o_hostname = $ENV{NAGIOS_HOSTNAME}; And this one doesn?t return anything: my $o_hostfunction = $ENV{NAGIOS__HOSTSERVERFUNCTION}; Could someone help finding this limitation in the source code? The environment we have is pretty strict and isolated, also the custom variables we use never contain any confidential information. Best regards, Ruslan Valiyev Linux System Administrator Systems Support Unit (OTAS) Operations and Technology Division International Computing Centre (ICC) E-mail: valiyev at unicc.org Website: www.unicc.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Mon Jun 18 09:53:21 2012 From: ampranti at gmail.com (Andreas Brandino) Date: Mon, 18 Jun 2012 10:53:21 +0300 Subject: Macros :: Child Hosts Message-ID: Hi all, is there a MACRO that will return all child hosts of a parent ? I would like, when the host is down, to include all hosts assumed to be down in the notification. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 18 09:57:34 2012 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 18 Jun 2012 08:57:34 +0100 Subject: Macros :: Child Hosts In-Reply-To: References: Message-ID: <4FDEDF6E.7060605@flatto.net> On 18/06/12 08:53, Andreas Brandino wrote: > Hi all, > > is there a MACRO that will return all child hosts of a parent ? > I would like, when the host is down, to include all hosts assumed to > be down in the notification. > > Thank you http://nagios.sourceforge.net/docs/nagioscore/3/en/macrolist.html will show you the list of macros. For the one you want . No , but loot at custom Macros , and it might be able to give you the functionality you want. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 18 10:55:07 2012 From: ae at op5.se (Andreas Ericsson) Date: Mon, 18 Jun 2012 10:55:07 +0200 Subject: Allow access to custom variables outside Nagios In-Reply-To: <6A4CAF993855C84A9E684E58AE6A7FAC66D5FE19@MMSCHM01.GMS05.unicc.org> References: <6A4CAF993855C84A9E684E58AE6A7FAC66D5FE19@MMSCHM01.GMS05.unicc.org> Message-ID: <4FDEECEB.9050204@op5.se> On 06/15/2012 03:13 PM, VALIYEV Ruslan wrote: > Hi all, > > We have custom variables like this: > > define host { use linux-server host_name > host.foo.com address 192.168.1.44 _serverfunction > Oracle EBS R12 Application Server _serveradmin Admins_Linux > _serviceadmin Admins_Oracle _userorg ACME } > > Now we have our own script to send out the notifications. And, > apparently, custom variables are not exported outside Nagios for > safety. > That's $USER..$ macros, and they're not exported in the UI for security reasons (although some of them find their way there anyway through plugin output). > To give an example of when we?re able to get the var data: my > $o_hostname = $ENV{NAGIOS_HOSTNAME}; > > And this one doesn?t return anything: my $o_hostfunction = > $ENV{NAGIOS__HOSTSERVERFUNCTION}; > First of all, you'd be better off not using environment macros at all. When you do use them, Nagios has to calculate ALL macros instead of just the ones you use, and some of many of them are quite expensive. Secondly, try replacing your script with something that echoes the output of 'set' and 'env' to a tempfile and see what you get there. It's possible the documentation regarding their names is wrong. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 18 10:56:14 2012 From: ae at op5.se (Andreas Ericsson) Date: Mon, 18 Jun 2012 10:56:14 +0200 Subject: check_procs returning wrong data In-Reply-To: References: Message-ID: <4FDEED2E.1000700@op5.se> On 06/17/2012 03:47 PM, Axel Amigo Arnold wrote: > Hello, I am using nagios plugins 1.4.15 and I have a question about the > check_procs plugin. > > If I execute it as *root*: > root at localhost[/usr/local/nagios/libexec]# ./check_procs -w 50 -c 100 > PROCS CRITICAL: 126 processes > > Now if I do it as *nagios user*: > nagios at localhost[/usr/local/nagios/libexec]# ./check_procs -w 50 -c 100 > PROCS OK: 2 processes > > Obviously it gives me the result of doing *ps *as the selected user, and I > don't want this to happen like this. >> From the remote Nagios Server using NRPE, I also have the wrong result of 2 > processes. > Is there a fix for this? May I have to write a script for myself? > The only fix is to run check_procs as root, or make the plugins suid root. Writing your own script won't work either, since it's the kernel blocking access to other users' processes. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adamigoarnold at gmail.com Mon Jun 18 11:51:50 2012 From: adamigoarnold at gmail.com (Axel Amigo Arnold) Date: Mon, 18 Jun 2012 11:51:50 +0200 Subject: check_procs returning wrong data In-Reply-To: <4FDEED2E.1000700@op5.se> References: <4FDEED2E.1000700@op5.se> Message-ID: Hi Andreas, thank you for the response. I already have the suid bit activated in the check_procs binary as you can see here (I just copied the values of check_icmp) -r-sr-sr-x The user for this binary is root, and the group is nagios (just as check_icmp), but I still can't access the total process list. In the command definition, should I make something like this? command[check_total_procs]=/usr/local/nagios/libexec/sudo check_procs -w 150 -c 200 Thanks! 2012/6/18 Andreas Ericsson > On 06/17/2012 03:47 PM, Axel Amigo Arnold wrote: > > Hello, I am using nagios plugins 1.4.15 and I have a question about the > > check_procs plugin. > > > > If I execute it as *root*: > > root at localhost[/usr/local/nagios/libexec]# ./check_procs -w 50 -c 100 > > PROCS CRITICAL: 126 processes > > > > Now if I do it as *nagios user*: > > nagios at localhost[/usr/local/nagios/libexec]# ./check_procs -w 50 -c 100 > > PROCS OK: 2 processes > > > > Obviously it gives me the result of doing *ps *as the selected user, and > I > > don't want this to happen like this. > >> From the remote Nagios Server using NRPE, I also have the wrong result > of 2 > > processes. > > Is there a fix for this? May I have to write a script for myself? > > > > The only fix is to run check_procs as root, or make the plugins suid > root. Writing your own script won't work either, since it's the kernel > blocking access to other users' processes. > > -- > 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. > -- Un saludo, Axel Amigo Arnold -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlo.maesen at maastrichtuniversity.nl Mon Jun 18 12:18:51 2012 From: carlo.maesen at maastrichtuniversity.nl (Maesen Carlo (ICTS)) Date: Mon, 18 Jun 2012 12:18:51 +0200 Subject: check_hpasm errors Message-ID: <6ABFFD29FEDBB3478B6986988638E74F02B4D437AB@UM-MAIL4109.unimaas.nl> Since yesterday I noticed check_hpasm is not working properly. Sometimes I receive time-outs, other times I receive hardware-errors. I run the check 3 times and receive different output: ./libexec/check_hpasm -H um2103 -C ASPSNMP WARNING - status of all 12 dimms is n/a (please upgrade firmware), System: 'proliant dl585 g1', S/N: 'GB8625BM0C', ROM: 'A01 02/14/2007' ./libexec/check_hpasm -H um2103 -C ASPSNMP OK - System: 'proliant dl585 g1', S/N: 'GB8625BM0C', ROM: 'A01 02/14/2007', hardware working fine, da: 2 logical drives, 4 physical drives ./libexec/check_hpasm -H um2103 -C ASPSNMP UNKNOWN - check_hpasm timed out after 60 seconds I already have increased the timeout to 60 seconds. I'm using nagios 3.2.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jun 18 15:30:58 2012 From: ae at op5.se (Andreas Ericsson) Date: Mon, 18 Jun 2012 15:30:58 +0200 Subject: check_procs returning wrong data In-Reply-To: References: <4FDEED2E.1000700@op5.se> Message-ID: <4FDF2D92.4020108@op5.se> On 06/18/2012 11:51 AM, Axel Amigo Arnold wrote: > Hi Andreas, thank you for the response. > > I already have the suid bit activated in the check_procs binary as you can > see here (I just copied the values of check_icmp) > -r-sr-sr-x > > The user for this binary is root, and the group is nagios (just as > check_icmp), but I still can't access the total process list. > In the command definition, should I make something like this? > > command[check_total_procs]=/usr/local/nagios/libexec/sudo check_procs -w > 150 -c 200 > That might help. Try and find out. -- 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sglasser at visp.net Mon Jun 18 17:40:13 2012 From: sglasser at visp.net (Steve Glasser) Date: Mon, 18 Jun 2012 08:40:13 -0700 Subject: check_procs returning wrong data In-Reply-To: <4FDF2D92.4020108@op5.se> References: <4FDEED2E.1000700@op5.se> <4FDF2D92.4020108@op5.se> Message-ID: <4FDF4BDD.7000700@visp.net> On 06/18/2012 06:30 AM, Andreas Ericsson wrote: >> The user for this binary is root, and the group is nagios (just as >> > check_icmp), but I still can't access the total process list. >> > In the command definition, should I make something like this? >> > >> > command[check_total_procs]=/usr/local/nagios/libexec/sudo check_procs -w >> > 150 -c 200 >> > > That might help. Try and find out. Shouldn't the command be: command[check_total_procs]=sudo /usr/local/nagios/libexec/check_procs -w 150 -c 200 Cheers, Steve Glasser | System Administrator | visp.net ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niji.ogunbameru at phgroup.com Mon Jun 18 10:59:56 2012 From: niji.ogunbameru at phgroup.com (niji.ogunbameru) Date: Mon, 18 Jun 2012 09:59:56 +0100 Subject: Error Found in script check_disk_smb Message-ID: <4FDEEE0C.3000506@phgroup.com> Dear Nagios_users The following error have been generated when using the the script check_disk_smb as follows zenosssrv:/usr/local/zenoss/common/libexec # /usr/local/zenoss/common/libexec/check_disk_smb -H ..com -s fscs ERROR:: Can't exec "//..com/fscs": No such file or directory at /usr/local/zenoss/common/libexec/check_disk_smb line 166. Use of uninitialized value $res in split at /usr/local/zenoss/common/libexec/check_disk_smb line 172. Use of uninitialized value $_ in pattern match (m//) at /usr/local/zenoss/common/libexec/check_disk_smb line 180. Result from smbclient not suitable As the error has stated and on checking the script, line 166 contained the following $res = qx/$smbclient \/\/$host\/$share -U $user%$pass $smbclientoptions -c ls/; but scroll down to line 61 since I was tring to find out where $smbclient was defined, $smbclient was defined on line 61 and line 61 contained the following my $smbclient= "$utils::PATH_TO_SMBCLIENT " ; But strangely line 61 also contained a variable $utils $utils is not defined anywhere and I believed that because $utils is not defined, in effects causes $smbclient not to exist. so in line 166 the only command that seems to be ran is \/\/$host\/$share -U $user%$pass $smbclientoptions -c ls/; hence forced the OS to return the error specified *Why is $utils not defined and is there any fix for this issue. * IS there any manual for this script? OS in use:: SuSe Enterprise ver 11 Application:: Zenoss application I have limited knowledge in perl, please kindly make the solution as clear as possible Many thanks in anticipation. Kind Regards -Niji -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- #! /usr/bin/perl -w # # # check_disk.pl [warn] [critical] [port] # # Nagios host script to get the disk usage from a SMB share # # Changes and Modifications # ========================= # 7-Aug-1999 - Michael Anthon # Created from check_disk.pl script provided with netsaint_statd (basically # cause I was too lazy (or is that smart?) to write it from scratch) # 8-Aug-1999 - Michael Anthon # Modified [warn] and [critical] parameters to accept format of nnn[M|G] to # allow setting of limits in MBytes or GBytes. Percentage settings for large # drives is a pain in the butt # 2-May-2002 - SGhosh fix for embedded perl # # $Id: check_disk_smb.pl 1247 2005-10-13 10:14:33Z seanius $ # require 5.004; use POSIX; use strict; use Getopt::Long; use vars qw($opt_P $opt_V $opt_h $opt_H $opt_s $opt_W $opt_u $opt_p $opt_w $opt_c $verbose); use vars qw($PROGNAME); use lib "/usr/local/zenoss/common/libexec" ; use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); sub print_help (); sub print_usage (); $PROGNAME = "check_disk_smb"; $ENV{'PATH'}=''; $ENV{'BASH_ENV'}=''; $ENV{'ENV'}=''; Getopt::Long::Configure('bundling'); GetOptions ("v" => \$verbose, "verbose" => \$verbose, "P=s" => \$opt_P, "port=s" => \$opt_P, "V" => \$opt_V, "version" => \$opt_V, "h" => \$opt_h, "help" => \$opt_h, "w=s" => \$opt_w, "warning=s" => \$opt_w, "c=s" => \$opt_c, "critical=s" => \$opt_c, "p=s" => \$opt_p, "password=s" => \$opt_p, "u=s" => \$opt_u, "username=s" => \$opt_u, "s=s" => \$opt_s, "share=s" => \$opt_s, "W=s" => \$opt_W, "workgroup=s" => \$opt_W, "H=s" => \$opt_H, "hostname=s" => \$opt_H); if ($opt_V) { print_revision($PROGNAME,'$Revision: 1247 $'); #' exit $ERRORS{'OK'}; } if ($opt_h) {print_help(); exit $ERRORS{'OK'};} my $smbclient= "$utils::PATH_TO_SMBCLIENT " ; my $smbclientoptions= $opt_P ? "-p $opt_P " : ""; # Options checking ($opt_H) || ($opt_H = shift) || usage("Host name not specified\n"); my $host = $1 if ($opt_H =~ /^([-_.A-Za-z0-9]+\$?)$/); ($host) || usage("Invalid host: $opt_H\n"); ($opt_s) || ($opt_s = shift) || usage("Share volume not specified\n"); my $share = $1 if ($opt_s =~ /^([-_.A-Za-z0-9]+\$?)$/); ($share) || usage("Invalid share: $opt_s\n"); ($opt_u) || ($opt_u = shift) || ($opt_u = "guest"); my $user = $1 if ($opt_u =~ /^([-_.A-Za-z0-9\\]+)$/); ($user) || usage("Invalid user: $opt_u\n"); ($opt_p) || ($opt_p = shift) || ($opt_p = ""); my $pass = $1 if ($opt_p =~ /(.*)/); ($opt_w) || ($opt_w = shift) || ($opt_w = 85); my $warn = $1 if ($opt_w =~ /^([0-9]{1,2}\%?|100\%?|[0-9]+[kMG])$/); ($warn) || usage("Invalid warning threshold: $opt_w\n"); ($opt_c) || ($opt_c = shift) || ($opt_c = 95); my $crit = $1 if ($opt_c =~ /^([0-9]{1,2}\%?|100\%?|[0-9]+[kMG])$/); ($crit) || usage("Invalid critical threshold: $opt_c\n"); # split the type from the unit value #Check $warn and $crit for type (%/M/G) and set up for tests #P = Percent, K = KBytes my $warn_type; my $crit_type; if ($opt_w =~ /^([0-9]+)\%?$/) { $warn = "$1"; $warn_type = "P"; } elsif ($opt_w =~ /^([0-9]+)k$/) { $warn_type = "K"; $warn = $1; } elsif ($opt_w =~ /^([0-9]+)M$/) { $warn_type = "K"; $warn = $1 * 1024; } elsif ($opt_w =~ /^([0-9]+)G$/) { $warn_type = "K"; $warn = $1 * 1048576; } if ($opt_c =~ /^([0-9]+)\%?$/) { $crit = "$1"; $crit_type = "P"; } elsif ($opt_c =~ /^([0-9]+)k$/) { $crit_type = "K"; $crit = $1; } elsif ($opt_c =~ /^([0-9]+)M$/) { $crit_type = "K"; $crit = $1 * 1024; } elsif ($opt_c =~ /^([0-9]+)G$/) { $crit_type = "K"; $crit = $1 * 1048576; } # check if both warning and critical are percentage or size unless( ( $warn_type eq "P" && $crit_type eq "P" ) || ( $warn_type ne "P" && $crit_type ne "P" ) ){ $opt_w =~ s/\%/\%\%/g; $opt_c =~ s/\%/\%\%/g; usage("Both warning and critical should be same type- warning: $opt_w critical: $opt_c \n"); } # verify warning is less than critical if ( $warn_type eq "K") { unless ( $warn > $crit) { usage("Disk size: warning ($opt_w) should be greater than critical ($opt_c) \n"); } }else{ unless ( $warn < $crit) { $opt_w =~ s/\%/\%\%/g; $opt_c =~ s/\%/\%\%/g; usage("Percentage: warning ($opt_w) should be less than critical ($opt_c) \n"); } } my $workgroup = $1 if (defined($opt_W) && $opt_W =~ /(.*)/); # end of options checking my $state = "OK"; my $answer = undef; my $res = undef; my @lines = undef; # Just in case of problems, let's not hang Nagios $SIG{'ALRM'} = sub { print "No Answer from Client\n"; exit $ERRORS{"UNKNOWN"}; }; alarm($TIMEOUT); # Execute an "ls" on the share using smbclient program # get the results into $res if (defined($workgroup)) { $res = qx/$smbclient \/\/$host\/$share -W $workgroup -U $user%$pass $smbclientoptions -c ls/; } else { print "$smbclient " . "\/\/$host\/$share" ." $pass -U $user $smbclientoptions -c ls\n" if ($verbose); $res = qx/$smbclient \/\/$host\/$share -U $user%$pass $smbclientoptions -c ls/; } #Turn off alarm alarm(0); #Split $res into an array of lines @lines = split /\n/, $res; #Get the last line into $_ $_ = $lines[$#lines]; #print "$_\n"; #Process the last line to get free space. #If line does not match required regexp, return an UNKNOWN error if (/\s*(\d*) blocks of size (\d*)\. (\d*) blocks available/) { my ($avail) = ($3*$2)/1024; my ($avail_bytes) = $avail; my ($capper) = int(($3/$1)*100); my ($mountpt) = "\\\\$host\\$share"; if (int($avail / 1024) > 0) { $avail = int($avail / 1024); if (int($avail /1024) > 0) { $avail = (int(($avail / 1024)*100))/100; $avail = $avail ."G"; } else { $avail = $avail ."M"; } } else { $avail = $avail ."K"; } #print ":$warn:$warn_type:\n"; #print ":$crit:$crit_type:\n"; #print ":$avail:$avail_bytes:$capper:$mountpt:\n"; if ((($warn_type eq "P") && (100 - $capper) < $warn) || (($warn_type eq "K") && ($avail_bytes > $warn))) { $answer = "Disk ok - $avail ($capper%) free on $mountpt\n"; } elsif ((($crit_type eq "P") && (100 - $capper) < $crit) || (($crit_type eq "K") && ($avail_bytes > $crit))) { $state = "WARNING"; $answer = "WARNING: Only $avail ($capper%) free on $mountpt\n"; } else { $state = "CRITICAL"; $answer = "CRITICAL: Only $avail ($capper%) free on $mountpt\n"; } } else { $answer = "Result from smbclient not suitable\n"; $state = "UNKNOWN"; foreach (@lines) { if (/(Access denied|NT_STATUS_LOGON_FAILURE)/) { $answer = "Access Denied\n"; $state = "CRITICAL"; last; } if (/(Unknown host \w*|Connection.*failed)/) { $answer = "$1\n"; $state = "CRITICAL"; last; } if (/(You specified an invalid share name|NT_STATUS_BAD_NETWORK_NAME)/) { $answer = "Invalid share name \\\\$host\\$share\n"; $state = "CRITICAL"; last; } } } print $answer; print "$state\n" if ($verbose); exit $ERRORS{$state}; sub print_usage () { print "Usage: $PROGNAME -H -s -u -p -w -c [-W ] [-P ]\n"; } sub print_help () { print_revision($PROGNAME,'$Revision: 1247 $'); print "Copyright (c) 2000 Michael Anthon/Karl DeBisschop Perl Check SMB Disk plugin for Nagios "; print_usage(); print " -H, --hostname=HOST NetBIOS name of the server -s, --share=STRING Share name to be tested -W, --workgroup=STRING Workgroup or Domain used (Defaults to \"WORKGROUP\") -u, --user=STRING Username to log in to server. (Defaults to \"guest\") -p, --password=STRING Password to log in to server. (Defaults to an empty password) -w, --warning=INTEGER or INTEGER[kMG] Percent of used space at which a warning will be generated (Default: 85%) -c, --critical=INTEGER or INTEGER[kMG] Percent of used space at which a critical will be generated (Defaults: 95%) -P, --port=INTEGER Port to be used to connect to. Some Windows boxes use 139, others 445 (Defaults to smbclient default) If thresholds are followed by either a k, M, or G then check to see if that much disk space is available (kilobytes, Megabytes, Gigabytes) Warning percentage should be less than critical Warning (remaining) disk space should be greater than critical. "; support(); } -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Niji.Ogunbameru at phgroup.com Mon Jun 18 15:36:56 2012 From: Niji.Ogunbameru at phgroup.com (Niji Ogunbameru) Date: Mon, 18 Jun 2012 13:36:56 +0000 Subject: FW: Error Found in script check_disk_smb In-Reply-To: <4FDEEE0C.3000506@phgroup.com> References: <4FDEEE0C.3000506@phgroup.com> Message-ID: <88D126350F17F5488730A57BE7DB711B71ECB6@xchange.phgroup.com> Dear Nagios_users The following error have been generated when using the the script check_disk_smb as follows zenosssrv:/usr/local/zenoss/common/libexec # /usr/local/zenoss/common/libexec/check_disk_smb -H ..com -s fscs ERROR:: Can't exec "//..com/fscs": No such file or directory at /usr/local/zenoss/common/libexec/check_disk_smb line 166. Use of uninitialized value $res in split at /usr/local/zenoss/common/libexec/check_disk_smb line 172. Use of uninitialized value $_ in pattern match (m//) at /usr/local/zenoss/common/libexec/check_disk_smb line 180. Result from smbclient not suitable As the error has stated and on checking the script, line 166 contained the following $res = qx/$smbclient \/\/$host\/$share -U $user%$pass $smbclientoptions -c ls/; but scroll down to line 61 since I was tring to find out where $smbclient was defined, $smbclient was defined on line 61 and line 61 contained the following my $smbclient= "$utils::PATH_TO_SMBCLIENT " ; But strangely line 61 also contained a variable $utils $utils is not defined anywhere and I believed that because $utils is not defined, in effects causes $smbclient not to exist. so in line 166 the only command that seems to be ran is \/\/$host\/$share -U $user%$pass $smbclientoptions -c ls/; hence forced the OS to return the error specified Why is $utils not defined and is there any fix for this issue. IS there any manual for this script? OS in use:: SuSe Enterprise ver 11 Application:: Zenoss application I have limited knowledge in perl, please kindly make the solution as clear as possible Many thanks in anticipation. Kind Regards -Niji -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_disk_smb URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 18 19:24:30 2012 From: agriffin at nagios.com (Alex Griffin) Date: Mon, 18 Jun 2012 12:24:30 -0500 Subject: Allow access to custom variables outside Nagios In-Reply-To: <22C1952F-BC3C-40A1-B207-B9AA04528F76@gmail.com> References: <22C1952F-BC3C-40A1-B207-B9AA04528F76@gmail.com> Message-ID: <4FDF644E.3090108@nagios.com> Custom variables are are case-sensitive. Try using NAGIOS__HOSTserverfunction. Alex Griffin --- Tech Team agriffin at nagios.com On 06/16/2012 06:05 AM, Ruslan Valiyev wrote: > Hi all, > > We have custom variables like this: > > define host { > use linux-server > host_name host.foo.com > address 192.168.1.44 > _serverfunction Oracle EBS R12 Application Server > _serveradmin Admins_Linux > _serviceadmin //Admins_Oracle > _userorg ACME > } > > Now we have our own script to send out the notifications. And, > apparently, custom variables are not exported outside Nagios for safety. > > To give an example of when we?re able to get the var data: > my $o_hostname = $ENV{NAGIOS_HOSTNAME}; > > And this one doesn?t return anything: > my $o_hostfunction = $ENV{NAGIOS__HOSTSERVERFUNCTION}; > > Could someone help finding this limitation in the source code? The > environment we have is pretty strict and isolated, also the custom > variables we use never contain any confidential information. > > > Regards, > Ruslan > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 18 19:27:47 2012 From: agriffin at nagios.com (Alex Griffin) Date: Mon, 18 Jun 2012 12:27:47 -0500 Subject: Allow access to custom variables outside Nagios In-Reply-To: <4FDF644E.3090108@nagios.com> References: <22C1952F-BC3C-40A1-B207-B9AA04528F76@gmail.com> <4FDF644E.3090108@nagios.com> Message-ID: <4FDF6513.9060507@nagios.com> Disregard this. I was clearly wrong... Alex Griffin --- Tech Team agriffin at nagios.com On 06/18/2012 12:24 PM, Alex Griffin wrote: > Custom variables are are case-sensitive. Try using > NAGIOS__HOSTserverfunction. > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > On 06/16/2012 06:05 AM, Ruslan Valiyev wrote: >> Hi all, >> >> We have custom variables like this: >> >> define host { >> use linux-server >> host_name host.foo.com >> address 192.168.1.44 >> _serverfunction Oracle EBS R12 Application Server >> _serveradmin Admins_Linux >> _serviceadmin //Admins_Oracle >> _userorg ACME >> } >> >> Now we have our own script to send out the notifications. And, >> apparently, custom variables are not exported outside Nagios for safety. >> >> To give an example of when we?re able to get the var data: >> my $o_hostname = $ENV{NAGIOS_HOSTNAME}; >> >> And this one doesn?t return anything: >> my $o_hostfunction = $ENV{NAGIOS__HOSTSERVERFUNCTION}; >> >> Could someone help finding this limitation in the source code? The >> environment we have is pretty strict and isolated, also the custom >> variables we use never contain any confidential information. >> >> >> Regards, >> Ruslan >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adamigoarnold at gmail.com Tue Jun 19 11:15:25 2012 From: adamigoarnold at gmail.com (Axel Amigo Arnold) Date: Tue, 19 Jun 2012 11:15:25 +0200 Subject: check_procs returning wrong data In-Reply-To: <4FDF2D92.4020108@op5.se> References: <4FDEED2E.1000700@op5.se> <4FDF2D92.4020108@op5.se> Message-ID: I finally got it working but it was not that easy. As I am using CentOS 5, by default the requiretty value in the /etc/sudoers file is activated, so I had to edit it like this: #Defaults requiretty nagios ALL=(ALL) NOPASSWD:/usr/local/nagios/libexec/check_procs And the command in the .cfg file would be like this: command[check_total_procs]=sudo /usr/local/nagios/libexec/check_procs -w 150 -c 200 Hope it helps!! 2012/6/18 Andreas Ericsson > On 06/18/2012 11:51 AM, Axel Amigo Arnold wrote: > > Hi Andreas, thank you for the response. > > > > I already have the suid bit activated in the check_procs binary as you > can > > see here (I just copied the values of check_icmp) > > -r-sr-sr-x > > > > The user for this binary is root, and the group is nagios (just as > > check_icmp), but I still can't access the total process list. > > In the command definition, should I make something like this? > > > > command[check_total_procs]=/usr/local/nagios/libexec/sudo check_procs -w > > 150 -c 200 > > > > That might help. Try and find out. > > -- > 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. > -- Un saludo, Axel Amigo Arnold -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From e.sanchez at libelium.com Tue Jun 19 14:25:37 2012 From: e.sanchez at libelium.com (Ernesto Sanchez) Date: Tue, 19 Jun 2012 14:25:37 +0200 Subject: Help with "DISK UNKNOWN - free space: " error In-Reply-To: <4FE06B47.8040403@libelium.com> References: <4FE06B47.8040403@libelium.com> Message-ID: <4FE06FC1.2030103@libelium.com> Solved! Just changed command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/root to: command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p / nagios user has problems to access to /var/named/chroot/var/run/dbus but now works well. Ernesto Sanchez El 19/06/12 14:06, Ernesto Sanchez escribi?: > Hello, I've a server with nrpe and the following commands in > /usr/local/nagios/etc/nrpe.cfg : > > 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/root > command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 > -c 10 -s Z > command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w > 150 -c 200 > command[check_mem]=/usr/local/nagios/libexec/check_mem.sh 85 95 > > if I exec in a console /usr/local/nagios/libexec/check_disk -w 20% -c > 10% -p /dev/root i obtain the following: > > DISK OK - free space: /var/named/chroot/var/run/dbus 24513 MB (52% > inode=88%);| /var/named/chroot/var/run/dbus=21787MB;39005;43881;0;48757 > > In the nagios server i've the following config file: > > define host{ > use generic-host ; Name of host > template to us > host_name server_name > alias alas_server_name > address ip_address > icon_image base/linux40.jpg > statusmap_image base/linux40.gd2 > } > > # Check hda1 > define service{ > use generic-service > host_name server_name > service_description Disk > check_command check_nrpe!check_hda1 > } > > But nagios report an "DISK UNKNOWN - free space: " on web interface > and the same if I do /usr/lib/nagios/plugins/check_nrpe -H ip_address > -c check_hda1 > > Somebody can help me? > > A lot of thanks in advance. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Jun 19 14:32:55 2012 From: benny at bennyvision.com (C. Bensend) Date: Tue, 19 Jun 2012 07:32:55 -0500 Subject: check_procs returning wrong data In-Reply-To: References: <4FDEED2E.1000700@op5.se> <4FDF2D92.4020108@op5.se> Message-ID: <7a153fb48352cf34e50e24438e808a2f.squirrel@webmail.stinkweasel.net> > I finally got it working but it was not that easy. As I am using CentOS 5, > by default the requiretty value in the /etc/sudoers file is activated, so > I > had to edit it like this: > #Defaults requiretty > nagios ALL=(ALL) NOPASSWD:/usr/local/nagios/libexec/check_procs > > And the command in the .cfg file would be like this: > command[check_total_procs]=sudo /usr/local/nagios/libexec/check_procs -w > 150 -c 200 It's a bit safer to use this right before the user and command definition: Defaults:nagios !requiretty That way, you're leaving the restriction in place for *other* users, you're just overriding it for the nagios user. Benny -- "Death rays, advanced technology or not, no creature wants to be stabbed in their hoo-hoo." -- Seen on zombiehunters.org ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From e.sanchez at libelium.com Tue Jun 19 14:06:31 2012 From: e.sanchez at libelium.com (Ernesto Sanchez) Date: Tue, 19 Jun 2012 14:06:31 +0200 Subject: Help with "DISK UNKNOWN - free space: " error Message-ID: <4FE06B47.8040403@libelium.com> Hello, I've a server with nrpe and the following commands in /usr/local/nagios/etc/nrpe.cfg : 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/root command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200 command[check_mem]=/usr/local/nagios/libexec/check_mem.sh 85 95 if I exec in a console /usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/root i obtain the following: DISK OK - free space: /var/named/chroot/var/run/dbus 24513 MB (52% inode=88%);| /var/named/chroot/var/run/dbus=21787MB;39005;43881;0;48757 In the nagios server i've the following config file: define host{ use generic-host ; Name of host template to us host_name server_name alias alas_server_name address ip_address icon_image base/linux40.jpg statusmap_image base/linux40.gd2 } # Check hda1 define service{ use generic-service host_name server_name service_description Disk check_command check_nrpe!check_hda1 } But nagios report an "DISK UNKNOWN - free space: " on web interface and the same if I do /usr/lib/nagios/plugins/check_nrpe -H ip_address -c check_hda1 Somebody can help me? A lot of thanks in advance. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 19 15:39:42 2012 From: mail at catsnest.co.uk (RichTea) Date: Tue, 19 Jun 2012 14:39:42 +0100 Subject: Help with "DISK UNKNOWN - free space: " error In-Reply-To: <4FE06B47.8040403@libelium.com> References: <4FE06B47.8040403@libelium.com> Message-ID: On Tue, Jun 19, 2012 at 1:06 PM, Ernesto Sanchez wrote: > Hello, I've a server with nrpe and the following commands in > /usr/local/nagios/etc/nrpe.cfg : > > 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/root > command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 > -c 10 -s Z > command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 > -c 200 > command[check_mem]=/usr/local/nagios/libexec/check_mem.sh 85 95 > > if I exec in a console /usr/local/nagios/libexec/check_disk -w 20% -c > 10% -p /dev/root i obtain the following: > > DISK OK - free space: /var/named/chroot/var/run/dbus 24513 MB (52% > inode=88%);| /var/named/chroot/var/run/dbus=21787MB;39005;43881;0;48757 > > In the nagios server i've the following config file: > > define host{ > use generic-host ; Name of host > template to us > host_name server_name > alias alas_server_name > address ip_address > icon_image base/linux40.jpg > statusmap_image base/linux40.gd2 > } > > # Check hda1 > define service{ > use generic-service > host_name server_name > service_description Disk > check_command check_nrpe!check_hda1 > } > > But nagios report an "DISK UNKNOWN - free space: " on web interface and > the same if I do /usr/lib/nagios/plugins/check_nrpe -H ip_address -c > check_hda1 > > Somebody can help me? > Check the permissions on the remote server, eg can the NRPE User run the command locally. Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > > A lot of thanks in advance. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at kognitio.com Tue Jun 19 15:59:48 2012 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Tue, 19 Jun 2012 13:59:48 +0000 Subject: Help with "DISK UNKNOWN - free space: " error In-Reply-To: References: <4FE06B47.8040403@libelium.com> Message-ID: Check in /var/log/messages (or wherever you are logging to) on the server that should be running check_hda1 to ensure that the nagios node is able to communicate via nrpe. Also check you can run /usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/root on the nrpe node. Is it owned by the nagios user, does it belong to the nagios group (or whatever you?ve defined for this in nrpe.cfg) Regards, Deborah From: RichTea [mailto:mail at catsnest.co.uk] Sent: 19 June 2012 14:40 To: Nagios Users List Subject: Re: [Nagios-users] Help with "DISK UNKNOWN - free space: " error On Tue, Jun 19, 2012 at 1:06 PM, Ernesto Sanchez > wrote: Hello, I've a server with nrpe and the following commands in /usr/local/nagios/etc/nrpe.cfg : 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/root command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200 command[check_mem]=/usr/local/nagios/libexec/check_mem.sh 85 95 if I exec in a console /usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/root i obtain the following: DISK OK - free space: /var/named/chroot/var/run/dbus 24513 MB (52% inode=88%);| /var/named/chroot/var/run/dbus=21787MB;39005;43881;0;48757 In the nagios server i've the following config file: define host{ use generic-host ; Name of host template to us host_name server_name alias alas_server_name address ip_address icon_image base/linux40.jpg statusmap_image base/linux40.gd2 } # Check hda1 define service{ use generic-service host_name server_name service_description Disk check_command check_nrpe!check_hda1 } But nagios report an "DISK UNKNOWN - free space: " on web interface and the same if I do /usr/lib/nagios/plugins/check_nrpe -H ip_address -c check_hda1 Somebody can help me? Check the permissions on the remote server, eg can the NRPE User run the command locally. Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> A lot of thanks in advance. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miskobs at yahoo.com Wed Jun 20 10:06:01 2012 From: miskobs at yahoo.com (Bratislav Stojkovic) Date: Wed, 20 Jun 2012 01:06:01 -0700 (PDT) Subject: (no subject) Message-ID: <1340179561.26571.BPMail_high_noncarrier@web160703.mail.bf1.yahoo.com> Make alot of money right from your PC http://auditoriamedicahoy.com.ar/na1ac13good.php?gshowtopic=16t7 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmweze at yahoo.fr Wed Jun 20 09:13:57 2012 From: lmweze at yahoo.fr (=?iso-8859-1?Q?L=E9andre_Mweze?=) Date: Wed, 20 Jun 2012 08:13:57 +0100 (BST) Subject: help Message-ID: <1340176437.63510.YahooMailNeo@web133002.mail.ir2.yahoo.com> I have already install nagios3 but I do not know how to add nodes to start monitoring can you please help me? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 20 16:17:46 2012 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 20 Jun 2012 15:17:46 +0100 Subject: help In-Reply-To: <1340176437.63510.YahooMailNeo@web133002.mail.ir2.yahoo.com> References: <1340176437.63510.YahooMailNeo@web133002.mail.ir2.yahoo.com> Message-ID: <4FE1DB8A.7030003@flatto.net> Read the documentation On 20/06/12 08:13, L?andre Mweze wrote: > I have already install nagios3 but I do not know how to add nodes to > start monitoring can you please help me? > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 sciodev.com Wed Jun 20 19:21:55 2012 From: jlpaneda at sciodev.com (=?iso-8859-1?Q?Jorge_Pa=F1eda?=) Date: Wed, 20 Jun 2012 12:21:55 -0500 Subject: help Message-ID: Hi Leandre, You need to read the documentation but maybe these two links can help you start to familiarize with nagios. http://www.thegeekstuff.com/2008/07/how-to-monitor-remote-windows-machine-using-nagios-on-linux/ http://www.thegeekstuff.com/2008/06/how-to-monitor-remote-linux-host-using-nagios-30/ 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: L?andre Mweze [mailto:lmweze at yahoo.fr] Sent: mi?rcoles, 20 de junio de 2012 02:14 a.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] help I have already install nagios3 but I do not know how to add nodes to start monitoring can you please help me? -------------- 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nibin.vm at piserve.com Wed Jun 20 20:09:08 2012 From: nibin.vm at piserve.com (Nibin V M) Date: Wed, 20 Jun 2012 23:39:08 +0530 Subject: strange issue - snmp Message-ID: Hello, I am facing a strange issue now. I have the check_raid plugin downloaded from http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/RAID-Controllers/check_raid/detailson my server. It return good result when I try to run it locally # /root/raid_new OK: 3ware:[c0(95545SXU-4LP): u0:OK, (disks: p0:OK p1:OK p2:OK p3:OK)] But when I try to call it via check_snmp, it isn't working. # ./check_snmp -H server.com -C public -o extOutput.1 -t 60 -r CRITICAL --invert-search [ I run the script using exec function in snmpd.conf ) SNMP OK - No RAID configuration found. | The strange thing is the same configuration is working fine on another server! Am I missing something...please help! Thank you, -- Regards, Nibin. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.sommella at gmail.com Thu Jun 21 04:22:07 2012 From: marco.sommella at gmail.com (Marco Sommella) Date: Thu, 21 Jun 2012 04:22:07 +0200 Subject: Help with not working Next Low Priority Event Time Message-ID: Hi, after a problem with system time and date i had the following problem: # date Thu Jun 21 04:17:42 CEST 2012 # tail -f /usr/local/nagios/var/nagios.debug [1340245066.063250] [001.0] [pid=2153] add_event() [1340245066.063256] [064.1] [pid=2153] Making callbacks (type 8)... [1340245066.063262] [008.1] [pid=2153] ** Event Check Loop [1340245066.063276] [008.1] [pid=2153] Next High Priority Event Time: Thu Jun 21 04:17:56 2012 [1340245066.063287] [008.1] [pid=2153] Next Low Priority Event Time: Fri Oct 19 04:24:21 2012 [1340245066.063294] [008.1] [pid=2153] Current/Max Service Checks: 0/50 [1340245066.063300] [008.2] [pid=2153] No events to execute at the moment. Idling for a bit... [1340245066.063305] [001.0] [pid=2153] check_for_external_commands() [1340245066.063311] [064.1] [pid=2153] Making callbacks (type 18)... [1340245066.063318] [064.1] [pid=2153] Making callbacks (type 8)... Evidently.something mess up with Next Low Priority Event Time because it's too far in the future, the result is my nagios server is working but doesn't doing any check !!! Plz help how i can fix it? Tnx a lot ------------------------------------------------------------------ Marco Sommella marco.sommella at gmail.com (E-Mail & MSN) ------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luisforchesatto at gmail.com Thu Jun 21 14:07:29 2012 From: luisforchesatto at gmail.com (Luis H. Forchesatto) Date: Thu, 21 Jun 2012 09:07:29 -0300 Subject: check windows's manager tasks In-Reply-To: <1339620338.91422.YahooMailClassic@web132103.mail.ird.yahoo.com> References: <4FD8A7D5.9090509@nagios.com> <1339620338.91422.YahooMailClassic@web132103.mail.ird.yahoo.com> Message-ID: I think he wants to monitor a process on windows, and receive alert when it is not running. Like receiving alert when explorer.exe stops running... 2012/6/13 bruno beatrice > when the task doesn't start > > --- En date de : *Mer 13.6.12, Alex Griffin * a > ?crit : > > > De: Alex Griffin > Objet: Re: [Nagios-users] check windows's manager tasks > ?: "Nagios Users List" > Date: Mercredi 13 juin 2012, 16h46 > > > What do you mean when you say "it doesn't work"? That's very vague and > not enough information to help you. > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > On 06/12/2012 07:33 AM, bruno beatrice wrote: > > hello, > > i'd like check my windows task manager. i'd like to receive a mail when > > it doesn't work. i don't nagios very well. Someone can explain me step > > by step how i must configure my nagios? > > thank's > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Att.* *** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 21 16:01:47 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Thu, 21 Jun 2012 14:01:47 +0000 Subject: 2 Nagios boxes in 1 web interface Message-ID: Hello, At the moment I have 1 box setup, monitoring 2 sites (1 local and 1 remote) and if I go to www.blablabla.co.uk it routes through to my office and nagios box and the web interface is displayed. I want to put a box in at the remote site so both boxes only check their own sites (need to reduce load and traffic over the VPN) Is there a plugin that allows both localhost/nagios web interfaces to be shown into 1 that is accessible via my www.blablabla.co.uk address? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 21 16:24:01 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Thu, 21 Jun 2012 14:24:01 +0000 Subject: 2 Nagios boxes in 1 web interface In-Reply-To: References: Message-ID: <8DA916EC-1F63-4291-866D-AD64E527CE38@statefarm.com> Check out check_mk multisite, I think that will do what you want. Dan On Jun 21, 2012, at 9:01 AM, Andrew Thompson wrote: Hello, At the moment I have 1 box setup, monitoring 2 sites (1 local and 1 remote) and if I go to www.blablabla.co.uk it routes through to my office and nagios box and the web interface is displayed. I want to put a box in at the remote site so both boxes only check their own sites (need to reduce load and traffic over the VPN) Is there a plugin that allows both localhost/nagios web interfaces to be shown into 1 that is accessible via my www.blablabla.co.uk address? Thanks ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mguthrie at nagios.com Thu Jun 21 16:29:02 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Thu, 21 Jun 2012 09:29:02 -0500 Subject: 2 Nagios boxes in 1 web interface In-Reply-To: References: Message-ID: <4FE32FAE.6070400@nagios.com> If you're not wanting to forward results from one nagios server to the next by using an OSCP command, then you'd probably be looking at one of the central dashboard addons for Nagios. Nagios Fusion (Commercial) http://labs.nagios.com/2012/06/08/nagios-fusion-2012-public-beta-available/ MK Multisite /**/http://mathias-kettner.de/checkmk_multisite.html MNTOS http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/Web-Interfaces/MNTOS/details On 6/21/2012 9:01 AM, Andrew Thompson wrote: > > Hello, > > At the moment I have 1 box setup, monitoring 2 sites (1 local and 1 > remote) and if I go to www.blablabla.co.uk > it routes through to my office and nagios > box and the web interface is displayed. > > I want to put a box in at the remote site so both boxes only check > their own sites (need to reduce load and traffic over the VPN) > > Is there a plugin that allows both localhost/nagios web interfaces to > be shown into 1 that is accessible via my www.blablabla.co.uk > address? > > Thanks > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AdcockJ at leoncountyfl.gov Thu Jun 21 16:43:39 2012 From: AdcockJ at leoncountyfl.gov (Jon Adcock) Date: Thu, 21 Jun 2012 10:43:39 -0400 Subject: 2 Nagios boxes in 1 web interface In-Reply-To: References: Message-ID: <4FE2FADB0200007500014931@gwia2.leoncountyfl.gov> >>Hello, >> >>At the moment I have 1 box setup, monitoring 2 sites (1 local and 1 remote) and if I go to www.blablabla.co.uk >> it routes through to my office and nagios box and the web interface is displayed. >> >>I want to put a box in at the remote site so both boxes only check their own sites (need to reduce load and traffic over the VPN) >> >>Is there a plugin that allows both localhost/nagios web interfaces to be shown into 1 that is accessible via my www.blablabla.co.uk >> address? >> >>Thanks >> Andrew, I'll offer two simple solutions to your question (we use both). MNTOS reaches out to the Tactical Overview CGI and pulls in the high-level status of each of the defined Nagios servers and displays it on a web page as shown: http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/Web-Interfaces/MNTOS/details The second solution is a Windows Desktop utility that runs as an icon in your System Tray called NagStaMon: http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/Windows-Interfaces/nagstamon/details Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 21 17:06:48 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Thu, 21 Jun 2012 16:06:48 +0100 Subject: 2 Nagios boxes in 1 web interface In-Reply-To: <4FE32FAE.6070400@nagios.com> References: <4FE32FAE.6070400@nagios.com> Message-ID: <006201cd4fbf$7b8df0a0$72a9d1e0$@gmail.com> Thankyou Mike/Dan @Mike - Yes you are right, I am not wanting to send results between servers just have both web interfaces displayed as 1. Ill be sure to check these out. Regards From: Mike Guthrie [mailto:mguthrie at nagios.com] Sent: 21 June 2012 15:29 To: Nagios Users List Subject: Re: [Nagios-users] 2 Nagios boxes in 1 web interface If you're not wanting to forward results from one nagios server to the next by using an OSCP command, then you'd probably be looking at one of the central dashboard addons for Nagios. Nagios Fusion (Commercial) http://labs.nagios.com/2012/06/08/nagios-fusion-2012-public-beta-available/ MK Multisite http://mathias-kettner.de/checkmk_multisite.html MNTOS http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/We b-Interfaces/MNTOS/details On 6/21/2012 9:01 AM, Andrew Thompson wrote: Hello, At the moment I have 1 box setup, monitoring 2 sites (1 local and 1 remote) and if I go to www.blablabla.co.uk it routes through to my office and nagios box and the web interface is displayed. I want to put a box in at the remote site so both boxes only check their own sites (need to reduce load and traffic over the VPN) Is there a plugin that allows both localhost/nagios web interfaces to be shown into 1 that is accessible via my www.blablabla.co.uk address? Thanks ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btroi2003 at yahoo.fr Thu Jun 21 17:49:16 2012 From: btroi2003 at yahoo.fr (bruno beatrice) Date: Thu, 21 Jun 2012 16:49:16 +0100 (BST) Subject: check windows's manager tasks In-Reply-To: References: Message-ID: <1340293756.78075.YahooMailClassic@web132103.mail.ird.yahoo.com> Yes it's right. --- En date de?: Jeu 21.6.12, Luis H. Forchesatto a ?crit?: De: Luis H. Forchesatto Objet: Re: [Nagios-users] check windows's manager tasks ?: "Nagios Users List" Date: Jeudi 21 juin 2012, 14h07 I think he wants to monitor a process on windows, and receive alert when it is not running. Like receiving alert when explorer.exe stops running... 2012/6/13 bruno beatrice when the task doesn't start --- En date de?: Mer 13.6.12, Alex Griffin a ?crit?: De: Alex Griffin Objet: Re: [Nagios-users] check windows's manager tasks ?: "Nagios Users List" Date: Mercredi 13 juin 2012, 16h46 What do you mean when you say "it doesn't work"? That's very vague and not enough information to help you. Alex Griffin --- Tech Team agriffin at nagios.com On 06/12/2012 07:33 AM, bruno beatrice wrote: > hello, > i'd like check my windows task manager. i'd like to receive a mail when > it doesn't work. i don't nagios very well. Someone can explain me step > by step how i must configure my nagios? > thank's > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Att. -----La pi?ce jointe associ?e suit----- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -----La pi?ce jointe associ?e suit----- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 21 21:21:39 2012 From: yribbens at nagios.com (Yancy Ribbens) Date: Thu, 21 Jun 2012 14:21:39 -0500 Subject: check windows's manager tasks In-Reply-To: <1340293756.78075.YahooMailClassic@web132103.mail.ird.yahoo.com> References: <1340293756.78075.YahooMailClassic@web132103.mail.ird.yahoo.com> Message-ID: <4FE37443.9040807@nagios.com> Luis, Some options are: 1) use a external script, and install an agent such as NSClient++ on your Windows box. http://www.nsclient.org/nscp/wiki/doc/usage/nagios/nrpe Here is one such script: http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/Check-Windows-Processes--2D-TK/details Create NRPE command definition to run the external script 2) use WMI to monitor your services. There are some examples listed here, including windows services: http://www.edcint.co.nz/checkwmiplus/?q=node/57 Currently, Option 1 is generally more scalable but requires installing an agent. Option 2 would require no agent but performance becomes an issue as you start adding more check_wmi_plus checks. Yancy Ribbens --- Tech Team yribbens at nagios.com On 6/21/2012 10:49 AM, bruno beatrice wrote: > Yes it's right. > > > --- En date de : *Jeu 21.6.12, Luis H. Forchesatto //* a ?crit : > > > De: Luis H. Forchesatto > Objet: Re: [Nagios-users] check windows's manager tasks > ?: "Nagios Users List" > Date: Jeudi 21 juin 2012, 14h07 > > I think he wants to monitor a process on windows, and receive alert when it is not running. Like > receiving alert when explorer.exe stops running... > > 2012/6/13 bruno beatrice > > > when the task doesn't start > > --- En date de : *Mer 13.6.12, Alex Griffin / >/* a ?crit : > > > De: Alex Griffin > > Objet: Re: [Nagios-users] check windows's manager tasks > ?: "Nagios Users List" > > Date: Mercredi 13 juin 2012, 16h46 > > > What do you mean when you say "it doesn't work"? That's very vague and > not enough information to help you. > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > On 06/12/2012 07:33 AM, bruno beatrice wrote: > > hello, > > i'd like check my windows task manager. i'd like to receive a mail when > > it doesn't work. i don't nagios very well. Someone can explain me step > > by step how i must configure my nagios? > > thank's > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > Att.* > *** > > -----La pi?ce jointe associ?e suit----- > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > -----La pi?ce jointe associ?e suit----- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luisforchesatto at gmail.com Thu Jun 21 21:35:16 2012 From: luisforchesatto at gmail.com (Luis H. Forchesatto) Date: Thu, 21 Jun 2012 16:35:16 -0300 Subject: check windows's manager tasks In-Reply-To: <4FE37443.9040807@nagios.com> References: <1340293756.78075.YahooMailClassic@web132103.mail.ird.yahoo.com> <4FE37443.9040807@nagios.com> Message-ID: Sure Yancy But the question isn't mine... ^^' 2012/6/21 Yancy Ribbens > Luis, > > Some options are: > > 1) use a external script, and install an agent such as NSClient++ on your > Windows box. > > http://www.nsclient.org/nscp/wiki/doc/usage/nagios/nrpe > > Here is one such script: > > http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/Check-Windows-Processes--2D-TK/details > > Create NRPE command definition to run the external script > > > 2) use WMI to monitor your services. > > There are some examples listed here, including windows services: > http://www.edcint.co.nz/checkwmiplus/?q=node/57 > > > Currently, Option 1 is generally more scalable but requires installing an > agent. Option 2 would > require no agent but performance becomes an issue as you start adding more > check_wmi_plus checks. > > > Yancy Ribbens > --- > Tech Team > yribbens at nagios.com > > > On 6/21/2012 10:49 AM, bruno beatrice wrote: > > Yes it's right. > > > > > > --- En date de : *Jeu 21.6.12, Luis H. Forchesatto /< > luisforchesatto at gmail.com>/* a ?crit : > > > > > > De: Luis H. Forchesatto > > Objet: Re: [Nagios-users] check windows's manager tasks > > ?: "Nagios Users List" > > Date: Jeudi 21 juin 2012, 14h07 > > > > I think he wants to monitor a process on windows, and receive alert > when it is not running. Like > > receiving alert when explorer.exe stops running... > > > > 2012/6/13 bruno beatrice btroi2003 at yahoo.fr>> > > > > when the task doesn't start > > > > --- En date de : *Mer 13.6.12, Alex Griffin /< > agriffin at nagios.com > > >/* a ?crit : > > > > > > De: Alex Griffin agriffin at nagios.com>> > > Objet: Re: [Nagios-users] check windows's manager tasks > > ?: "Nagios Users List" > > > > Date: Mercredi 13 juin 2012, 16h46 > > > > > > What do you mean when you say "it doesn't work"? That's very > vague and > > not enough information to help you. > > > > Alex Griffin > > --- > > Tech Team > > agriffin at nagios.com < > http://mc/compose?to=agriffin at nagios.com> > > > > On 06/12/2012 07:33 AM, bruno beatrice wrote: > > > hello, > > > i'd like check my windows task manager. i'd like to > receive a mail when > > > it doesn't work. i don't nagios very well. Someone can > explain me step > > > by step how i must configure my nagios? > > > thank's > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's > security and > > > threat landscape has changed and how IT managers can > respond. Discussions > > > will include endpoint security, mobile security and the > latest in malware > > > threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) > and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's > security and > > threat landscape has changed and how IT managers can > respond. Discussions > > will include endpoint security, mobile security and the > latest in malware > > threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net < > http://mc/compose?to=Nagios-users at lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > Discussions > > will include endpoint security, mobile security and the latest > in malware > > threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net Nagios-users at lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > > > > > -- > > Att.* > > *** > > > > -----La pi?ce jointe associ?e suit----- > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > Discussions > > will include endpoint security, mobile security and the latest in > malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > -----La pi?ce jointe associ?e suit----- > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net Nagios-users at lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Att.* *** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Eliot.Picken at wenaas.co.uk Thu Jun 21 21:39:10 2012 From: Eliot.Picken at wenaas.co.uk (Eliot Picken) Date: Thu, 21 Jun 2012 20:39:10 +0100 Subject: AUTO: Eliot Picken is out of the office (returning 02/07/2012) Message-ID: I am out of the office until 02/07/2012. I am currently out of the office and will be checking this email account outside office hours only. Your email has not been forwarded. For emergency issues, please contact Alex Lawrie on +44 (0) 1224 894 000 Note: This is an automated response to your message "Re: [Nagios-users] check windows's manager tasks" sent on 6/21/2012 8:21:39 PM. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 21 22:18:26 2012 From: yribbens at nagios.com (Yancy Ribbens) Date: Thu, 21 Jun 2012 15:18:26 -0500 Subject: check windows's manager tasks In-Reply-To: References: <1340293756.78075.YahooMailClassic@web132103.mail.ird.yahoo.com> <4FE37443.9040807@nagios.com> Message-ID: <4FE38192.5040309@nagios.com> Sorry about that Luis! Bruno Beatrice, please see the response posted. Regards, Yancy Ribbens --- Tech Team yribbens at nagios.com On 6/21/2012 2:35 PM, Luis H. Forchesatto wrote: > bruno beatrice ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pthirose at ucdavis.edu Fri Jun 22 01:10:53 2012 From: pthirose at ucdavis.edu (Paul Hirose) Date: Thu, 21 Jun 2012 23:10:53 +0000 Subject: Notifications: host vs service notification time Message-ID: <660B502D0A1BE14C89683AE5A34897BF2803E07A@exmbx10.ex.ad3.ucdavis.edu> In short, if a host is set with notification from 8am-5pm, and a service that checks that host is set to 24hrs, will a failed service check notify anyone outside of 8am-5pm? In a bit more detail, looking at http://nagios.sourceforge.net/docs/3_0/notifications.html and the paragraph about "The fourth host or service filter...." does the notification only go out on the "intersection" of the two schedules? Or does the service notification schedule apply for service check and the host notification schedule apply for host check, and the two have nothing to do with each other otherwise? As a concrete example, I want to do a simple check_load on two hosts, one development server and one production server. The dev server, I only want to get paged on check_load between 8a-5p, whereas the production server I want to be paged 24x7. I create two hosts, devserver and prodserver, w/a notification schedule of 8a-5p, and 24x7, respectively for host check. Right now, I also have two separate service checks: check_load_dev and check_load_prod, the first w/a notification schedule of 8a-5p and the other 24x7. I'm basically shooting to only have one check_load service check, it'll clean up my nagios services listing alot, not to have one -dev and one -prod check for the same thing, w/the only difference being the service check's notification time. Thank you, PH == Paul Hirose ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo at apollon.de Fri Jun 22 13:03:51 2012 From: ingo at apollon.de (Ingo Fischer) Date: Fri, 22 Jun 2012 13:03:51 +0200 Subject: OK Notifications only for CRITICAL->OK ?! Message-ID: <4FE45117.5070707@apollon.de> Hi, i hope you can help me, because I'm relative new and was unable to find a solution till now. The current setup of our Nagios system is the following: - All Notifications are send out by email - CRITICAL Notifications are send out by SMS too Now my problem is the following: When I sit at home and get an SMS with a CRITICAL notification I do not see if the problem got solved in the meantime or if it is still CRITICAL. The only way at the moment is to ways 10 mins when the next CRITICAL-SMS should be sended. It is easy to change it that also OK notifications are send by SMS, but then I also get all WARNING->SMS notification as SMS and this is not that good. Is there any wy to configure the notifications that: - all CRITICAL and - all CRITICAL-to-OK-Changes are sended out to one contact group?! Thank you for your help on that, Ingo Fischer ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leo-kretschmar1 at web.de Fri Jun 22 11:00:16 2012 From: leo-kretschmar1 at web.de (Leo Kretschmar) Date: Fri, 22 Jun 2012 11:00:16 +0200 Subject: Navios Core 3 SNMP Message-ID: Hello, I want to use SNMP to monitor CPU and RAM Status in Nagios Core 3. But i doesn't found a "How to". Can you help me to install the SNMP-Plugin? sorry for my bad English! Thanks, Leo Kretschmar ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.gazeley at bristol.ac.uk Fri Jun 22 16:11:05 2012 From: jonathan.gazeley at bristol.ac.uk (Jonathan Gazeley) Date: Fri, 22 Jun 2012 15:11:05 +0100 Subject: Dynamic warning/critical thresholds Message-ID: <4FE47CF9.3090301@bristol.ac.uk> I've got a bunch of Nagios plugins that monitor things like DNS/HTTP/RADIUS hits per second. I've set what I believe to be sensible max/min warning thresholds but what I really want is dynamic thresholds. If some quantity suddenly doubles or halves, I'd like an alert. For example, if I usually serve 10 DNS lookups per second, and suddenly it is doing 20 per second, that isn't a "fault" but I would like to know about it, because it might mean there is a problem with the network in general. Is there a way of doing this? Thanks, Jonathan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at norchemlab.com Fri Jun 22 18:17:13 2012 From: justinp at norchemlab.com (Justin T Pryzby) Date: Fri, 22 Jun 2012 09:17:13 -0700 Subject: Dynamic warning/critical thresholds In-Reply-To: <4FE47CF9.3090301@bristol.ac.uk> References: <4FE47CF9.3090301@bristol.ac.uk> Message-ID: <20120622161713.GA8519@norchemlab.com> I do something similar in some places, but I think they're all custom checks. For example, the number of DNS queries per second in BIND query.log. Rather than set some (static) threshold, I warn if one host has more than 2x the queries of the next ranked host. If it were me, I would write a shell wrapper around the existing nagios check to determine the dynamic thresholds, then exec the stock plugin (perhaps with a longer check_interval since it will be somewhat more "expensive"). For DNS, it might look like (untested): f=/var/cache/bind/query.log x=`awk '{print $1,$2; quit}' "$f"` t0=`date -d "@x" +%s` x=`tail "$f" |awk '{print $1,$2; quit}' "$f"` t1=`date -d "@x" +%s` d=$(($t1-$t2)) n=`wc -l <"$f"` r=$(($n/$d)) [ "$r" -eq 0 ] && echo "OK: very low $n/$d" && exit exec /usr/lib/nagios/plugins/check_???? -w $((2*$r)) -c $((4*$r)) -f "$f" -t 60 That is kind of contrived; I don't know if there's actually a check for DNS query rate (?) The "exec"ed check above is doing essentially nothing that the shell isn't already doing, so you could also write code to test the query rate for just the most recent N minutes, and test if it is above 2*$r or 4*$r. Justin On Fri, Jun 22, 2012 at 03:11:05PM +0100, Jonathan Gazeley wrote: > I've got a bunch of Nagios plugins that monitor things like > DNS/HTTP/RADIUS hits per second. > > I've set what I believe to be sensible max/min warning thresholds but > what I really want is dynamic thresholds. If some quantity suddenly > doubles or halves, I'd like an alert. > > For example, if I usually serve 10 DNS lookups per second, and suddenly > it is doing 20 per second, that isn't a "fault" but I would like to know > about it, because it might mean there is a problem with the network in > general. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 22 21:14:02 2012 From: benny at bennyvision.com (C. Bensend) Date: Fri, 22 Jun 2012 14:14:02 -0500 Subject: Dynamic warning/critical thresholds In-Reply-To: <4FE47CF9.3090301@bristol.ac.uk> References: <4FE47CF9.3090301@bristol.ac.uk> Message-ID: <4ccc97ecec09a90fe2e4ae4f292854fa.squirrel@webmail.stinkweasel.net> > I've got a bunch of Nagios plugins that monitor things like > DNS/HTTP/RADIUS hits per second. > > I've set what I believe to be sensible max/min warning thresholds but > what I really want is dynamic thresholds. If some quantity suddenly > doubles or halves, I'd like an alert. > > For example, if I usually serve 10 DNS lookups per second, and suddenly > it is doing 20 per second, that isn't a "fault" but I would like to know > about it, because it might mean there is a problem with the network in > general. > > Is there a way of doing this? There's always a way. :) However, in this case, you're probably going to have to write a plugin to do it. You're asking to alert on a rate of change, and I can't think of any of the stock plugins that do that. Keeping state between polling runs is something that can get a big ugly. Do some rooting around the plugin community (the Nagios Exchange and/or the Monitoring Exchange) to see if you can find some examples of rate-aware plugins. While it's not rate that it's tracking, I know the check_iptraf*.pl plugins will at least keep state between polling cycles, so that might be somewhere to start. Benny -- "Death rays, advanced technology or not, no creature wants to be stabbed in their hoo-hoo." -- Seen on zombiehunters.org ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bruno.martins at gruporumos.com Mon Jun 25 10:27:05 2012 From: bruno.martins at gruporumos.com (Bruno Martins) Date: Mon, 25 Jun 2012 09:27:05 +0100 Subject: Monitoring Windows 2008 DHCP service Message-ID: Hi list, I used to monitor Windows Server 2003 DHCP service through this: check_nt_proc!r0ci0!"svchost.exe -k DHCPServer"! How can I do the same in 2008 R2? Best regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 25 16:34:42 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Mon, 25 Jun 2012 14:34:42 +0000 Subject: Check_Mk - no hosts Message-ID: Hi, Trialing check_mk plugin as I was 2 nagios boxes in 1 web interface. I have it set up on a test box (but I used OMD for install of everything) Anyhow I have added my Windows 7 laptop to the main.mk file, installed the agent and checked the service is running. and then I run check_mk -I and then check_mk -U but my host doesn't appear? I can telnet from the nagios box to my laptop on port 6556 and can see all info in the terminal, but I cant get it into Nagios/Check_mk Somebody care to point out the most obvious simple step I have omitted? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Mon Jun 25 18:15:08 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Mon, 25 Jun 2012 09:15:08 -0700 Subject: Monitoring Windows 2008 DHCP service In-Reply-To: References: Message-ID: Why use check_nt still? Use NRPE check_nt!SERVICESTATE!-d SHOWALL -l DHCPServer or check_nrpe!CheckServiceState -a DHCPServer On Mon, Jun 25, 2012 at 1:27 AM, Bruno Martins wrote: > Hi list,**** > > ** ** > > I used to monitor Windows Server 2003 DHCP service through this:**** > > ** ** > > check_nt_proc!r0ci0!"svchost.exe -k DHCPServer"!**** > > ** ** > > How can I do the same in 2008 R2?**** > > ** ** > > Best regards,**** > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bruno.martins at gruporumos.com Mon Jun 25 21:02:13 2012 From: bruno.martins at gruporumos.com (Bruno Martins) Date: Mon, 25 Jun 2012 20:02:13 +0100 Subject: Monitoring Windows 2008 DHCP service In-Reply-To: References: Message-ID: <4FE8B5B5.7080101@gruporumos.com> Hello, You're right. I've discovered that way (first one you mentioned) and was able to configure it correctly. Thanks, Bruno On 06/25/2012 05:15 PM, Travis Runyard wrote: > Why use check_nt still? Use NRPE > check_nt!SERVICESTATE!-d SHOWALL -l DHCPServer > or > check_nrpe!CheckServiceState -a DHCPServer > > On Mon, Jun 25, 2012 at 1:27 AM, Bruno Martins > wrote: >> Hi list,**** >> >> ** ** >> >> I used to monitor Windows Server 2003 DHCP service through this:**** >> >> ** ** >> >> check_nt_proc!r0ci0!"svchost.exe -k DHCPServer"!**** >> >> ** ** >> >> How can I do the same in 2008 R2?**** >> >> ** ** >> >> Best regards,**** >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 26 01:03:23 2012 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Tue, 26 Jun 2012 09:03:23 +1000 Subject: Monitoring Windows 2008 DHCP service In-Reply-To: <4FE8B5B5.7080101@gruporumos.com> References: <4FE8B5B5.7080101@gruporumos.com> Message-ID: <4FE8EE3B.80007@edcint.co.nz> Using check_wmi_plus, as well as monitoring the dhcp service (like -m checkservice -a dhcp) you can also monitor various DHCP related stats There is an example here http://edcint.co.nz/checkwmiplus/?q=node/57 On 06/25/2012 05:15 PM, Travis Runyard wrote: >> Why use check_nt still? Use NRPE >> check_nt!SERVICESTATE!-d SHOWALL -l DHCPServer >> or >> check_nrpe!CheckServiceState -a DHCPServer >> >> On Mon, Jun 25, 2012 at 1:27 AM, Bruno Martins >> wrote: >>> Hi list,**** >>> >>> ** ** >>> >>> I used to monitor Windows Server 2003 DHCP service through this:**** >>> >>> ** ** >>> >>> check_nt_proc!r0ci0!"svchost.exe -k DHCPServer"!**** >>> >>> ** ** >>> >>> How can I do the same in 2008 R2?**** >>> >>> ** ** >>> >>> Best regards,**** >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From 1j1qtk at nottheoilrig.com Tue Jun 26 11:28:14 2012 From: 1j1qtk at nottheoilrig.com (Jack Bates) Date: Tue, 26 Jun 2012 02:28:14 -0700 Subject: Multiple parents: *any* or *all*? Message-ID: <4FE980AE.9060304@nottheoilrig.com> When you list multiple other hosts in the "parents" directive of a host, does it mean that this host should be reachable if *any* of these parents are up, or only if *all* of these parents are up? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naparuba at gmail.com Tue Jun 26 11:40:36 2012 From: naparuba at gmail.com (nap) Date: Tue, 26 Jun 2012 11:40:36 +0200 Subject: Multiple parents: *any* or *all*? In-Reply-To: <4FE980AE.9060304@nottheoilrig.com> References: <4FE980AE.9060304@nottheoilrig.com> Message-ID: On Tue, Jun 26, 2012 at 11:28 AM, Jack Bates <1j1qtk at nottheoilrig.com>wrote: > When you list multiple other hosts in the "parents" directive of a host, > does it mean that this host should be reachable if *any* of these > parents are up, or only if *all* of these parents are up? > > Hi, It will be unreachable if, and only if, ALL its parents are down (or unreachable). (this is a big OR rule) This is different from host dependencies when only one dependency is enough to be like "unreachable". (this is a big AND rule) Regards, Jean -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Tue Jun 26 11:46:51 2012 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Tue, 26 Jun 2012 10:46:51 +0100 Subject: Multiple parents: *any* or *all*? In-Reply-To: <4FE980AE.9060304@nottheoilrig.com> References: <4FE980AE.9060304@nottheoilrig.com> Message-ID: If Any are up. It's a way of modelling a resilient network. On large network, it can become a bit messy (pairs of routers all cross-connected with virtual IPs, dynamic rerouting etc). In those cases, I tend to just add the virtual router IPs, or even skip the switches completely until getting to end links (which for the hosts I care about are usually single-homed international offices) > -----Original Message----- > From: Jack Bates [mailto:1j1qtk at nottheoilrig.com] > Sent: 26 June 2012 10:28 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Multiple parents: *any* or *all*? > > When you list multiple other hosts in the "parents" directive of a host, > does it mean that this host should be reachable if *any* of these > parents are up, or only if *all* of these parents are up? > > ------------------------------------------------------------------------ ------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deibertine at yahoo.com Wed Jun 27 00:36:55 2012 From: deibertine at yahoo.com (Dei Bertine) Date: Tue, 26 Jun 2012 15:36:55 -0700 (PDT) Subject: (no subject) Message-ID: <1340750215.56710.YahooMailNeo@web111203.mail.gq1.yahoo.com> http://www.wa.co.nz/wp-content/themes/Portfolium/rgpas.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From somanath356 at gmail.com Wed Jun 27 14:59:34 2012 From: somanath356 at gmail.com (Somanatha Sastry) Date: Wed, 27 Jun 2012 18:29:34 +0530 Subject: E-mail notifications Message-ID: Hi All, Good Day. I had installed Nagios-3 in my system.Can anyone kindly help me in enabling the Email Notifications. Thanks & Regards D.Somanath Sastry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 27 16:20:01 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Wed, 27 Jun 2012 15:20:01 +0100 Subject: E-mail notifications In-Reply-To: References: Message-ID: <002501cd546f$f0fd7d60$d2f87820$@gmail.com> Install mailx on nagios box - configure to send mail or relay through another mail server Check out this for a rough guide on the nagios notification commands to get you started http://www.thegeekstuff.com/2009/06/4-steps-to-define-nagios-contacts-with-e mail-and-pager-notification/ From: Somanatha Sastry [mailto:somanath356 at gmail.com] Sent: 27 June 2012 14:00 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] E-mail notifications Hi All, Good Day. I had installed Nagios-3 in my system.Can anyone kindly help me in enabling the Email Notifications. Thanks & Regards D.Somanath Sastry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmweze at yahoo.fr Wed Jun 27 12:19:30 2012 From: lmweze at yahoo.fr (=?iso-8859-1?Q?L=E9andre_Mweze?=) Date: Wed, 27 Jun 2012 11:19:30 +0100 (BST) Subject: help Message-ID: <1340792370.63623.YahooMailNeo@web133005.mail.ir2.yahoo.com> Hello everyone I have installed Nagios3.4.3 on my Fedora16,after creating the main configuration file nagios.cfg and others objects like hosts.cfg,contacts.cfg services.cfg etc my nagios can not recognize all hosts I've added do not know why.Need some help because only the localhost can be found as hosts -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fan.jacques at gmail.com Wed Jun 27 18:47:56 2012 From: fan.jacques at gmail.com (Jacques FAN) Date: Wed, 27 Jun 2012 17:47:56 +0100 Subject: help In-Reply-To: <1340792370.63623.YahooMailNeo@web133005.mail.ir2.yahoo.com> References: <1340792370.63623.YahooMailNeo@web133005.mail.ir2.yahoo.com> Message-ID: windows client or linux? 2012/6/27 L?andre Mweze > Hello everyone > > I have installed Nagios3.4.3 on my Fedora16,after creating the main > configuration file nagios.cfg and others objects like > hosts.cfg,contacts.cfg services.cfg etc my nagios can not recognize all > hosts I've added do not know why.Need some help because only the localhost > can be found as hosts > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- JFK "In God we trust, the rest we monitor" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 27 19:01:58 2012 From: seun.ojedeji at gmail.com (Seun Ojedeji) Date: Wed, 27 Jun 2012 18:01:58 +0100 Subject: help In-Reply-To: <1340792370.63623.YahooMailNeo@web133005.mail.ir2.yahoo.com> References: <1340792370.63623.YahooMailNeo@web133005.mail.ir2.yahoo.com> Message-ID: Are you sure you setup the parents and child accordingly? Could you post your host.cfg? OS sent from google nexus On Jun 27, 2012 5:46 PM, "L?andre Mweze" wrote: > Hello everyone > > I have installed Nagios3.4.3 on my Fedora16,after creating the main > configuration file nagios.cfg and others objects like > hosts.cfg,contacts.cfg services.cfg etc my nagios can not recognize all > hosts I've added do not know why.Need some help because only the localhost > can be found as hosts > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardo at lbasolutions.com Wed Jun 27 19:09:49 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Wed, 27 Jun 2012 14:09:49 -0300 Subject: help In-Reply-To: References: <1340792370.63623.YahooMailNeo@web133005.mail.ir2.yahoo.com> Message-ID: Hello! I had this trouble some time ago. use: nagios -v nagios.cfg use it to check if there are erros on the config files. On Wed, Jun 27, 2012 at 1:47 PM, Jacques FAN wrote: > windows client or linux? > > 2012/6/27 L?andre Mweze > >> Hello everyone >> >> I have installed Nagios3.4.3 on my Fedora16,after creating the main >> configuration file nagios.cfg and others objects like >> hosts.cfg,contacts.cfg services.cfg etc my nagios can not recognize all >> hosts I've added do not know why.Need some help because only the localhost >> can be found as hosts >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > JFK > "In God we trust, the rest we monitor" > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxtovishesh at gmail.com Thu Jun 28 18:54:55 2012 From: linuxtovishesh at gmail.com (vishesh kumar) Date: Thu, 28 Jun 2012 12:54:55 -0400 Subject: Plug In to monitor a particular vhost Message-ID: Hi Members, Which module i should use to monitor a particular virtual host . I used check_http with -H options but its not giving detail output . I want a plug-in along with pnp4nagios template which return detail performance output . Thanks Vishesh Kumar Sr Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 29 05:10:47 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 29 Jun 2012 03:10:47 +0000 Subject: Linux Kernel Version Message-ID: Does anyone know of or have a plugin that will display the current kernel level for Redhat? Thanks, Ed P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 29 05:18:29 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Fri, 29 Jun 2012 03:18:29 +0000 Subject: Linux Kernel Version In-Reply-To: References: Message-ID: I haven't seen one, but would be trivial to write one. You looking to see the rpm -q kernel output or something like uname -a? Dan On Jun 28, 2012, at 10:10 PM, Edwin Zoeller wrote: Does anyone know of or have a plugin that will display the current kernel level for Redhat? Thanks, Ed P Please consider the environment before printing this e-mail ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 29 08:45:36 2012 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Fri, 29 Jun 2012 16:45:36 +1000 Subject: Linux Kernel Version In-Reply-To: References: Message-ID: <8CEF048B9EC83748B1517DC64EA130FB729CB46599@off-win2003-01.ausregistrygroup.local> Current as in installed, or current as in available? We wrote this a while ago to see if the most recently installed kernel is the bootable kernel: #!/bin/bash # # Check if current kernel is being used. # GRUBBY=/sbin/grubby GREP=/bin/grep UNAME=/bin/uname OUTPUT="Current kernel running." EXIT_VAL=0 if $GRUBBY --default-kernel | $GREP -vq $($UNAME -r); then OUTPUT="Kernel updated, reboot required." EXIT_VAL=1 fi echo $OUTPUT exit $EXIT_VAL But as Daniel said, a trivial plugin it's NRPE calling the two-line routine: #!/bin/bash /bin/uname -r exit $? Or using SNMP: define command { command_name return_kernel_version command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o SNMPv2-MIB::sysDescr.0 -P 2c -C public } The choice of what to use is yours. Stuart From: Daniel Wittenberg [mailto:daniel.wittenberg.r0ko at statefarm.com] Sent: Friday, 29 June 2012 1:18 PM To: Nagios Users List Subject: Re: [Nagios-users] Linux Kernel Version I haven't seen one, but would be trivial to write one. You looking to see the rpm -q kernel output or something like uname -a? Dan On Jun 28, 2012, at 10:10 PM, Edwin Zoeller wrote: Does anyone know of or have a plugin that will display the current kernel level for Redhat? Thanks, Ed P Please consider the environment before printing this e-mail ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 29 09:15:38 2012 From: mad at b-care.net (MAD) Date: Fri, 29 Jun 2012 09:15:38 +0200 Subject: Linux Kernel Version In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB729CB46599@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB729CB46599@off-win2003-01.ausregistrygroup.local> Message-ID: <4FED561A.4030801@b-care.net> Hi, You could also do a SNMPWALK on the hrSWInstalledName table (1.3.6.1.2.1.25.6.3) and extract the latest installed kernel version by doing some regex work. Marc-Andr? On 06/29/2012 08:45 AM, Stuart Browne wrote: > > Current as in installed, or current as in available? > > We wrote this a while ago to see if the most recently installed kernel > is the bootable kernel: > > #!/bin/bash > > # > > # Check if current kernel is being used. > > # > > GRUBBY=/sbin/grubby > > GREP=/bin/grep > > UNAME=/bin/uname > > OUTPUT="Current kernel running." > > EXIT_VAL=0 > > if $GRUBBY --default-kernel | $GREP -vq $($UNAME -r); then > > OUTPUT="Kernel updated, reboot required." > > EXIT_VAL=1 > > fi > > echo $OUTPUT > > exit $EXIT_VAL > > But as Daniel said, a trivial plugin it's NRPE calling the two-line > routine: > > #!/bin/bash > > /bin/uname -r > > exit $? > > Or using SNMP: > > define command { > > command_name return_kernel_version > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o > SNMPv2-MIB::sysDescr.0 -P 2c -C public > > } > > The choice of what to use is yours. > > Stuart > > *From:*Daniel Wittenberg [mailto:daniel.wittenberg.r0ko at statefarm.com] > *Sent:* Friday, 29 June 2012 1:18 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Linux Kernel Version > > I haven't seen one, but would be trivial to write one. You looking to > see the rpm -q kernel output or something like uname -a? > > Dan > > On Jun 28, 2012, at 10:10 PM, Edwin Zoeller wrote: > > > > Does anyone know of or have a plugin that will display the current > kernel level for Redhat? > > Thanks, > > Ed > > PPlease consider the environment before printing this e-mail > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 29 12:40:32 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 29 Jun 2012 10:40:32 +0000 Subject: Linux Kernel Version In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB729CB46599@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB729CB46599@off-win2003-01.ausregistrygroup.local> Message-ID: It would be what is installed. This came up yesterday during a migration of some VM's. These hosts would not come up after we moved them and was found to be a bug in the kernel for that version 5.5. Want to scan the other hosts scheduled for migration. Thanks, Ed From: Stuart Browne [mailto:stuart.browne at ausregistry.com.au] Sent: Friday, June 29, 2012 01:45 AM To: Nagios Users List Subject: Re: [Nagios-users] Linux Kernel Version Current as in installed, or current as in available? We wrote this a while ago to see if the most recently installed kernel is the bootable kernel: #!/bin/bash # # Check if current kernel is being used. # GRUBBY=/sbin/grubby GREP=/bin/grep UNAME=/bin/uname OUTPUT="Current kernel running." EXIT_VAL=0 if $GRUBBY --default-kernel | $GREP -vq $($UNAME -r); then OUTPUT="Kernel updated, reboot required." EXIT_VAL=1 fi echo $OUTPUT exit $EXIT_VAL But as Daniel said, a trivial plugin it's NRPE calling the two-line routine: #!/bin/bash /bin/uname -r exit $? Or using SNMP: define command { command_name return_kernel_version command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o SNMPv2-MIB::sysDescr.0 -P 2c -C public } The choice of what to use is yours. Stuart From: Daniel Wittenberg [mailto:daniel.wittenberg.r0ko at statefarm.com] Sent: Friday, 29 June 2012 1:18 PM To: Nagios Users List Subject: Re: [Nagios-users] Linux Kernel Version I haven't seen one, but would be trivial to write one. You looking to see the rpm -q kernel output or something like uname -a? Dan On Jun 28, 2012, at 10:10 PM, Edwin Zoeller wrote: Does anyone know of or have a plugin that will display the current kernel level for Redhat? Thanks, Ed P Please consider the environment before printing this e-mail ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Fri Jun 29 14:24:04 2012 From: jpratt at norwich.edu (James Pratt) Date: Fri, 29 Jun 2012 12:24:04 +0000 Subject: Linux Kernel Version In-Reply-To: References: Message-ID: <591A34BAEC8DBF44AFAB2E127B4D8A8E0C7D1E@NUEXCH1.norwich.edu> I use check_snmp for that - Here is the service definition I use (You must have snmpd enabled on the host, and a community string defined etc) - ## check os version via snmp define command { command_name check_os command_line $USER1$/check_snmp -H $HOSTNAME$ -o SNMPv2-MIB::sysDescr.0 -C $USER15$ } Where $USER15$ is my community string, thus on Redhat/Centos it returns : SNMP OK - Linux avamar05 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:33:05 EDT 2009 x86_64 for windows - SNMP OK - Hardware: Intel64 Family 6 Model 44 Stepping 2 AT/AT COMPATIBLE - Software: Windows Version 6.1 (Build 7601 Multiprocessor Free) Cheers, James From: Edwin Zoeller [mailto:Edwin.Zoeller at ama-assn.org] Sent: Thursday, June 28, 2012 11:11 PM To: Nagios Users List (nagios-users at lists.sourceforge.net) Subject: [Nagios-users] Linux Kernel Version Does anyone know of or have a plugin that will display the current kernel level for Redhat? Thanks, Ed P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 29 15:11:09 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 29 Jun 2012 13:11:09 +0000 Subject: Linux Kernel Version In-Reply-To: References: Message-ID: Thanks From: Daniel Wittenberg [mailto:daniel.wittenberg.r0ko at statefarm.com] Sent: Thursday, June 28, 2012 10:18 PM To: Nagios Users List Subject: Re: [Nagios-users] Linux Kernel Version I haven't seen one, but would be trivial to write one. You looking to see the rpm -q kernel output or something like uname -a? Dan On Jun 28, 2012, at 10:10 PM, Edwin Zoeller wrote: Does anyone know of or have a plugin that will display the current kernel level for Redhat? Thanks, Ed P Please consider the environment before printing this e-mail ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 29 15:19:37 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 29 Jun 2012 13:19:37 +0000 Subject: Linux Kernel Version In-Reply-To: <4FED561A.4030801@b-care.net> References: <8CEF048B9EC83748B1517DC64EA130FB729CB46599@off-win2003-01.ausregistrygroup.local> <4FED561A.4030801@b-care.net> Message-ID: Thanks to all on this From: MAD [mailto:mad at b-care.net] Sent: Friday, June 29, 2012 2:16 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Linux Kernel Version Hi, You could also do a SNMPWALK on the hrSWInstalledName table (1.3.6.1.2.1.25.6.3) and extract the latest installed kernel version by doing some regex work. Marc-Andr? On 06/29/2012 08:45 AM, Stuart Browne wrote: Current as in installed, or current as in available? We wrote this a while ago to see if the most recently installed kernel is the bootable kernel: #!/bin/bash # # Check if current kernel is being used. # GRUBBY=/sbin/grubby GREP=/bin/grep UNAME=/bin/uname OUTPUT="Current kernel running." EXIT_VAL=0 if $GRUBBY --default-kernel | $GREP -vq $($UNAME -r); then OUTPUT="Kernel updated, reboot required." EXIT_VAL=1 fi echo $OUTPUT exit $EXIT_VAL But as Daniel said, a trivial plugin it's NRPE calling the two-line routine: #!/bin/bash /bin/uname -r exit $? Or using SNMP: define command { command_name return_kernel_version command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o SNMPv2-MIB::sysDescr.0 -P 2c -C public } The choice of what to use is yours. Stuart From: Daniel Wittenberg [mailto:daniel.wittenberg.r0ko at statefarm.com] Sent: Friday, 29 June 2012 1:18 PM To: Nagios Users List Subject: Re: [Nagios-users] Linux Kernel Version I haven't seen one, but would be trivial to write one. You looking to see the rpm -q kernel output or something like uname -a? Dan On Jun 28, 2012, at 10:10 PM, Edwin Zoeller wrote: Does anyone know of or have a plugin that will display the current kernel level for Redhat? Thanks, Ed P Please consider the environment before printing this e-mail ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 29 20:42:28 2012 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Fri, 29 Jun 2012 13:42:28 -0500 Subject: Linux Kernel Version In-Reply-To: References: Message-ID: Hello you can use the next script to check version for: Debian Suse Red Hat You can modify for other distributions... #!/bin/bash ###################################### # Identify and show the Linux Version # Created by Esteban Monge # emonge at gbm.net # Version: 0.1 # 07/01/12 ###################################### FILE=/etc/debian_version if [ -f $FILE ] then echo "Debian GNU/Linux "`cat /etc/debian_version`" con el kernel "`uname -r` else FILE=/etc/system-release if [ -f $FILE ] then echo `cat /etc/system-release`" con el kernel "`uname -r` else FILE=/etc/SuSE-release if [ -f $FILE ] then echo `cat /etc/SuSE-release`" KERNEL = "`uname -r` else FILE=/etc/redhat-release if [ -f $FILE ] then echo `cat /etc/redhat-release`" con el kernel "`uname -r` else echo "Otro sabor de Linux "`uname -rmvo` fi fi fi fi ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 29 22:14:14 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 29 Jun 2012 20:14:14 +0000 Subject: Linux Kernel Version In-Reply-To: References: Message-ID: Thank you ----- Original Message ----- From: Esteban Monge [mailto:esteban at nuevaeralatam.com] Sent: Friday, June 29, 2012 01:42 PM To: Nagios Users List Subject: Re: [Nagios-users] Linux Kernel Version Hello you can use the next script to check version for: Debian Suse Red Hat You can modify for other distributions... #!/bin/bash ###################################### # Identify and show the Linux Version # Created by Esteban Monge # emonge at gbm.net # Version: 0.1 # 07/01/12 ###################################### FILE=/etc/debian_version if [ -f $FILE ] then echo "Debian GNU/Linux "`cat /etc/debian_version`" con el kernel "`uname -r` else FILE=/etc/system-release if [ -f $FILE ] then echo `cat /etc/system-release`" con el kernel "`uname -r` else FILE=/etc/SuSE-release if [ -f $FILE ] then echo `cat /etc/SuSE-release`" KERNEL = "`uname -r` else FILE=/etc/redhat-release if [ -f $FILE ] then echo `cat /etc/redhat-release`" con el kernel "`uname -r` else echo "Otro sabor de Linux "`uname -rmvo` fi fi fi fi ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null