From jim at jimavery.me.uk Fri Apr 1 00:39:11 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 31 Mar 2011 23:39:11 +0100 Subject: monitor http traffic In-Reply-To: <781033.17800.qm@web45901.mail.sp1.yahoo.com> References: <781033.17800.qm@web45901.mail.sp1.yahoo.com> Message-ID: On 31 March 2011 21:51, khurram aziz wrote: > Hi, > > I?have a windows server 2003 based web server ( IIS) that has?5 websites > running on it and each web site has a?application pool allocated to it.?What > I want to do is to add this web server in my Nagios? so that I can?keep an > eye on?whether these?services are running or not and at the same time also > to graph their performance using?pnp4nagios... > > can some1 walk me through the configurations plz....... Wolfgang Barth walked me through all this sort of stuff. http://nostarch.com/nagios.htm hth, Jim ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From khurramazizkhalid at yahoo.com Fri Apr 1 01:48:20 2011 From: khurramazizkhalid at yahoo.com (khurram aziz) Date: Thu, 31 Mar 2011 16:48:20 -0700 (PDT) Subject: monitor http traffic In-Reply-To: References: <781033.17800.qm@web45901.mail.sp1.yahoo.com> Message-ID: <613569.72519.qm@web45911.mail.sp1.yahoo.com> Can you share configurations here cauz i am not really in da mood of buying books at the moment :) ?Khurram Aziz Khalid ________________________________ From: Jim Avery To: Nagios Users List Sent: Fri, April 1, 2011 3:39:11 AM Subject: Re: [Nagios-users] monitor http traffic On 31 March 2011 21:51, khurram aziz wrote: > Hi, > > I?have a windows server 2003 based web server ( IIS) that has?5 websites > running on it and each web site has a?application pool allocated to it.?What > I want to do is to add this web server in my Nagios? so that I can?keep an > eye on?whether these?services are running or not and at the same time also > to graph their performance using?pnp4nagios... > > can some1 walk me through the configurations plz....... Wolfgang Barth walked me through all this sort of stuff. http://nostarch.com/nagios.htm hth, Jim ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Julian_Grunnell at tdwh.co.uk Fri Apr 1 09:01:41 2011 From: Julian_Grunnell at tdwh.co.uk (Julian_Grunnell at tdwh.co.uk) Date: Fri, 1 Apr 2011 08:01:41 +0100 Subject: nagios send_nsca In-Reply-To: References: Message-ID: Ah, that's it Jim - thanks works a treat now!! Thanks. Julian Grunnell | UNIX Analyst, Infrastructure | TD Waterhouse T: +44 (0) 113 346 2824 | M: +44 (0) 788 935 2527 Jim Avery 31/03/2011 16:25 Please respond to Nagios Users List To Nagios Users List cc Julian_Grunnell at tdwh.co.uk Subject Re: [Nagios-users] nagios send_nsca On 31 March 2011 14:42, wrote: > > Hi - hope someone can help me with the above, I want to use this to send > multiple lines of output via send_nsca and them to be displayed as separate > lines in Nagios under the "Status Information" box BUT ALL for the same > Service check. I've done this in the past and can't for the life of me > remember how I did it now. So the input file will be something like this: > > This is line 1
This is > line 2
This is line 3
etc. > > Like I say I'm sure at a previous role I was doing it like this and it > worked fine, however now all I get displayed in Nagios is: > > This is line 1
This is line 2
This is line 3
etc. > > Rather than: > > This is line 1 > This is line 2 > This is line 3 > etc. I'm not entirely sure, but is it this directive in cgi.cfg you need?:- # ESCAPE HTML TAGS # This option determines whether HTML tags in host and service # status output is escaped in the web interface. If enabled, # your plugin output will not be able to contain clickable links. escape_html_tags=0 ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________________ Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality:? This email and its attachments are intended for the above named only and may be confidential.? If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses:? Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863.? Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX.?Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791).? Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. _______________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Fri Apr 1 09:56:12 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Fri, 01 Apr 2011 09:56:12 +0200 Subject: Escalating notifications Message-ID: <1301644572.2383.9.camel@endlessdream> Hello mailinglist! im trying to get a notification like this: in first hardstate, email staff. (notication 1) at the other notification (notification 2) im sending a SMS to the oncall. But the problem is, that on recovery im only getting a SMS due to the sms escalation is in use. Anyone have any good way to get this to work? 1. MAIL Problem 2. SMS Problem On recovery: 1. Mail Recovery 2. SMS Recovery with 2 escalations, i get like this: 1. Mail problem 2. Mail problem, SMS problem recovery: 1. SMS recovery. Config: # SMS define serviceescalation { host_name * service_description * first_notification 2 last_notification 3 notification_interval 0 contacts oncall } define hostescalation { host_name * first_notification 2 last_notification 3 notification_interval 0 contacts oncall } # MAIL define serviceescalation { host_name * service_description * first_notification 1 last_notification 1 notification_interval 10 contacts sysadmin.reports } define hostescalation { host_name * first_notification 1 last_notification 1 notification_interval 10 contacts sysadmin.reports } i have tried with diffrent last_notifications and so on, but with no luck. Regards Patrik B?t. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Fri Apr 1 12:43:49 2011 From: tntteam at free.fr (Tntteam) Date: Fri, 1 Apr 2011 12:43:49 +0200 Subject: check_san_switch Message-ID: Hi, I'm looking for a check_san_switch plugin, I found this one : http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/Check-SAN-Switch-Health/details But only checks the san switch health. Anyone knowns about a plugin that would output performance data of san switch ports ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 12:50:05 2011 From: giles at coochey.net (Giles Coochey) Date: Fri, 01 Apr 2011 12:50:05 +0200 Subject: monitor http traffic In-Reply-To: <613569.72519.qm@web45911.mail.sp1.yahoo.com> References: <781033.17800.qm@web45901.mail.sp1.yahoo.com> <613569.72519.qm@web45911.mail.sp1.yahoo.com> Message-ID: <4D95ADDD.8030605@coochey.net> On 01/04/2011 01:48, khurram aziz wrote: > Can you share configurations here cauz i am not really in da mood of > buying books at the moment :) > Are you in 'da mood' of paying a consultant to do it for you? -- Best Regards, Giles Coochey NetSecSpec Ltd NL T-Systems Mobile: +31 681 265 086 NL Mobile: +31 626 508 131 GIB Mobile: +350 5401 6693 Email/MSN/Live Messenger: giles at coochey.net Skype: gilescoochey -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5137 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Fri Apr 1 13:16:34 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Fri, 1 Apr 2011 19:16:34 +0800 Subject: check_san_switch In-Reply-To: References: Message-ID: does it provide SNMP objects for querying? On Fri, Apr 1, 2011 at 6:43 PM, Tntteam wrote: > Hi, > > I'm looking for a check_san_switch plugin, I found this one : > > http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/Check-SAN-Switch-Health/details > > But only checks the san switch health. > > Anyone knowns about a plugin that would output performance data of san > switch ports ? > > Thanks > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Fri Apr 1 13:43:53 2011 From: tntteam at free.fr (tntteam at free.fr) Date: Fri, 1 Apr 2011 13:43:53 +0200 (CEST) Subject: check_san_switch In-Reply-To: References: Message-ID: <1258312126.7356641301658233826.JavaMail.root@zimbra8-e1.priv.proxad.net> Hi, Yes, as stated before check_san_switch_health from nagios exchange works (via snmp ofc). I can read the performance value via snmpwalk. I wanted to know if someone already done the work of creating a plugin for this. Thanks ----- Mail Original ----- De: "Yueh-Hung Liu" ?: "Nagios Users List" Envoy?: Vendredi 1 Avril 2011 13h16:34 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [Nagios-users] check_san_switch does it provide SNMP objects for querying? On Fri, Apr 1, 2011 at 6:43 PM, Tntteam wrote: > Hi, > > I'm looking for a check_san_switch plugin, I found this one : > > http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/Check-SAN-Switch-Health/details > > But only checks the san switch health. > > Anyone knowns about a plugin that would output performance data of san > switch ports ? > > Thanks > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Fri Apr 1 15:49:07 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Fri, 01 Apr 2011 09:49:07 -0400 Subject: Escalating notifications In-Reply-To: <1301644572.2383.9.camel@endlessdream> References: <1301644572.2383.9.camel@endlessdream> Message-ID: <4D95D7D3.3050909@paul.dubuc.org> Patrik B?t wrote: > Hello mailinglist! > > im trying to get a notification like this: > > in first hardstate, email staff. (notication 1) > > at the other notification (notification 2) im sending a SMS to the > oncall. > > But the problem is, that on recovery im only getting a SMS due to the > sms escalation is in use. > > Anyone have any good way to get this to work? > > 1. MAIL Problem > 2. SMS Problem > > On recovery: > > 1. Mail Recovery > 2. SMS Recovery > > with 2 escalations, i get like this: > > 1. Mail problem > 2. Mail problem, SMS problem > > recovery: > > 1. SMS recovery. > > Config: > > # SMS > > define serviceescalation { > host_name * > service_description * > first_notification 2 > last_notification 3 > notification_interval 0 > contacts oncall > } > > define hostescalation { > host_name * > first_notification 2 > last_notification 3 > notification_interval 0 > contacts oncall > } > > # MAIL > > define serviceescalation { > host_name * > service_description * > first_notification 1 > last_notification 1 > notification_interval 10 > contacts sysadmin.reports > } > > define hostescalation { > host_name * > first_notification 1 > last_notification 1 > notification_interval 10 > contacts sysadmin.reports > } > > i have tried with diffrent last_notifications and so on, but with no > luck. > > Regards Patrik B??t. > Try using a separate escalation for the recovery events. The recovery event is the last numbered event so it's hard to catch without a specific escalation. Example: define serviceescalation { host_name * service_description * first_notification 1 last_notification 0 notification_interval 0 contacts sysadmin.reports,oncall escalation_options r } define hostescalation { host_name * first_notification 1 last_notification 0 notification_interval 0 contacts sysadmin.reports,oncall escalation_options r } ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ennis at nmcourts.gov Fri Apr 1 16:19:41 2011 From: ennis at nmcourts.gov (Ennis Ibarra) Date: Fri, 1 Apr 2011 08:19:41 -0600 (MDT) Subject: monitor http traffic In-Reply-To: <1463588154.515994.1301667347436.JavaMail.root@mail.nmcourts.gov> References: <1463588154.515994.1301667347436.JavaMail.root@mail.nmcourts.gov> Message-ID: <2081779998.516159.1301667581550.JavaMail.root@mail.nmcourts.gov> We've implemented a custom plugin using wget, it is kind of touchy when it comes to performance info, but it will log into your app (if it is password driven) with a user and by "grep-ing" the output you'll be able to tell the status. wget -O -q --user= --password='' http://${hostname}: Hope this helps, we all need a break some time. Have a nice one! ----- Original Message ----- From: "khurram aziz" To: "Nagios Users List" Sent: Thursday, March 31, 2011 5:48:20 PM Subject: Re: [Nagios-users] monitor http traffic Can you share configurations here cauz i am not really in da mood of buying books at the moment :) Khurram Aziz Khalid From: Jim Avery To: Nagios Users List Sent: Fri, April 1, 2011 3:39:11 AM Subject: Re: [Nagios-users] monitor http traffic On 31 March 2011 21:51, khurram aziz < khurramazizkhalid at yahoo.com > wrote: > Hi, > > I have a windows server 2003 based web server ( IIS) that has 5 websites > running on it and each web site has a application pool allocated to it. What > I want to do is to add this web server in my Nagios so that I can keep an > eye on whether these services are running or not and at the same time also > to graph their performance using pnp4nagios... > > can some1 walk me through the configurations plz....... Wolfgang Barth walked me through all this sort of stuff. http://nostarch.com/nagios.htm hth, Jim ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Fri Apr 1 16:32:02 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Fri, 01 Apr 2011 16:32:02 +0200 Subject: Escalating notifications In-Reply-To: <4D95D7D3.3050909@paul.dubuc.org> References: <1301644572.2383.9.camel@endlessdream> <4D95D7D3.3050909@paul.dubuc.org> Message-ID: <1301668323.2383.15.camel@endlessdream> Smart thinking there, works perfectly! Thanks alot! On Fri, 2011-04-01 at 09:49 -0400, Paul M. Dubuc wrote: > Patrik B?t wrote: > > Hello mailinglist! > > > > im trying to get a notification like this: > > > > in first hardstate, email staff. (notication 1) > > > > at the other notification (notification 2) im sending a SMS to the > > oncall. > > > > But the problem is, that on recovery im only getting a SMS due to the > > sms escalation is in use. > > > > Anyone have any good way to get this to work? > > > > 1. MAIL Problem > > 2. SMS Problem > > > > On recovery: > > > > 1. Mail Recovery > > 2. SMS Recovery > > > > with 2 escalations, i get like this: > > > > 1. Mail problem > > 2. Mail problem, SMS problem > > > > recovery: > > > > 1. SMS recovery. > > > > Config: > > > > # SMS > > > > define serviceescalation { > > host_name * > > service_description * > > first_notification 2 > > last_notification 3 > > notification_interval 0 > > contacts oncall > > } > > > > define hostescalation { > > host_name * > > first_notification 2 > > last_notification 3 > > notification_interval 0 > > contacts oncall > > } > > > > # MAIL > > > > define serviceescalation { > > host_name * > > service_description * > > first_notification 1 > > last_notification 1 > > notification_interval 10 > > contacts sysadmin.reports > > } > > > > define hostescalation { > > host_name * > > first_notification 1 > > last_notification 1 > > notification_interval 10 > > contacts sysadmin.reports > > } > > > > i have tried with diffrent last_notifications and so on, but with no > > luck. > > > > Regards Patrik B??t. > > > > Try using a separate escalation for the recovery events. The recovery event > is the last numbered event so it's hard to catch without a specific > escalation. Example: > > define serviceescalation { > host_name * > service_description * > first_notification 1 > last_notification 0 > notification_interval 0 > contacts sysadmin.reports,oncall > escalation_options r > } > > define hostescalation { > host_name * > first_notification 1 > last_notification 0 > notification_interval 0 > contacts sysadmin.reports,oncall > escalation_options r > } > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neira.francisco at gmail.com Fri Apr 1 16:33:46 2011 From: neira.francisco at gmail.com (Francisco Neira) Date: Fri, 1 Apr 2011 09:33:46 -0500 Subject: monitor http traffic In-Reply-To: <4D95ADDD.8030605@coochey.net> References: <781033.17800.qm@web45901.mail.sp1.yahoo.com> <613569.72519.qm@web45911.mail.sp1.yahoo.com> <4D95ADDD.8030605@coochey.net> Message-ID: 2011/4/1 Giles Coochey > On 01/04/2011 01:48, khurram aziz wrote: > >> Can you share configurations here cauz i am not really in da mood of >> buying books at the moment :) >> >> Are you in 'da mood' of paying a consultant to do it for you? > > :-))) -- Francisco Neira, ISO 27002 Usuario Linux # 165985 ISACA No.565432, IEEE No.90934498 Lima, Peru -05:00 GMT -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 17:03:06 2011 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 1 Apr 2011 10:03:06 -0500 Subject: Escalating notifications In-Reply-To: <4D95D7D3.3050909@paul.dubuc.org> References: <1301644572.2383.9.camel@endlessdream> <4D95D7D3.3050909@paul.dubuc.org> Message-ID: This is also what I am looking for. Where would you put the separate escalation? -----Original Message----- From: Paul M. Dubuc [mailto:work at paul.dubuc.org] Sent: Friday, April 01, 2011 8:49 AM To: Nagios Users List Subject: Re: [Nagios-users] Escalating notifications Patrik B?t wrote: > Hello mailinglist! > > im trying to get a notification like this: > > in first hardstate, email staff. (notication 1) > > at the other notification (notification 2) im sending a SMS to the > oncall. > > But the problem is, that on recovery im only getting a SMS due to the > sms escalation is in use. > > Anyone have any good way to get this to work? > > 1. MAIL Problem > 2. SMS Problem > > On recovery: > > 1. Mail Recovery > 2. SMS Recovery > > with 2 escalations, i get like this: > > 1. Mail problem > 2. Mail problem, SMS problem > > recovery: > > 1. SMS recovery. > > Config: > > # SMS > > define serviceescalation { > host_name * > service_description * > first_notification 2 > last_notification 3 > notification_interval 0 > contacts oncall > } > > define hostescalation { > host_name * > first_notification 2 > last_notification 3 > notification_interval 0 > contacts oncall > } > > # MAIL > > define serviceescalation { > host_name * > service_description * > first_notification 1 > last_notification 1 > notification_interval 10 > contacts sysadmin.reports > } > > define hostescalation { > host_name * > first_notification 1 > last_notification 1 > notification_interval 10 > contacts sysadmin.reports > } > > i have tried with diffrent last_notifications and so on, but with no > luck. > > Regards Patrik B??t. > Try using a separate escalation for the recovery events. The recovery event is the last numbered event so it's hard to catch without a specific escalation. Example: define serviceescalation { host_name * service_description * first_notification 1 last_notification 0 notification_interval 0 contacts sysadmin.reports,oncall escalation_options r } define hostescalation { host_name * first_notification 1 last_notification 0 notification_interval 0 contacts sysadmin.reports,oncall escalation_options r } ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Fri Apr 1 18:31:30 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Fri, 01 Apr 2011 12:31:30 -0400 Subject: Escalating notifications In-Reply-To: References: <1301644572.2383.9.camel@endlessdream> <4D95D7D3.3050909@paul.dubuc.org> Message-ID: <4D95FDE2.3010609@paul.dubuc.org> Same place you put the others. The thing that makes them only apply to recovery events is the escalation_options r directive. Edwin Zoeller wrote: > This is also what I am looking for. Where would you put the separate escalation? > > -----Original Message----- > From: Paul M. Dubuc [mailto:work at paul.dubuc.org] > Sent: Friday, April 01, 2011 8:49 AM > To: Nagios Users List > Subject: Re: [Nagios-users] Escalating notifications > > Patrik B?t wrote: >> Hello mailinglist! >> >> im trying to get a notification like this: >> >> in first hardstate, email staff. (notication 1) >> >> at the other notification (notification 2) im sending a SMS to the >> oncall. >> >> But the problem is, that on recovery im only getting a SMS due to the >> sms escalation is in use. >> >> Anyone have any good way to get this to work? >> >> 1. MAIL Problem >> 2. SMS Problem >> >> On recovery: >> >> 1. Mail Recovery >> 2. SMS Recovery >> >> with 2 escalations, i get like this: >> >> 1. Mail problem >> 2. Mail problem, SMS problem >> >> recovery: >> >> 1. SMS recovery. >> >> Config: >> >> # SMS >> >> define serviceescalation { >> host_name * >> service_description * >> first_notification 2 >> last_notification 3 >> notification_interval 0 >> contacts oncall >> } >> >> define hostescalation { >> host_name * >> first_notification 2 >> last_notification 3 >> notification_interval 0 >> contacts oncall >> } >> >> # MAIL >> >> define serviceescalation { >> host_name * >> service_description * >> first_notification 1 >> last_notification 1 >> notification_interval 10 >> contacts sysadmin.reports >> } >> >> define hostescalation { >> host_name * >> first_notification 1 >> last_notification 1 >> notification_interval 10 >> contacts sysadmin.reports >> } >> >> i have tried with diffrent last_notifications and so on, but with no >> luck. >> >> Regards Patrik B??t. >> > > Try using a separate escalation for the recovery events. The recovery event is the last numbered event so it's hard to catch without a specific escalation. Example: > > define serviceescalation { > host_name * > service_description * > first_notification 1 > last_notification 0 > notification_interval 0 > contacts sysadmin.reports,oncall > escalation_options r > } > > define hostescalation { > host_name * > first_notification 1 > last_notification 0 > notification_interval 0 > contacts sysadmin.reports,oncall > escalation_options r > } > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Mon Apr 4 02:14:23 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Sun, 3 Apr 2011 17:14:23 -0700 (PDT) Subject: (no subject) Message-ID: <409652.63648.qm@web36504.mail.mud.yahoo.com> I think that losing weight is very simple now due to wonderful weight-loss complex!.. http://www.moncheptel.fr/page.php?exSID=88az4 ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Mon Apr 4 08:26:23 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Mon, 04 Apr 2011 08:26:23 +0200 Subject: (no subject) In-Reply-To: <409652.63648.qm@web36504.mail.mud.yahoo.com> References: <409652.63648.qm@web36504.mail.mud.yahoo.com> Message-ID: <1301898383.3095.0.camel@endlessdream> Crying out load ? Spam via nagios-users ?! On Sun, 2011-04-03 at 17:14 -0700, Christian I?iguez wrote: > I think that losing weight is very simple now due to wonderful weight-loss complex!.. http://www.moncheptel.fr/page.php?exSID=88az4 > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sunny_Jaisinghani at symantec.com Mon Apr 4 08:36:08 2011 From: Sunny_Jaisinghani at symantec.com (Sunny Jaisinghani) Date: Mon, 4 Apr 2011 12:06:08 +0530 Subject: Host notifications not working In-Reply-To: References: Message-ID: Hello, Could somebody help me with this. Thanks Sunny Jaisinghani From: Sunny Jaisinghani [mailto:Sunny_Jaisinghani at symantec.com] Sent: 31 March 2011 17:35 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host notifications not working Hello Nagios Users, I recently upgraded from Nagios 1.4 to 3.2.3 on RHEL 5. I had to make several changes to my config files to make it work. Everything works, except host notifications. Nagios detects any DOWN hosts but doesn't send out notifications. Here are the commands i use for service and host notifications. please note : service notifications work perfectly fine. The script not.pl is being used since years without any problem. Since the same script is used for service notifications i don't feel the script is broken. Also, when i manually run this script(with the required ARGs) it sends out an email notification. Also, when i submit a passive check through the console for a host DOWN; i get an email notification. define command{ command_name not-service command_line /usr/lib/nagios/not.pl -S -i '$CONTACTALIAS$||$CONTACTEMAIL$||$HOSTNAME$||$HOSTADDRESS$||$HOSTSTATE$| |$SERVICEDESC$||$SERVICE STATE$||$NOTIFICATIONTYPE$||$SERVICENOTIFICATIONNUMBER$||$SHORTDATETIME$ ||$SERVICEOUTPUT$' } define command{ command_name not-host command_line /usr/lib/nagios/not.pl -H -i '$CONTACTALIAS$||$CONTACTEMAIL$||$HOSTNAME$||$HOSTADDRESS$||$HOSTSTATE$| |$NOTIFICATIONTYPE$||$HO STNOTIFICATIONNUMBER$||$SHORTDATETIME$||$HOSTOUTPUT$' } nagios.log: [1301568796] HOST NOTIFICATION: noc;ss01;DOWN;not -host;PING CRITICAL - Packet loss = 100% [1301568806] HOST NOTIFICATION: noc;ss02;DOWN;not -host;PING CRITICAL - Packet loss = 100% [1301568826] HOST NOTIFICATION: noc;ss03;DOWN;not-host;PING CRITICAL - Packet loss = 100% [1301569426] HOST NOTIFICATION: noc;ts01;DOWN;not-host;PING CRITICAL - Packet loss = 100% [1301569696] HOST NOTIFICATION: noc;ss01;DOWN;not-host;PING CRITICAL - Packet loss = 100% Am i missing anything that nagios 3 is not happy about. Thanks Sunny -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 09:19:03 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Apr 2011 09:19:03 +0200 Subject: Host notifications not working In-Reply-To: References: Message-ID: <4D9970E7.8090804@op5.se> On 03/31/2011 02:04 PM, Sunny Jaisinghani wrote: > Hello Nagios Users, > > > > I recently upgraded from Nagios 1.4 to 3.2.3 on RHEL 5. I had to make > several changes to my config files to make it work. > > Everything works, except host notifications. Nagios detects any DOWN > hosts but doesn't send out notifications. > Without even reading the rest of your email I'll just urge you to check up on your macro usage. Macro names and availability has changed a lot between 1.4 and 3.2.3. When you've done that, make the host notification script just append all its parameters and the date and time it's being run to a file somewhere so you know Nagios is running the script. If that works too but your notification script isn't working, your script is buggy. -- 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. ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roderick71 at gmail.com Mon Apr 4 18:07:20 2011 From: roderick71 at gmail.com (Roderick) Date: Mon, 4 Apr 2011 18:07:20 +0200 Subject: Nagios to SCOM 2007 R2 Message-ID: Hello, Is there anyone familiar with or knows the exitance of a *Nagios To SCOM*interface? (Microsoft System Center Operations Manager 2007 R2) Best regards, Roderick -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cclouse at fecon.com Mon Apr 4 22:18:23 2011 From: cclouse at fecon.com (Cory Clouse) Date: Mon, 4 Apr 2011 16:18:23 -0400 Subject: Configuration Planning Message-ID: <597DA10C8562ED4B970D2C3AC0301305E7BEA2@server41.office.fecon.com> Hello, This is my first time using AlienVault and I would really like some directions to take for planning my system. I have tried picking function by function to install but I cannot get anything working. I would really appreciate someone telling me what I need to work on first so that I can correctly walk through each specific task. My plan is to have one central server which is hosted on a VM. This will not have any sensors, just the framework, server, and the database. I will also have two sensors with 2 network cards a piece. I want one of them to do snort and then I want the other sensor dealing with nagios and ntop. Thanks Cory Fecon Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4126 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pangrazi at gmail.com Mon Apr 4 23:55:20 2011 From: pangrazi at gmail.com (Greg Pangrazio) Date: Mon, 4 Apr 2011 16:55:20 -0500 Subject: Configuration Planning In-Reply-To: <597DA10C8562ED4B970D2C3AC0301305E7BEA2@server41.office.fecon.com> References: <597DA10C8562ED4B970D2C3AC0301305E7BEA2@server41.office.fecon.com> Message-ID: Cory, If you have specific questions about the nagios install on alienvault we may be able to help you. There is probably a different list that would be better for these questions. Greg Pangrazio On Mon, Apr 4, 2011 at 3:18 PM, Cory Clouse wrote: > Hello, > > This is my first time using AlienVault and I would really like some > directions to take for planning my system. I have tried picking function by > function to install but I cannot get anything working. I would really > appreciate someone telling me what I need to work on first so that I can > correctly walk through each specific task. > > > > My plan is to have one central server which is hosted on a VM. This will > not have any sensors, just the framework, server, and the database. I will > also have two sensors with 2 network cards a piece. I want one of them to do > snort and then I want the other sensor dealing with nagios and ntop. > > > > Thanks > > > > > > > > Cory > > Fecon Inc. > > > > [image: mini logo] > > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4126 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sunny_Jaisinghani at symantec.com Tue Apr 5 08:54:00 2011 From: Sunny_Jaisinghani at symantec.com (Sunny Jaisinghani) Date: Tue, 5 Apr 2011 12:24:00 +0530 Subject: Host notifications not working In-Reply-To: <4D9970E7.8090804@op5.se> References: <4D9970E7.8090804@op5.se> Message-ID: macro names are good. I have verified each and every macro I am using multiple times. I suspect something wrong with the notification script. the script works fine when I execute it manually. But when it comes to nagios, I don't find any record of HOST DOWN/UP alert. Sunny Jaisinghani -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: 04 April 2011 12:49 To: Nagios Users List Cc: Sunny Jaisinghani Subject: Re: [Nagios-users] Host notifications not working On 03/31/2011 02:04 PM, Sunny Jaisinghani wrote: > Hello Nagios Users, > > > > I recently upgraded from Nagios 1.4 to 3.2.3 on RHEL 5. I had to make > several changes to my config files to make it work. > > Everything works, except host notifications. Nagios detects any DOWN > hosts but doesn't send out notifications. > Without even reading the rest of your email I'll just urge you to check up on your macro usage. Macro names and availability has changed a lot between 1.4 and 3.2.3. When you've done that, make the host notification script just append all its parameters and the date and time it's being run to a file somewhere so you know Nagios is running the script. If that works too but your notification script isn't working, your script is buggy. -- 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. ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex.teslja at gmail.com Tue Apr 5 09:48:39 2011 From: alex.teslja at gmail.com (Alexander Teslya) Date: Tue, 5 Apr 2011 11:48:39 +0400 Subject: Nagios to SCOM 2007 R2 In-Reply-To: References: Message-ID: Google - OpenUMR I use this solution every day. It's exactly Nagios to SCOM connector 2011/4/4 Roderick : > Hello, > Is there anyone familiar with or knows the exitance of a Nagios To SCOM > interface? (Microsoft System Center Operations Manager 2007 R2) > > Best regards, > Roderick > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CrocombeJ at cardiff.ac.uk Tue Apr 5 10:56:18 2011 From: CrocombeJ at cardiff.ac.uk (Jonathan Crocombe) Date: Tue, 5 Apr 2011 09:56:18 +0100 Subject: Availabilty reporting issues Message-ID: Hello Has anybody found problems with the results from avail.cgi when you have scheduled downtime for services? The totals for OK/WARNING/CRITICAL are fine, but under the following circumstances there are errors in the scheduled/unscheduled calculations: - The report must be run with a time period such as 'workhours'. The issue does not occur with 24x7. - The service must have a scheduled downtime period which lies outside of the report time period. Having looked through the code, I found that this was due to the critical time being calculated based on the rpttimeperiod (e.g. workhours), but the calcluation of the scheduled critical time ignoring this and always being 24x7, i.e. total(during rpttimeperiod) - scheduled(at any time) = unscheduled I made a change which got this working, but I've now found that when there is a downtime window that overlaps the time period being reported on the same issue occurs. How are others dealing with these issues, or are you not generally using scheduled downtime periods? Are there any alternative tools that can be used to extract this reporting data from Nagios? I'm willing to spend some time trying to fix avail.cgi, but I need to extract these figures as soon as possible in the meantime. Thanks Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Roddan at sbsworldwide.com Tue Apr 5 11:12:37 2011 From: Peter.Roddan at sbsworldwide.com (Peter Roddan) Date: Tue, 5 Apr 2011 10:12:37 +0100 Subject: Check_APC_PDU Command Definition In-Reply-To: References: <4AF89336841CA740B4338F482A8FC74C11BA6D744C@message-drt.sbsworldwide.com> Message-ID: <4AF89336841CA740B4338F482A8FC74C11BA6D74D0@message-drt.sbsworldwide.com> Hi Adam, Thanks for your reply - Sorry for the lateness of mine, I've been away. Status is displayed as critical, with status information listed as (null). Screenshot below. [cid:image002.png at 01CBF379.FD831610] Thanks, Peter. Peter Roddan Senior Systems Analyst SBS Worldwide Ltd - Dartford DDI No: +44 (0)1322 424741 Email :Peter.Roddan at sbsworldwide.com Website :sbsworldwide.com [cid:image003.jpg at 01CBF379.FD831610] P Think before you print! From: Adam Augustine [mailto:augustineas at gmail.com] Sent: 30 March 2011 15:41 To: Nagios Users List Subject: Re: [Nagios-users] Check_APC_PDU Command Definition When you say "my APC PDUs report an error for this service", do you mean they report critical, unknown, or something else? On Sun, Mar 27, 2011 at 2:45 PM, Peter Roddan > wrote: Hi Everyone, Apologies is this is a silly question or something I've missed, but I've been going round in circles for ages on this one! I'm trying to use Marius Rieder's pearl script to check the status of some APC PDUs. I have the command working ok, but it's the Nagios Commands that I'm failing on - it's been a while since I set up our Nagios install, so I think I've some something wrong. I'm running Nagios Core 3.2.3, and I'm using the script from here http://oss.isg.inf.ethz.ch/nagiosplug/ If I log onto the nagios server as the nagios user, and run the command from the libexec folder (check_apc_pdu -H
-C public) I get the response : "OK: All Outlets ok. | load=25" I have put the following command definition in : # 'check_apc_pdu' command definition define command{ command_name check_apc_pdu command_line $USER1$/check_apc_pdu.pl -H $HOSTADDRESS$ -C public } And defined the following service define service{ use generic-service ; Inherit values from a template hostgroup_name apc ; The name of the host the service is associated with service_description check_apc ; The service description check_command check_apc_pdu ; The command used to monitor the service normal_check_interval 5 ; Check the service every 5 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined } However, my APC PDUs report an error for this service, with a status information of "(Null)" I'd be grateful for anyone who could point me in the right direction of where I'm going wrong. Thanks, Peter Peter Roddan Senior Systems Analyst SBS Worldwide Ltd - Dartford DDI No: +44 (0)1322 424741 Email :Peter.Roddan at sbsworldwide.com Website :sbsworldwide.com [cid:image003.jpg at 01CBF379.FD831610] P Think before you print! ________________________________________________________________________ THE DRIVING FORCE BEHIND FREIGHT MANAGEMENT ________________________________________________________________________ This email and any files transmitted with it are confidential and may be privileged or otherwise protected from disclosure. The email is intended solely for the use of the individual or entity to whom it is addressed and, if you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you have received this email in error please notify hostmaster at sbsworldwide.com This e-mail has been scanned for all viruses by Messagelabs but no responsibility will be accepted by SBS Worldwide Group if the recipient's computer system is corrupted by information transmitted from this computer system nor for any delays or problems arising out of or caused by any corruption. All business is conducted strictly subject to SBS standard contract terms and conditions which are as follows:- 1) Business transacted by SBS Worldwide Ltd (UK): British International Freight Association (BIFA) Standard Trading Conditions, latest edition 2) Business transacted by SBS Worldwide Inc (USA): National Customs Brokers And Forwarders Association of America (NCBFAA) Terms & Conditions of Service, latest edition Copies will be supplied on request or can be viewed on our website as follows:- http://www.sbsworldwide.com/legals All quotes , rates and surcharges are subject to market fluctuation. SBS Worldwide Ltd registered in England No: 1739816 Registered Office: SBS Cargo Centre, Anchor Boulevard, Crossways, Dartford, Kent DA2 6SB, England ________________________________________________________________________ ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 169145 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 48202 bytes Desc: image003.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sunny_Jaisinghani at symantec.com Tue Apr 5 11:28:47 2011 From: Sunny_Jaisinghani at symantec.com (Sunny Jaisinghani) Date: Tue, 5 Apr 2011 14:58:47 +0530 Subject: Host notifications not working In-Reply-To: References: <4D9970E7.8090804@op5.se> Message-ID: when i migrated from nagios 1.4 to nagios 3.2, i did not add following lines to contacts.cfg host_notifications_enabled 1 service_notifications_enabled 1 Again the same question. the nagios docs say, these lines are "required". however, my service notifications are working but the host notifications do not work. Why are service notifications working when the above lines are missing ?? Sunny Jaisinghani -----Original Message----- From: Sunny Jaisinghani Sent: 05 April 2011 12:24 To: Andreas Ericsson; Nagios Users List Subject: RE: [Nagios-users] Host notifications not working macro names are good. I have verified each and every macro I am using multiple times. I suspect something wrong with the notification script. the script works fine when I execute it manually. But when it comes to nagios, I don't find any record of HOST DOWN/UP alert. Sunny Jaisinghani -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: 04 April 2011 12:49 To: Nagios Users List Cc: Sunny Jaisinghani Subject: Re: [Nagios-users] Host notifications not working On 03/31/2011 02:04 PM, Sunny Jaisinghani wrote: > Hello Nagios Users, > > > > I recently upgraded from Nagios 1.4 to 3.2.3 on RHEL 5. I had to make > several changes to my config files to make it work. > > Everything works, except host notifications. Nagios detects any DOWN > hosts but doesn't send out notifications. > Without even reading the rest of your email I'll just urge you to check up on your macro usage. Macro names and availability has changed a lot between 1.4 and 3.2.3. When you've done that, make the host notification script just append all its parameters and the date and time it's being run to a file somewhere so you know Nagios is running the script. If that works too but your notification script isn't working, your script is buggy. -- 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. ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cclouse at fecon.com Tue Apr 5 14:30:53 2011 From: cclouse at fecon.com (Cory Clouse) Date: Tue, 5 Apr 2011 08:30:53 -0400 Subject: Configuration Planning In-Reply-To: References: <597DA10C8562ED4B970D2C3AC0301305E7BEA2@server41.office.fecon.com> Message-ID: <597DA10C8562ED4B970D2C3AC0301305E7BF36@server41.office.fecon.com> Ok, I am still pretty shallow into the subject so my questions may be a little easy/un-researched. 1. With nagios, are you supposed to define hosts in the cfg files in a folder you have to create called objects? Or is this done through the website through the asset page. 2. Also, I feel like my server is not communicating with my nagios sensor. I was trying to test that by sending a command but I get the "Sorry Dave" error. In regards to that, I had the use_authentication in the cgi.cfg set to 0 just to test if I could send a command and I still got that same error. So how do I set that up securely? What passwords need to match where? This will help me get started with the nagios configuration. If you have any other suggestions or pointers they would be greatly appreciated Thanks a lot, Cory From: Greg Pangrazio [mailto:pangrazi at gmail.com] Sent: Monday, April 04, 2011 5:55 PM To: Nagios Users List Subject: Re: [Nagios-users] Configuration Planning Cory, If you have specific questions about the nagios install on alienvault we may be able to help you. There is probably a different list that would be better for these questions. Greg Pangrazio On Mon, Apr 4, 2011 at 3:18 PM, Cory Clouse wrote: Hello, This is my first time using AlienVault and I would really like some directions to take for planning my system. I have tried picking function by function to install but I cannot get anything working. I would really appreciate someone telling me what I need to work on first so that I can correctly walk through each specific task. My plan is to have one central server which is hosted on a VM. This will not have any sensors, just the framework, server, and the database. I will also have two sensors with 2 network cards a piece. I want one of them to do snort and then I want the other sensor dealing with nagios and ntop. Thanks Cory Fecon Inc. ------------------------------------------------------------------------ ------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4126 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 5 15:26:07 2011 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Tue, 5 Apr 2011 08:26:07 -0500 Subject: Windows Event Log Message-ID: I was asked to see if we can capture and alert on a event that happens often on one of out NT servers. Below is the event: Ed, As we just discussed, here is paste of the exact text of the Warning from the Application Event Log and a screenshot with all the details for the message that is generated every 60 seconds when the servers have a problem negotiating a connection. As this has become a reoccurring problem, Paul has asked that we monitor this and send out alerts so we can jump on it next time it happens. Please call me with any questions. Thanks Server Name: PBX003 Application Log EmailManager EventCode:25000 Level:2 Email - An exception was caught trying to connect to host : exchange.americanmedicalassociation.org, Inbox: Ama_nt\hppcmail, javax.mail.MessagingException: Connect failed; nested exception is:avax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake What I did was to download and have the NT folks invoke the event_agent.exe file Then from my Nagios host side (Linux), execute the check_win_eventlog.pl script, and fill in the parameters that I think are correct. When I execute the script from the Nagios server side to test, it just seems to hang and the NT admins sent me the screen below. I am not a Windows person so I am not sure that I am testing this correct. So what I am asking if someone with more knowledge of what I am trying to accomplish could help me out. Here is what I am running for the Server side: ../../libexec/check_win_eventlog.pl -H 10.0.94.22 -l 'Application' -s 'EmailManager' -m '*:+Connect failed' -t Warning And below is what the Windows people are seeing on there side. This was in dos window b4 I closed it out. We can do it again Mon. Any help or guidance would be greatly appreciated. Thanks again, Ed Zoeller P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook.jpg Type: image/jpeg Size: 21694 bytes Desc: Outlook.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 5 15:49:14 2011 From: jpratt at norwich.edu (James Pratt) Date: Tue, 5 Apr 2011 09:49:14 -0400 Subject: Windows Event Log Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD2C39B7@nuexchange.norwich.edu> I believe it's actually a Perl/regex issue, see here, maybe you can escape the * and have it work - http://www.google.com/search?q=quantifier+follows+nothing+before+HERE+mark+in+regex cheers, Jamie --- From: Edwin Zoeller [mailto:Edwin.Zoeller at ama-assn.org] Sent: Tuesday, April 05, 2011 9:26 AM To: Nagios Users List Subject: [Nagios-users] Windows Event Log Importance: High I was asked to see if we can capture and alert on a event that happens often on one of out NT servers. Below is the event: ? Ed, ??????????? As we just discussed, here is paste of the exact text of the Warning from the Application Event Log and a screenshot with all the details for the message that is generated every 60 seconds when the servers have a problem negotiating a connection. As this has become a reoccurring problem, Paul has asked that we monitor this and send out alerts so we can jump on it next time it happens. Please call me with any questions. Thanks Server Name: PBX003 Application Log EmailManager EventCode:25000 Level:2 Email - An exception was caught trying to connect to host : exchange.americanmedicalassociation.org, Inbox: Ama_nt\hppcmail, javax.mail.MessagingException: Connect failed; nested exception is:avax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake What I did was to download and have the NT folks invoke the event_agent.exe file Then from my Nagios host side (Linux), execute the check_win_eventlog.pl script, and fill in the parameters that I think are correct. When I execute the script from the Nagios server side to test, it just seems to hang and the NT admins sent methe screen below. I am not a Windows person so I am not sure that I am testing this correct. So what I am asking if someone with more knowledge of what I am trying to accomplish could help me out. Here is what I am running for the Server side: ../../libexec/check_win_eventlog.pl -H 10.0.94.22 -l 'Application' -s 'EmailManager' -m '*:+Connect failed' -t Warning And below is what the Windows people are seeing on there side. This was in dos window b4 I closed it out. We can do it again Mon. ? ? ? ? Any help or guidance would be greatly appreciated. ? Thanks again, ? Ed Zoeller ? Please consider the environment before printing this e-mail ? ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 5 16:48:28 2011 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Tue, 5 Apr 2011 07:48:28 -0700 Subject: Plugins for informatica and microstrategy Message-ID: Folks, Nagios 3.2.0 / SLES 10 SP2 Does anyone know if there are nagios plugins for monitoring informatica or microstrategy out there. Or could anyone point me to some scripts that I could adapt. I've trawled through google but I get vast amounts of results back which are hit and miss on what I'm trying to achieve. Any pointers and help would be really appreciated. Thanks, Deborah ________________________________ *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email 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. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Tue Apr 5 16:17:35 2011 From: werner.flamme at ufz.de (Werner Flamme) Date: Tue, 05 Apr 2011 16:17:35 +0200 Subject: (no subject) In-Reply-To: <1301898383.3095.0.camel@endlessdream> References: <409652.63648.qm@web36504.mail.mud.yahoo.com> <1301898383.3095.0.camel@endlessdream> Message-ID: <4D9B247F.8060504@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Patrik B?t [04.04.2011 08:26]: > Crying out load ? > Spam via nagios-users ?! I think so. With this name, a lot of similar mails are on this list. Obviously, nobody complained yet, so the address is still allowed to post. Regards, Werner -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk2bJH8ACgkQk33Krq8b42PC8ACfXa9jcqyTpZTCJUp6BewKKFxw Z1QAnRZsmm3JoyTE/E3a7GaIqfTa4MKS =E/ah -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cclouse at fecon.com Tue Apr 5 17:39:53 2011 From: cclouse at fecon.com (Cory Clouse) Date: Tue, 5 Apr 2011 11:39:53 -0400 Subject: Nagios Install Message-ID: <597DA10C8562ED4B970D2C3AC0301305E7C022@server41.office.fecon.com> When I do a custom install and do a sensor only, there is no Nagios3 folder in /etc/. Does that mean it is not installed? I selected it when I was asked what packages need installed. What is the best way to install it if it isn't installed? Cory Clouse Fecon Inc. (513) 696-4430 cclouse at fecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4126 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Tue Apr 5 21:22:31 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Tue, 05 Apr 2011 12:22:31 -0700 Subject: Check_APC_PDU Command Definition In-Reply-To: <4AF89336841CA740B4338F482A8FC74C11BA6D74D0@message-drt.sbsworldwide.com> References: <4AF89336841CA740B4338F482A8FC74C11BA6D744C@message-drt.sbsworldwide.com> <4AF89336841CA740B4338F482A8FC74C11BA6D74D0@message-drt.sbsworldwide.com> Message-ID: <4D9B6BF7.802@5dninja.net> Often, when you're getting an error and the only result you see is (null), what is happening is that your check script is printing to stderr. It might be that you have perl in your path, but the perl script's #! line doesn't declare the full path to perl, or there's an access error of some sort. But it's easy to figure out what's going on. Simply change your command_line to: command_line $USER1$/check_apc_pdu.pl -H $HOSTADDRESS$ -C public 2>&1 That will redirect standard error to standard out. Next time Nagios runs the script it will capture the full output of the script and you should see right in your Nagios ui, what the issue is. Sun, Mar 27, 2011 at 2:45 PM, Peter Roddan > wrote: > If I log onto the nagios server as the nagios user, and run the > command from the libexec folder (check_apc_pdu --H
-C > public) I get the response : > > "OK: All Outlets ok. | load=25" > > I have put the following command definition in : > > # 'check_apc_pdu' command definition > > define command{ > > command_name check_apc_pdu > > command_line $USER1$/check_apc_pdu.pl -H > $HOSTADDRESS$ -C public > > } > > And defined the following service > > define service{ > > use > generic-service ; Inherit values from a template > > hostgroup_name apc > ; The name of the host the service is associated with > > service_description > check_apc ; The service description > > check_command > check_apc_pdu ; The command used to monitor the service > > normal_check_interval 5 ; > Check the service every 5 minutes under normal conditions > > retry_check_interval > 1 ; Re-check the service every minute > until its final/hard state is determined > > } > > However, my APC PDUs report an error for this service, with a status > information of "(Null)" > > I'd be grateful for anyone who could point me in the right direction > of where I'm going wrong. > > -- Mike Lindsey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wallacegerheim at gmail.com Tue Apr 5 21:28:41 2011 From: wallacegerheim at gmail.com (Gerheim) Date: Tue, 5 Apr 2011 16:28:41 -0300 Subject: Distributed Monitoring In-Reply-To: References: Message-ID: Hi Thanks Dan! I'm reading about check_mk with Livestatus and I think it'll help me. -- Wallace Gerheim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GGoodenough at gaithersburgmd.gov Tue Apr 5 21:59:23 2011 From: GGoodenough at gaithersburgmd.gov (Guy Goodenough) Date: Tue, 5 Apr 2011 15:59:23 -0400 Subject: Windows Event Log In-Reply-To: References: Message-ID: <4BB217361671DA49BF593F09C22C1D76446EE03580@exch07IS.servers.gaithersburgmd.gov> Ed, I do Windows event log checking a fair amount in my environment, however I use NRPE to do it. I?m not sure what it would take to implement a NRPE check on your network, but here?s code to do it: ../../libexec/check_nrpe ?H 10.0.94.22 ?c CheckEventLog ?a filter=new file=Application file=System MaxWarn=1 MaxCrit=1 filter+generated=\<1h filter+eventSource="EmailManager" filter=in filter=all "syntax=%source%: %message%: (%count%)" descriptions=true unique truncate=1023 I believe you will need to configure the nsc.ini for the NSclient to allow NRPE checks and need port 5666 open to do them. Hope this helps, Guy Goodenough Network/Operations Manager City of Gaithersburg 31 South Summit Avenue Gaithersburg, MD 20877-2098 Phone: 301 258 6325 Fax: 301 258 6326 http://www.gaithersburgmd.gov/ _____________________________________ The opinions expressed in this message are not necessarily those of the City of Gaithersburg Staff, Mayor or Council. From: Edwin Zoeller [mailto:Edwin.Zoeller at ama-assn.org] Sent: Tuesday, April 05, 2011 9:26 AM To: Nagios Users List Subject: [Nagios-users] Windows Event Log Importance: High I was asked to see if we can capture and alert on a event that happens often on one of out NT servers. Below is the event: ? Ed, ??????????? As we just discussed, here is paste of the exact text of the Warning from the Application Event Log and a screenshot with all the details for the message that is generated every 60 seconds when the servers have a problem negotiating a connection. As this has become a reoccurring problem, Paul has asked that we monitor this and send out alerts so we can jump on it next time it happens. Please call me with any questions. Thanks Server Name: PBX003 Application Log EmailManager EventCode:25000 Level:2 Email - An exception was caught trying to connect to host : exchange.americanmedicalassociation.org, Inbox: Ama_nt\hppcmail, javax.mail.MessagingException: Connect failed; nested exception is:avax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake What I did was to download and have the NT folks invoke the event_agent.exe file Then from my Nagios host side (Linux), execute the check_win_eventlog.pl script, and fill in the parameters that I think are correct. When I execute the script from the Nagios server side to test, it just seems to hang and the NT admins sent methe screen below. I am not a Windows person so I am not sure that I am testing this correct. So what I am asking if someone with more knowledge of what I am trying to accomplish could help me out. Here is what I am running for the Server side: ../../libexec/check_win_eventlog.pl -H 10.0.94.22 -l 'Application' -s 'EmailManager' -m '*:+Connect failed' -t Warning And below is what the Windows people are seeing on there side. This was in dos window b4 I closed it out. We can do it again Mon. ? ? ? ? Any help or guidance would be greatly appreciated. ? Thanks again, ? Ed Zoeller ? Please consider the environment before printing this e-mail ? ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyolduz at gmail.com Tue Apr 5 22:48:30 2011 From: dyolduz at gmail.com (=?ISO-8859-1?Q?Deniz_Yold=FCz?=) Date: Tue, 5 Apr 2011 23:48:30 +0300 Subject: Nagios Install In-Reply-To: <597DA10C8562ED4B970D2C3AC0301305E7C022@server41.office.fecon.com> References: <597DA10C8562ED4B970D2C3AC0301305E7C022@server41.office.fecon.com> Message-ID: What distribution are you using? What do you mean by custom install? Compiling from source? Did you checked /usr/local/nagios/etc ? On Tue, Apr 5, 2011 at 6:39 PM, Cory Clouse wrote: > When I do a custom install and do a sensor only, there is no Nagios3 folder > in /etc/. Does that mean it is not installed? I selected it when I was asked > what packages need installed. > > > > What is the best way to install it if it isn?t installed? > > > > Cory Clouse > > Fecon Inc. > > (513) 696-4430 > > cclouse at fecon.com > > > > [image: mini logo] > > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4126 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Wed Apr 6 04:05:32 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 6 Apr 2011 10:05:32 +0800 Subject: Configuration Planning In-Reply-To: <597DA10C8562ED4B970D2C3AC0301305E7BF36@server41.office.fecon.com> References: <597DA10C8562ED4B970D2C3AC0301305E7BEA2@server41.office.fecon.com> <597DA10C8562ED4B970D2C3AC0301305E7BF36@server41.office.fecon.com> Message-ID: all your questions can be answered within here: http://nagios.sourceforge.net/docs/nagioscore/3/en/ On Tue, Apr 5, 2011 at 8:30 PM, Cory Clouse wrote: > Ok, I am still pretty shallow into the subject so my questions may be a > little easy/un-researched. > > > > 1. With nagios, are you supposed to define hosts in the cfg files in > a folder you have to create called objects? Or is this done through the > website through the asset page. > > > > 2. Also, I feel like my server is not communicating with my nagios > sensor. I was trying to test that by sending a command but I get the ?Sorry > Dave? error. In regards to that, I had the use_authentication in the cgi.cfg > set to 0 just to test if I could send a command and I still got that same > error. So how do I set that up securely? What passwords need to match where? > > > > This will help me get started with the nagios configuration. If you have > any other suggestions or pointers they would be greatly appreciated > > Thanks a lot, > > Cory > > > > > > > > *From:* Greg Pangrazio [mailto:pangrazi at gmail.com] > *Sent:* Monday, April 04, 2011 5:55 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Configuration Planning > > > > Cory, > > If you have specific questions about the nagios install on alienvault we > may be able to help you. There is probably a different list that would be > better for these questions. > > > Greg Pangrazio > > On Mon, Apr 4, 2011 at 3:18 PM, Cory Clouse wrote: > > Hello, > > This is my first time using AlienVault and I would really like some > directions to take for planning my system. I have tried picking function by > function to install but I cannot get anything working. I would really > appreciate someone telling me what I need to work on first so that I can > correctly walk through each specific task. > > > > My plan is to have one central server which is hosted on a VM. This will > not have any sensors, just the framework, server, and the database. I will > also have two sensors with 2 network cards a piece. I want one of them to do > snort and then I want the other sensor dealing with nagios and ntop. > > > > Thanks > > > > > > > > Cory > > Fecon Inc. > > > > [image: mini logo] > > > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4126 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.boeckmann at itd-home.de Wed Apr 6 09:37:29 2011 From: michael.boeckmann at itd-home.de (Michael Boeckmann) Date: Wed, 6 Apr 2011 09:37:29 +0200 Subject: Trend Micro Officescan snmp-trap Message-ID: <81C21FA85BF2E34BA5C4B2875CFAAAEA011063F1@adenauer.synserver.ads> Hi there, does anyone know how to get the monitoring of Trend Micro Officescan running. I?am completely new to snmp. So I tried to learn something about it. But by now, I couldn?t find a source for reading and understanding it. What are OIDs and MIBs? Where do I get them? And how can I configure it? The only thing I know is, that I can configure a snmp-trap in the web-interface of Officescan, where I can type in the IP and community. The TMOS-Server runs with Win-Server 2008 R2 and the Nagios 3.2.3 on a Debian-Squeeze-machine. I would be very thankful. With kind regards, Michael B?ckmann -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Apr 6 10:25:40 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 6 Apr 2011 09:25:40 +0100 Subject: Trend Micro Officescan snmp-trap In-Reply-To: <81C21FA85BF2E34BA5C4B2875CFAAAEA011063F1@adenauer.synserver.ads> References: <81C21FA85BF2E34BA5C4B2875CFAAAEA011063F1@adenauer.synserver.ads> Message-ID: I'm not sure the specifics of getting Trend to send traps (I simply asked my Trend admin person to set it up!). Trend should be able to provide you with the relevant MIB file. To configure Nagios to receive the traps, I recommend you use snmptt. The specific instructions relating to Nagios are at: http://www.snmptt.org/docs/snmptt.shtml#Nagios-Netsaint You will need to use the snmpttconvertmib utility to convert Trend's MIB file to a config for snmptt. Note I found that the format of the OID's for the traps generated from our Trend systems didn't always match what was in the MIB, so I had to create some new config entries for snmptt based on the ones translated using snmpttconvertmib, but with the OIDs edited to match what we were receiving - for example: # These traps are pretty much same as from trend.mib, but with .999. instead of .141. EVENT virusFound .1.3.6.1.4.1.6101.999.3.3 "Status Events" critical FORMAT Virus Found Trap: $* SDESC This event trap will be sent when a virus is found Variables: 1: tvcsEventTrapVar PREEXEC /bin/echo $s | /bin/sed -e s/ok/0/ -e s/warning/1/ -e s/critical/2/ EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result $A "SNMP-Trap-Trend" $p1 $N "$*" EDESC # # # Note the PREEXEC and EXEC entries which are used to translate the incoming trap in to a format which can be submitted as a passive check to Nagios via Nagios' command interface. You may need to edit the EVENT line in each config entry to change the severity as appropriate to "ok", "warning", or "critical" so it can be processed by the PREEXEC line. I hope that helps a little. Cheers, Jim ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cclouse at fecon.com Wed Apr 6 14:34:53 2011 From: cclouse at fecon.com (Cory Clouse) Date: Wed, 6 Apr 2011 08:34:53 -0400 Subject: Nagios Install In-Reply-To: References: <597DA10C8562ED4B970D2C3AC0301305E7C022@server41.office.fecon.com> Message-ID: <597DA10C8562ED4B970D2C3AC0301305E7C21D@server41.office.fecon.com> I am using debian. When I say custom, I mean when you get the option from the cd installer - custom, automated, or another custom (I cant read it - text cuts off screen). I chose only one profile which is the sensor profile. There is no nagios directory in /usr/local/ It installs correctly with the automated install. From: Deniz Yold?z [mailto:dyolduz at gmail.com] Sent: Tuesday, April 05, 2011 4:49 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios Install What distribution are you using? What do you mean by custom install? Compiling from source? Did you checked /usr/local/nagios/etc ? On Tue, Apr 5, 2011 at 6:39 PM, Cory Clouse wrote: When I do a custom install and do a sensor only, there is no Nagios3 folder in /etc/. Does that mean it is not installed? I selected it when I was asked what packages need installed. What is the best way to install it if it isn't installed? Cory Clouse Fecon Inc. (513) 696-4430 cclouse at fecon.com ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4126 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cclouse at fecon.com Wed Apr 6 14:40:54 2011 From: cclouse at fecon.com (Cory Clouse) Date: Wed, 6 Apr 2011 08:40:54 -0400 Subject: Configuration Planning In-Reply-To: References: <597DA10C8562ED4B970D2C3AC0301305E7BEA2@server41.office.fecon.com> <597DA10C8562ED4B970D2C3AC0301305E7BF36@server41.office.fecon.com> Message-ID: <597DA10C8562ED4B970D2C3AC0301305E7C221@server41.office.fecon.com> I have read a decent amount of nagios documentation. I was looking for an easy answer for question 2. But as for question 1... this is an ossim specific question whether the asset page adds hosts for nagios. I have looked through the nagios documentation and there is not much mention of ossim. - I only ask because I did not see any new data coming in after I added a host into a config file. From: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] Sent: Tuesday, April 05, 2011 10:06 PM To: Nagios Users List Subject: Re: [Nagios-users] Configuration Planning all your questions can be answered within here: http://nagios.sourceforge.net/docs/nagioscore/3/en/ On Tue, Apr 5, 2011 at 8:30 PM, Cory Clouse wrote: Ok, I am still pretty shallow into the subject so my questions may be a little easy/un-researched. 1. With nagios, are you supposed to define hosts in the cfg files in a folder you have to create called objects? Or is this done through the website through the asset page. 2. Also, I feel like my server is not communicating with my nagios sensor. I was trying to test that by sending a command but I get the "Sorry Dave" error. In regards to that, I had the use_authentication in the cgi.cfg set to 0 just to test if I could send a command and I still got that same error. So how do I set that up securely? What passwords need to match where? This will help me get started with the nagios configuration. If you have any other suggestions or pointers they would be greatly appreciated Thanks a lot, Cory From: Greg Pangrazio [mailto:pangrazi at gmail.com] Sent: Monday, April 04, 2011 5:55 PM To: Nagios Users List Subject: Re: [Nagios-users] Configuration Planning Cory, If you have specific questions about the nagios install on alienvault we may be able to help you. There is probably a different list that would be better for these questions. Greg Pangrazio On Mon, Apr 4, 2011 at 3:18 PM, Cory Clouse wrote: Hello, This is my first time using AlienVault and I would really like some directions to take for planning my system. I have tried picking function by function to install but I cannot get anything working. I would really appreciate someone telling me what I need to work on first so that I can correctly walk through each specific task. My plan is to have one central server which is hosted on a VM. This will not have any sensors, just the framework, server, and the database. I will also have two sensors with 2 network cards a piece. I want one of them to do snort and then I want the other sensor dealing with nagios and ntop. Thanks Cory Fecon Inc. ------------------------------------------------------------------------ ------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ ------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4126 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyolduz at gmail.com Wed Apr 6 15:22:55 2011 From: dyolduz at gmail.com (=?ISO-8859-1?Q?Deniz_Yold=FCz?=) Date: Wed, 6 Apr 2011 16:22:55 +0300 Subject: Nagios Install In-Reply-To: <597DA10C8562ED4B970D2C3AC0301305E7C21D@server41.office.fecon.com> References: <597DA10C8562ED4B970D2C3AC0301305E7C022@server41.office.fecon.com> <597DA10C8562ED4B970D2C3AC0301305E7C21D@server41.office.fecon.com> Message-ID: try this; find -name nagios -type d and i recommend you to compile nagios from source as shown in centreon wiki ( http://wiki.centreon.com - See Section "Setup" ) . It's the easiest and most explained way of installing. also if you have init scripts installed in /etc/init.d/ just start nagios and do this ps aux | grep nagios and it will show you which config file it reads. On Wed, Apr 6, 2011 at 3:34 PM, Cory Clouse wrote: > I am using debian. When I say custom, I mean when you get the option from > the cd installer ? custom, automated, or another custom (I cant read it ? > text cuts off screen). I chose only one profile which is the sensor profile. > > > > There is no nagios directory in /usr/local/ > > > > It installs correctly with the automated install. > > > > > > *From:* Deniz Yold?z [mailto:dyolduz at gmail.com] > *Sent:* Tuesday, April 05, 2011 4:49 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Nagios Install > > > > What distribution are you using? > What do you mean by custom install? Compiling from source? > Did you checked /usr/local/nagios/etc ? > > On Tue, Apr 5, 2011 at 6:39 PM, Cory Clouse wrote: > > When I do a custom install and do a sensor only, there is no Nagios3 folder > in /etc/. Does that mean it is not installed? I selected it when I was asked > what packages need installed. > > > > What is the best way to install it if it isn?t installed? > > > > Cory Clouse > > Fecon Inc. > > (513) 696-4430 > > cclouse at fecon.com > > > > [image: mini logo] > > > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4126 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Roddan at sbsworldwide.com Wed Apr 6 16:35:33 2011 From: Peter.Roddan at sbsworldwide.com (Peter Roddan) Date: Wed, 6 Apr 2011 15:35:33 +0100 Subject: Check_APC_PDU Command Definition In-Reply-To: <4D9B6BF7.802@5dninja.net> References: <4AF89336841CA740B4338F482A8FC74C11BA6D744C@message-drt.sbsworldwide.com> <4AF89336841CA740B4338F482A8FC74C11BA6D74D0@message-drt.sbsworldwide.com> <4D9B6BF7.802@5dninja.net> Message-ID: <4AF89336841CA740B4338F482A8FC74C11BA6D74E8@message-drt.sbsworldwide.com> Hi Mike, Thanks very much for your help. I've changed the below, and I now get the following as the Nagios Status Information. /usr/local/nagios/libexec/check_apc_pdu.pl: line 24: use: command not found /usr/local/nagios/libexec/check_apc_pdu.pl: line 25: use: command not found /usr/local/nagios/libexec/check_apc_pdu.pl: line 26: use: command not found /usr/local/nagios/libexec/check_apc_pdu.pl: line 27: syntax error near unexpected token `(' /usr/local/nagios/libexec/check_apc_pdu.pl: line 27: `use utils qw($TIMEOUT %ERRORS &print_revision &support);' So I guess there's a problem with the script after all. Strange, as it works when I run it from the command line as the nagios user. Back to the drawing board with that one I suppose! Thanks, Peter. Peter Roddan Senior Systems Analyst SBS Worldwide Ltd - Dartford DDI No: +44 (0)1322 424741 Email :Peter.Roddan at sbsworldwide.com Website :sbsworldwide.com [cid:image001.jpg at 01CBF470.444E0770] P Think before you print! From: Mike Lindsey [mailto:mike-nagios at 5dninja.net] Sent: 05 April 2011 20:23 To: Nagios Users List Cc: Peter Roddan Subject: Re: [Nagios-users] Check_APC_PDU Command Definition Often, when you're getting an error and the only result you see is (null), what is happening is that your check script is printing to stderr. It might be that you have perl in your path, but the perl script's #! line doesn't declare the full path to perl, or there's an access error of some sort. But it's easy to figure out what's going on. Simply change your command_line to: command_line $USER1$/check_apc_pdu.pl -H $HOSTADDRESS$ -C public 2>&1 That will redirect standard error to standard out. Next time Nagios runs the script it will capture the full output of the script and you should see right in your Nagios ui, what the issue is. Sun, Mar 27, 2011 at 2:45 PM, Peter Roddan > wrote: If I log onto the nagios server as the nagios user, and run the command from the libexec folder (check_apc_pdu -H
-C public) I get the response : "OK: All Outlets ok. | load=25" I have put the following command definition in : # 'check_apc_pdu' command definition define command{ command_name check_apc_pdu command_line $USER1$/check_apc_pdu.pl -H $HOSTADDRESS$ -C public } And defined the following service define service{ use generic-service ; Inherit values from a template hostgroup_name apc ; The name of the host the service is associated with service_description check_apc ; The service description check_command check_apc_pdu ; The command used to monitor the service normal_check_interval 5 ; Check the service every 5 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined } However, my APC PDUs report an error for this service, with a status information of "(Null)" I'd be grateful for anyone who could point me in the right direction of where I'm going wrong. -- Mike Lindsey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 48202 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Apr 6 19:05:21 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 6 Apr 2011 13:05:21 -0400 Subject: Correct syntax to check paging file usage on Windows 2008 R2 64-bit server Message-ID: Hi there -- I am running Nagios 3.1.2 with OpMon, formally NSClient, agent 2.0 installed on a Windows 2008 R2 64-bit system. I have several counters that are being monitored on the client including CPU Load, Disk Usage, Memory Usage, Server Uptime, and Paging File Usage. All counters except Paging File Usage appear to be running without issue. The error message that I am seeing with Paging File Usage is the following: NSClient - ERROR INVALID COUNTER - PagingFile(_Total)% Usage - ERROR CODE: 0xC0000BB8 - I have a Windows 2003 R2 64-bit server that is being monitored with the same counters, and the Paging File Usage counter does not return an error. The syntax for the command in question, taken from the commands.cfg file, is shown below: # 'check_nt_pagingfile' command define command{ command_name check_nt_pagingfile command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 5667 -v COUNTER -l "\\PagingFile(_Total)\\% Usage","Paging Fileusage is %.2f%%" -w $ARG1$ -c $ARG2$ } Does anyone know what change(s) are needed to the above command, assuming it can still be used, in order for it to accurately keep track of the paging file in the Windows 2008 server? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyarusso at nagios.com Wed Apr 6 21:43:02 2011 From: tyarusso at nagios.com (Tony Yarusso) Date: Wed, 06 Apr 2011 14:43:02 -0500 Subject: Nagios Install In-Reply-To: <597DA10C8562ED4B970D2C3AC0301305E7C21D@server41.office.fecon.com> References: <597DA10C8562ED4B970D2C3AC0301305E7C022@server41.office.fecon.com> <597DA10C8562ED4B970D2C3AC0301305E7C21D@server41.office.fecon.com> Message-ID: <4D9CC246.8050504@nagios.com> On 4/6/2011 7:34 AM, Cory Clouse wrote: > > I am using debian. When I say custom, I mean when you get the option > from the cd installer -- custom, automated, or another custom (I cant > read it -- text cuts off screen). I chose only one profile which is > the sensor profile. > > There is no nagios directory in /usr/local/ > > It installs correctly with the automated install. > I believe you are again referring to AlienVault issues, not Nagios ones. You should be contacting them for help instead - http://alienvault.com/services/support . -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Thu Apr 7 08:23:24 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Thu, 07 Apr 2011 08:23:24 +0200 Subject: Check_APC_PDU Command Definition In-Reply-To: <4AF89336841CA740B4338F482A8FC74C11BA6D74E8@message-drt.sbsworldwide.com> References: <4AF89336841CA740B4338F482A8FC74C11BA6D744C@message-drt.sbsworldwide.com> <4AF89336841CA740B4338F482A8FC74C11BA6D74D0@message-drt.sbsworldwide.com> <4D9B6BF7.802@5dninja.net> <4AF89336841CA740B4338F482A8FC74C11BA6D74E8@message-drt.sbsworldwide.com> Message-ID: <1302157404.4332.2.camel@endlessdream> in nagios execute it like this: perl /usr/local/nagios/libexec/check_apc_pdu.pl ^ |---- notice the perl, otherwise it will probably run the embedded perl in nagios. and look in the script if there is a #!/path/to/perl at the first line. On Wed, 2011-04-06 at 15:35 +0100, Peter Roddan wrote: > Hi Mike, > > > > Thanks very much for your help. > > I?ve changed the below, and I now get the following as the Nagios > Status Information. > > > > /usr/local/nagios/libexec/check_apc_pdu.pl: line 24: use: command not > found > /usr/local/nagios/libexec/check_apc_pdu.pl: line 25: use: command not > found > /usr/local/nagios/libexec/check_apc_pdu.pl: line 26: use: command not > found > /usr/local/nagios/libexec/check_apc_pdu.pl: line 27: syntax error near > unexpected token `(' > /usr/local/nagios/libexec/check_apc_pdu.pl: line 27: `use utils > qw($TIMEOUT %ERRORS &print_revision &support);' > > > > So I guess there?s a problem with the script after all. > > Strange, as it works when I run it from the command line as the nagios > user. > > > > Back to the drawing board with that one I suppose! > > > > Thanks, > > > > Peter. > > > > > > > > > > > Peter Roddan > Senior Systems Analyst > > SBS Worldwide Ltd - Dartford > DDI No: +44 (0)1322 424741 > Email :Peter.Roddan at sbsworldwide.com > Website :sbsworldwide.com > > Description: > http://www.sbsworldwide.com/_images/signatures/sig_logo.jpg > > P Think before you print! > > > > > > > From: Mike Lindsey [mailto:mike-nagios at 5dninja.net] > Sent: 05 April 2011 20:23 > To: Nagios Users List > Cc: Peter Roddan > Subject: Re: [Nagios-users] Check_APC_PDU Command Definition > > > > > > Often, when you're getting an error and the only result you see is > (null), what is happening is that your check script is printing to > stderr. It might be that you have perl in your path, but the perl > script's #! line doesn't declare the full path to perl, or there's an > access error of some sort. > > But it's easy to figure out what's going on. Simply change your > command_line to: > command_line $USER1$/check_apc_pdu.pl -H $HOSTADDRESS$ -C > public 2>&1 > > That will redirect standard error to standard out. Next time Nagios > runs the script it will capture the full output of the script and you > should see right in your Nagios ui, what the issue is. > > Sun, Mar 27, 2011 at 2:45 PM, Peter Roddan > wrote: > > > If I log onto the nagios server as the nagios user, and run the > command from the libexec folder (check_apc_pdu ?H
-C public) > I get the response : > > ?OK: All Outlets ok. | load=25? > > I have put the following command definition in : > > # 'check_apc_pdu' command definition > > define command{ > > command_name check_apc_pdu > > command_line $USER1$/check_apc_pdu.pl -H $HOSTADDRESS$ -C public > > } > > > > And defined the following service > > > > define service{ > > use > generic-service ; Inherit values from a template > > hostgroup_name > apc ; The name of the host the service is associated with > > service_description > check_apc ; The service description > > check_command > check_apc_pdu ; The command used to monitor the > service > > normal_check_interval 5 ; > Check the service every 5 minutes under normal conditions > > retry_check_interval > 1 ; Re-check the service every minute > until its final/hard state is determined > > } > > > > > > However, my APC PDUs report an error for this service, with a status > information of ?(Null)? > > I?d be grateful for anyone who could point me in the right direction > of where I?m going wrong. > > > > > > > > > -- > Mike Lindsey > > > ________________________________________________________________________ > THE DRIVING FORCE BEHIND FREIGHT MANAGEMENT > ________________________________________________________________________ > This email and any files transmitted with it are confidential and may > be privileged or otherwise protected from disclosure. The email is > intended solely for the use of the individual or entity to whom it is > addressed and, if you are not the intended recipient, you must not > copy this message or attachment or disclose the contents to any other > person. If you have received this email in error please notify > hostmaster at sbsworldwide.com > > This e-mail has been scanned for all viruses by Messagelabs but no > responsibility will be accepted by SBS Worldwide Group if the > recipient?s computer system is corrupted by information transmitted > from this computer system nor for any delays or problems arising out > of or caused by any corruption. > > All business is conducted strictly subject to SBS standard contract > terms and conditions which are as follows:- > > 1) Business transacted by SBS Worldwide Ltd (UK): British > International Freight Association (BIFA) Standard Trading Conditions, > latest edition > > 2) Business transacted by SBS Worldwide Inc (USA): National Customs > Brokers And Forwarders Association of America (NCBFAA) Terms & > Conditions of Service, latest edition > > Copies will be supplied on request or can be viewed on our website as > follows:- > > http://www.sbsworldwide.com/legals > > All quotes , rates and surcharges are subject to market fluctuation. > > SBS Worldwide Ltd registered in England No: 1739816 > > Registered Office: SBS Cargo Centre, Anchor Boulevard, Crossways, > Dartford, Kent DA2 6SB, England > > ________________________________________________________________________ > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 48202 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Thu Apr 7 08:28:59 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Thu, 07 Apr 2011 08:28:59 +0200 Subject: Correct syntax to check paging file usage on Windows 2008 R2 64-bit server In-Reply-To: References: Message-ID: <1302157739.4332.3.camel@endlessdream> Hello, NSClient 2.0. Just try updating to nsclient++ version 3.8 http://files.nsclient.org/x-0.3.x/NSClient%2B%2B-0.3.8-x64.msi It has alot of features. On Wed, 2011-04-06 at 13:05 -0400, Kaplan, Andrew H. wrote: > Hi there -- > > I am running Nagios 3.1.2 with OpMon, formally NSClient, agent 2.0 > installed on a Windows 2008 R2 64-bit system. I have several > > counters that are being monitored on the client including CPU Load, > Disk Usage, Memory Usage, Server Uptime, and Paging File Usage. > > All counters except Paging File Usage appear to be running without > issue. > > The error message that I am seeing with Paging File Usage is the > following: > > NSClient - ERROR INVALID COUNTER - PagingFile(_Total)% Usage - ERROR > CODE: 0xC0000BB8 - > > I have a Windows 2003 R2 64-bit server that is being monitored with > the same counters, and the Paging File Usage counter does not > > return an error. The syntax for the command in question, taken from > the commands.cfg file, is shown below: > > # 'check_nt_pagingfile' command > define command{ > command_name check_nt_pagingfile > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 5667 -v > COUNTER -l "\\PagingFile(_Total)\\% Usage","Paging Fileusage is %.2f% > %" -w $ARG1$ -c $ARG2$ > > } > > Does anyone know what change(s) are needed to the above command, > assuming it can still be used, in order for it to accurately > > keep track of the paging file in the Windows 2008 server? > > Thanks. > > > > > > The information in this e-mail is intended only for the person to whom > it is > addressed. If you believe this e-mail was sent to you in error and the > e-mail > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you > in error > but does not contain patient information, please contact the sender > and properly > dispose of the e-mail. > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mit at akamit.com Thu Apr 7 11:12:13 2011 From: mit at akamit.com (Andrey Mitroshin) Date: Thu, 7 Apr 2011 13:12:13 +0400 Subject: Service failover dependency Message-ID: <20110407131005@akamit.com> Hello, I'm about to implement simple failover scenario with nagios. It consists of host A, host B and nagios host. When host A is down nagios executes event handler which performs dynamic dns update on some hostname to point it to host B. But when host B is down, nagios should not execute event handler as there is nothing to switch to. How can I configure nagios not to execute event hanlder when some service check or host check has failed? Thanks in advance. -- mit. ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 7 11:26:18 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 07 Apr 2011 09:26:18 +0000 Subject: Service failover dependency In-Reply-To: <20110407131005@akamit.com> References: <20110407131005@akamit.com> Message-ID: <4D9D833A.2000302@flatto.net> Andrey Mitroshin wrote: > Hello, > I'm about to implement simple failover scenario with nagios. It consists of > host A, host B and nagios host. When host A is down nagios executes > event handler which performs dynamic dns update on some hostname to > point it to host B. But when host B is down, nagios should not execute > event handler as there is nothing to switch to. How can I configure > nagios not to execute event hanlder when some service check or host > check has failed? > Thanks in advance. > -- > mit. > > When you configure the service , you define event handlers , you can create a service definition for each host and service , so you can exclude any host or service from running the event handler . example : define service { hostgroups WEB host_name !web1 , !web2 ... eventhandler change_dns } this will cause the service and event handler to work on all hosts in the WEB hostgroup excluding the web1 and web2 servers. hope this helps . Assaf ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mit at akamit.com Thu Apr 7 11:45:28 2011 From: mit at akamit.com (Andrey Mitroshin) Date: Thu, 7 Apr 2011 13:45:28 +0400 Subject: Service failover dependency In-Reply-To: <4D9D833A.2000302@flatto.net> References: <20110407131005@akamit.com> <4D9D833A.2000302@flatto.net> Message-ID: <20110407133652@akamit.com> I'm afraid I did not explained my problem clearly. So, I've got 2 servers. serverA - primary (10.0.0.1) serverB - backup (10.1.0.1) There is some apache vhost named www.site.com configured on both of them. My failover is supposed to work as follows. Usually serverA is up and www.site.com resolves to 10.0.0.1. when serverA.com goes down, nagios executes evenhandler, updates A record and www.site.com points to 10.1.0.1 (serverB). The problem arises when both servers are down. So, evenhandler updates A record of www.sites.com, but serverB is down as well My goal is to avoid executing eventhandler when serverB is down. And the question is how to configure such a behaviour in nagios. On Thu, Apr 07, 2011 at 09:26:18AM +0000, Assaf Flatto wrote: > Andrey Mitroshin wrote: > > Hello, > > I'm about to implement simple failover scenario with nagios. It consists of > > host A, host B and nagios host. When host A is down nagios executes > > event handler which performs dynamic dns update on some hostname to > > point it to host B. But when host B is down, nagios should not execute > > event handler as there is nothing to switch to. How can I configure > > nagios not to execute event hanlder when some service check or host > > check has failed? > > Thanks in advance. > > -- > > mit. > > > > > When you configure the service , you define event handlers , you can > create a service definition for each host and service , so you can > exclude any host or service from running the event handler . > > example : > define service { > hostgroups WEB > host_name !web1 , !web2 > ... > eventhandler change_dns > } > > > this will cause the service and event handler to work on all hosts in > the WEB hostgroup excluding the web1 and web2 servers. > > hope this helps . > > Assaf > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Thu Apr 7 23:52:28 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Thu, 07 Apr 2011 14:52:28 -0700 Subject: Service failover dependency In-Reply-To: <20110407133652@akamit.com> References: <20110407131005@akamit.com> <4D9D833A.2000302@flatto.net> <20110407133652@akamit.com> Message-ID: <4D9E321C.3030900@5dninja.net> On 4/7/11 2:45 AM, Andrey Mitroshin wrote: > I'm afraid I did not explained my problem clearly. > > So, I've got 2 servers. > serverA - primary (10.0.0.1) > serverB - backup (10.1.0.1) > > There is some apache vhost named www.site.com configured on both of them. > My failover is supposed to work as follows. > > Usually serverA is up and www.site.com resolves to 10.0.0.1. > when serverA.com goes down, nagios executes evenhandler, updates A > record and www.site.com points to 10.1.0.1 (serverB). > > The problem arises when both servers are down. So, evenhandler updates > A record of www.sites.com, but serverB is down as well > > My goal is to avoid executing eventhandler when serverB is down. > And the question is how to configure such a behaviour in nagios. What you need here, is a smarter event handler. In the event handler script, have it test serverB. If serverB is up, update the A record; otherwise just exit (and maybe update a logfile somewhere). -- Mike Lindsey ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jayeola.list.mail at gmail.com Fri Apr 8 01:52:31 2011 From: jayeola.list.mail at gmail.com (John Maclean) Date: Thu, 7 Apr 2011 23:52:31 +0000 Subject: (no subject) Message-ID: <2067374010-1302220350-cardhu_decombobulator_blackberry.rim.net-2109586090-@b16.c4.bise7.blackberry> /dev/BlackBerry? ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bangers at gmail.com Fri Apr 8 08:54:18 2011 From: bangers at gmail.com (Matthew Angelo) Date: Fri, 8 Apr 2011 16:54:18 +1000 Subject: nagiosgrapher and service_descriptions between Windows/UNIX Message-ID: Hi team Can someone please help me understand the way NagiosGrapher works (or is meant to work) in relation to mapping the same service_description name with different nrpe clients? For example: Windows Host: WINSERV CentOS Host: LINUXSERV Both have "Swap Usage" BUT because it's Windows vs UNIX -- the NRPE clients return different graph_perf_regex and graph_log_regex strings. # check_nrpe -H LINUXSERV -c check_swap SWAP OK - 100% free (4000 MB out of 4000 MB) |swap=4000MB;800;400;0;4000 # check_nrpe -H WINSERV -c check_swap OK: virtual memory: 47.5M|'virtual memory %'=2%;90;95; 'virtual memory'=47.45M;1843.08;1945.48;0;2047.87; How do I account for this in my check_swap.ncfg? The 'standard' one that ships with ngraph works fine with UNIX, but I'm trying to add the Windows NRPE string to also match and graph. #--- #NagiosGrapherTemplateforcheck_swap #--- ## ## ## To support LINUX NRPE Clients ## ## define ngraph{ service_name Swap Usage graph_log_regex (\d+)% graph_value swap graph_units percent graph_legend free swap space rrd_plottype AREA rrd_color 00a000 hide yes graph_uper_limit 100 } define ngraph{ service_name Swap Usage type CDEF graph_value swapdef graph_units percent graph_legend used swap space graph_calc swap,UNKN,NE,swap,0,IF,100,LE,swap,100,IF,100,-,-1,* rrd_plottype AREA rrd_color a00000 } ## ## ## To Support Windows NRPE Clients ## ## define ngraph{ service_name Swap Usage graph_perf_regex virtual memory %=(\d+)% graph_value swap_usage graph_units % graph_legend Swap Usage (percent) rrd_plottype AREA rrd_color a00000 # maroon graph_uper_limit 100 } #[EOF] 2011-04-08 16:47:44 REGEX: 2 blocks for 'Swap Usage' found. 2011-04-08 16:47:44 REGEX: graph_value=swap 2011-04-08 16:47:44 REGEX: output=plugin. 2011-04-08 16:47:44 REGEX: regex=m/(\d+)%/i 2011-04-08 16:47:44 REGEX: perfdata=swap ok - 67% free (1358 mb out of 2047 mb) 2011-04-08 16:47:44 REGEX: match=67 2011-04-08 16:47:44 REGEX: graph_value=swap_usage 2011-04-08 16:47:44 REGEX: output=perfdata 2011-04-08 16:47:44 REGEX: regex=m/virtual memory %=(\d+)%/i 2011-04-08 16:47:44 REGEX: perfdata=swap=1358MB;409;204;0;2047 2011-04-08 16:47:44 REGEX: NO MATCH. As you can see from my check_swap.ncfg, I added Windows support (which doesn't work). ngraph.log shows that it finds 2 "blocks"....but it appears to only perform an "rrd update" *IF* ALL blocks match? For me, this will never be the case. I expect only one block to match (either the Windows block, or the UNIX block). I have the regex and graphing working *IF* I give Windows a different service_description ("Swap File Usage") but it doesn't feel right. Trying to make them work "together" only appears to make it break. Anyone have any tips/pointers? Thanks! ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at aggregateknowledge.com Sat Apr 9 01:32:52 2011 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Fri, 08 Apr 2011 16:32:52 -0700 Subject: NRPE and include_dir In-Reply-To: <4D7FA09E.7020300@aggregateknowledge.com> References: <4D7EC833.3050801@aggregateknowledge.com> <4D7F82C0.4070600@aggregateknowledge.com> <4D7F8C21.5060904@op5.se> <4D7FA09E.7020300@aggregateknowledge.com> Message-ID: <4D9F9B24.1060603@aggregateknowledge.com> On 03/15/2011 10:23 AM, Mike Chesnut wrote: > On 03/15/2011 08:56 AM, Andreas Ericsson wrote: >> On 03/15/2011 04:16 PM, Mike Chesnut wrote: >>> On 03/14/2011 07:00 PM, Mike Chesnut wrote: >>>> We're trying to use the include_dir directive in NRPE with an >>>> /etc/nagios/nrpe.d/ directory. My assumption was that files in this >>>> directory would be loaded in alphanumeric order, but it seems to only >>>> load in alphabetical order, ignoring numerals. >>> >>> To follow up on this, it turns out that in nrpe.c, readdir() is used to >>> load files from the config directory, which is totally non-deterministic >>> in the order the files are read. >>> >>> I believe this to be a bug, as I think it's a reasonable expectation >>> (based on how pretty much every other program that allows you to include >>> a conf.d directory works) for the files to be loaded in alphanumeric order. >>> >> >> This should really only be a problem if you're loading more than one >> command with the same name. If that's the case, you've done something >> pretty severely wrong anyway since NRPE doesn't guarantee that either >> of them will win out and the order could thus change at any time. It's >> a tossup if we should use "first wins" or "last wins", and since it >> isn't documented it can (and possibly will) change. > > So my assertion is that it's preferable for things like this to be > well-defined (and documented), rather than being essentially random. > > We have what I consider to be a pretty reasonable situation where this > would be useful. I'm happy to share the specifics if anybody's curious, > but it seems to me that it'd be generally useful to the whole community > to have things like this spelled out explicitly, one way or another. > >>> Is there a reason anybody knows of that this belief is incorrect? If >>> not, I'll work on a patch. >>> >> >> See above. If you still want to fix it, make sure you also update >> the documentation so that it's obvious what the order of domination >> is wrt commands with the same name. > > Will do. No guarantees I get to it, but hopefully. If anybody has an > objection to this change please let me know before I waste my time. I have this patch completed, and we've been running it in production for a couple of weeks now with no problems. Should I submit the patch officially somewhere? (Is it wanted?) I'm not finding any information on how to submit an NRPE patch. Ditto for the documentation, which seems to only exist in .odt form. Any pointers/opinions would be greatly appreciated. Thanks, Mike ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Sun Apr 10 01:06:02 2011 From: td3201 at gmail.com (Terry) Date: Sat, 9 Apr 2011 18:06:02 -0500 Subject: host checks not happening after first notification Message-ID: Hello, I am seeing a weird condition where host checks stop after the first notification. Here's the config: execute_host_checks=1 define host{ name generic-host check_command check-host-alive check_period 24x7 notification_interval 30 notification_options d,r notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define host{ name generic-host-10 use generic-host notification_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 3 register 0 } define host{ name foo-10 use generic-host-10 contact_groups +foo_primary register 0 } define host{ use foo-10 host_name testpage hostgroups windows,vmguest_windows notification_interval 5 parents firewall address 10.235.235.235 } define hostescalation{ hostgroup_name z-allhosts contacts support at foo.com,support-email-critical first_notification 1 last_notification 1 notification_interval 0 escalation_options d } define hostescalation{ hostgroup_name z-allhosts contact_groups +foo_secondary first_notification 3 last_notification 4 notification_interval 30 escalation_options d,r } define hostescalation{ hostgroup_name z-allhosts contact_groups +foo_tertiary,foo_secondary first_notification 5 last_notification 0 notification_interval 30 escalation_options d,r } Here's a log of the activity. You see the first notification, then nothing [1302388222] HOST ALERT: testpage;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [1302388296] HOST ALERT: testpage;DOWN;SOFT;2;PING CRITICAL - Packet loss = 100% [1302388346] SERVICE ALERT: testpage;cpu - nrpe;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. [1302388376] HOST ALERT: testpage;DOWN;HARD;3;PING CRITICAL - Packet loss = 100% [1302388376] HOST NOTIFICATION: joe-epager;testpage;DOWN;host-notify-by-epager;PING CRITICAL - Packet loss = 100% [1302388376] HOST NOTIFICATION: joe at DOM.COM;testpage;DOWN;host-notify-by-email;PING CRITICAL - Packet loss = 100% [1302388377] HOST NOTIFICATION: support-email-critical;testpage;DOWN;host-notify-by-email;PING CRITICAL - Packet loss = 100% [1302388446] SERVICE ALERT: testpage;disk drives - nrpe;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. [1302388547] SERVICE ALERT: testpage;memory - page - nrpe;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. [1302388657] SERVICE ALERT: testpage;memory - physical - nrpe;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. [1302388757] SERVICE ALERT: testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. [1302389057] SERVICE ALERT: testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. [1302389357] SERVICE ALERT: testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. [1302389658] SERVICE ALERT: testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. I appreciate the help. ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Sun Apr 10 02:34:54 2011 From: td3201 at gmail.com (Terry) Date: Sat, 9 Apr 2011 19:34:54 -0500 Subject: host checks not happening after first notification In-Reply-To: References: Message-ID: On Sat, Apr 9, 2011 at 6:06 PM, Terry wrote: > Hello, > > I am seeing a weird condition where host checks stop after the first > notification. ?Here's the config: > > execute_host_checks=1 > > define host{ > ? ? ? ?name ? ? ? ? ? ? ? ? ? ? ? ? ? ?generic-host > ? ? ? ?check_command ? ? ? ? ? ? ? ? ? check-host-alive > ? ? ? ?check_period ? ? ? ? ? ? ? ? ? ?24x7 > ? ? ? ?notification_interval ? ? ? ? ? 30 > ? ? ? ?notification_options ? ? ? ? ? ?d,r > ? ? ? ?notifications_enabled ? ? ? ? ? 1 > ? ? ? ?event_handler_enabled ? ? ? ? ? 1 > ? ? ? ?flap_detection_enabled ? ? ? ? ?1 > ? ? ? ?failure_prediction_enabled ? ? ?1 > ? ? ? ?process_perf_data ? ? ? ? ? ? ? 1 > ? ? ? ?retain_status_information ? ? ? 1 > ? ? ? ?retain_nonstatus_information ? ?1 > ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ?0 > ? ? ? ?} > define host{ > ? ? ? ?name ? ? ? ? ? ? ? ? ? ? ? ? ? ?generic-host-10 > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-host > ? ? ? ?notification_period ? ? ? ? ? ? 24x7 > ? ? ? ?check_interval ? ? ? ? ? ? ? ? ?5 > ? ? ? ?retry_interval ? ? ? ? ? ? ? ? ?1 > ? ? ? ?max_check_attempts ? ? ? ? ? ? ?3 > ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ?0 > } > define host{ > ? ? ? ?name ? ? ? ? ? ? ? ? ? ? ? ? ? ?foo-10 > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-host-10 > ? ? ? ?contact_groups ? ? ? ? ? ? ? ? ?+foo_primary > ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ?0 > ? ? ? ?} > define host{ > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? foo-10 > ? ? ? ?host_name ? ? ? ? ? ? ? testpage > ? ? ? ?hostgroups ? ? ? ? ? ? ?windows,vmguest_windows > ? ? ? ?notification_interval ? 5 > ? ? ? ?parents ? ? ? ? ? ? ? ? firewall > ? ? ? ?address ? ? ? ? ? ? ? ? 10.235.235.235 > ? ? ? ?} > > define hostescalation{ > ? ? ? ?hostgroup_name ? ? ? ? ?z-allhosts > ? ? ? ?contacts ? ? ? ? ? ? ? ?support at foo.com,support-email-critical > ? ? ? ?first_notification ? ? ?1 > ? ? ? ?last_notification ? ? ? 1 > ? ? ? ?notification_interval ? 0 > ? ? ? ?escalation_options ? ? ?d > ? ? ? ?} > define hostescalation{ > ? ? ? ?hostgroup_name ? ? ? ? ?z-allhosts > ? ? ? ?contact_groups ? ? ? ? ?+foo_secondary > ? ? ? ?first_notification ? ? ?3 > ? ? ? ?last_notification ? ? ? 4 > ? ? ? ?notification_interval ? 30 > ? ? ? ?escalation_options ? ? ?d,r > ? ? ? ?} > define hostescalation{ > ? ? ? ?hostgroup_name ? ? ? ? ?z-allhosts > ? ? ? ?contact_groups ? ? ? ? ?+foo_tertiary,foo_secondary > ? ? ? ?first_notification ? ? ?5 > ? ? ? ?last_notification ? ? ? 0 > ? ? ? ?notification_interval ? 30 > ? ? ? ?escalation_options ? ? ?d,r > ? ? ? ?} > > > Here's a log of the activity. ?You see the first notification, then nothing > > [1302388222] HOST ALERT: testpage;DOWN;SOFT;1;CRITICAL - Plugin timed > out after 10 seconds > [1302388296] HOST ALERT: testpage;DOWN;SOFT;2;PING CRITICAL - Packet loss = 100% > [1302388346] SERVICE ALERT: testpage;cpu - > nrpe;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. > [1302388376] HOST ALERT: testpage;DOWN;HARD;3;PING CRITICAL - Packet loss = 100% > [1302388376] HOST NOTIFICATION: > joe-epager;testpage;DOWN;host-notify-by-epager;PING CRITICAL - Packet > loss = 100% > [1302388376] HOST NOTIFICATION: > joe at DOM.COM;testpage;DOWN;host-notify-by-email;PING CRITICAL - Packet > loss = 100% > [1302388377] HOST NOTIFICATION: > support-email-critical;testpage;DOWN;host-notify-by-email;PING > CRITICAL - Packet loss = 100% > [1302388446] SERVICE ALERT: testpage;disk drives - > nrpe;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. > [1302388547] SERVICE ALERT: testpage;memory - page - > nrpe;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. > [1302388657] SERVICE ALERT: testpage;memory - physical - > nrpe;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. > [1302388757] SERVICE ALERT: > testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after > 50 seconds. > [1302389057] SERVICE ALERT: > testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after > 50 seconds. > [1302389357] SERVICE ALERT: > testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after > 50 seconds. > [1302389658] SERVICE ALERT: > testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after > 50 seconds. > > > I appreciate the help. > More info: [04-09-2011 19:29:17] SERVICE ALERT: testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. I get this event every 5 minutes. It's just a service on this box. I thought if the host was down, service checks were suppressed. Is that not the case? ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Sun Apr 10 03:32:11 2011 From: td3201 at gmail.com (Terry) Date: Sat, 9 Apr 2011 20:32:11 -0500 Subject: host checks not happening after first notification In-Reply-To: References: Message-ID: On Sat, Apr 9, 2011 at 7:34 PM, Terry wrote: > On Sat, Apr 9, 2011 at 6:06 PM, Terry wrote: >> Hello, >> >> I am seeing a weird condition where host checks stop after the first >> notification. ?Here's the config: >> >> execute_host_checks=1 >> >> define host{ >> ? ? ? ?name ? ? ? ? ? ? ? ? ? ? ? ? ? ?generic-host >> ? ? ? ?check_command ? ? ? ? ? ? ? ? ? check-host-alive >> ? ? ? ?check_period ? ? ? ? ? ? ? ? ? ?24x7 >> ? ? ? ?notification_interval ? ? ? ? ? 30 >> ? ? ? ?notification_options ? ? ? ? ? ?d,r >> ? ? ? ?notifications_enabled ? ? ? ? ? 1 >> ? ? ? ?event_handler_enabled ? ? ? ? ? 1 >> ? ? ? ?flap_detection_enabled ? ? ? ? ?1 >> ? ? ? ?failure_prediction_enabled ? ? ?1 >> ? ? ? ?process_perf_data ? ? ? ? ? ? ? 1 >> ? ? ? ?retain_status_information ? ? ? 1 >> ? ? ? ?retain_nonstatus_information ? ?1 >> ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ?0 >> ? ? ? ?} >> define host{ >> ? ? ? ?name ? ? ? ? ? ? ? ? ? ? ? ? ? ?generic-host-10 >> ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-host >> ? ? ? ?notification_period ? ? ? ? ? ? 24x7 >> ? ? ? ?check_interval ? ? ? ? ? ? ? ? ?5 >> ? ? ? ?retry_interval ? ? ? ? ? ? ? ? ?1 >> ? ? ? ?max_check_attempts ? ? ? ? ? ? ?3 >> ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ?0 >> } >> define host{ >> ? ? ? ?name ? ? ? ? ? ? ? ? ? ? ? ? ? ?foo-10 >> ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-host-10 >> ? ? ? ?contact_groups ? ? ? ? ? ? ? ? ?+foo_primary >> ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ?0 >> ? ? ? ?} >> define host{ >> ? ? ? ?use ? ? ? ? ? ? ? ? ? ? foo-10 >> ? ? ? ?host_name ? ? ? ? ? ? ? testpage >> ? ? ? ?hostgroups ? ? ? ? ? ? ?windows,vmguest_windows >> ? ? ? ?notification_interval ? 5 >> ? ? ? ?parents ? ? ? ? ? ? ? ? firewall >> ? ? ? ?address ? ? ? ? ? ? ? ? 10.235.235.235 >> ? ? ? ?} >> >> define hostescalation{ >> ? ? ? ?hostgroup_name ? ? ? ? ?z-allhosts >> ? ? ? ?contacts ? ? ? ? ? ? ? ?support at foo.com,support-email-critical >> ? ? ? ?first_notification ? ? ?1 >> ? ? ? ?last_notification ? ? ? 1 >> ? ? ? ?notification_interval ? 0 >> ? ? ? ?escalation_options ? ? ?d >> ? ? ? ?} >> define hostescalation{ >> ? ? ? ?hostgroup_name ? ? ? ? ?z-allhosts >> ? ? ? ?contact_groups ? ? ? ? ?+foo_secondary >> ? ? ? ?first_notification ? ? ?3 >> ? ? ? ?last_notification ? ? ? 4 >> ? ? ? ?notification_interval ? 30 >> ? ? ? ?escalation_options ? ? ?d,r >> ? ? ? ?} >> define hostescalation{ >> ? ? ? ?hostgroup_name ? ? ? ? ?z-allhosts >> ? ? ? ?contact_groups ? ? ? ? ?+foo_tertiary,foo_secondary >> ? ? ? ?first_notification ? ? ?5 >> ? ? ? ?last_notification ? ? ? 0 >> ? ? ? ?notification_interval ? 30 >> ? ? ? ?escalation_options ? ? ?d,r >> ? ? ? ?} >> >> >> Here's a log of the activity. ?You see the first notification, then nothing >> >> [1302388222] HOST ALERT: testpage;DOWN;SOFT;1;CRITICAL - Plugin timed >> out after 10 seconds >> [1302388296] HOST ALERT: testpage;DOWN;SOFT;2;PING CRITICAL - Packet loss = 100% >> [1302388346] SERVICE ALERT: testpage;cpu - >> nrpe;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. >> [1302388376] HOST ALERT: testpage;DOWN;HARD;3;PING CRITICAL - Packet loss = 100% >> [1302388376] HOST NOTIFICATION: >> joe-epager;testpage;DOWN;host-notify-by-epager;PING CRITICAL - Packet >> loss = 100% >> [1302388376] HOST NOTIFICATION: >> joe at DOM.COM;testpage;DOWN;host-notify-by-email;PING CRITICAL - Packet >> loss = 100% >> [1302388377] HOST NOTIFICATION: >> support-email-critical;testpage;DOWN;host-notify-by-email;PING >> CRITICAL - Packet loss = 100% >> [1302388446] SERVICE ALERT: testpage;disk drives - >> nrpe;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. >> [1302388547] SERVICE ALERT: testpage;memory - page - >> nrpe;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. >> [1302388657] SERVICE ALERT: testpage;memory - physical - >> nrpe;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 50 seconds. >> [1302388757] SERVICE ALERT: >> testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after >> 50 seconds. >> [1302389057] SERVICE ALERT: >> testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after >> 50 seconds. >> [1302389357] SERVICE ALERT: >> testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after >> 50 seconds. >> [1302389658] SERVICE ALERT: >> testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after >> 50 seconds. >> >> >> I appreciate the help. >> > > More info: > > [04-09-2011 19:29:17] SERVICE ALERT: > testpage;nrpeclient;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after > 50 seconds. > > I get this event every 5 minutes. ?It's just a service on this box. ?I > thought if the host was down, service checks were suppressed. Is that > not the case? > Sorry for continually replying to my own thread. I guess checks are happening. Notifications are not happening and then of course escalations are not either. 1. host gets checked 3 times 2. alert gets sent 3. check happens again after 5 minutes 4. Current attempt goes back to 1/3 (HARD state) 5. No notifications thereafter Confused. ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Anders.DaSilva at softronic.se Sun Apr 10 09:10:33 2011 From: Anders.DaSilva at softronic.se (Anders.DaSilva at softronic.se) Date: Sun, 10 Apr 2011 07:10:33 +0000 Subject: Nagios-Plugin-WWW-Mechanize and nagios_exit Message-ID: Hi. Im trying to get Nagios-Plugin-WWW-Mechanize to output performancedata that nagiosgraph will recognize in the default map file. That should be: (data[,warn][,crit][,min][,max]) Nagios-Plugin-WWW-Mechanize automatically outputs performance data, but only the time taken to load a webpage, without the warn etc..: time=2.137s;; - so i think i need to get warn and crit in there aswell. I would like to override nagios_exit from Nagios-Plugin-WWW-Mechanize with nagios_exit from Nagios-Plugin so that all default performancedata output are removed and i can add my own with add_perfdata() I tried the script below, but i can't get the override to function properly, maybe it's easier to just skip this plugin and use Nagios-Plugin and WWW-Mechanize separate from eachother instead? what do people think? #!/usr/bin/perl -w #Returv?rden fr?n nagios #%ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3,'DEPENDENT'=>4) use strict; use Nagios::Plugin::WWW::Mechanize; use lib "/usr/lib/nagios/plugins"; use utils qw(%ERRORS $TIMEOUT); use lib "/usr/lib/nagios/plugins"; use utils qw(%ERRORS $TIMEOUT); BEGIN {*Nagios::Plugin::WWW::Mechanize::nagios_exit = sub { my ($self, @args) = @_; #I want to use Nagios::Plugin::nagios_exit here!! nagios_exit( @args ); }}; my $loadtime = 0; my $np = Nagios::Plugin::WWW::Mechanize->new( usage => "Checks loadtime of list", shortname => "test list" ); $np->add_arg( spec=> 'warning|w=s', help=> "-w, --warning=RANGE", required=> 1 ); $np->getopts; $np->get( "http://example.com/site" ); $np->submit_form( form_name => "login", fields => { userId => "*******", password => "*******" } ); my $content = $np->content; #printf("%.3f %.3f %3f", time() - $^T, time(), $^T); $loadtime = time() - $^T; my $res = ''; ($res) = ($content =~ /name/); $np->nagios_exit( CRITICAL, "problem" ) unless defined $res; $np->add_perfdata( label => "time", value => $loadtime ); $np->nagios_exit( OK,""); regards Anders -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Mon Apr 11 06:40:57 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Sun, 10 Apr 2011 21:40:57 -0700 (PDT) Subject: (no subject) Message-ID: <11050.87233.qm@web36503.mail.mud.yahoo.com> You?ll be surprised!... http://rico_85.perso.neuf.fr/page.php?onyahooID=79ez8 ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aravind at linuz.in Tue Apr 12 12:20:20 2011 From: aravind at linuz.in (Aravind M D) Date: Tue, 12 Apr 2011 15:50:20 +0530 Subject: Service Notification Message-ID: <44a6f28ee25f5370dda6f9f3bf94700c@mail.linuz.in> Hi All, When the host is down whether the service notification will be send out for all the services. Rgds, Aravind M D -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 12 12:27:43 2011 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 12 Apr 2011 10:27:43 +0000 Subject: Service Notification In-Reply-To: <44a6f28ee25f5370dda6f9f3bf94700c@mail.linuz.in> References: <44a6f28ee25f5370dda6f9f3bf94700c@mail.linuz.in> Message-ID: <4DA4291F.5000508@flatto.net> Aravind M D wrote: > > Hi All, > > When the host is down whether the service notification will be send > out for all the services. > > Rgds, > > Aravind M D > > ------------------------------------------------------------------------ Yes , the way to circumvent this is to implement dependencies http://nagios.sourceforge.net/docs/3_0/dependencies.html Assaf ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aravind at linuz.in Tue Apr 12 13:05:14 2011 From: aravind at linuz.in (Aravind M D) Date: Tue, 12 Apr 2011 16:35:14 +0530 Subject: Service Notification In-Reply-To: <4DA4291F.5000508@flatto.net> References: <44a6f28ee25f5370dda6f9f3bf94700c@mail.linuz.in> <4DA4291F.5000508@flatto.net> Message-ID: <501a575065a4776ef0000d201b58e726@mail.linuz.in> >> >> When the host is down whether the service notification will be send >> out for all the services. >> >> >> >> ------------------------------------------------------------------------ > Yes , the way to circumvent this is to implement dependencies > I am running nagios 3.2.0 when i am checking if the host is down and all SERVICEALERT generating for the host after the HOSTALERT will not send any notification. Is this is the correct way of working. Rgds, Aravind M D ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Shaffer at crown.com Tue Apr 12 22:58:32 2011 From: Jason.Shaffer at crown.com (Jason.Shaffer at crown.com) Date: Tue, 12 Apr 2011 16:58:32 -0400 Subject: check_snmp help Message-ID: I am having problems with the checksnmp command, I am running some check_snmp commands against our DHCP server. In this specific instance I want a warning if the value is 17:23 and a critical if the value is 0:16, regardless of how i type it in, I get a critical message. Any ideas? ./check_snmp -C s8n1mp -H Corp208 -o .1.3.6.1.4.1.311.1.3.2.1.1.3.172.20.2.0 -w 17:23 -c 0:16 SNMP CRITICAL - *97* | iso.3.6.1.4.1.311.1.3.2.1.1.3.172.20.2.0=97c ./check_snmp -C s8n1mp -H Corp208 -o .1.3.6.1.4.1.311.1.3.2.1.1.3.172.20.2.0 -c 0:16 -w 16:23 SNMP CRITICAL - *97* | iso.3.6.1.4.1.311.1.3.2.1.1.3.172.20.2.0=97c If I put the vaules in backwards (i.e. -w 23:17 -c 16:0) I get an invalid date response. /check_snmp -C s8n1mp -H Corp208 -n -o .1.3.6.1.4.1.311.1.3.2.1.1.3.172.20.2.0 -c 16:0 -w 23:17 Range format incorrect -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.saldivar at advocatecreditrepair.com Tue Apr 12 23:47:45 2011 From: mike.saldivar at advocatecreditrepair.com (Michael Saldivar) Date: Tue, 12 Apr 2011 15:47:45 -0600 Subject: check_snmp help In-Reply-To: References: Message-ID: On Tue, Apr 12, 2011 at 2:58 PM, wrote: > I am having problems with the checksnmp command, I am running some > check_snmp commands against our DHCP server. In this specific instance I > want a warning if the value is 17:23 and a critical if the value is 0:16, > regardless of how i type it in, I get a critical message. Any ideas? > > ./check_snmp -C s8n1mp -H Corp208 -o > .1.3.6.1.4.1.311.1.3.2.1.1.3.172.20.2.0 -w 17:23 -c 0:16 > SNMP CRITICAL - *97* | iso.3.6.1.4.1.311.1.3.2.1.1.3.172.20.2.0=97c > What does this OID represent, and what is the scale in which it reports? Try starting both ranges at 0: ./check_snmp -C s8n1mp -H Corp208 -o .1.3.6.1.4.1.311.1.3.2.1.1.3.172.20.2.0 -w 0:23 -c 0:16 Critical values override Warning values, so it doesn't matter if they overlap. -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnickerson at SilCon.com Wed Apr 13 01:41:42 2011 From: mnickerson at SilCon.com (Matthew Nickerson) Date: Tue, 12 Apr 2011 23:41:42 +0000 Subject: backup email notifcation consolidator Message-ID: Hello, I'm looking for an add-on, and hoping someone has made it, that can consolidate backup email reports. We have several clients, running multiple version of backup exec, some with NTbackup, and some with Jungle Disc. I'd like to get all these email reports consolidated into a single report that shows if a backup ran when it was supposed to run, and if the job was successful. Alternatively, if Nagios can monitor an inbox and parse the emails for failure messages and generate a warning, that would work too. Right now the problem is that I get about 60 reports daily, which clutters up the inbox. Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Wed Apr 13 03:56:24 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 13 Apr 2011 09:56:24 +0800 Subject: backup email notifcation consolidator In-Reply-To: References: Message-ID: how about let Nagios monitor the backup logs(if they exist) of every backup application? On Wed, Apr 13, 2011 at 7:41 AM, Matthew Nickerson wrote: > Hello, > > > > I?m looking for an add-on, and hoping someone has made it, that can > consolidate backup email reports.? We have several clients, running multiple > version of backup exec, some with NTbackup, and some with Jungle Disc.? I?d > like to get all these email reports consolidated into a single report that > shows if a backup ran when it was supposed to run, and if the job was > successful. > > > > Alternatively, if Nagios can monitor an inbox and parse the emails for > failure messages and generate a warning, that would work too. > > > > Right now the problem is that I get about 60 reports daily, which clutters > up the inbox. > > > > Matt > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! ?http://p.sf.net/sfu/ibm-webcastpromo > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Apr 13 10:21:19 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 13 Apr 2011 09:21:19 +0100 Subject: backup email notifcation consolidator In-Reply-To: References: Message-ID: On 13 April 2011 00:41, Matthew Nickerson wrote: > Hello, > > > > I?m looking for an add-on, and hoping someone has made it, that can > consolidate backup email reports.? We have several clients, running multiple > version of backup exec, some with NTbackup, and some with Jungle Disc.? I?d > like to get all these email reports consolidated into a single report that > shows if a backup ran when it was supposed to run, and if the job was > successful. > > > > Alternatively, if Nagios can monitor an inbox and parse the emails for > failure messages and generate a warning, that would work too. > > > > Right now the problem is that I get about 60 reports daily, which clutters > up the inbox. I wouldn't know about Jungle Disc, but I can tell you that Backup Exec can (and probably should) be configured to send an SNMP trap showing backup status. I would install and configure snmptt to receive these traps and send passive check results to Nagios. Nagios will then only email you for those backups that have failed not those that have succeeded. Note you should also use freshness checking in the Nagios passive service check config to alert if no check result at all has been received for a given period. I've not tried it myself, but for log file consolidation, I believe Splunk is the recommended tool. http://www.nagios.org/products/enterprisesolutions/splunk/ ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Singh at bamford.co.uk Wed Apr 13 13:47:12 2011 From: Paul.Singh at bamford.co.uk (Paul Singh) Date: Wed, 13 Apr 2011 12:47:12 +0100 Subject: Remote hosts Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 13 14:20:40 2011 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 13 Apr 2011 12:20:40 +0000 Subject: Remote hosts In-Reply-To: References: Message-ID: <4DA59518.1030907@flatto.net> Paul Singh wrote: > Hi. I'm running nagios core 3.23. > > Can you advise how to set up commands and services that query things > on remote hosts such as disk space or pagefile usage like we do for > localhost? > Is there a sample config available somewhere so that I can get a rough > idea? > > Trying to use this on Nagwin. > > Thanks, Paul. > > > > > > > > > > > > > > > > > > > > > > Bamford Ltd. > Registered Office: 11A West Halkin Street London, England. SW1X 8JL > Registered No. 4950734 England & Wales > > The contents of this Email communication are confidential to the addressee. > If you are not the intended recipient you may not disclose or distribute this communication in any form but should immediately contact the Sender. > The information, images, documents and views expressed in this Email are personal to the Sender and do not expressly or implicitly represent official > positions and policies of the Bamford group of companies and no authority exists on behalf of Bamford to make any agreements, representations or other > binding commitment by means of Email. > > Certified 100% virus free by Postini > > Please consider the environment before printing this email. > > > have a read on this http://exchange.nagios.org/directory/Addons/Monitoring-Agents/NRPE-%252D-Nagios-Remote-Plugin-Executor/details ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Wed Apr 13 14:25:32 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Wed, 13 Apr 2011 08:25:32 -0400 Subject: Remote hosts In-Reply-To: References: Message-ID: <4DA5B25C0200008A0000A4D3@trw.com> If you are setting up a new system please have a look at check_mk. Just google the name. >>> "Paul Singh" 2011/04/13 13:47 >>> Hi. I'm running nagios core 3.23. Can you advise how to set up commands and services that query things on remote hosts such as disk space or pagefile usage like we do for localhost? Is there a sample config available somewhere so that I can get a rough idea? Trying to use this on Nagwin. Thanks, Paul. Bamford Ltd. Registered Office: 11A West Halkin Street London, England. SW1X 8JL Registered No. 4950734 England & Wales The contents of this Email communication are confidential to the addressee. If you are not the intended recipient you may not disclose or distribute this communication in any form but should immediately contact the Sender. The information, images, documents and views expressed in this Email are personal to the Sender and do not expressly or implicitly represent official positions and policies of the Bamford group of companies and no authority exists on behalf of Bamford to make any agreements, representations or other binding commitment by means of Email. Certified 100% virus free by Postini Please consider the environment before printing this email. Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tevfik.karagulle at gmail.com Wed Apr 13 14:28:45 2011 From: tevfik.karagulle at gmail.com (Tevfik Karagulle) Date: Wed, 13 Apr 2011 14:28:45 +0200 Subject: Remote hosts In-Reply-To: <4DA59518.1030907@flatto.net> References: <4DA59518.1030907@flatto.net> Message-ID: Basic monitoring of Windows Hosts via Nagwin: http://itefix.no/i2/node/12488 Rgrds Tev On Wed, Apr 13, 2011 at 2:20 PM, Assaf Flatto wrote: > Paul Singh wrote: > > Hi. I'm running nagios core 3.23. > > > > Can you advise how to set up commands and services that query things > > on remote hosts such as disk space or pagefile usage like we do for > > localhost? > > Is there a sample config available somewhere so that I can get a rough > > idea? > > > > Trying to use this on Nagwin. > > > > Thanks, Paul. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Bamford Ltd. > > Registered Office: 11A West Halkin Street London, England. SW1X 8JL > > Registered No. 4950734 England & Wales > > > > The contents of this Email communication are confidential to the > addressee. > > If you are not the intended recipient you may not disclose or distribute > this communication in any form but should immediately contact the Sender. > > The information, images, documents and views expressed in this Email are > personal to the Sender and do not expressly or implicitly represent official > > positions and policies of the Bamford group of companies and no authority > exists on behalf of Bamford to make any agreements, representations or other > > binding commitment by means of Email. > > > > Certified 100% virus free by Postini > > > > Please consider the environment before printing this email. > > > > > > > > have a read on this > > > http://exchange.nagios.org/directory/Addons/Monitoring-Agents/NRPE-%252D-Nagios-Remote-Plugin-Executor/details > > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Anders.DaSilva at softronic.se Wed Apr 13 14:28:58 2011 From: Anders.DaSilva at softronic.se (Anders.DaSilva at softronic.se) Date: Wed, 13 Apr 2011 12:28:58 +0000 Subject: Remote hosts In-Reply-To: References: Message-ID: Hi. Either use check_nrpe or check_ssh, check_ssh is easier to use through firewalls, check_nrpe uses a little less cpu and seems to be a good method for both linux/windows. By using check_nrpe you install a nrpe service on the monitored host and then define local tests. The output gets transfered through the nrpe service to the nagios host. The nagios host only talks to the nrpe service. Regards Anders da Silva ________________________________ Fr?n: Paul Singh [Paul.Singh at bamford.co.uk] Skickat: den 13 april 2011 13:47 Till: nagios-users at lists.sourceforge.net ?mne: [Nagios-users] Remote hosts Hi. I'm running nagios core 3.23. Can you advise how to set up commands and services that query things on remote hosts such as disk space or pagefile usage like we do for localhost? Is there a sample config available somewhere so that I can get a rough idea? Trying to use this on Nagwin. Thanks, Paul. Bamford Ltd. Registered Office: 11A West Halkin Street London, England. SW1X 8JL Registered No. 4950734 England & Wales The contents of this Email communication are confidential to the addressee. If you are not the intended recipient you may not disclose or distribute this communication in any form but should immediately contact the Sender. The information, images, documents and views expressed in this Email are personal to the Sender and do not expressly or implicitly represent official positions and policies of the Bamford group of companies and no authority exists on behalf of Bamford to make any agreements, representations or other binding commitment by means of Email. Certified 100% virus free by Postini Please consider the environment before printing this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Shaffer at crown.com Wed Apr 13 14:36:30 2011 From: Jason.Shaffer at crown.com (Jason.Shaffer at crown.com) Date: Wed, 13 Apr 2011 08:36:30 -0400 Subject: check_snmp help In-Reply-To: References: Message-ID: This value is the number of IP's in a dhcp scope that are available for use. I want it to go to warning if there are less than 23 left and critical if there are less than 16 left. Putting the range in starting at zero gets the same result. ./check_snmp -C s8n1mp -H Corp208 -o .1.3.6.1.4.1.311.1.3.2.1.1.3.172.20.2.0 -w 0:23 -c 0:16 SNMP CRITICAL - *97* | iso.3.6.1.4.1.311.1.3.2.1.1.3.172.20.2.0=97c -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ct.michelcote at gmail.com Wed Apr 13 15:06:05 2011 From: ct.michelcote at gmail.com (Michel Cote) Date: Wed, 13 Apr 2011 09:06:05 -0400 Subject: independant plugin Message-ID: Hi list, First time poster here but I've read a lot of emails so many thanks for that. I don't know how to search for what I'm looking so I'm going to simply ask and hope someone has seen or made something that would suit what I need. So here's the setup: I currently use Nagios to scan over 700 routers (Cisco 1800 series) on our network. Basically we have a little over 700 stores connected to the internet and using a VPN to form a network with our servers. So currently Nagios is pinging those routers to make sure they are up and connected. Behind those routeurs I have an office computer and several cash registers. As a security precaution those computers are not reachable from my linux box and Nagios of course. There is a very simple system that allows those computers to send files back to our servers by secure FTP. Ok so what I'm looking for is a software that would work in the background on those computers and scan for CPU usage, Memory, hard drives and if possible temperature. If certain conditions are met (like shortage of disk space) a file would be produced in a specific folder and the our automatic FTP system would grab it and transfer that to our servers... From there it's a simple matter to transfer it to my linux box and make it availlable to Nagios as a passive check. Has anyone heard of such a software? I've looked into NsClient++ but I have no clue if it's able to save the scans to file if it does it would probably be a pretty good tool for what I'm looking for. Another question I have is about the passive check function. I understand how it works but what I'm not sure of is how to make sure the files that would be produced by the remote software will be correctly formated for Nagios to understand it. Thanks in advance for any help offered. Michel C?t? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Wed Apr 13 15:11:28 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Wed, 13 Apr 2011 09:11:28 -0400 Subject: independant plugin In-Reply-To: References: Message-ID: <4DA5BD200200002F0001EC46@trw.com> Another option to look at would be check_mk. I am not sure if this tool can save the output of the checks to file, but you can always email the creator of the plugin and ask him. check_mk works exclusively with passive checks. >>> Michel Cote 2011/04/13 15:06 >>> Hi list, First time poster here but I've read a lot of emails so many thanks for that. I don't know how to search for what I'm looking so I'm going to simply ask and hope someone has seen or made something that would suit what I need. So here's the setup: I currently use Nagios to scan over 700 routers (Cisco 1800 series) on our network. Basically we have a little over 700 stores connected to the internet and using a VPN to form a network with our servers. So currently Nagios is pinging those routers to make sure they are up and connected. Behind those routeurs I have an office computer and several cash registers. As a security precaution those computers are not reachable from my linux box and Nagios of course. There is a very simple system that allows those computers to send files back to our servers by secure FTP. Ok so what I'm looking for is a software that would work in the background on those computers and scan for CPU usage, Memory, hard drives and if possible temperature. If certain conditions are met (like shortage of disk space) a file would be produced in a specific folder and the our automatic FTP system would grab it and transfer that to our servers... From there it's a simple matter to transfer it to my linux box and make it availlable to Nagios as a passive check. Has anyone heard of such a software? I've looked into NsClient++ but I have no clue if it's able to save the scans to file if it does it would probably be a pretty good tool for what I'm looking for. Another question I have is about the passive check function. I understand how it works but what I'm not sure of is how to make sure the files that would be produced by the remote software will be correctly formated for Nagios to understand it. Thanks in advance for any help offered. Michel C?t? Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From helmut.wollmersdorfer at fixpunkt.de Wed Apr 13 15:31:38 2011 From: helmut.wollmersdorfer at fixpunkt.de (Helmut Wollmersdorfer) Date: Wed, 13 Apr 2011 15:31:38 +0200 Subject: Why is check_openmanage so slow on PowerEdge R510? Message-ID: Hi, new to this architecture I installed the monitoring plugin check- openmanage and was surprised about the performance: root at xen10:~# time perl /usr/lib/nagios/plugins/check_openmanage -d | head -n 3 sh: /bin/rpm: not found System: PowerEdge R510 II OMSA version: 6.5.0 ServiceTag: 1Z7215J Plugin version: 3.6.5 BIOS/date: 1.6.3 02/01/2011 Checking mode: local real 0m3.426s user 0m2.456s sys 0m0.544s OS: Debian root at xen10:~# uname -a Linux xen10 2.6.32-5-xen-amd64 #1 SMP Tue Mar 8 00:01:30 UTC 2011 x86_64 GNU/Linux Most calls of check_openmanage (from the shell) take 3 - 4 seconds, some with '--only' are faster, but not as fast as omreport: root at xen10:~# time perl /usr/lib/nagios/plugins/check_openmanage -- only fans FANS OK - 5 fan probes checked real 0m0.716s root at xen10:~# time /opt/dell/srvadmin/bin/omreport chassis fans Fan Probes Information Fan Redundancy Redundancy Status : Full [...] real 0m0.037s In comparison called with the option --help (does nearly nothing) the execution time is as expected for loading the perl interpreter and compiling the source: root at xen10:~# time perl /usr/lib/nagios/plugins/check_openmanage -h [...] real 0m0.064s What can be the reason? TIA Helmut Wollmersdorfer ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Wed Apr 13 17:36:18 2011 From: a31modela at hotmail.com (steve f) Date: Wed, 13 Apr 2011 11:36:18 -0400 Subject: A question on using a wildcard in a hostgroup.cfg file Message-ID: I am trying to simplify my admin work for a large deployment we are doing right now of Nagios 3.2 Core in a SuSE Linux environment I have multiple hostgroups set up and wanted to use a wildcard in the member name since all of the devices that will be in a hostgroup are named the same except for the actual location part of the name. If I have each remote server listed explicitly ion the hostgroup file uder members, everything is fine. I turned on use_true_regexp_matching and use_regexp_matching and added this to my hostgroup.cfg file: define hostgroup{ hostgroup_name Remote_servers alias Remote Servers members *sa } I then did a verify of the nagios config & it replied with this: Error: Could not find any host matching '*sa' (config file '/usr/local/nagios/etc/objects/hostgroups.cfg', starting on line 47) Error: Could not expand members specified in hostgroup (config file '/usr/local/nagios/etc/objects/hostgroups.cfg', starting on line 47) I tried multiple variations with wildcards both "?" and "*" to no avail. If I STARTED the members list with the 1st couple of letters of the name of the hosts or just put only a " * " there, it works. Can anyone explain why I cant do this str*sa or str????sa or *sa but I can do str* or " * " All of the hosts are named as such : strXXXXsa - were XXXX is a 4 digit number for the server location Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Wed Apr 13 17:39:54 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 13 Apr 2011 17:39:54 +0200 Subject: Why is check_openmanage so slow on PowerEdge R510? In-Reply-To: (Helmut Wollmersdorfer's message of "Wed, 13 Apr 2011 15:31:38 +0200") References: Message-ID: <15tvcyikvn9.fsf@tux.uio.no> Helmut Wollmersdorfer writes: > new to this architecture I installed the monitoring plugin check- > openmanage and was surprised about the performance: > > root at xen10:~# time perl /usr/lib/nagios/plugins/check_openmanage -d | > head -n 3 > sh: /bin/rpm: not found > System: PowerEdge R510 II OMSA version: 6.5.0 > ServiceTag: 1Z7215J Plugin version: 3.6.5 > BIOS/date: 1.6.3 02/01/2011 Checking mode: local > > real 0m3.426s > user 0m2.456s > sys 0m0.544s > > OS: Debian > root at xen10:~# uname -a > Linux xen10 2.6.32-5-xen-amd64 #1 SMP Tue Mar 8 00:01:30 UTC 2011 > x86_64 GNU/Linux > > Most calls of check_openmanage (from the shell) take 3 - 4 seconds, > some with '--only' are faster, but not as fast as omreport: > > root at xen10:~# time perl /usr/lib/nagios/plugins/check_openmanage -- > only fans > FANS OK - 5 fan probes checked > > real 0m0.716s > > > root at xen10:~# time /opt/dell/srvadmin/bin/omreport chassis fans > Fan Probes Information > > Fan Redundancy > Redundancy Status : Full > [...] > > real 0m0.037s > > In comparison called with the option --help (does nearly nothing) the > execution time is as expected for loading the perl interpreter and > compiling the source: > > root at xen10:~# time perl /usr/lib/nagios/plugins/check_openmanage -h > [...] > real 0m0.064s > > What can be the reason? Hi Helmut, The simple answer is that omreport commands take time. They represent the vast majority of the plugin execution time. The reason that 'check_openmanage --only fans' takes significantly more time than the corresponding omreport command is that the plugin first runs 'omreport -?' to determine if this is a blade or not. If you add the time it takes to run 'omreport -?', the omreport fans command and perl interpreter time you should arrive at about the time it takes 'check_openmanage --only fans' to finish. Note that storage takes time to check, since the omreport commands for storage are slow. This is especially true if you have a lot of storage (e.g. an R510). Also note that if you use the '-d' option, check_openmanage will run 'omreport about' to determine the OMSA version. This is a slow command and adds to the overall execution time. The plugin is much faster if used in SNMP mode, especially if you lots of storage. Example from a 2950 with a couple of MD1000 shelves of extra storage: $ time ./check_openmanage -H foo OK - System: 'PowerEdge 2950 III', SN: 'XXXXXXX', 16 GB ram (8 dimms), 3 logical drives, 32 physical drives real 0m1.725s user 0m0.397s sys 0m0.013s foo /# time /usr/lib64/nagios/plugins/check_openmanage OK - System: 'PowerEdge 2950 III', SN: 'XXXXXXX, 16 GB ram (8 dimms), 3 logical drives, 32 physical drives real 0m4.188s user 0m2.997s sys 0m0.821s As you can see the footprint is significantly smaller with SNMP, so if this is a concern then SNMP should be your weapon of choice :) Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnagel at willingminds.com Wed Apr 13 18:58:36 2011 From: mnagel at willingminds.com (Mark D. Nagel) Date: Wed, 13 Apr 2011 09:58:36 -0700 Subject: "alias" host configuration not interpreted since 3.2.2 In-Reply-To: <4D7E2B33.2000801@riege.com> References: <4D7E2B33.2000801@riege.com> Message-ID: <4DA5D63C.1060801@willingminds.com> On 3/14/2011 7:50 AM, Dennis Kuhlmeier wrote: > just noticed that I couldn't change the alias value in an existing > host definition. > > $HOSTALIAS$ just remained on the old value although the web > interface showed the current setting. > > I built myself a little test setup and just returned $HOSTALIAS$ as > a check-result and could confirm that in Nagios Core 3.2.1 > $HOSTALIAS$ changed without error when changing the alias > definition, since version 3.2.2 change is impossible. > > Thanks for a fix in an upcoming version. We have just diagnosed this problem as well. It seems to be due to this "fix" released with 3.2.2: * Fix for retaining host display name and alias, as well as service display name (Folkert van Heusden) Sadly, the additional retained attributes have no corresponding mask bits to use in the retained_host_attribute_mask setting, and there is no justification provided for incorporating this change, just that one line. No UI I've seen lets you change these values (though one could exist I'm sure). The result is, whatever value those fields had are kept forever in the retention file regardless of what you change them to in the actual configuration. The only solution I can see is to stop Nagios, edit the retention file and start Nagios. There may be a string you can send to the command pipe to change those (one would hope that is the case), but I agree with you -- this "fix" needs to be pulled from the code. Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC (http://www.willingminds.com) cell: 949-279-5817, desk: 714-495-4001, fax: 949-623-9854 *** For faster support response time, please use *** support at willingminds.com or call 714-495-4000 ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ct.michelcote at gmail.com Wed Apr 13 20:17:32 2011 From: ct.michelcote at gmail.com (Michel Cote) Date: Wed, 13 Apr 2011 14:17:32 -0400 Subject: independant plugin In-Reply-To: <4DA5BD200200002F0001EC46@trw.com> References: <4DA5BD200200002F0001EC46@trw.com> Message-ID: 2011/4/13 Andre Kruger > Another option to look at would be check_mk. I am not sure if this tool can > save the output of the checks to file, but you can always email the creator > of the plugin and ask him. check_mk works exclusively with passive checks. > > >>> Michel Cote 2011/04/13 15:06 >>> > > Hi list, > First time poster here but I've read a lot of emails so many thanks for > that. > I don't know how to search for what I'm looking so I'm going to simply > ask and hope someone has seen or made something that would suit what I need. > So here's the setup: > I currently use Nagios to scan over 700 routers (Cisco 1800 series) on > our network. Basically we have a little over 700 stores connected to the > internet and using a VPN to form a network with our servers. So currently > Nagios is pinging those routers to make sure they are up and connected. > Behind those routeurs I have an office computer and several cash > registers. As a security precaution those computers are not reachable from > my linux box and Nagios of course. > There is a very simple system that allows those computers to send files > back to our servers by secure FTP. > Ok so what I'm looking for is a software that would work in the > background on those computers and scan for CPU usage, Memory, hard drives > and if possible temperature. If certain conditions are met (like shortage of > disk space) a file would be produced in a specific folder and the our > automatic FTP system would grab it and transfer that to our servers... >From > there it's a simple matter to transfer it to my linux box and make it > availlable to Nagios as a passive check. > Has anyone heard of such a software? I've looked into NsClient++ but I > have no clue if it's able to save the scans to file if it does it would > probably be a pretty good tool for what I'm looking for. > Another question I have is about the passive check function. I understand > how it works but what I'm not sure of is how to make sure the files that > would be produced by the remote software will be correctly formated for > Nagios to understand it. > Thanks in advance for any help offered. > Michel C?t? > > > P Please consider your environmental responsibility before printing this > e-mail or any other document. Ask yourself whether you need a hard copy. > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ct.michelcote at gmail.com Wed Apr 13 20:18:44 2011 From: ct.michelcote at gmail.com (Michel Cote) Date: Wed, 13 Apr 2011 14:18:44 -0400 Subject: independant plugin In-Reply-To: References: <4DA5BD200200002F0001EC46@trw.com> Message-ID: Thanks Andre, I see there's an agent to deploy on the remote computer. I will certainly take a look. I'm still looking for other options as well. Thanks. 2011/4/13 Michel Cote > > > 2011/4/13 Andre Kruger > >> Another option to look at would be check_mk. I am not sure if this tool >> can save the output of the checks to file, but you can always email the >> creator of the plugin and ask him. check_mk works exclusively with passive >> checks. >> >> >>> Michel Cote 2011/04/13 15:06 >>> >> >> Hi list, >> First time poster here but I've read a lot of emails so many thanks for >> that. >> I don't know how to search for what I'm looking so I'm going to simply >> ask and hope someone has seen or made something that would suit what I need. >> So here's the setup: >> I currently use Nagios to scan over 700 routers (Cisco 1800 series) on >> our network. Basically we have a little over 700 stores connected to the >> internet and using a VPN to form a network with our servers. So currently >> Nagios is pinging those routers to make sure they are up and connected. >> Behind those routeurs I have an office computer and several cash >> registers. As a security precaution those computers are not reachable from >> my linux box and Nagios of course. >> There is a very simple system that allows those computers to send files >> back to our servers by secure FTP. >> Ok so what I'm looking for is a software that would work in the >> background on those computers and scan for CPU usage, Memory, hard drives >> and if possible temperature. If certain conditions are met (like shortage of >> disk space) a file would be produced in a specific folder and the our >> automatic FTP system would grab it and transfer that to our servers... >From >> there it's a simple matter to transfer it to my linux box and make it >> availlable to Nagios as a passive check. >> Has anyone heard of such a software? I've looked into NsClient++ but I >> have no clue if it's able to save the scans to file if it does it would >> probably be a pretty good tool for what I'm looking for. >> Another question I have is about the passive check function. I >> understand how it works but what I'm not sure of is how to make sure the >> files that would be produced by the remote software will be correctly >> formated for Nagios to understand it. >> Thanks in advance for any help offered. >> Michel C?t? >> >> >> P Please consider your environmental responsibility before printing this >> e-mail or any other document. Ask yourself whether you need a hard copy. >> >> >> ------------------------------------------------------------------------------ >> Forrester Wave Report - Recovery time is now measured in hours and minutes >> not days. Key insights are discussed in the 2010 Forrester Wave Report as >> part of an in-depth evaluation of disaster recovery service providers. >> Forrester found the best-in-class provider in terms of services and >> vision. >> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Wed Apr 13 20:29:03 2011 From: a31modela at hotmail.com (steve f) Date: Wed, 13 Apr 2011 14:29:03 -0400 Subject: A question on using a wildcard in a hostgroup.cfg file In-Reply-To: References: Message-ID: Gonna answer my own question. looks like if I do .sa it works. Thanks, Steve From: a31modela at hotmail.com To: nagios-users at lists.sourceforge.net Date: Wed, 13 Apr 2011 11:36:18 -0400 Subject: [Nagios-users] A question on using a wildcard in a hostgroup.cfg file I am trying to simplify my admin work for a large deployment we are doing right now of Nagios 3.2 Core in a SuSE Linux environment I have multiple hostgroups set up and wanted to use a wildcard in the member name since all of the devices that will be in a hostgroup are named the same except for the actual location part of the name. If I have each remote server listed explicitly ion the hostgroup file uder members, everything is fine. I turned on use_true_regexp_matching and use_regexp_matching and added this to my hostgroup.cfg file: define hostgroup{ hostgroup_name Remote_servers alias Remote Servers members *sa } I then did a verify of the nagios config & it replied with this: Error: Could not find any host matching '*sa' (config file '/usr/local/nagios/etc/objects/hostgroups.cfg', starting on line 47) Error: Could not expand members specified in hostgroup (config file '/usr/local/nagios/etc/objects/hostgroups.cfg', starting on line 47) I tried multiple variations with wildcards both "?" and "*" to no avail. If I STARTED the members list with the 1st couple of letters of the name of the hosts or just put only a " * " there, it works. Can anyone explain why I cant do this str*sa or str????sa or *sa but I can do str* or " * " All of the hosts are named as such : strXXXXsa - were XXXX is a 4 digit number for the server location Thanks, Steve ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Wed Apr 13 20:30:19 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 13 Apr 2011 20:30:19 +0200 Subject: "alias" host configuration not interpreted since 3.2.2 In-Reply-To: <4DA5D63C.1060801@willingminds.com> References: <4D7E2B33.2000801@riege.com> <4DA5D63C.1060801@willingminds.com> Message-ID: <4DA5EBBB.2060809@univie.ac.at> On 13.04.2011 18:58, Mark D. Nagel wrote: > On 3/14/2011 7:50 AM, Dennis Kuhlmeier wrote: >> just noticed that I couldn't change the alias value in an existing >> host definition. >> >> $HOSTALIAS$ just remained on the old value although the web >> interface showed the current setting. >> >> I built myself a little test setup and just returned $HOSTALIAS$ as >> a check-result and could confirm that in Nagios Core 3.2.1 >> $HOSTALIAS$ changed without error when changing the alias >> definition, since version 3.2.2 change is impossible. >> >> Thanks for a fix in an upcoming version. > > We have just diagnosed this problem as well. It seems to be due to this > "fix" released with 3.2.2: > > * Fix for retaining host display name and alias, as well as service > display name (Folkert van Heusden) > > Sadly, the additional retained attributes have no corresponding mask > bits to use in the retained_host_attribute_mask setting, and there is no > justification provided for incorporating this change, just that one > line. No UI I've seen lets you change these values (though one could > exist I'm sure). The result is, whatever value those fields had are kept > forever in the retention file regardless of what you change them to in > the actual configuration. The only solution I can see is to stop > Nagios, edit the retention file and start Nagios. There may be a string > you can send to the command pipe to change those (one would hope that is > the case), but I agree with you -- this "fix" needs to be pulled from > the code. I recently removed that "feature" from icinga core, and then also built an on demand patch against current 3.2.3 git tree for an omd user. since it's unclear to me if the nagios devs would keep that as feature or not, feel free to use the attached git patch yourself. kind regards, michael -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org > -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-do-not-retain-display_name-and-host-alias.patch Type: text/x-diff Size: 2668 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at aggregateknowledge.com Wed Apr 13 20:52:18 2011 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Wed, 13 Apr 2011 11:52:18 -0700 Subject: Meta-notifications Message-ID: <4DA5F0E2.5010106@aggregateknowledge.com> Say I have two Nagios servers. ServerA monitors all of my hosts and services, and ServerB monitors the Nagios processes on ServerA. I'd like to add a check to ServerB to let me know when notifications have been globally disabled on ServerA (via Process Info -> Disable Notifications). I'm wondering if there's a good way to do this. The only thought I've had so far is to parse through status.dat and look for enable_notifications in the programstatus stanza. My questions are: - is there a better way to do this that anyone has thought of/implemented? - if not, am I looking in the right place (under programstatus)? Thanks, Mike ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Wed Apr 13 22:15:26 2011 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 13 Apr 2011 13:15:26 -0700 Subject: independant plugin In-Reply-To: References: Message-ID: Check out TNT Monitoring ( http://www.tntmonitoring.com ); I wrote it specifically for situations such as yours (and mine - lots of Windows servers across the Internet). The check results are submitted by standard HTTPS to a URL on your Nagios server. Kevin Keane The NetTech (North County Tech Center, LLC dba The NetTech) 760-721-8339 http://www.4nettech.com From: Michel Cote [mailto:ct.michelcote at gmail.com] Sent: Wednesday, April 13, 2011 6:06 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] independant plugin Hi list, First time poster here but I've read a lot of emails so many thanks for that. I don't know how to search for what I'm looking so I'm going to simply ask and hope someone has seen or made something that would suit what I need. So here's the setup: I currently use Nagios to scan over 700 routers (Cisco 1800 series) on our network. Basically we have a little over 700 stores connected to the internet and using a VPN to form a network with our servers. So currently Nagios is pinging those routers to make sure they are up and connected. Behind those routeurs I have an office computer and several cash registers. As a security precaution those computers are not reachable from my linux box and Nagios of course. There is a very simple system that allows those computers to send files back to our servers by secure FTP. Ok so what I'm looking for is a software that would work in the background on those computers and scan for CPU usage, Memory, hard drives and if possible temperature. If certain conditions are met (like shortage of disk space) a file would be produced in a specific folder and the our automatic FTP system would grab it and transfer that to our servers... From there it's a simple matter to transfer it to my linux box and make it availlable to Nagios as a passive check. Has anyone heard of such a software? I've looked into NsClient++ but I have no clue if it's able to save the scans to file if it does it would probably be a pretty good tool for what I'm looking for. Another question I have is about the passive check function. I understand how it works but what I'm not sure of is how to make sure the files that would be produced by the remote software will be correctly formated for Nagios to understand it. Thanks in advance for any help offered. Michel C?t? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From helmut.wollmersdorfer at fixpunkt.de Thu Apr 14 12:19:55 2011 From: helmut.wollmersdorfer at fixpunkt.de (Helmut Wollmersdorfer) Date: Thu, 14 Apr 2011 12:19:55 +0200 Subject: Why is check_openmanage so slow on PowerEdge R510? In-Reply-To: <15tvcyikvn9.fsf@tux.uio.no> References: <15tvcyikvn9.fsf@tux.uio.no> Message-ID: Hi Trond, Am 13.04.2011 um 17:39 schrieb Trond Hasle Amundsen: > The simple answer is that omreport commands take time. They represent > the vast majority of the plugin execution time. First, thanks for the fast reaction. > The reason that 'check_openmanage --only fans' takes significantly > more > time than the corresponding omreport command is that the plugin first > runs 'omreport -?' to determine if this is a blade or not. If you add > the time it takes to run 'omreport -?', the omreport fans command and > perl interpreter time you should arrive at about the time it takes > 'check_openmanage --only fans' to finish. OK, then this is the price for convenience. After having close looks into the alternative plugins I choosed this one because of the automagic, the very good documentation and the "good practice" Perl code. Congratulations - fine code. I will try check_linux_bonding too. > The plugin is much faster if used in SNMP mode, especially if you lots > of storage. Example from a 2950 with a couple of MD1000 shelves of > extra > storage: > > $ time ./check_openmanage -H foo > OK - System: 'PowerEdge 2950 III', SN: 'XXXXXXX', 16 GB ram (8 > dimms), 3 > logical drives, 32 physical drives > > real 0m1.725s > user 0m0.397s > sys 0m0.013s Yesterday after posting my question I took a look in the Perl code for maybe finding the reason. And then I tried SNMP mode: root at xen10:/# time perl /usr/lib/nagios/plugins/check_openmanage -H localhost --only fans FANS OK - 5 fan probes checked real 0m0.191s Thus over SNMP it is 3-4 times faster and CPU consumption is ~40% lower. Another question: I always get on all of the R510s (few days old): root at xen11:~# /usr/lib/nagios/plugins/check_openmanage Cache Battery 0 in controller 0 is Charging (Ready) [probably harmless] root at xen11:~# uptime 12:08:35 up 2 days, 1:22, 1 user, load average: 0.00, 0.00, 0.00 I wonder a little bit that the batteries are not full after some days powered, or if the information is wrong. Also I tried to '--blacklist bat_charge=0,0' (and other combinations), but blacklisting does not work. Cheers Helmut Wollmersdorfer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Thu Apr 14 12:41:08 2011 From: michael at medin.name (Michael Medin) Date: Thu, 14 Apr 2011 12:41:08 +0200 Subject: independant plugin In-Reply-To: References: Message-ID: <4DA6CF44.5040201@medin.name> Hello, Writing a script in lua which does this would be fairly simple for NSClient++. // Michael Medin 2011-04-13 15:06 Michel Cote skrev: > Hi list, > First time poster here but I've read a lot of emails so many thanks > for that. > I don't know how to search for what I'm looking so I'm going to simply > ask and hope someone has seen or made something that would suit what I > need. > So here's the setup: > I currently use Nagios to scan over 700 routers (Cisco 1800 series) on > our network. Basically we have a little over 700 stores connected to > the internet and using a VPN to form a network with our servers. So > currently Nagios is pinging those routers to make sure they are up and > connected. > Behind those routeurs I have an office computer and several cash > registers. As a security precaution those computers are not reachable > from my linux box and Nagios of course. > There is a very simple system that allows those computers to send > files back to our servers by secure FTP. > Ok so what I'm looking for is a software that would work in the > background on those computers and scan for CPU usage, Memory, hard > drives and if possible temperature. If certain conditions are met > (like shortage of disk space) a file would be produced in a specific > folder and the our automatic FTP system would grab it and transfer > that to our servers... From there it's a simple matter to transfer it > to my linux box and make it availlable to Nagios as a passive check. > Has anyone heard of such a software? I've looked into NsClient++ but > I have no clue if it's able to save the scans to file if it does it > would probably be a pretty good tool for what I'm looking for. > Another question I have is about the passive check function. I > understand how it works but what I'm not sure of is how to make sure > the files that would be produced by the remote software will be > correctly formated for Nagios to understand it. > Thanks in advance for any help offered. > Michel C?t? > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Thu Apr 14 13:26:07 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 14 Apr 2011 13:26:07 +0200 Subject: Why is check_openmanage so slow on PowerEdge R510? In-Reply-To: (Helmut Wollmersdorfer's message of "Thu, 14 Apr 2011 12:19:55 +0200") References: <15tvcyikvn9.fsf@tux.uio.no> Message-ID: <15tr595krao.fsf@tux.uio.no> Helmut Wollmersdorfer writes: > Another question: > > I always get on all of the R510s (few days old): > > root at xen11:~# /usr/lib/nagios/plugins/check_openmanage > Cache Battery 0 in controller 0 is Charging (Ready) [probably harmless] > root at xen11:~# uptime > 12:08:35 up 2 days, 1:22, 1 user, load average: 0.00, 0.00, 0.00 > > I wonder a little bit that the batteries are not full after some days powered, > or if the information is wrong. The plugin is simply reporting what OMSA says, so if the info is wrong it would have to be in the hardware or OMSA level. However I don't think that this is the case. Batteries take a long time to charge for new servers, i.e. if the battery is brand new and hasn't been charged before. At one time we had a battery that didn't finish charging for a week, called Dell and got a replacement battery. This was during a regular charge cycle. In your case I would give it a few more days. > Also I tried to '--blacklist bat_charge=0,0' (and other combinations), but > blacklisting does not work. Look in the debug output for the battery ID, which consists of the controller number and battery number with colon as delimiter. In your case it would be --blacklist bat_charge=0:0 or simply use 'all': --blacklist bat_charge=all But, as we in fact did experience a case where the battery never finished charging I would advice against this. We just ignore the battery charge warnings unless they persist for days. It can be annoying, but we decided that we can live with it :) Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wyldfury at gmail.com Thu Apr 14 14:00:15 2011 From: wyldfury at gmail.com (Guy) Date: Thu, 14 Apr 2011 13:00:15 +0100 Subject: Nagios from master/slave to chained configuration Message-ID: Hi, I'm new to Nagios, but have been asked to add another Nagios server to our current configuration. Our current setup has a master Nagios server (master-nagios1) and a slave (slave-nagios1) that monitors a different part of the network. There are also 2 other standalone master servers (nagios-master2 and 3) monitoring their own networks. I've been asked to add another overview Nagios. So all it's checks set to passive and the 3 masters replicate to the overview Nagios server. Connecting the 2 standalone masters to the overview Nagios seems simple enough as a normal master/slave config, but I'm not certain whether the master/slave setup can be chained with the overview Nagios. My googlefu hasn't given me any answers but I'm assuming that if it's possible, I should set up master-nagios1 with ocdp/nsca/send-nsca so it's got the configuration of a master and a slave. So slave-nagios1 replicates to master-nagios1 which in turn replicates to the overview Nagios. Is anyone aware of obvious problems with the idea or know of any documentation covering this sort of configuration? The things I did find were all simple master/slave set ups. Thanks Guy -- Don't just do something...sit there! ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From helmut.wollmersdorfer at fixpunkt.de Thu Apr 14 14:10:34 2011 From: helmut.wollmersdorfer at fixpunkt.de (Helmut Wollmersdorfer) Date: Thu, 14 Apr 2011 14:10:34 +0200 Subject: Why is check_openmanage so slow on PowerEdge R510? In-Reply-To: <15tr595krao.fsf@tux.uio.no> References: <15tvcyikvn9.fsf@tux.uio.no> <15tr595krao.fsf@tux.uio.no> Message-ID: Am 14.04.2011 um 13:26 schrieb Trond Hasle Amundsen: > Helmut Wollmersdorfer writes: > At one time we had a battery that didn't finish charging for a week, > called Dell and got a replacement battery. This was during a regular > charge cycle. In your case I would give it a few more days. Thx for your experience - I will be patient. >> Also I tried to '--blacklist bat_charge=0,0' (and other >> combinations), but >> blacklisting does not work. > > Look in the debug output for the battery ID, which consists of the > controller number and battery number with colon as delimiter. In your > case it would be > > --blacklist bat_charge=0:0 > > or simply use 'all': > > --blacklist bat_charge=all Oh, my fault not reading the docs carefully enough;-) > But, as we in fact did experience a case where the battery never > finished charging I would advice against this. We just ignore the > battery charge warnings unless they persist for days. It can be > annoying, but we decided that we can live with it :) Agreed. IMHO it's better to have annoying warnings about (maybe) degraded components then a complete outage, because e.g. one of the redundant components was out of order for some time and the second also died. Cheers Helmut Wollmersdorfer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 14 14:19:18 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 14 Apr 2011 12:19:18 +0000 Subject: Nagios from master/slave to chained configuration In-Reply-To: References: Message-ID: <4DA6E646.8090305@flatto.net> Let me get this right , you want the slave to report to a master , but that master is a "pass-through" slave to another server which is the final master ? Why not just send to the final master and the other server as an easier way ? You can add the send line in the send_nsca script to submit the data to another server and that way you get the data on both servers , and adding the other slaves to the final server is not that complicated . Guy wrote: > Hi, > > I'm new to Nagios, but have been asked to add another Nagios server to > our current configuration. Our current setup has a master Nagios > server (master-nagios1) and a slave (slave-nagios1) that monitors a > different part of the network. There are also 2 other standalone > master servers (nagios-master2 and 3) monitoring their own networks. > > I've been asked to add another overview Nagios. So all it's checks set > to passive and the 3 masters replicate to the overview Nagios server. > Connecting the 2 standalone masters to the overview Nagios seems > simple enough as a normal master/slave config, but I'm not certain > whether the master/slave setup can be chained with the overview > Nagios. > > My googlefu hasn't given me any answers but I'm assuming that if it's > possible, I should set up master-nagios1 with ocdp/nsca/send-nsca so > it's got the configuration of a master and a slave. So slave-nagios1 > replicates to master-nagios1 which in turn replicates to the overview > Nagios. > > Is anyone aware of obvious problems with the idea or know of any > documentation covering this sort of configuration? The things I did > find were all simple master/slave set ups. > > Thanks > Guy > > ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 14 15:09:15 2011 From: benny at bennyvision.com (C. Bensend) Date: Thu, 14 Apr 2011 08:09:15 -0500 Subject: Why is check_openmanage so slow on PowerEdge R510? In-Reply-To: <15tr595krao.fsf@tux.uio.no> References: <15tvcyikvn9.fsf@tux.uio.no> <15tr595krao.fsf@tux.uio.no> Message-ID: <676efe289b6b6d1a9a0c4c4c19d1027a.squirrel@webmail.stinkweasel.net> > At one time we had a battery that didn't finish charging for a week, > called Dell and got a replacement battery. This was during a regular > charge cycle. In your case I would give it a few more days. ... > But, as we in fact did experience a case where the battery never > finished charging I would advice against this. We just ignore the > battery charge warnings unless they persist for days. It can be > annoying, but we decided that we can live with it :) Trond, Is there anything in OMSA that tells how *long* a battery has been charging? I simply got so tired of the charging warnings that I blacklisted the bat_charge totally, but I'd still like to detect that type of error - where the battery never finishes charging. If OMSA has it, it would be great to have the option within check_openmanage to specify a length of time threshold for battery charging. :) Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Thu Apr 14 16:40:03 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 14 Apr 2011 16:40:03 +0200 Subject: Why is check_openmanage so slow on PowerEdge R510? In-Reply-To: <676efe289b6b6d1a9a0c4c4c19d1027a.squirrel@webmail.stinkweasel.net> (C. Bensend's message of "Thu, 14 Apr 2011 08:09:15 -0500") References: <15tvcyikvn9.fsf@tux.uio.no> <15tr595krao.fsf@tux.uio.no> <676efe289b6b6d1a9a0c4c4c19d1027a.squirrel@webmail.stinkweasel.net> Message-ID: <15twriwkibg.fsf@tux.uio.no> "C. Bensend" writes: > Is there anything in OMSA that tells how *long* a battery has > been charging? I simply got so tired of the charging warnings > that I blacklisted the bat_charge totally, but I'd still like to > detect that type of error - where the battery never finishes > charging. > > If OMSA has it, it would be great to have the option within > check_openmanage to specify a length of time threshold for battery > charging. :) Hi Benny, Unfortunately OMSA has no info on when the charge cycle is expected to be finished, or how long it has been in its current learn/charge state: # omreport storage battery controller=1 Battery 0 on Controller PERC 6/E Adapter (Slot 1) Controller PERC 6/E Adapter (Slot 1) ID : 0 Status : Non-Critical Name : Battery 0 State : Charging Recharge Count : Not Applicable Max Recharge Count : Not Applicable Predicted Capacity Status : Ready Learn State : Requested Next Learn Time : 0 hours Maximum Learn Delay : 7 days 0 hours Learn Mode : Auto I could make the plugin record it, but then I would violate my principle that the plugin should be stateless... Introducing state in the plugin complicates things. There is another reason that you would want to know that the battery is charging, and I suspect that this is also why Dell has OMSA report it as a non-critical (warning) status. During (some of) the charge cycle, write-back for vdisks (i.e. use of the cache) is disabled. This means that the RAID performance is degraded, and depending on the nature of your disk usage you'll want to know about this when it happens. OMSA also lets you delay the charge cycle for up to seven days. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 14 17:43:37 2011 From: benny at bennyvision.com (C. Bensend) Date: Thu, 14 Apr 2011 10:43:37 -0500 Subject: Why is check_openmanage so slow on PowerEdge R510? In-Reply-To: <15twriwkibg.fsf@tux.uio.no> References: <15tvcyikvn9.fsf@tux.uio.no> <15tr595krao.fsf@tux.uio.no> <676efe289b6b6d1a9a0c4c4c19d1027a.squirrel@webmail.stinkweasel.net> <15twriwkibg.fsf@tux.uio.no> Message-ID: <62c8fcfe4adfd0a16e420d4bd4fd5027.squirrel@webmail.stinkweasel.net> > Unfortunately OMSA has no info on when the charge cycle is expected to > be finished, or how long it has been in its current learn/charge state: > > # omreport storage battery controller=1 > Battery 0 on Controller PERC 6/E Adapter (Slot 1) > > Controller PERC 6/E Adapter (Slot 1) > ID : 0 > Status : Non-Critical > Name : Battery 0 > State : Charging > Recharge Count : Not Applicable > Max Recharge Count : Not Applicable > Predicted Capacity Status : Ready > Learn State : Requested > Next Learn Time : 0 hours > Maximum Learn Delay : 7 days 0 hours > Learn Mode : Auto > > I could make the plugin record it, but then I would violate my principle > that the plugin should be stateless... Introducing state in the plugin > complicates things. Hmmm, that's unfortunate that they don't track a duration or start time. :( And no, I fully agree - plugins should be stateless. Keeping track of state is an ugly, error-prone business. Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjest at u.washington.edu Thu Apr 14 21:00:29 2011 From: jjest at u.washington.edu (Jeremiah D. Jester) Date: Thu, 14 Apr 2011 12:00:29 -0700 Subject: pnp4nagios? Message-ID: <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F5@ads-mbx-02.exchange.washington.edu> Anyone here using pnp4nagios for graphing? I'm having some configuration issues and wanted to see if there was someone who could assist? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology - Katze Lab 206-732-6185 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 14 21:18:29 2011 From: benny at bennyvision.com (C. Bensend) Date: Thu, 14 Apr 2011 14:18:29 -0500 Subject: pnp4nagios? In-Reply-To: <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F5@ads-mbx-02.exchange.washington.edu> References: <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F5@ads-mbx-02.exchange.washington.edu> Message-ID: <1a8f003639f5be5b2300729d48619370.squirrel@webmail.stinkweasel.net> > Anyone here using pnp4nagios for graphing? I'm having some configuration > issues and wanted to see if there was someone who could assist? Sure, I know several of us use it. What issues are you having? Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjest at u.washington.edu Thu Apr 14 21:37:44 2011 From: jjest at u.washington.edu (Jeremiah D. Jester) Date: Thu, 14 Apr 2011 12:37:44 -0700 Subject: pnp4nagios? In-Reply-To: <1a8f003639f5be5b2300729d48619370.squirrel@webmail.stinkweasel.net> References: <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F5@ads-mbx-02.exchange.washington.edu> <1a8f003639f5be5b2300729d48619370.squirrel@webmail.stinkweasel.net> Message-ID: <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F6@ads-mbx-02.exchange.washington.edu> Thanks Benny. I've configured pnp and it has been successfully graphing data since the actual installation. However, I have nagios perfdata logs from the past year (host_perfdata.log, service_perfdata.log) that are not being parsed that I want to be included. Currently my nagios.cfg is using the following commands: define command{ command_name process-service-perfdata command_line /usr/bin/perl /usr/local/pnp4nagios/libexec/process_perfdata.pl -d /usr/local/pnp4nagios/var/perfdata/service-perfdata.log } define command{ command_name process-host-perfdata command_line /usr/bin/perl /usr/local/pnp4nagios/libexec/process_perfdata.pl -d /usr/local/pnp4nagios/var/perfdata/host-perfdata.log } Is there a certain method, configuration I need to follow if I want to include this historical data? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology - Katze Lab 206-732-6185 -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: Thursday, April 14, 2011 12:18 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] pnp4nagios? > Anyone here using pnp4nagios for graphing? I'm having some > configuration issues and wanted to see if there was someone who could assist? Sure, I know several of us use it. What issues are you having? Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 14 21:55:24 2011 From: benny at bennyvision.com (C. Bensend) Date: Thu, 14 Apr 2011 14:55:24 -0500 Subject: pnp4nagios? In-Reply-To: <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F6@ads-mbx-02.exchange.washington.edu> References: <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F5@ads-mbx-02.exchange.washington.edu> <1a8f003639f5be5b2300729d48619370.squirrel@webmail.stinkweasel.net> <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F6@ads-mbx-02.exchange.washington.edu> Message-ID: <12e18621ef87c86c3a4d9ca618b31eea.squirrel@webmail.stinkweasel.net> > I've configured pnp and it has been successfully graphing data since the > actual installation. However, I have nagios perfdata logs from the past > year (host_perfdata.log, service_perfdata.log) that are not being parsed > that I want to be included. ... > Is there a certain method, configuration I need to follow if I want to > include this historical data? Hmmmm... RRD databases expect to be updated in a sequential fashion, on regular-ish intervals. I'm not sure that you can "go back" and add the past data. I will defer to those on the list that are more familiar with RRD - is that even possible? Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 14 22:32:02 2011 From: jpratt at norwich.edu (James Pratt) Date: Thu, 14 Apr 2011 16:32:02 -0400 Subject: pnp4nagios? Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD312AD7@nuexchange.norwich.edu> yes, i just upgraded our install as well , so i went through a bit of hair pulling myself. I am using sync mode, and found the best tool for setup was the verify_pnp script, it finally got me sorted out... From: Jeremiah D. Jester [mailto:jjest at u.washington.edu] Sent: Thursday, April 14, 2011 3:00 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] pnp4nagios? Anyone here using pnp4nagios for graphing? I'm having some configuration issues and wanted to see if there was someone who could assist? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology - Katze Lab 206-732-6185 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phillip.kennedy at yankeeairmuseum.org Thu Apr 14 21:17:04 2011 From: phillip.kennedy at yankeeairmuseum.org (Phil K.) Date: Thu, 14 Apr 2011 15:17:04 -0400 Subject: pnp4nagios? In-Reply-To: <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F5@ads-mbx-02.exchange.washington.edu> References: <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F5@ads-mbx-02.exchange.washington.edu> Message-ID: <907690c8-78d4-413d-bea8-ccfae04d8864@email.android.com> What 'issues' are you seeing? I've noticed ubuntu and apt can mark some dependancies as unused and safe for removal depending on how you installed nagios in the first place. That led to a bit of hair pulling on my end.... ~Phil -- Sent from my Android phone with K-9. "Jeremiah D. Jester" wrote: Anyone here using pnp4nagios for graphing? I?m having some configuration issues and wanted to see if there was someone who could assist? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology ? Katze Lab 206-732-6185 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjest at u.washington.edu Fri Apr 15 00:10:53 2011 From: jjest at u.washington.edu (Jeremiah D. Jester) Date: Thu, 14 Apr 2011 15:10:53 -0700 Subject: pnp4nagios? In-Reply-To: <907690c8-78d4-413d-bea8-ccfae04d8864@email.android.com> References: <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F5@ads-mbx-02.exchange.washington.edu> <907690c8-78d4-413d-bea8-ccfae04d8864@email.android.com> Message-ID: <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F8@ads-mbx-02.exchange.washington.edu> I should have been more specific. I just want to include all historical data from nagios into pnp. It?s only showing data from the install date forward. Thanks,JJ Jeremiah Jester Informatics Specialist Microbiology ? Katze Lab 206-732-6185 From: Phil K. [mailto:phillip.kennedy at yankeeairmuseum.org] Sent: Thursday, April 14, 2011 12:17 PM To: Nagios Users List Subject: Re: [Nagios-users] pnp4nagios? What 'issues' are you seeing? I've noticed ubuntu and apt can mark some dependancies as unused and safe for removal depending on how you installed nagios in the first place. That led to a bit of hair pulling on my end.... ~Phil -- Sent from my Android phone with K-9. "Jeremiah D. Jester" > wrote: Anyone here using pnp4nagios for graphing? I?m having some configuration issues and wanted to see if there was someone who could assist? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology ? Katze Lab 206-732-6185 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ct.michelcote at gmail.com Fri Apr 15 01:40:27 2011 From: ct.michelcote at gmail.com (Michel Cote) Date: Thu, 14 Apr 2011 19:40:27 -0400 Subject: independant plugin In-Reply-To: <4DA6CF44.5040201@medin.name> References: <4DA6CF44.5040201@medin.name> Message-ID: Hi, Thanks Kevin and Michael. I'll check out TNTMonitoring but the lua scripting idea is very interesting to me... Thanks for all the ideas and I'll work on those. 2011/4/14 Michael Medin > Hello, > > Writing a script in lua which does this would be fairly simple for > NSClient++. > > // Michael Medin > > > 2011-04-13 15:06 Michel Cote skrev: > > Hi list, > > First time poster here but I've read a lot of emails so many thanks for > that. > > I don't know how to search for what I'm looking so I'm going to simply ask > and hope someone has seen or made something that would suit what I need. > > So here's the setup: > > I currently use Nagios to scan over 700 routers (Cisco 1800 series) on our > network. Basically we have a little over 700 stores connected to the > internet and using a VPN to form a network with our servers. So currently > Nagios is pinging those routers to make sure they are up and connected. > > Behind those routeurs I have an office computer and several cash > registers. As a security precaution those computers are not reachable from > my linux box and Nagios of course. > > There is a very simple system that allows those computers to send files > back to our servers by secure FTP. > > Ok so what I'm looking for is a software that would work in the background > on those computers and scan for CPU usage, Memory, hard drives and if > possible temperature. If certain conditions are met (like shortage of disk > space) a file would be produced in a specific folder and the our automatic > FTP system would grab it and transfer that to our servers... From there it's > a simple matter to transfer it to my linux box and make it availlable to > Nagios as a passive check. > > Has anyone heard of such a software? I've looked into NsClient++ but I > have no clue if it's able to save the scans to file if it does it would > probably be a pretty good tool for what I'm looking for. > > Another question I have is about the passive check function. I understand > how it works but what I'm not sure of is how to make sure the files that > would be produced by the remote software will be correctly formated for > Nagios to understand it. > > Thanks in advance for any help offered. > > Michel C?t? > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > > _______________________________________________ > 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 > > > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Fri Apr 15 04:58:59 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Fri, 15 Apr 2011 10:58:59 +0800 Subject: pnp4nagios? In-Reply-To: <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F8@ads-mbx-02.exchange.washington.edu> References: <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F5@ads-mbx-02.exchange.washington.edu> <907690c8-78d4-413d-bea8-ccfae04d8864@email.android.com> <14C6C8313F1842459FAAD0B3FEB9E42C817DF5F8@ads-mbx-02.exchange.washington.edu> Message-ID: that should be an RRD issue, not pnp4nagios at all. if you would like to include the historical data, you need a process to "restore" them into the RRD files. after that pnp4nagios can show all honestly and add new data for you from now on. On Fri, Apr 15, 2011 at 6:10 AM, Jeremiah D. Jester wrote: > I should have been more specific. > > > > I just want to include all historical data from nagios into pnp. It?s only > showing data from the install date forward. > > > > Thanks,JJ > > > > Jeremiah Jester > Informatics Specialist > > Microbiology ? Katze Lab > > 206-732-6185 > > > > From: Phil K. [mailto:phillip.kennedy at yankeeairmuseum.org] > Sent: Thursday, April 14, 2011 12:17 PM > To: Nagios Users List > Subject: Re: [Nagios-users] pnp4nagios? > > > > What 'issues' are you seeing? I've noticed ubuntu and apt can mark some > dependancies as unused and safe for removal depending on how you installed > nagios in the first place. That led to a bit of hair pulling on my end.... > ~Phil > -- > Sent from my Android phone with K-9. > > "Jeremiah D. Jester" wrote: > > Anyone here using pnp4nagios for graphing? I?m having some configuration > issues and wanted to see if there was someone who could assist? > > Thanks, > > JJ > > > > Jeremiah Jester > Informatics Specialist > > Microbiology ? Katze Lab > > 206-732-6185 > > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Fri Apr 15 21:51:35 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 15 Apr 2011 15:51:35 -0400 Subject: Problem with check_mailq and check_smtp plugins Message-ID: Hi there -- I recently rebuilt an e-mail server from scratch, and part of the process was restoring from disk backup the nrpe directory that was one the original server. The original server ran on the Fedora Core 7 32-bit distribution, while the new one is running on the CentOS 5.6 64-bit operating system. The version of nrpe that was restored to the new server is 2.6, while that of the plugins is the 1.4.5 release. The Nagios server is version 3.1.2 running on a CentOS 5.3 32-bit distribution. Two of the plugins that I use to monitor the e-mail portion of the server, check_mailq and check_smtp, do not appear to be working. The error messages that appear on the Nagios server web interface are shown below: Check Sendmail Queue (check_mailq) CRITICAL 04-15-2011 15:41:36 0d 3h 7m 54s 4/4 CRITICAL: Error code 78 returned from /usr/bin/mailq Check Sendmail Server (check_smtp) CRITICAL 04-15-2011 15:41:36 0d 3h 7m 54s 4/4 Connection refused I tried running both locally on the e-mail server, and while check_mailq appears to work based on the output shown below: /usr/local/nrpe/libexec/check_mailq -w 30 -c 40 -M sendmail OK: mailq is empty|unsent=0;30;40;0 the check_smtp plugin has the following output: Connection refused SMTP CRITICAL - 0.059 sec. response time|time=0.058524s;;;0.000000 Other plugins that I run on the server, i.e: check_disk, check_zombie_procs, check_imap, are all running without issue. Does anyone have insight into what is going on, and how it can be corrected? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Fri Apr 15 21:54:11 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Fri, 15 Apr 2011 22:54:11 +0300 Subject: Monitor windows process CPU usage Message-ID: Dear all, I have a working installation of Nagios + PNP 4 Nagios. How can I monitor and graph the usage of CPU on a windows machine for one or more processes? I have triedm but without too much luck by using check_wmi: I get the information, but not as performance data so I can graph it. Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Fri Apr 15 23:18:28 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Fri, 15 Apr 2011 14:18:28 -0700 (PDT) Subject: (no subject) Message-ID: <259406.90667.qm@web36503.mail.mud.yahoo.com> Sex is satisfaction, have satisfaction tonight!.. http://cordobaforexport.com.ar/page.php?qoGIS=38iw5 ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neira.francisco at gmail.com Fri Apr 15 23:51:55 2011 From: neira.francisco at gmail.com (Francisco Neira) Date: Fri, 15 Apr 2011 16:51:55 -0500 Subject: (no subject) In-Reply-To: <259406.90667.qm@web36503.mail.mud.yahoo.com> References: <259406.90667.qm@web36503.mail.mud.yahoo.com> Message-ID: 2011/4/15 Christian Iñiguez > Sex is satisfaction, have satisfaction tonight!.. > > "Have satisfaction tonight, start using Nagios..." ;-) -- Francisco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Apr 17 09:14:05 2011 From: eero.volotinen at iki.fi (Eero Volotinen) Date: Sun, 17 Apr 2011 10:14:05 +0300 Subject: nsclient++ (windows) Message-ID: This might be a bit offtopic question, but still asking it: Is there gpg signed binaries available for nsclient++ for download? br, -- Eero ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Sun Apr 17 10:26:10 2011 From: michael at medin.name (Michael Medin) Date: Sun, 17 Apr 2011 10:26:10 +0200 Subject: nsclient++ (windows) In-Reply-To: References: Message-ID: <4DAAA422.9070704@medin.name> Eero Volotinen skrev 2011-04-17 09:14: > This might be a bit offtopic question, but still asking it: > > Is there gpg signed binaries available for nsclient++ for download? No... Is that something you would want? Never consider it myself to be honest... // Michael Medin > br, > -- > Eero > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Apr 17 11:06:25 2011 From: eero.volotinen at iki.fi (Eero Volotinen) Date: Sun, 17 Apr 2011 12:06:25 +0300 Subject: nsclient++ (windows) In-Reply-To: <4DAAA422.9070704@medin.name> References: <4DAAA422.9070704@medin.name> Message-ID: 2011/4/17 Michael Medin : > Eero Volotinen skrev 2011-04-17 09:14: >> This might be a bit offtopic question, but still asking it: >> >> Is there gpg signed binaries available for nsclient++ for download? > No... > > Is that something you would want? > Never consider it myself to be honest... Yes, because it provides way to check that binaries integrity. -- Eero ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Sun Apr 17 16:49:36 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Sun, 17 Apr 2011 07:49:36 -0700 (PDT) Subject: (no subject) Message-ID: <987817.25537.qm@web36502.mail.mud.yahoo.com> You will find that ordering medication is simple!. http://condominiolapalapa.com.mx/page.php?tagoogleId=94vi3 ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Sun Apr 17 21:43:50 2011 From: michael at medin.name (Michael Medin) Date: Sun, 17 Apr 2011 21:43:50 +0200 Subject: nsclient++ (windows) In-Reply-To: References: <4DAAA422.9070704@medin.name> Message-ID: <4DAB42F6.9040609@medin.name> Ok. The closest thing you can get is the MD5 sum at the download page. But that is more "for fun" as it is automatically generated. http://nsclient.org/nscp/downloads Maybe I should add some form of signature thingy? // Michael Medin Eero Volotinen skrev 2011-04-17 11:06: > 2011/4/17 Michael Medin: >> Eero Volotinen skrev 2011-04-17 09:14: >>> This might be a bit offtopic question, but still asking it: >>> >>> Is there gpg signed binaries available for nsclient++ for download? >> No... >> >> Is that something you would want? >> Never consider it myself to be honest... > Yes, because it provides way to check that binaries integrity. > > -- > Eero > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 smetj.net Sun Apr 17 23:07:03 2011 From: nagios at smetj.net (Jelle Smet) Date: Sun, 17 Apr 2011 22:07:03 +0100 Subject: Moncli-0.1.1 released Message-ID: Hi list, I just released the initial version 0.1.1 of a new Nagios core compatible monitoring client called Moncli. You can find all the details on http://www.smetj.net/wiki/Moncli [1] Some highlights are: * Compatible with Nagios core based and derived monitoring frameworks. * Communication happens over http(s) using JSON. * Flexible, versatile check requests. * Easy to write your own plugins. * Submits incoming active check results as a passive check result to the monitoring environment. * A built in scheduler which repeats checks at an interval of choice. * Flexible destination definitions. Loadbalancing between multiple destinations. * Queuing of check results when a destination is unavailable. * No config files required. * Can communicate with NSCAweb, NRDP or command pipe. * Pam authentication Feedback is always welcome. Thanks, -- Jelle Smet http://www.smetj.net Links: ------ [1] http://www.smetj.net/wiki/Moncli -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Apr 17 23:32:29 2011 From: eero.volotinen at iki.fi (Eero Volotinen) Date: Mon, 18 Apr 2011 00:32:29 +0300 Subject: nsclient++ (windows) In-Reply-To: <4DAB42F6.9040609@medin.name> References: <4DAAA422.9070704@medin.name> <4DAB42F6.9040609@medin.name> Message-ID: 2011/4/17 Michael Medin : > Ok. > > The closest thing you can get is the MD5 sum at the download page. But > that is more "for fun" as it is automatically generated. > http://nsclient.org/nscp/downloads > > Maybe I should add some form of signature thingy? You should sign packages with your gpg/pgp key and then put signatures on your webpage and distribute your public key in known keyservers. thanks. br, -- Eero ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 18 00:43:56 2011 From: eero.volotinen at iki.fi (Eero Volotinen) Date: Mon, 18 Apr 2011 01:43:56 +0300 Subject: nsclient++ (windows) In-Reply-To: References: <4DAAA422.9070704@medin.name> <4DAB42F6.9040609@medin.name> Message-ID: 2011/4/18 Eero Volotinen : > 2011/4/17 Michael Medin : >> Ok. >> >> The closest thing you can get is the MD5 sum at the download page. But >> that is more "for fun" as it is automatically generated. >> http://nsclient.org/nscp/downloads >> >> Maybe I should add some form of signature thingy? > > You should sign packages with your gpg/pgp key and then put signatures > on your webpage and distribute your public key in known keyservers. > You can check how ossec does it: http://www.ossec.net/main/downloads It's almost correct way, but public key should be distributed to public key servers instead of same web-page -- Eero ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at aggregateknowledge.com Mon Apr 18 19:44:01 2011 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Mon, 18 Apr 2011 10:44:01 -0700 Subject: notification_interval < normal_check_interval Message-ID: <4DAC7861.9010404@aggregateknowledge.com> I have a check that I only want to occur once a day, so I do this in the service definition: normal_check_interval 1440 However, when it fails, I want it to retry every 10 minutes, so I do this: retry_check_interval 10 My default notification_interval is set to 15. When I run a pre-flight check, I get this: Warning: Service '' on host '' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval. Is that warning telling me that notifications are only sent when a normal check occurs? What I want is for in the event of a failure, notifications to continue to be sent (every 15 minutes) until the service recovers. Will that be the case? Thanks, Mike ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Mon Apr 18 21:08:14 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Mon, 18 Apr 2011 15:08:14 -0400 Subject: notification_interval < normal_check_interval In-Reply-To: <4DAC7861.9010404@aggregateknowledge.com> References: <4DAC7861.9010404@aggregateknowledge.com> Message-ID: <4DAC8C1E.5090705@paul.dubuc.org> Mike Chesnut wrote: > I have a check that I only want to occur once a day, so I do this in the > service definition: > > normal_check_interval 1440 > > However, when it fails, I want it to retry every 10 minutes, so I do this: > > retry_check_interval 10 > > My default notification_interval is set to 15. When I run a pre-flight > check, I get this: > > Warning: Service '' on host'' has a notification > interval less than its check interval! Notifications are only re-sent > after checks are made, so the effective notification interval will be > that of the check interval. > > Is that warning telling me that notifications are only sent when a > normal check occurs? What I want is for in the event of a failure, > notifications to continue to be sent (every 15 minutes) until the > service recovers. Will that be the case? > > Thanks, > Mike > What is the value of max_check_attempts? It's at the end of that number of checks that the service enters a hard state and a notification is sent. If the value is 1, then the warning makes perfect sense because no retry checks will be done. Paul Dubuc ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at aggregateknowledge.com Mon Apr 18 23:02:09 2011 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Mon, 18 Apr 2011 14:02:09 -0700 Subject: notification_interval < normal_check_interval In-Reply-To: <4DAC8C1E.5090705@paul.dubuc.org> References: <4DAC7861.9010404@aggregateknowledge.com> <4DAC8C1E.5090705@paul.dubuc.org> Message-ID: <4DACA6D1.1090107@aggregateknowledge.com> On 04/18/2011 12:08 PM, Paul M. Dubuc wrote: > > Mike Chesnut wrote: >> I have a check that I only want to occur once a day, so I do this in the >> service definition: >> >> normal_check_interval 1440 >> >> However, when it fails, I want it to retry every 10 minutes, so I do this: >> >> retry_check_interval 10 >> >> My default notification_interval is set to 15. When I run a pre-flight >> check, I get this: >> >> Warning: Service '' on host'' has a notification >> interval less than its check interval! Notifications are only re-sent >> after checks are made, so the effective notification interval will be >> that of the check interval. >> >> Is that warning telling me that notifications are only sent when a >> normal check occurs? What I want is for in the event of a failure, >> notifications to continue to be sent (every 15 minutes) until the >> service recovers. Will that be the case? >> >> Thanks, >> Mike >> > > What is the value of max_check_attempts? It's at the end of that number of > checks that the service enters a hard state and a notification is sent. If > the value is 1, then the warning makes perfect sense because no retry checks > will be done. max_check_attempts is 2. Is that a sensible number here? Thanks, Mike ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From icantplayguitar at gmail.com Tue Apr 19 00:53:17 2011 From: icantplayguitar at gmail.com (d) Date: Mon, 18 Apr 2011 18:53:17 -0400 Subject: Running configuration: Additional macros or sourcing files for passwords Message-ID: Looking for info on how passwords are handled in configuration files. I would preferably source them from a hidden file and then insert them via macros into the nagios config. Has anyone done this (or similar)? I like having my configuration files checked-in to a code repo but obviously don't want the PWs. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbarszcz at gmail.com Tue Apr 19 01:33:35 2011 From: dbarszcz at gmail.com (David Barszcz) Date: Mon, 18 Apr 2011 19:33:35 -0400 Subject: Monitoring Bandwidth Question Message-ID: Hello, I need help monitoring bandwidth of my router. I am currently running nagios on Ubuntu and monitoring a router flashed with DD-WRT. My plan is to monitor the bandwidth throught MRTG. I seem to be having a problems creating a log file of router's Bandwidth to point to. This should be an easy one so a Litle guidance would appreciated. Thanks Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Tue Apr 19 03:35:46 2011 From: work at paul.dubuc.org (Paul M Dubuc) Date: Mon, 18 Apr 2011 21:35:46 -0400 Subject: notification_interval < normal_check_interval In-Reply-To: <4DACA6D1.1090107@aggregateknowledge.com> References: <4DAC7861.9010404@aggregateknowledge.com> <4DAC8C1E.5090705@paul.dubuc.org> <4DACA6D1.1090107@aggregateknowledge.com> Message-ID: <4DACE6F2.4040405@paul.dubuc.org> Mike Chesnut wrote: > On 04/18/2011 12:08 PM, Paul M. Dubuc wrote: >> >> Mike Chesnut wrote: >>> I have a check that I only want to occur once a day, so I do this in the >>> service definition: >>> >>> normal_check_interval 1440 >>> >>> However, when it fails, I want it to retry every 10 minutes, so I do this: >>> >>> retry_check_interval 10 >>> >>> My default notification_interval is set to 15. When I run a pre-flight >>> check, I get this: >>> >>> Warning: Service '' on host'' has a notification >>> interval less than its check interval! Notifications are only re-sent >>> after checks are made, so the effective notification interval will be >>> that of the check interval. >>> >>> Is that warning telling me that notifications are only sent when a >>> normal check occurs? What I want is for in the event of a failure, >>> notifications to continue to be sent (every 15 minutes) until the >>> service recovers. Will that be the case? >>> >>> Thanks, >>> Mike >>> >> >> What is the value of max_check_attempts? It's at the end of that number of >> checks that the service enters a hard state and a notification is sent. If >> the value is 1, then the warning makes perfect sense because no retry checks >> will be done. > > max_check_attempts is 2. Is that a sensible number here? > > Thanks, > Mike > OK, I think it will work this way: You will get a notification if there is still a problem after the retry check. After that, the check interval reverts to the normal interval and, if the problem persists after the retry, you will not get another notification until after the next normal interval check. You will not get a recovery notification until then either if the problem clears up unless you rerun the check manually. This doesn't sound like what you want. I don't think you can do what you want without shortening the normal check interval. Paul Dubuc ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 19 10:30:25 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 19 Apr 2011 10:30:25 +0200 Subject: notification_interval < normal_check_interval In-Reply-To: <4DACE6F2.4040405@paul.dubuc.org> References: <4DAC7861.9010404@aggregateknowledge.com> <4DAC8C1E.5090705@paul.dubuc.org> <4DACA6D1.1090107@aggregateknowledge.com> <4DACE6F2.4040405@paul.dubuc.org> Message-ID: <4DAD4821.4020608@op5.se> On 04/19/2011 03:35 AM, Paul M Dubuc wrote: > Mike Chesnut wrote: >> On 04/18/2011 12:08 PM, Paul M. Dubuc wrote: >>> >>> Mike Chesnut wrote: >>>> I have a check that I only want to occur once a day, so I do this in the >>>> service definition: >>>> >>>> normal_check_interval 1440 >>>> >>>> However, when it fails, I want it to retry every 10 minutes, so I do this: >>>> >>>> retry_check_interval 10 >>>> >>>> My default notification_interval is set to 15. When I run a pre-flight >>>> check, I get this: >>>> >>>> Warning: Service '' on host'' has a notification >>>> interval less than its check interval! Notifications are only re-sent >>>> after checks are made, so the effective notification interval will be >>>> that of the check interval. >>>> >>>> Is that warning telling me that notifications are only sent when a >>>> normal check occurs? What I want is for in the event of a failure, >>>> notifications to continue to be sent (every 15 minutes) until the >>>> service recovers. Will that be the case? >>>> >>>> Thanks, >>>> Mike >>>> >>> >>> What is the value of max_check_attempts? It's at the end of that number of >>> checks that the service enters a hard state and a notification is sent. If >>> the value is 1, then the warning makes perfect sense because no retry checks >>> will be done. >> >> max_check_attempts is 2. Is that a sensible number here? >> >> Thanks, >> Mike >> > > OK, I think it will work this way: You will get a notification if there > is still a problem after the retry check. After that, the check > interval reverts to the normal interval and, if the problem persists > after the retry, you will not get another notification until after the > next normal interval check. You will not get a recovery notification > until then either if the problem clears up unless you rerun the check > manually. This doesn't sound like what you want. I don't think you can > do what you want without shortening the normal check interval. > That's wrong, unfortunately. It will work exactly like the warning states. First the max check attempts have to be reached and then the notifications will start being sent out. This means you'll get one notification per time the check is run (once every 1440 * interval_length seconds) so long as the service remains in a non-ok state. That's a conclusion of these rules: 1. No notifications are sent until the max check attempts are reached. 2. No notifications are sent unless the service just recently got checked. 3. The service gets re-checked using the default check-interval once the max check attempts have been reached. -- 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. ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Apr 19 10:57:57 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 19 Apr 2011 09:57:57 +0100 Subject: Monitoring Bandwidth Question In-Reply-To: References: Message-ID: On 19 April 2011 00:33, David Barszcz wrote: > Hello, > > I need help monitoring bandwidth of my router. I am currently running nagios > on Ubuntu and monitoring a router flashed with DD-WRT. My plan is to?monitor > the bandwidth throught MRTG. I seem to be having a problems creating a log > file?of router's Bandwidth to point to. This should be an easy one so a > Litle guidance would appreciated. If the router can accept SNMP queries then you should be able to use http://nagios.manubulon.com/snmp_int.html and rather than use MRTG I would recommend PNP4Nagios as this can get the performance data from Nagios. Note that check_snmp_int.pl will write temporary files to keep a record of counters so be careful of ownership and permissions when testing. Also, you need to specify the 64-bit counters otherwise they wrap round back to zero too frequently. hth, Jim ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Tue Apr 19 11:11:48 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 19 Apr 2011 17:11:48 +0800 Subject: notification_interval < normal_check_interval In-Reply-To: <4DAC7861.9010404@aggregateknowledge.com> References: <4DAC7861.9010404@aggregateknowledge.com> Message-ID: if the service remains in a non-ok state and notification_interval have passed since the last notification, another notification will be sent. please post your definition of the service. On Tue, Apr 19, 2011 at 1:44 AM, Mike Chesnut wrote: > I have a check that I only want to occur once a day, so I do this in the > service definition: > > ? ? ? ? normal_check_interval ? 1440 > > However, when it fails, I want it to retry every 10 minutes, so I do this: > > ? ? ? ? retry_check_interval ? ?10 > > My default notification_interval is set to 15. ?When I run a pre-flight > check, I get this: > > Warning: Service '' on host '' ?has a notification > interval less than its check interval! ?Notifications are only re-sent > after checks are made, so the effective notification interval will be > that of the check interval. > > Is that warning telling me that notifications are only sent when a > normal check occurs? ?What I want is for in the event of a failure, > notifications to continue to be sent (every 15 minutes) until the > service recovers. ?Will that be the case? > > Thanks, > Mike > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Apr 19 11:54:20 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 19 Apr 2011 10:54:20 +0100 Subject: Running configuration: Additional macros or sourcing files for passwords In-Reply-To: References: Message-ID: This is standard stuff in Nagios. Usually the password is stored in a macro which you define in the resource.cfg file, for example: $USER3$=trustnoone Then you can refer to the macro name in your service or command definitions for example: define service{ use srv-pnp,generic-service host_name coreswitch1 service_description Unit04-Port18 check_command check_snmp_int!-C $USER3$ -2 -n "Unit 4 Port 18 " -fY -kqB -g -w 600000,600000,100,100,100000,10 -c 800000,800000,200,200,200000,20 -d 300 } Permissions are set appropriately on the resource.cfg file, and the resource.cfg file doesn't have to be in your code repo. Reference is made to this in the documentation at http://nagios.sourceforge.net/docs/nagioscore/3/en/configmain.html under the heading "Resource File" - you should also find examples in the sample config files which come with the standard Nagios install. hth, Jim On 18 April 2011 23:53, d wrote: > Looking for info on how passwords are handled in configuration files. ?I > would preferably source them from a hidden file and then insert them via > macros into the nagios config. ?Has anyone done this (or similar)? ?I like > having my configuration files checked-in to a code repo but obviously don't > want the PWs. > Thanks. > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Tue Apr 19 17:13:45 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Tue, 19 Apr 2011 11:13:45 -0400 (EDT) Subject: check_openmanage Message-ID: <8586294.1515169.1303226026104.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> Hello All, on two of my dell servers check_openmanage (via nsclient++ and nrpe) return the same error: "Use of uninitialized value in concatenation (.) or string at script/check_openmanage.pl line 1386." both dell systems are running the latest OpenManage version 6.5.0. anyone else see this or know how to fix it? thanks, Jeff ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Tue Apr 19 17:24:29 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Tue, 19 Apr 2011 15:24:29 +0000 Subject: Monitoring HP Procurve Interfaces Message-ID: <70D7A4219FE365439DA53582BA6D8F2E176A19D0@HCSD-MAIL2> Hello, I am trying to monitor the interfaces on my HP Procurve 5400 series switch. I have tried both check_iftraffic3 and check_snmp_int. The commands work perfectly from the command line. However the web interface reports (return code of 255 is out of bounds) for check_iftraffic3 and (return code of 127 is out of bounds) for check_snmp_int . I am able to monitor all other hardware on the switch through Nagios just fine. Any thoughts on this? Thanks. Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-771-7243 (Fax) [Think before you print.]Think before you print -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 87 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 19 17:48:37 2011 From: jpratt at norwich.edu (James Pratt) Date: Tue, 19 Apr 2011 11:48:37 -0400 Subject: Monitoring HP Procurve Interfaces Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD347D1C@nuexchange.norwich.edu> Hello, have you tried running them as the nagios user, or as root user or both? Sometimes it will not execute the same as nagios user, so you can test using su - nagios -c "/usr/local/nagios/libexec/check_cmd -H " etc etc... Also, this may help - http://support.nagios.com/knowledgebase/faqs/index.php?option=com_conten t&view=article&id=52&catid=35&faq_id=17&expand=false&showdesc=true Cheers, James From: Martin Hugo [mailto:Martin_Hugo at hboe.org] Sent: Tuesday, April 19, 2011 11:24 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Monitoring HP Procurve Interfaces Hello, I am trying to monitor the interfaces on my HP Procurve 5400 series switch. I have tried both check_iftraffic3 and check_snmp_int. The commands work perfectly from the command line. However the web interface reports (return code of 255 is out of bounds) for check_iftraffic3 and (return code of 127 is out of bounds) for check_snmp_int . I am able to monitor all other hardware on the switch through Nagios just fine. Any thoughts on this? Thanks. Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-771-7243 (Fax) Think before you print -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 87 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Tue Apr 19 17:55:29 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Tue, 19 Apr 2011 11:55:29 -0400 (EDT) Subject: Monitoring HP Procurve Interfaces Message-ID: <28202337.1517973.1303228529436.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> I believe the problem is that the code being returned is not 0,1,2 for (ok, warning, critical) and so nagios doesn't like it. When you run the command manually from the command line, what is the result returned? On Tue, Apr 19, 2011 at 11:24 AM, Martin Hugo wrote: Hello, I am trying to monitor the interfaces on my HP Procurve 5400 series switch. I have tried both check_iftraffic3 and check_snmp_int. The commands work perfectly from the command line. However the web interface reports (return code of 255 is out of bounds) for check_iftraffic3 and (return code of 127 is out of bounds) for check_snmp_int . I am able to monitor all other hardware on the switch through Nagios just fine. Any thoughts on this? Thanks. Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-771-7243 (Fax) Think before you print. Think before you print ------------------------------ ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ? ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net ? https://lists.sourceforge.net/lists/listinfo/nagios-users ? ::: 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 -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Tue Apr 19 18:27:56 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Tue, 19 Apr 2011 16:27:56 +0000 Subject: Monitoring HP Procurve Interfaces In-Reply-To: <28202337.1517973.1303228529436.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> References: <28202337.1517973.1303228529436.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E176A1ADE@HCSD-MAIL2> Here is my command: /usr/bin/perl ./check_iftraffic3.pl -H 10.4.228.2 -C -i F24 -b 1000 -I 1000 -O 1000 -u m And it returns: Average IN: 3.63MBs (2.91%), Average OUT: 3.93MBs (3.14%)
Total RX: 1634.52 MBytes, Total TX: 2705.54 MBytes|inUsage=2.91%;85;98 outUsage=3.14%;85;98 inBandwidth=3.63MBs outBandwidth=3.93MBs inAbsolut=1713920494 outAbsolut=2836966927 I did notice that when I run the command from the command line (as Nagios user) it writes the file to /tmp but I do not see the file being updated by Nagios. Plus, if I delete the file created by the command line operation, nothing get saved to /tmp when the web check happens. Marty From: Ashcor Technologies [mailto:ashcor at optonline.net] Sent: Tuesday, April 19, 2011 11:55 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring HP Procurve Interfaces I believe the problem is that the code being returned is not 0,1,2 for (ok, warning, critical) and so nagios doesn't like it. When you run the command manually from the command line, what is the result returned? On Tue, Apr 19, 2011 at 11:24 AM, Martin Hugo wrote: Hello, I am trying to monitor the interfaces on my HP Procurve 5400 series switch. I have tried both check_iftraffic3 and check_snmp_int. The commands work perfectly from the command line. However the web interface reports (return code of 255 is out of bounds) for check_iftraffic3 and (return code of 127 is out of bounds) for check_snmp_int . I am able to monitor all other hardware on the switch through Nagios just fine. Any thoughts on this? Thanks. Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-771-7243 (Fax) Think before you print. Think before you print ------------------------------ ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From berkshire at gmail.com Thu Apr 21 01:02:25 2011 From: berkshire at gmail.com (Todd Clemens) Date: Wed, 20 Apr 2011 16:02:25 -0700 Subject: Semi-newbie Question Message-ID: Hi Everyone, We monitor our sites with a standard 3 of 3 failure triggers a notification configuration. I would like to know if it's possible to alter this monitoring (which would be ideal) or or create a new monitor (which is not as ideal, but is still ok) so that if a 503 error is detected, it will immediately send a notification and not wait for the 3 of 3 failure. Thanks, Todd -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Thu Apr 21 01:40:06 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Wed, 20 Apr 2011 19:40:06 -0400 (EDT) Subject: check_openmanage Message-ID: <14229536.1369533.1303342806436.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> anyone??? On Tue, Apr 19, 2011 at 11:13 AM, Ashcor Technologies wrote: > Hello All, > > on two of my dell servers check_openmanage (via nsclient++ and nrpe) > return the same error: > > "Use of uninitialized value in concatenation (.) or string at > script/check_openmanage.pl line 1386." > > both dell systems are running the latest OpenManage version 6.5.0. > > anyone else see this or know how to fix it? > > thanks, > > Jeff > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and > improve application availability and disaster protection. Learn more > about boosting the value of server virtualization. > http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samuel.Kidman at panres.com Thu Apr 21 02:51:28 2011 From: Samuel.Kidman at panres.com (Samuel Kidman) Date: Thu, 21 Apr 2011 08:51:28 +0800 Subject: Freshness Checking not working correctly Message-ID: <2017228CAF598D4F8B68E7555B958761014B51D6@pr-pro-exch01-3.SMY.local> Hello I've got this in my logs: [1303346647] Warning: The results of service 'Dummy Service' on host 'LFMISS1' are stale by 0d 0h 1m 0s (threshold=0d 0h 5m 0s). I'm forcing an immediate check of the service. [1303346647] Warning: The results of service 'Dummy Service' on host 'PR-LNM-BCMF01' are stale by 0d 0h 1m 0s (threshold=0d 0h 5m 0s). I'm forcing an immediate check of the service. [1303346647] Warning: The results of service 'Dummy Service' on host 'PR-LNM-BW-AV01' are stale by 0d 0h 1m 0s (threshold=0d 0h 5m 0s). I'm forcing an immediate check of the service. Why is Nagios forcing an active check before the freshness threshold runs out? Sam Kidman IT Support Officer -------------------------- T: 08 9225 0944 ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From geetha.er at gmail.com Thu Apr 21 08:27:16 2011 From: geetha.er at gmail.com (geetha ramani) Date: Thu, 21 Apr 2011 11:57:16 +0530 Subject: nagios plugin for coap server Message-ID: hi all, is there any plugin available in nagios for monitoring coap server. ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 21 09:32:42 2011 From: m.borsani at it.net (Marco Borsani) Date: Thu, 21 Apr 2011 09:32:42 +0200 Subject: nagios with mysql Message-ID: <003901cbfff6$4ffa9110$efefb330$@it.net> Hi I am using Nagios since 2004 with all the configuration in the text files. Now, I?d like using mysql DB. I do not need a migration procedure, I just need to understand how to configure a Nagios to start with mysql DB. Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di WIND TELECOM S.p.A. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.felici at alpikom.it Thu Apr 21 09:41:56 2011 From: s.felici at alpikom.it (Simone Felici) Date: Thu, 21 Apr 2011 09:41:56 +0200 Subject: Semi-newbie Question In-Reply-To: References: Message-ID: <4DAFDFC4.1080207@alpikom.it> AFAIK if you have configured a service to check 3 times befor send any notification, than this option cannot be override: http://nagios.sourceforge.net/docs/nagioscore/3/en/statetypes.html The first two "non-ok" states are in SOFT-STATE based on the max_check_attempts. You could try with event_handlers but are most used to correct an issue instead to force a notification, but could fit. They could be trigged in SOFT-STATE too. http://nagios.sourceforge.net/docs/nagioscore/3/en/eventhandlers.html BTW this would not log correctly the 503 error as an HARD-STATE issue for report pruposes. I would set up a new service. It's cleaner. It could be a wrap-up of the check_http script to handle only 503 errors. Hope it helps! Bye, Simon Il 21/04/2011 01:02, Todd Clemens ha scritto: > Hi Everyone, > > We monitor our sites with a standard 3 of 3 failure triggers a notification configuration. I would > like to know if it's possible to alter this monitoring (which would be ideal) or or create a new > monitor (which is not as ideal, but is still ok) so that if a 503 error is detected, it will > immediately send a notification and not wait for the 3 of 3 failure. > > Thanks, > Todd > ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 21 10:15:42 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 21 Apr 2011 08:15:42 +0000 Subject: nagios with mysql In-Reply-To: <003901cbfff6$4ffa9110$efefb330$@it.net> References: <003901cbfff6$4ffa9110$efefb330$@it.net> Message-ID: <4DAFE7AE.9020305@flatto.net> You can find out about it when reading on NDO http://exchange.nagios.org/directory/Addons/Database-Backends/NDOUtils/details Marco Borsani wrote: > > Hi > > I am using Nagios since 2004 with all the configuration in the text files. > > Now, I?d like using mysql DB. > > I do not need a migration procedure, I just need to understand how to > configure a Nagios to start with mysql DB. > > Regards > > Marco Borsani > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di WIND TELECOM S.p.A. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 21 09:58:47 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 21 Apr 2011 09:58:47 +0200 Subject: nagios with mysql In-Reply-To: <003901cbfff6$4ffa9110$efefb330$@it.net> References: <003901cbfff6$4ffa9110$efefb330$@it.net> Message-ID: <83CF7C9A-487B-4AFC-B1A0-14A470E5E5FB@linux.it> Myst use NagioSQL and it will import tour magios files into a MySQL DB. Moreover, it will give you a web interface to configura Nagios. NagioSQL will be the backend for the upcoming Nagios official configuration tool. Ciao, Giorgio Il giorno 21/apr/2011, alle ore 09:32, "Marco Borsani" ha scritto: > Hi > > > > I am using Nagios since 2004 with all the configuration in the text files. > > > > Now, I?d like using mysql DB. > > > > I do not need a migration procedure, I just need to understand how to configure a Nagios to start with mysql DB. > > > > Regards > > > > Marco Borsani > > Unix and Monitoring Sysadmin > > Technical Operations Dpt. > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di WIND TELECOM S.p.A. > > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 21 10:41:19 2011 From: m.borsani at it.net (Marco Borsani) Date: Thu, 21 Apr 2011 10:41:19 +0200 Subject: R: nagios with mysql In-Reply-To: <83CF7C9A-487B-4AFC-B1A0-14A470E5E5FB@linux.it> References: <003901cbfff6$4ffa9110$efefb330$@it.net> <83CF7C9A-487B-4AFC-B1A0-14A470E5E5FB@linux.it> Message-ID: <007001cbffff$e5c70580$b1551080$@it.net> But are there any conveniences to use nagiosSLQ compared standard nagios ? Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: gioved? 21 aprile 2011 09:59 A: Nagios Users List Cc: NAGIOS Oggetto: Re: [Nagios-users] nagios with mysql Myst use NagioSQL and it will import tour magios files into a MySQL DB. Moreover, it will give you a web interface to configura Nagios. NagioSQL will be the backend for the upcoming Nagios official configuration tool. Ciao, Giorgio Il giorno 21/apr/2011, alle ore 09:32, "Marco Borsani" ha scritto: Hi I am using Nagios since 2004 with all the configuration in the text files. Now, I?d like using mysql DB. I do not need a migration procedure, I just need to understand how to configure a Nagios to start with mysql DB. Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di WIND TELECOM S.p.A. ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tonvoon at gmail.com Thu Apr 21 10:53:47 2011 From: tonvoon at gmail.com (Ton Voon) Date: Thu, 21 Apr 2011 09:53:47 +0100 Subject: nagios with mysql In-Reply-To: <003901cbfff6$4ffa9110$efefb330$@it.net> References: <003901cbfff6$4ffa9110$efefb330$@it.net> Message-ID: <93790F4E-9F66-40FB-A592-1B8913822D9F@gmail.com> On 21 Apr 2011, at 08:32, Marco Borsani wrote: > I am using Nagios since 2004 with all the configuration in the text files. > > Now, I?d like using mysql DB. > > I do not need a migration procedure, I just need to understand how to configure a Nagios to start with mysql DB. If you create your own DB to hold all the relationships and information to create the nagios configuration files, you'll end up with Opsview (http://opsview.com) We model the data in the "proper" way (http://labs.opsview.com/2011/04/managing-security-permissions-for-large-teams-in-opsview/) and then we generate the nagios configuration files appropriately, with distributed monitoring thrown in for free. NagiosQL is mapping the Nagios configuration files into a sql database, which is okay, but try running queries to tell you what you want to know and you'll end up replicating Nagios' configuration algorithms to get the data you need. While our demo site doesn't give you access to the mysql db, I'd recommend you download our latest VM and poke around the DB structures. There's an import script so if you supply your Nagios object.dat file, we'll do a good job at importing your information into Opsview's DB. We've got users that now run DB queries against opsview to give them asset lists. We've got other users that have asset lists external to Opsview, but use the REST API (http://docs.opsview.com/doku.php?id=opsview-community:restapi) to update Opsview. All this is much easier by abstracting the Nagios specific information away. Ton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 21 11:37:53 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 21 Apr 2011 11:37:53 +0200 (CEST) Subject: nagios with mysql In-Reply-To: <93790F4E-9F66-40FB-A592-1B8913822D9F@gmail.com> References: <003901cbfff6$4ffa9110$efefb330$@it.net> <93790F4E-9F66-40FB-A592-1B8913822D9F@gmail.com> Message-ID: Hi, it seems a bit beyond his needs :-) Then, from your words it seems that in Opsview you attached a CMDB to Nagios. Is it so? Could be interesting, lots. Giorgio > > On 21 Apr 2011, at 08:32, Marco Borsani wrote: > >> I am using Nagios since 2004 with all the configuration in the text >> files. >> >> Now, I?d like using mysql DB. >> >> I do not need a migration procedure, I just need to understand how to >> configure a Nagios to start with mysql DB. > > If you create your own DB to hold all the relationships and information to > create the nagios configuration files, you'll end up with Opsview > (http://opsview.com) > > We model the data in the "proper" way > (http://labs.opsview.com/2011/04/managing-security-permissions-for-large-teams-in-opsview/) > and then we generate the nagios configuration files appropriately, with > distributed monitoring thrown in for free. > > NagiosQL is mapping the Nagios configuration files into a sql database, > which is okay, but try running queries to tell you what you want to know > and you'll end up replicating Nagios' configuration algorithms to get the > data you need. > > While our demo site doesn't give you access to the mysql db, I'd recommend > you download our latest VM and poke around the DB structures. There's an > import script so if you supply your Nagios object.dat file, we'll do a > good job at importing your information into Opsview's DB. > > We've got users that now run DB queries against opsview to give them asset > lists. We've got other users that have asset lists external to Opsview, > but use the REST API > (http://docs.opsview.com/doku.php?id=opsview-community:restapi) to update > Opsview. All this is much easier by abstracting the Nagios specific > information away. > > Ton > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about > boosting > the value of server virtualization. > http://p.sf.net/sfu/vmware-sfdev2dev_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 21 11:21:50 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 21 Apr 2011 11:21:50 +0200 (CEST) Subject: R: nagios with mysql In-Reply-To: <007001cbffff$e5c70580$b1551080$@it.net> References: <003901cbfff6$4ffa9110$efefb330$@it.net> <83CF7C9A-487B-4AFC-B1A0-14A470E5E5FB@linux.it> <007001cbffff$e5c70580$b1551080$@it.net> Message-ID: <9b0b0d3815cc75ac641a1fef80d4c527.squirrel@picard.linux.it> Hi, well, NagioSQL keeps most of the configs in the DB and regenerates the config files each time you need to "deploy" them. It makes easy to mantain a configuration, or to create new chacks or hosts. I'ts a good tools for support crew. > But are there any conveniences to use nagiosSLQ compared standard nagios ? ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Apr 21 12:01:45 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 21 Apr 2011 11:01:45 +0100 Subject: Freshness Checking not working correctly In-Reply-To: <2017228CAF598D4F8B68E7555B958761014B51D6@pr-pro-exch01-3.SMY.local> References: <2017228CAF598D4F8B68E7555B958761014B51D6@pr-pro-exch01-3.SMY.local> Message-ID: On 21 April 2011 01:51, Samuel Kidman wrote: > Hello > > I've got this in my logs: > > > [1303346647] Warning: The results of service 'Dummy Service' on host > 'LFMISS1' are stale by 0d 0h 1m 0s (threshold=0d 0h 5m 0s). ?I'm forcing > an immediate check of the service. > [1303346647] Warning: The results of service 'Dummy Service' on host > 'PR-LNM-BCMF01' are stale by 0d 0h 1m 0s (threshold=0d 0h 5m 0s). ?I'm > forcing an immediate check of the service. > [1303346647] Warning: The results of service 'Dummy Service' on host > 'PR-LNM-BW-AV01' are stale by 0d 0h 1m 0s (threshold=0d 0h 5m 0s). ?I'm > forcing an immediate check of the service. > > > Why ?is Nagios forcing an active check before the freshness threshold > runs out? I've been seeing something that looks similar to that. An example in my log is: [1303254000] CURRENT SERVICE STATE: xxxxxx;BACKUP;OK;HARD;1;backup_app: Completed with no errors. ... [1303284031] Warning: The results of service 'BACKUP' on host 'xxxxxx' are stale by 0d 0h 0m 52s (threshold=1d 2h 0m 0s). I'm forcing an immediate check of the service. In my case, it seems Nagios thought the service was stale only 8 hours or so after the previous passive check, whereas the freshness threshold for this service is 93600 (26 hours). I'm not sure why, then, the warning message says it's stale by only 52s. One thing I have done recently is to move the status.dat file from its usual location to a ramdisk. This has improved performance in the web front end, but the web front end occasionally loses sight of the services. I wonder if the freshness checking also reads status.dat and is having similar problems? I expect I might have to back out the change and move status.dat back to its original location on the ext3 filesystem. Out of interest, have you moved any of your Nagios files to a ramdisk? I notice the Nagios documentation no longer makes any mention of moving files to ramdisk to improve performance (if it ever did - I can't seem to find the Nagios 2 documentation online any more). If anyone can shed any light on this I'd appreciate it. For the record I'm using Nagios Core 3.2.3 on Ubuntu 08.04.01 LTS Server, installed from tarballs, not packages. Cheers, Jim ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Apr 22 13:43:35 2011 From: m.borsani at it.net (Marco Borsani) Date: Fri, 22 Apr 2011 13:43:35 +0200 Subject: error in nagiosql install Message-ID: <005c01cc00e2$866b2740$934175c0$@it.net> Hi all During the nagiosQL 3.1.1 install I have this page with one error: NagiosQL Installation: Finishing Setup Create new NagiosQL database 1. MySQL server connection (privileged user) passed 2. MySQL server version 5.1.56 3. MySQL server support supported 4. Delete existing NagiosQL database db_nagiosql_v3 done 5. Creating new database db_nagiosql_v3 done 6. Create NagiosQL MySQL user done 7. Update MySQL permissions done 8. Reloading MySQL User Table failed ( Table 'mysql.servers' doesn't exist ) Any idea ? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 22 14:16:22 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Fri, 22 Apr 2011 14:16:22 +0200 (CEST) Subject: error in nagiosql install In-Reply-To: <005c01cc00e2$866b2740$934175c0$@it.net> References: <005c01cc00e2$866b2740$934175c0$@it.net> Message-ID: Hi, mysql.servers does not exist: mysql> use mysql Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +---------------------------+ | Tables_in_mysql | +---------------------------+ | columns_priv | | db | | func | | help_category | | help_keyword | | help_relation | | help_topic | | host | | proc | | procs_priv | | tables_priv | | time_zone | | time_zone_leap_second | | time_zone_name | | time_zone_transition | | time_zone_transition_type | | user | +---------------------------+ 17 rows in set (0.00 sec) Try to go on anyway. You can manually create a user, pass and db and the find, among the installation files, the one holding the db and load it. > > > Hi all > > > > During the nagiosQL 3.1.1 install I have this page with one error: > > > > NagiosQL Installation: Finishing Setup > > > > Create new NagiosQL database > > 1. MySQL server connection (privileged user) > passed > > 2. MySQL server version > 5.1.56 > > 3. MySQL server support > supported > > 4. Delete existing NagiosQL database db_nagiosql_v3 done > > 5. Creating new database db_nagiosql_v3 > done > > 6. Create NagiosQL MySQL user > done > > 7. Update MySQL permissions > done > > 8. Reloading MySQL User Table > failed ( Table 'mysql.servers' doesn't exist ) > > Any idea ? > > Regards > > Marco > > ------------------------------------------------------------------------------ > Fulfilling the Lean Software Promise > Lean software platforms are now widely adopted and the benefits have been > demonstrated beyond question. Learn why your peers are replacing JEE > containers with lightweight application servers - and what you can gain > from the move. > http://p.sf.net/sfu/vmware-sfemails_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Apr 22 14:59:00 2011 From: m.borsani at it.net (Marco Borsani) Date: Fri, 22 Apr 2011 14:59:00 +0200 Subject: R: error in nagiosql install In-Reply-To: References: <005c01cc00e2$866b2740$934175c0$@it.net> Message-ID: <007001cc00ed$0fc79910$2f56cb30$@it.net> Hi I saw that mysql.servers table does not exist, but I don't know how going on because I don't know what the automatic procedure has to do. I find this guide: http://nolabnoparty.com/installare-nagios-nagiosql-su-linux-centos-per-il-mo nitoraggio-della-rete/ where you can see tha the steps after "Reloading MySQL User Table" are : - Testing database connection to db_nagiosql_v3 - Writing global settings to database - Writing database configuration to settings php - Set Initial NagiosQL Administrator - Import Nagios sample data Any idea ? Thanks Marco -----Messaggio originale----- Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: venerd? 22 aprile 2011 14:16 A: Nagios Users List Oggetto: Re: [Nagios-users] error in nagiosql install Hi, mysql.servers does not exist: mysql> use mysql Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +---------------------------+ | Tables_in_mysql | +---------------------------+ | columns_priv | | db | | func | | help_category | | help_keyword | | help_relation | | help_topic | | host | | proc | | procs_priv | | tables_priv | | time_zone | | time_zone_leap_second | | time_zone_name | | time_zone_transition | | time_zone_transition_type | | user | +---------------------------+ 17 rows in set (0.00 sec) Try to go on anyway. You can manually create a user, pass and db and the find, among the installation files, the one holding the db and load it. > > > Hi all > > > > During the nagiosQL 3.1.1 install I have this page with one error: > > > > NagiosQL Installation: Finishing Setup > > > > Create new NagiosQL database > > 1. MySQL server connection (privileged user) > passed > > 2. MySQL server version > 5.1.56 > > 3. MySQL server support > supported > > 4. Delete existing NagiosQL database db_nagiosql_v3 done > > 5. Creating new database db_nagiosql_v3 > done > > 6. Create NagiosQL MySQL user > done > > 7. Update MySQL permissions > done > > 8. Reloading MySQL User Table > failed ( Table 'mysql.servers' doesn't exist ) > > Any idea ? > > Regards > > Marco > > ---------------------------------------------------------------------- > -------- > Fulfilling the Lean Software Promise > Lean software platforms are now widely adopted and the benefits have > been demonstrated beyond question. Learn why your peers are replacing > JEE containers with lightweight application servers - and what you can > gain from the move. > http://p.sf.net/sfu/vmware-sfemails___________________________________ > ____________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Shaffer at crown.com Fri Apr 22 16:01:12 2011 From: Jason.Shaffer at crown.com (Jason.Shaffer at crown.com) Date: Fri, 22 Apr 2011 10:01:12 -0400 Subject: AUTO: Jason Shaffer is out of the office. (returning 05/02/2011) Message-ID: I am out of the office until 05/02/2011. I will respond to your message when I return. If you need immediate assistance please call 419-629-3097 and someone will be able to assist you. Note: This is an automated response to your message "[Nagios-users] error in nagiosql install" sent on 4/22/2011 7:43:35 AM. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Sat Apr 23 05:26:57 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Fri, 22 Apr 2011 20:26:57 -0700 (PDT) Subject: (no subject) Message-ID: <314770.42584.qm@web36505.mail.mud.yahoo.com> Cool sensations during sex!. http://rico_85.perso.neuf.fr/page.php?qgoogleId=04s2 ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 23 12:56:41 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Sat, 23 Apr 2011 12:56:41 +0200 Subject: R: error in nagiosql install In-Reply-To: <007001cc00ed$0fc79910$2f56cb30$@it.net> References: <005c01cc00e2$866b2740$934175c0$@it.net> <007001cc00ed$0fc79910$2f56cb30$@it.net> Message-ID: <81DC8182-A32D-4DA3-ACDB-FCB3F066B452@linux.it> If you can wait till thue I can try to give you step Bu step instructions on how to install NagiosQl by hands. Ciao, Giorgio Il giorno 22/apr/2011, alle ore 14:59, "Marco Borsani" ha scritto: > Hi > I saw that mysql.servers table does not exist, but I don't know how going on > because I don't know what the automatic procedure has to do. > > I find this guide: > http://nolabnoparty.com/installare-nagios-nagiosql-su-linux-centos-per-il-mo > nitoraggio-della-rete/ > > where you can see tha the steps after "Reloading MySQL User Table" are : > - Testing database connection to db_nagiosql_v3 > - Writing global settings to database > - Writing database configuration to settings php > - Set Initial NagiosQL Administrator > - Import Nagios sample data > > > Any idea ? > Thanks > > Marco > > > -----Messaggio originale----- > Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Inviato: venerd? 22 aprile 2011 14:16 > A: Nagios Users List > Oggetto: Re: [Nagios-users] error in nagiosql install > > Hi, > > mysql.servers does not exist: > > mysql> use mysql > Reading table information for completion of table and column names You can > turn off this feature to get a quicker startup with -A > > Database changed > mysql> show tables; > +---------------------------+ > | Tables_in_mysql | > +---------------------------+ > | columns_priv | > | db | > | func | > | help_category | > | help_keyword | > | help_relation | > | help_topic | > | host | > | proc | > | procs_priv | > | tables_priv | > | time_zone | > | time_zone_leap_second | > | time_zone_name | > | time_zone_transition | > | time_zone_transition_type | > | user | > +---------------------------+ > 17 rows in set (0.00 sec) > > Try to go on anyway. You can manually create a user, pass and db and the > find, among the installation files, the one holding the db and load it. > > > >> >> >> Hi all >> >> >> >> During the nagiosQL 3.1.1 install I have this page with one error: >> >> >> >> NagiosQL Installation: Finishing Setup >> >> >> >> Create new NagiosQL database >> >> 1. MySQL server connection (privileged user) >> passed >> >> 2. MySQL server version >> 5.1.56 >> >> 3. MySQL server support >> supported >> >> 4. Delete existing NagiosQL database db_nagiosql_v3 done >> >> 5. Creating new database db_nagiosql_v3 >> done >> >> 6. Create NagiosQL MySQL user >> done >> >> 7. Update MySQL permissions >> done >> >> 8. Reloading MySQL User Table >> failed ( Table 'mysql.servers' doesn't exist ) >> >> Any idea ? >> >> Regards >> >> Marco >> >> ---------------------------------------------------------------------- >> -------- >> Fulfilling the Lean Software Promise >> Lean software platforms are now widely adopted and the benefits have >> been demonstrated beyond question. Learn why your peers are replacing >> JEE containers with lightweight application servers - and what you can >> gain from the move. >> http://p.sf.net/sfu/vmware-sfemails___________________________________ >> ____________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > ---------------------------------------------------------------------------- > -- > Fulfilling the Lean Software Promise > Lean software platforms are now widely adopted and the benefits have been > demonstrated beyond question. Learn why your peers are replacing JEE > containers with lightweight application servers - and what you can gain from > the move. http://p.sf.net/sfu/vmware-sfemails > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benj at dotnul.com Sun Apr 24 15:45:43 2011 From: benj at dotnul.com (Benjamin KRAFT) Date: Sun, 24 Apr 2011 15:45:43 +0200 Subject: check_dig not working as expected (plugins 1.4.15) Message-ID: Hello, I just wanted to pop-out if nobody already did that check_dig doesn't behave like it should on my centos machine. I was trying to validate the fact that my authoritative server at 80.92.90.249 resolves my website to the corresponding ip address, like this : [root at nagg ns1]# /usr/local/nagios/libexec/check_dig -H 80.92.90.249 -l www.dotnul.com -a 78.46.96.219 -A "+tcp" DNS OK - 0.009 seconds response time (www.dotnul.com. 3600 IN A 78.46.96.219)|time=0.009035s;;;0.000000 That's ok - but I noticed when I misspasted the expected return IP address, that the check returns OK if I put the address of the queried server as expected result. [root at nagg ns1]# /usr/local/nagios/libexec/check_dig -H 80.92.90.249 -l www.dotnul.com -a 80.92.90.249 -A "+tcp" DNS OK - 0.006 seconds response time (;; SERVER: 80.92.90.249#53(80.92.90.249))|time=0.006368s;;;0.000000 The return of the dig query is : [root at nagg ns1]# dig www.dotnul.com @80.92.90.249 +tcp ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> www.dotnul.com @80.92.90.249 +tcp ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1842 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.dotnul.com. IN A ;; ANSWER SECTION: www.dotnul.com. 3600 IN A 78.46.96.219 ;; AUTHORITY SECTION: dotnul.com. 86400 IN NS ether.dotnul.org. dotnul.com. 86400 IN NS hypnos.dotnul.org. dotnul.com. 86400 IN NS tanathos.dotnul.org. ;; Query time: 1 msec ;; SERVER: 80.92.90.249#53(80.92.90.249) ;; WHEN: Sun Apr 24 13:44:12 2011 ;; MSG SIZE rcvd: 122 By having an eye on nagios-plugins-1.4.15/plugins/check_dig.c, it looks like the following code is involved : for(i = 0; i < chld_out.lines; i++) { /* the server is responding, we just got the host name... */ if (strstr (chld_out.line[i], ";; ANSWER SECTION:")) { /* loop through the whole 'ANSWER SECTION' */ for(; i < chld_out.lines; i++) { /* get the host address */ if (verbose) printf ("%s\n", chld_out.line[i]); if (strstr (chld_out.line[i], (expected_address == NULL ? query_address : expected_address)) != NULL) { msg = chld_out.line[i]; result = STATE_OK; /* Translate output TAB -> SPACE */ t = msg; while ((t = strchr(t, '\t')) != NULL) *t = ' '; break; } } if (result == STATE_UNKNOWN) { msg = (char *)_("Server not found in ANSWER SECTION"); result = STATE_WARNING; } /* we found the answer section, so break out of the loop */ break; } } Shouldn't the command stop reading any following line beginning with ";; " after finding the ANSWER section instead of searching a match in everything until end of chld_out ? Kind regards, Benjamin ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbarszcz at gmail.com Sun Apr 24 19:37:44 2011 From: dbarszcz at gmail.com (David Barszcz) Date: Sun, 24 Apr 2011 12:37:44 -0500 Subject: monitor download rate Message-ID: hi, New to nagios here. I would like to monitor download rate and and bandwidth available? any suggestions would be great thanks. dave -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Sun Apr 24 22:44:56 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Sun, 24 Apr 2011 13:44:56 -0700 (PDT) Subject: (no subject) Message-ID: <847298.1445.qm@web36506.mail.mud.yahoo.com> There?s nothing better to sitting at your home and visiting this site.... http://freakybones.com/page.php?azgoogleId=57n8 ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Mon Apr 25 03:37:10 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Mon, 25 Apr 2011 09:37:10 +0800 Subject: check_dig not working as expected (plugins 1.4.15) In-Reply-To: References: Message-ID: use check_dns On Sun, Apr 24, 2011 at 9:45 PM, Benjamin KRAFT wrote: > Hello, > > I just wanted to pop-out if nobody already did that check_dig doesn't behave like it should on my centos machine. > > I was trying to validate the fact that my authoritative server at 80.92.90.249 resolves my website to the corresponding ip address, like this : > > [root at nagg ns1]# /usr/local/nagios/libexec/check_dig -H 80.92.90.249 -l www.dotnul.com -a 78.46.96.219 -A "+tcp" > DNS OK - 0.009 seconds response time (www.dotnul.com. ?3600 IN A 78.46.96.219)|time=0.009035s;;;0.000000 > > That's ok - but I noticed when I misspasted the expected return IP address, that the check returns OK if I put the address of the queried server as expected result. > > [root at nagg ns1]# /usr/local/nagios/libexec/check_dig -H 80.92.90.249 -l www.dotnul.com -a 80.92.90.249 -A "+tcp" > DNS OK - 0.006 seconds response time (;; SERVER: 80.92.90.249#53(80.92.90.249))|time=0.006368s;;;0.000000 > > The return of the dig query is : > > [root at nagg ns1]# dig www.dotnul.com @80.92.90.249 +tcp > > ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> www.dotnul.com @80.92.90.249 +tcp > ;; global options: ?printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1842 > ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;www.dotnul.com. ? ? ? ? ? ? ? ? ? ? ? ?IN ? ? ?A > > ;; ANSWER SECTION: > www.dotnul.com. ? ? ? ? 3600 ? ?IN ? ? ?A ? ? ? 78.46.96.219 > > ;; AUTHORITY SECTION: > dotnul.com. ? ? ? ? ? ? 86400 ? IN ? ? ?NS ? ? ?ether.dotnul.org. > dotnul.com. ? ? ? ? ? ? 86400 ? IN ? ? ?NS ? ? ?hypnos.dotnul.org. > dotnul.com. ? ? ? ? ? ? 86400 ? IN ? ? ?NS ? ? ?tanathos.dotnul.org. > > ;; Query time: 1 msec > ;; SERVER: 80.92.90.249#53(80.92.90.249) > ;; WHEN: Sun Apr 24 13:44:12 2011 > ;; MSG SIZE ?rcvd: 122 > > By having an eye on nagios-plugins-1.4.15/plugins/check_dig.c, it looks like the following code is involved : > > ?for(i = 0; i < chld_out.lines; i++) { > ? ?/* the server is responding, we just got the host name... */ > ? ?if (strstr (chld_out.line[i], ";; ANSWER SECTION:")) { > > ? ? ?/* loop through the whole 'ANSWER SECTION' */ > ? ? ?for(; i < chld_out.lines; i++) { > ? ? ? ?/* get the host address */ > ? ? ? ?if (verbose) > ? ? ? ? ?printf ("%s\n", chld_out.line[i]); > > ? ? ? ?if (strstr (chld_out.line[i], (expected_address == NULL ? query_address : expected_address)) != NULL) { > ? ? ? ? ?msg = chld_out.line[i]; > ? ? ? ? ?result = STATE_OK; > > ? ? ? ? ?/* Translate output TAB -> SPACE */ > ? ? ? ? ?t = msg; > ? ? ? ? ?while ((t = strchr(t, '\t')) != NULL) *t = ' '; > ? ? ? ? ?break; > ? ? ? ?} > ? ? ?} > > ? ? ?if (result == STATE_UNKNOWN) { > ? ? ? ?msg = (char *)_("Server not found in ANSWER SECTION"); > ? ? ? ?result = STATE_WARNING; > ? ? ?} > > ? ? ?/* we found the answer section, so break out of the loop */ > ? ? ?break; > ? ?} > ?} > > Shouldn't the command stop reading any following line beginning with ";; " after finding the ANSWER section instead of searching a match in everything until end of chld_out ? > > Kind regards, > > Benjamin > > > ------------------------------------------------------------------------------ > Fulfilling the Lean Software Promise > Lean software platforms are now widely adopted and the benefits have been > demonstrated beyond question. Learn why your peers are replacing JEE > containers with lightweight application servers - and what you can gain > from the move. http://p.sf.net/sfu/vmware-sfemails > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benj at dotnul.com Mon Apr 25 13:52:58 2011 From: benj at dotnul.com (Benjamin KRAFT) Date: Mon, 25 Apr 2011 13:52:58 +0200 Subject: check_dig not working as expected (plugins 1.4.15) In-Reply-To: References: Message-ID: <2CC0E58D-237A-44F2-B58A-2B1CBB1D1373@dotnul.com> Hello, Well, unless I'm very wrong, check_dns doesn't permit to choose what type of record you want to query (eg. using -q=MX nslookup command line option). Kind regards, Benjamin Le 25 avr. 2011 ? 03:37, Yueh-Hung Liu a ?crit : > use check_dns > > > On Sun, Apr 24, 2011 at 9:45 PM, Benjamin KRAFT wrote: >> Hello, >> >> I just wanted to pop-out if nobody already did that check_dig doesn't behave like it should on my centos machine. >> >> I was trying to validate the fact that my authoritative server at 80.92.90.249 resolves my website to the corresponding ip address, like this : >> >> [root at nagg ns1]# /usr/local/nagios/libexec/check_dig -H 80.92.90.249 -l www.dotnul.com -a 78.46.96.219 -A "+tcp" >> DNS OK - 0.009 seconds response time (www.dotnul.com. 3600 IN A 78.46.96.219)|time=0.009035s;;;0.000000 >> >> That's ok - but I noticed when I misspasted the expected return IP address, that the check returns OK if I put the address of the queried server as expected result. >> >> [root at nagg ns1]# /usr/local/nagios/libexec/check_dig -H 80.92.90.249 -l www.dotnul.com -a 80.92.90.249 -A "+tcp" >> DNS OK - 0.006 seconds response time (;; SERVER: 80.92.90.249#53(80.92.90.249))|time=0.006368s;;;0.000000 >> >> The return of the dig query is : >> >> [root at nagg ns1]# dig www.dotnul.com @80.92.90.249 +tcp >> >> ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> www.dotnul.com @80.92.90.249 +tcp >> ;; global options: printcmd >> ;; Got answer: >> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1842 >> ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0 >> >> ;; QUESTION SECTION: >> ;www.dotnul.com. IN A >> >> ;; ANSWER SECTION: >> www.dotnul.com. 3600 IN A 78.46.96.219 >> >> ;; AUTHORITY SECTION: >> dotnul.com. 86400 IN NS ether.dotnul.org. >> dotnul.com. 86400 IN NS hypnos.dotnul.org. >> dotnul.com. 86400 IN NS tanathos.dotnul.org. >> >> ;; Query time: 1 msec >> ;; SERVER: 80.92.90.249#53(80.92.90.249) >> ;; WHEN: Sun Apr 24 13:44:12 2011 >> ;; MSG SIZE rcvd: 122 >> >> By having an eye on nagios-plugins-1.4.15/plugins/check_dig.c, it looks like the following code is involved : >> >> for(i = 0; i < chld_out.lines; i++) { >> /* the server is responding, we just got the host name... */ >> if (strstr (chld_out.line[i], ";; ANSWER SECTION:")) { >> >> /* loop through the whole 'ANSWER SECTION' */ >> for(; i < chld_out.lines; i++) { >> /* get the host address */ >> if (verbose) >> printf ("%s\n", chld_out.line[i]); >> >> if (strstr (chld_out.line[i], (expected_address == NULL ? query_address : expected_address)) != NULL) { >> msg = chld_out.line[i]; >> result = STATE_OK; >> >> /* Translate output TAB -> SPACE */ >> t = msg; >> while ((t = strchr(t, '\t')) != NULL) *t = ' '; >> break; >> } >> } >> >> if (result == STATE_UNKNOWN) { >> msg = (char *)_("Server not found in ANSWER SECTION"); >> result = STATE_WARNING; >> } >> >> /* we found the answer section, so break out of the loop */ >> break; >> } >> } >> >> Shouldn't the command stop reading any following line beginning with ";; " after finding the ANSWER section instead of searching a match in everything until end of chld_out ? >> >> Kind regards, >> >> Benjamin >> >> >> ------------------------------------------------------------------------------ >> Fulfilling the Lean Software Promise >> Lean software platforms are now widely adopted and the benefits have been >> demonstrated beyond question. Learn why your peers are replacing JEE >> containers with lightweight application servers - and what you can gain >> from the move. http://p.sf.net/sfu/vmware-sfemails >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > Fulfilling the Lean Software Promise > Lean software platforms are now widely adopted and the benefits have been > demonstrated beyond question. Learn why your peers are replacing JEE > containers with lightweight application servers - and what you can gain > from the move. http://p.sf.net/sfu/vmware-sfemails > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjest at u.washington.edu Mon Apr 25 19:16:19 2011 From: jjest at u.washington.edu (Jeremiah D. Jester) Date: Mon, 25 Apr 2011 10:16:19 -0700 Subject: monitor download rate In-Reply-To: References: Message-ID: <14C6C8313F1842459FAAD0B3FEB9E42C817DF61C@ads-mbx-02.exchange.washington.edu> David, Not sure if this is what you're after but I've written a python script that monitors RX and TX bytes received on all active adapters. It's a more of a per adapter usage summary report than anything. Tested and working on RHEL and Ubuntu. JJ [root at jackson ~]# /usr/local/nrpe/libexec/check_bandwidth eth0 - Receive: 412546MB Transmit: 394065MB, Jeremiah Jester Informatics Specialist Microbiology - Katze Lab 206-732-6185 From: David Barszcz [mailto:dbarszcz at gmail.com] Sent: Sunday, April 24, 2011 10:38 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] monitor download rate hi, New to nagios here. I would like to monitor download rate and and bandwidth available? any suggestions would be great thanks. dave -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_bandwidth Type: application/octet-stream Size: 993 bytes Desc: check_bandwidth URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 26 08:40:02 2011 From: m.borsani at it.net (Marco Borsani) Date: Tue, 26 Apr 2011 08:40:02 +0200 Subject: R: R: error in nagiosql install In-Reply-To: <81DC8182-A32D-4DA3-ACDB-FCB3F066B452@linux.it> References: <005c01cc00e2$866b2740$934175c0$@it.net> <007001cc00ed$0fc79910$2f56cb30$@it.net> <81DC8182-A32D-4DA3-ACDB-FCB3F066B452@linux.it> Message-ID: <008401cc03dc$c89d4420$59d7cc60$@it.net> Ok, thank you very much. I also tried to uninstall mysql and install it again ... same result :( In the "checking requirements", I have always two warnings: - SSH2: Not available (but I am connecting to that host via ssh2) - Settings file does not exist (config/settings.php): will be created (but the file exist and I wrote inside: physical = /var/www/html/nagiosql/) Must Nagios be up and running or stopped ? Marco -----Messaggio originale----- Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: sabato 23 aprile 2011 12:57 A: Marco Borsani Cc: Nagios Users List Oggetto: Re: R: [Nagios-users] error in nagiosql install If you can wait till thue I can try to give you step Bu step instructions on how to install NagiosQl by hands. Ciao, Giorgio Il giorno 22/apr/2011, alle ore 14:59, "Marco Borsani" ha scritto: > Hi > I saw that mysql.servers table does not exist, but I don't know how > going on because I don't know what the automatic procedure has to do. > > I find this guide: > http://nolabnoparty.com/installare-nagios-nagiosql-su-linux-centos-per > -il-mo > nitoraggio-della-rete/ > > where you can see tha the steps after "Reloading MySQL User Table" are : > - Testing database connection to db_nagiosql_v3 > - Writing global settings to database > - Writing database configuration to settings php > - Set Initial NagiosQL Administrator > - Import Nagios sample data > > > Any idea ? > Thanks > > Marco > > > -----Messaggio originale----- > Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Inviato: venerd 22 aprile 2011 14:16 > A: Nagios Users List > Oggetto: Re: [Nagios-users] error in nagiosql install > > Hi, > > mysql.servers does not exist: > > mysql> use mysql > Reading table information for completion of table and column names You > can turn off this feature to get a quicker startup with -A > > Database changed > mysql> show tables; > +---------------------------+ > | Tables_in_mysql | > +---------------------------+ > | columns_priv | > | db | > | func | > | help_category | > | help_keyword | > | help_relation | > | help_topic | > | host | > | proc | > | procs_priv | > | tables_priv | > | time_zone | > | time_zone_leap_second | > | time_zone_name | > | time_zone_transition | > | time_zone_transition_type | > | user | > +---------------------------+ > 17 rows in set (0.00 sec) > > Try to go on anyway. You can manually create a user, pass and db and > the find, among the installation files, the one holding the db and load it. > > > >> >> >> Hi all >> >> >> >> During the nagiosQL 3.1.1 install I have this page with one error: >> >> >> >> NagiosQL Installation: Finishing Setup >> >> >> >> Create new NagiosQL database >> >> 1. MySQL server connection (privileged user) >> passed >> >> 2. MySQL server version >> 5.1.56 >> >> 3. MySQL server support >> supported >> >> 4. Delete existing NagiosQL database db_nagiosql_v3 done >> >> 5. Creating new database db_nagiosql_v3 >> done >> >> 6. Create NagiosQL MySQL user >> done >> >> 7. Update MySQL permissions >> done >> >> 8. Reloading MySQL User Table >> failed ( Table 'mysql.servers' doesn't exist ) >> >> Any idea ? >> >> Regards >> >> Marco >> >> --------------------------------------------------------------------- >> - >> -------- >> Fulfilling the Lean Software Promise >> Lean software platforms are now widely adopted and the benefits have >> been demonstrated beyond question. Learn why your peers are replacing >> JEE containers with lightweight application servers - and what you >> can gain from the move. >> http://p.sf.net/sfu/vmware-sfemails__________________________________ >> _ >> ____________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null > > > > ---------------------------------------------------------------------- > ------ > -- > Fulfilling the Lean Software Promise > Lean software platforms are now widely adopted and the benefits have > been demonstrated beyond question. Learn why your peers are replacing > JEE containers with lightweight application servers - and what you can > gain from the move. http://p.sf.net/sfu/vmware-sfemails > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Tue Apr 26 10:00:01 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Tue, 26 Apr 2011 10:00:01 +0200 Subject: OpenNMS has REARMED value Message-ID: <1303804801.4196.1.camel@endlessdream> Hello! OpenNMS has a rearmed value, if you set this lower than the alarm value, you will get something nice out of it. but the question is, can Nagios have a WARNING value and a "OK" value ? Best Regards Patrik -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Tue Apr 26 10:07:00 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 26 Apr 2011 10:07:00 +0200 Subject: check_openmanage In-Reply-To: <8586294.1515169.1303226026104.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> (Ashcor Technologies's message of "Tue, 19 Apr 2011 11:13:45 -0400 (EDT)") References: <8586294.1515169.1303226026104.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> Message-ID: <15tboztiggr.fsf@tux.uio.no> Ashcor Technologies writes: > on two of my dell servers check_openmanage (via nsclient++ and nrpe) > return the same error: > > "Use of uninitialized value in concatenation (.) or string at > script/check_openmanage.pl line 1386." > > both dell systems are running the latest OpenManage version 6.5.0. Hi Jeff, Which version of check_openmanage is this? Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 26 10:34:49 2011 From: m.borsani at it.net (Marco Borsani) Date: Tue, 26 Apr 2011 10:34:49 +0200 Subject: R: R: R: error in nagiosql install In-Reply-To: References: <005c01cc00e2$866b2740$934175c0$@it.net> <007001cc00ed$0fc79910$2f56cb30$@it.net> <81DC8182-A32D-4DA3-ACDB-FCB3F066B452@linux.it> <008401cc03dc$c89d4420$59d7cc60$@it.net> Message-ID: <00a801cc03ec$d151dcb0$73f59610$@it.net> Well I download nagiosql 3.1.1 again. Uncompress and move it to /var/www/html/nagiosql [root]# ls -la drwxr-xr-x 10 root root 4096 26 apr 10:13 . drwxr-xr-x 4 root root 4096 26 apr 10:13 .. drwxr-xr-x 2 root root 4096 26 apr 10:13 admin -rw-r--r-- 1 root root 7883 26 apr 10:13 admin.php drwxrwxrwx 3 root root 4096 26 apr 10:13 config -rw-r--r-- 1 root root 1150 26 apr 10:13 favicon.ico drwxr-xr-x 4 root root 4096 26 apr 10:13 functions drwxr-xr-x 2 root root 4096 26 apr 10:13 images -rw-r--r-- 1 root root 2577 26 apr 10:13 index.php drwxr-xr-x 8 root root 4096 26 apr 10:13 install drwxr-xr-x 3 root root 4096 26 apr 10:13 libraries drwxr-xr-x 2 root root 4096 26 apr 10:13 scripts drwxr-xr-x 4 root root 4096 26 apr 10:13 templates I set a new mysql root password. I see that I have not config/settings.php file and see same warning (see Check.pg) [root]# ls -la config rwxrwxrwx 3 root root 4096 26 apr 10:13 . drwxr-xr-x 10 root root 4096 26 apr 10:13 .. -rw-r--r-- 1 root root 26286 26 apr 10:13 fieldvars.php drwxr-xr-x 15 root root 4096 26 apr 10:13 locale -rw-r--r-- 1 root root 10277 26 apr 10:13 main.css Running the installation I still have same problem (see the Error.jpg) Reading nagiosql documentation I see: Requirements Webserver e.g. Apache 1.x or above PHP 4.3 or above MySQL 4.1 or above Nagios 2 or above PEAR Module: HTML_Template_IT 1.1 or above PHP Extension: gettext PHP Extension: mysql PHP Extension: ftp Javascript enabled at your Webbrowser How can I verify/install PEAR MODULE and the three PHP extensions ? Regards -----Messaggio originale----- Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: marted? 26 aprile 2011 09:36 A: Marco Borsani Cc: 'Giorgio Zarrelli'; 'Nagios Users List' Oggetto: Re: R: R: [Nagios-users] error in nagiosql install Hi, > In the "checking requirements", I have always two warnings: > - SSH2: Not available (but I am connecting to that host via ssh2) It's an OPTIONAL PECL PHP extension. So, if you do not have it, do not mind. As you can read from this documenti (http://www.nagiosql.org/component/content/article/1-latest-news/105-nagiosq l-310.html) "SSH/SFTP support for remote domains authencation by username and password or by SSH-Key verifiy and restart remote installation with SSH" So if you do not need ssh auth on remote domains (the domain is a config container in NagioSQL, not a real internet domani), you may not install it. If you want to install the SSH PHP extension, keep in mind it's a PECL extension. I do not use CentOS, so, I can't say to you how to do with yum. Here (http://stackoverflow.com/questions/561024/install-pecl-ssh2-extension-for-p hp) they say it can be done this way: yum install libssh2-devel The source tgz is here (http://pecl.php.net/package/ssh2) Here some infos on PECL installation (http://php.net/manual/en/install.pecl.php) I installed a NagioSQL and kept some screenshot I attached to this email. Check what I did and see if it matches with what you did. Giorgio > - Settings file does not exist (config/settings.php): will be created > (but the file exist and I wrote inside: physical = > /var/www/html/nagiosql/) > > Must Nagios be up and running or stopped ? > > Marco > > -----Messaggio originale----- > Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Inviato: sabato 23 aprile 2011 12:57 > A: Marco Borsani > Cc: Nagios Users List > Oggetto: Re: R: [Nagios-users] error in nagiosql install > > If you can wait till thue I can try to give you step Bu step > instructions on how to install NagiosQl by hands. > > Ciao, > > Giorgio > > Il giorno 22/apr/2011, alle ore 14:59, "Marco Borsani" > ha scritto: > >> Hi >> I saw that mysql.servers table does not exist, but I don't know how >> going on because I don't know what the automatic procedure has to do. >> >> I find this guide: >> http://nolabnoparty.com/installare-nagios-nagiosql-su-linux-centos-pe >> r >> -il-mo >> nitoraggio-della-rete/ >> >> where you can see tha the steps after "Reloading MySQL User Table" are : >> - Testing database connection to db_nagiosql_v3 >> - Writing global settings to database >> - Writing database configuration to settings php >> - Set Initial NagiosQL Administrator >> - Import Nagios sample data >> >> >> Any idea ? >> Thanks >> >> Marco >> >> >> -----Messaggio originale----- >> Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] >> Inviato: venerd 22 aprile 2011 14:16 >> A: Nagios Users List >> Oggetto: Re: [Nagios-users] error in nagiosql install >> >> Hi, >> >> mysql.servers does not exist: >> >> mysql> use mysql >> Reading table information for completion of table and column names >> You can turn off this feature to get a quicker startup with -A >> >> Database changed >> mysql> show tables; >> +---------------------------+ >> | Tables_in_mysql | >> +---------------------------+ >> | columns_priv | >> | db | >> | func | >> | help_category | >> | help_keyword | >> | help_relation | >> | help_topic | >> | host | >> | proc | >> | procs_priv | >> | tables_priv | >> | time_zone | >> | time_zone_leap_second | >> | time_zone_name | >> | time_zone_transition | >> | time_zone_transition_type | >> | user | >> +---------------------------+ >> 17 rows in set (0.00 sec) >> >> Try to go on anyway. You can manually create a user, pass and db and >> the find, among the installation files, the one holding the db and >> load it. >> >> >> >>> >>> >>> Hi all >>> >>> >>> >>> During the nagiosQL 3.1.1 install I have this page with one error: >>> >>> >>> >>> NagiosQL Installation: Finishing Setup >>> >>> >>> >>> Create new NagiosQL database >>> >>> 1. MySQL server connection (privileged user) >>> passed >>> >>> 2. MySQL server version >>> 5.1.56 >>> >>> 3. MySQL server support >>> supported >>> >>> 4. Delete existing NagiosQL database db_nagiosql_v3 >>> done >>> >>> 5. Creating new database db_nagiosql_v3 >>> done >>> >>> 6. Create NagiosQL MySQL user >>> done >>> >>> 7. Update MySQL permissions >>> done >>> >>> 8. Reloading MySQL User Table >>> failed ( Table 'mysql.servers' doesn't exist ) >>> >>> Any idea ? >>> >>> Regards >>> >>> Marco >>> >>> -------------------------------------------------------------------- >>> - >>> - >>> -------- >>> Fulfilling the Lean Software Promise Lean software platforms are now >>> widely adopted and the benefits have been demonstrated beyond >>> question. Learn why your peers are replacing JEE containers with >>> lightweight application servers - and what you can gain from the >>> move. >>> http://p.sf.net/sfu/vmware-sfemails_________________________________ >>> _ >>> _ >>> ____________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to >>> /dev/null >> >> >> >> --------------------------------------------------------------------- >> - >> ------ >> -- >> Fulfilling the Lean Software Promise >> Lean software platforms are now widely adopted and the benefits have >> been demonstrated beyond question. Learn why your peers are replacing >> JEE containers with lightweight application servers - and what you >> can gain from the move. http://p.sf.net/sfu/vmware-sfemails >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > -------------- next part -------------- A non-text attachment was scrubbed... Name: check.jpg Type: image/jpeg Size: 64798 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Error.jpg Type: image/jpeg Size: 66318 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 26 10:43:11 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 26 Apr 2011 10:43:11 +0200 (CEST) Subject: error in nagiosql install In-Reply-To: <00a801cc03ec$d151dcb0$73f59610$@it.net> References: <005c01cc00e2$866b2740$934175c0$@it.net> <007001cc00ed$0fc79910$2f56cb30$@it.net> <81DC8182-A32D-4DA3-ACDB-FCB3F066B452@linux.it> <008401cc03dc$c89d4420$59d7cc60$@it.net> <00a801cc03ec$d151dcb0$73f59610$@it.net> Message-ID: <702376660703a95a42d2e7e0aa04660a.squirrel@picard.linux.it> Hi, > [root]# ls -la > drwxr-xr-x 10 root root 4096 26 apr 10:13 . > drwxr-xr-x 4 root root 4096 26 apr 10:13 .. > drwxrwxrwx 3 root root 4096 26 apr 10:13 config 777 on the config dir makes me howling to the moon, anyway settings.php will be created by the web wizard and with 777 you won't have any problems writing in it. > How can I verify/install PEAR MODULE and the three PHP extensions ? install php-pear with yum, then: pear install HTML_Template_IT Giorgio ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 26 10:49:10 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 26 Apr 2011 10:49:10 +0200 (CEST) Subject: error in nagiosql install In-Reply-To: <00a801cc03ec$d151dcb0$73f59610$@it.net> References: <005c01cc00e2$866b2740$934175c0$@it.net> <007001cc00ed$0fc79910$2f56cb30$@it.net> <81DC8182-A32D-4DA3-ACDB-FCB3F066B452@linux.it> <008401cc03dc$c89d4420$59d7cc60$@it.net> <00a801cc03ec$d151dcb0$73f59610$@it.net> Message-ID: <448d8abecbefc520aacc74bb6a48f7d5.squirrel@picard.linux.it> Hi, googling I found that the 'mysql.servers' error might be a mysql privileges bug that you can fix running the mysql_fix_privilege_tables script. See this bug report: http://bugs.mysql.com/bug.php?id=28680 Or you can use this workaround creating the servers table by hands with the following statement (you have to log on your console and enter the mysql cli): CREATE TABLE `servers` ( `Server_name` char(64) NOT NULL, `Host` char(64) NOT NULL, `Db` char(64) NOT NULL, `Username` char(64) NOT NULL, `Password` char(64) NOT NULL, `Port` int(4) DEFAULT NULL, `Socket` char(64) DEFAULT NULL, `Wrapper` char(64) NOT NULL, `Owner` char(64) NOT NULL, PRIMARY KEY (`Server_name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='MySQL Foreign Servers table'; http://forums.mysql.com/read.php?11,142598,160503#msg-160503 Giorgio ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abatourab.ali at gmail.com Tue Apr 26 11:00:14 2011 From: abatourab.ali at gmail.com (ali abatourab) Date: Tue, 26 Apr 2011 13:00:14 +0400 Subject: how to check scheduler task in windows Message-ID: hello every body please i need help for checking my scheduler task in windows with nagios , like task start ,task error .....and in the same way i want to know if there is anyway to tell nagios to check my output logfile for my backup like backup terminated successfully .... my best regards -- IT Engineer Euroestudios S.L Abu Dhabi (Western Region) P. O. Box: 58945 Tel: +971 2 8840304 Ext: 177 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 26 11:16:52 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 26 Apr 2011 11:16:52 +0200 (CEST) Subject: how to check scheduler task in windows In-Reply-To: References: Message-ID: <04809e918cfca7fc9cb19d1865e5521a.squirrel@picard.linux.it> Hi, the best way to check wether a backup terminated successfully or not is to instruct you backup software to send a SNMP trap to Nagios. Giorgio > hello every body > > please i need help for checking my scheduler task in windows with nagios , > like task start ,task error .....and in the same way i want to know if > there > is anyway to tell nagios to check my output logfile for my backup like > backup terminated successfully .... > > my best regards > > -- > > IT Engineer > Euroestudios S.L > Abu Dhabi (Western Region) > P. O. Box: 58945 > Tel: +971 2 8840304 Ext: 177 > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 26 12:31:45 2011 From: m.borsani at it.net (Marco Borsani) Date: Tue, 26 Apr 2011 12:31:45 +0200 Subject: R: error in nagiosql install In-Reply-To: <448d8abecbefc520aacc74bb6a48f7d5.squirrel@picard.linux.it> References: <005c01cc00e2$866b2740$934175c0$@it.net> <007001cc00ed$0fc79910$2f56cb30$@it.net> <81DC8182-A32D-4DA3-ACDB-FCB3F066B452@linux.it> <008401cc03dc$c89d4420$59d7cc60$@it.net> <00a801cc03ec$d151dcb0$73f59610$@it.net> <448d8abecbefc520aacc74bb6a48f7d5.squirrel@picard.linux.it> Message-ID: <00cd01cc03fd$274b0960$75e11c20$@it.net> That was the problem ! Thank you very much, now it has been solved. Right now I just have an error on nagiosql web site... in the "Tools" section I have the messages (see the attach) : Could not open directory /etc/nagios Could not open directory /etc/nagios/import But I have installed Nagios under /usr/local/nagios like always and I do not find any section to change this setting in the nagiosql pages (to point to the other directory). Marco -----Messaggio originale----- Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: marted? 26 aprile 2011 10:49 A: Marco Borsani Cc: zarrelli at linux.it; 'Nagios Users List' Oggetto: [Nagios-users] error in nagiosql install Hi, googling I found that the 'mysql.servers' error might be a mysql privileges bug that you can fix running the mysql_fix_privilege_tables script. See this bug report: http://bugs.mysql.com/bug.php?id=28680 Or you can use this workaround creating the servers table by hands with the following statement (you have to log on your console and enter the mysql cli): CREATE TABLE `servers` ( `Server_name` char(64) NOT NULL, `Host` char(64) NOT NULL, `Db` char(64) NOT NULL, `Username` char(64) NOT NULL, `Password` char(64) NOT NULL, `Port` int(4) DEFAULT NULL, `Socket` char(64) DEFAULT NULL, `Wrapper` char(64) NOT NULL, `Owner` char(64) NOT NULL, PRIMARY KEY (`Server_name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='MySQL Foreign Servers table'; http://forums.mysql.com/read.php?11,142598,160503#msg-160503 Giorgio -------------- next part -------------- A non-text attachment was scrubbed... Name: Conf_import.jpg Type: image/jpeg Size: 71463 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 26 12:58:43 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 26 Apr 2011 12:58:43 +0200 (CEST) Subject: R: error in nagiosql install In-Reply-To: <00cd01cc03fd$274b0960$75e11c20$@it.net> References: <005c01cc00e2$866b2740$934175c0$@it.net> <007001cc00ed$0fc79910$2f56cb30$@it.net> <81DC8182-A32D-4DA3-ACDB-FCB3F066B452@linux.it> <008401cc03dc$c89d4420$59d7cc60$@it.net> <00a801cc03ec$d151dcb0$73f59610$@it.net> <448d8abecbefc520aacc74bb6a48f7d5.squirrel@picard.linux.it> <00cd01cc03fd$274b0960$75e11c20$@it.net> Message-ID: Hi, you can set NagioSQL paths under: Administration -> Domains -> localhost > That was the problem ! > Thank you very much, now it has been solved. > > Right now I just have an error on nagiosql web site... in the "Tools" > section I have the messages (see the attach) : > Could not open directory /etc/nagios > Could not open directory /etc/nagios/import > But I have installed Nagios under /usr/local/nagios like always and I do > not > find any section to change this setting in the nagiosql pages (to point to > the other directory). > > Marco > > > -----Messaggio originale----- > Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Inviato: marted? 26 aprile 2011 10:49 > A: Marco Borsani > Cc: zarrelli at linux.it; 'Nagios Users List' > Oggetto: [Nagios-users] error in nagiosql install > > Hi, > > googling I found that the 'mysql.servers' error might be a mysql > privileges > bug that you can fix running the > > mysql_fix_privilege_tables > > script. > > See this bug report: > > http://bugs.mysql.com/bug.php?id=28680 > > Or you can use this workaround creating the servers table by hands with > the > following statement (you have to log on your console and enter the mysql > cli): > > CREATE TABLE `servers` ( > `Server_name` char(64) NOT NULL, > `Host` char(64) NOT NULL, > `Db` char(64) NOT NULL, > `Username` char(64) NOT NULL, > `Password` char(64) NOT NULL, > `Port` int(4) DEFAULT NULL, > `Socket` char(64) DEFAULT NULL, > `Wrapper` char(64) NOT NULL, > `Owner` char(64) NOT NULL, > PRIMARY KEY (`Server_name`) > ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='MySQL Foreign Servers > table'; > > > http://forums.mysql.com/read.php?11,142598,160503#msg-160503 > > > Giorgio > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Tue Apr 26 14:37:00 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Tue, 26 Apr 2011 08:37:00 -0400 (EDT) Subject: check_openmanage Message-ID: <3825050.1484149.1303821420271.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> > On Tue, Apr 26, 2011 at 4:07 AM, Trond Hasle Amundsen wrote: > Ashcor Technologies writes: > >> on two of my dell servers check_openmanage (via nsclient++ and nrpe) >> return the same error: >> >> "Use of uninitialized value in concatenation (.) or string at >> script/check_openmanage.pl line 1386." >> >> both dell systems are running the latest OpenManage version 6.5.0. > > Hi Jeff, > > Which version of check_openmanage is this? > > Regards, > -- > Trond H. Amundsen > Center for Information Technology Services, University of Oslo > Trond, Thanks for the reply. I just realized from your question that I'm using a pre-compiled .exe version of your check_openmanage from here: https://www.monitoringexchange.org/inventory/Check-Plugins/Hardware/check_openmanage-exe which was probably created from an older version... Jeff ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Tue Apr 26 15:17:01 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 26 Apr 2011 15:17:01 +0200 Subject: check_openmanage In-Reply-To: <3825050.1484149.1303821420271.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> (Ashcor Technologies's message of "Tue, 26 Apr 2011 08:37:00 -0400 (EDT)") References: <3825050.1484149.1303821420271.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> Message-ID: <15thb9lgnjm.fsf@tux.uio.no> Ashcor Technologies writes: > Thanks for the reply. I just realized from your question that I'm using > a pre-compiled .exe version of your check_openmanage from here: > > https://www.monitoringexchange.org/inventory/Check-Plugins/Hardware/check_openmanage-exe > > which was probably created from an older version... Yeah I think it's pretty old. A PE32 executable for Windows is available in the zip and tar.gz archives, and as a single file download: http://folk.uio.no/trondham/software/check_openmanage.html#download Upgrading to the latest version will probably solve your problem. Let me know if it doesn't. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Tue Apr 26 15:44:13 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Tue, 26 Apr 2011 09:44:13 -0400 (EDT) Subject: check_openmanage Message-ID: <28520525.1488286.1303825453667.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> > On Tue, Apr 26, 2011 at 9:17 AM, Trond Hasle Amundsen wrote: > Ashcor Technologies writes: > >> Thanks for the reply. I just realized from your question that I'm >> using a pre-compiled .exe version of your check_openmanage from here: >> >> https://www.monitoringexchange.org/inventory/Check-Plugins/Hardware/check_openmanage-exe >> >> which was probably created from an older version... > > Yeah I think it's pretty old. A PE32 executable for Windows is > available > in the zip and tar.gz archives, and as a single file download: > > http://folk.uio.no/trondham/software/check_openmanage.html#download > > Upgrading to the latest version will probably solve your problem. Let > me > know if it doesn't. > > Cheers, > -- Trond, thanks for that, I didn't realize you had .exe's in the archives on your site, guess I should have looked ;) now my problem is this... Problem running 'omreport chassis fans': Error! No fan probes found on this system.
Problem running 'omreport chassis temps': Error! No temperature probes found on this system.
Problem running 'omreport chassis volts': Error! No voltage probes found on this system. on the NSC.ini i have the following line added and I restarted the NSClient++ service command[check_openmanage]=check_openmanage.exe -b fan=all even tried command[check_openmanage]=check_openmanage.exe -b fan=0 however it still tries to check the fan. I suppose i have a syntax error? ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Tue Apr 26 15:49:43 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Tue, 26 Apr 2011 09:49:43 -0400 (EDT) Subject: check_openmanage Message-ID: <8380890.1488618.1303825783765.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> > On Tue, Apr 26, 2011 at 9:17 AM, Trond Hasle Amundsen wrote: > Ashcor Technologies writes: > >> Thanks for the reply. I just realized from your question that I'm >> using a pre-compiled .exe version of your check_openmanage from here: >> >> https://www.monitoringexchange.org/inventory/Check-Plugins/Hardware/check_openmanage-exe >> >> which was probably created from an older version... > > Yeah I think it's pretty old. A PE32 executable for Windows is > available > in the zip and tar.gz archives, and as a single file download: > > http://folk.uio.no/trondham/software/check_openmanage.html#download > > Upgrading to the latest version will probably solve your problem. Let > me > know if it doesn't. > > Cheers, > -- > Trond H. Amundsen > Center for Information Technology Services, University of Oslo > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null btw, on the newer system (I had two with this problem) that had the problem, the new .exe has sorted it! Thanks! ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 26 16:00:50 2011 From: m.borsani at it.net (Marco Borsani) Date: Tue, 26 Apr 2011 16:00:50 +0200 Subject: R: R: error in nagiosql install In-Reply-To: References: <005c01cc00e2$866b2740$934175c0$@it.net> <007001cc00ed$0fc79910$2f56cb30$@it.net> <81DC8182-A32D-4DA3-ACDB-FCB3F066B452@linux.it> <008401cc03dc$c89d4420$59d7cc60$@it.net> <00a801cc03ec$d151dcb0$73f59610$@it.net> <448d8abecbefc520aacc74bb6a48f7d5.squirrel@picard.linux.it> <00cd01cc03fd$274b0960$75e11c20$@it.net> Message-ID: <010201cc041a$5c5d7030$15185090$@it.net> Thank you very much. To solve other permissions problems I changed group to many files (putting apache). Moreover I have to change "nagios_group" inside nagios.cfg writtig "apache" instead of "nagios" . On the contrary I saw the message: RESTART FAILED - NAGIOS COMMAND FILE NOT FOUND OR NO EXECUTE PERMISSIONS. Is it normal ? After that ... I "just" have to understand how nagiosQL and Nagios works together ... Regards Marco -----Messaggio originale----- Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: marted? 26 aprile 2011 12:59 A: Marco Borsani Cc: zarrelli at linux.it; 'Nagios Users List' Oggetto: Re: R: [Nagios-users] error in nagiosql install Hi, you can set NagioSQL paths under: Administration -> Domains -> localhost > That was the problem ! > Thank you very much, now it has been solved. > > Right now I just have an error on nagiosql web site... in the "Tools" > section I have the messages (see the attach) : > Could not open directory /etc/nagios > Could not open directory /etc/nagios/import But I have installed > Nagios under /usr/local/nagios like always and I do not find any > section to change this setting in the nagiosql pages (to point to the > other directory). > > Marco > > > -----Messaggio originale----- > Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Inviato: marted? 26 aprile 2011 10:49 > A: Marco Borsani > Cc: zarrelli at linux.it; 'Nagios Users List' > Oggetto: [Nagios-users] error in nagiosql install > > Hi, > > googling I found that the 'mysql.servers' error might be a mysql > privileges bug that you can fix running the > > mysql_fix_privilege_tables > > script. > > See this bug report: > > http://bugs.mysql.com/bug.php?id=28680 > > Or you can use this workaround creating the servers table by hands > with the following statement (you have to log on your console and > enter the mysql > cli): > > CREATE TABLE `servers` ( > `Server_name` char(64) NOT NULL, > `Host` char(64) NOT NULL, > `Db` char(64) NOT NULL, > `Username` char(64) NOT NULL, > `Password` char(64) NOT NULL, > `Port` int(4) DEFAULT NULL, > `Socket` char(64) DEFAULT NULL, > `Wrapper` char(64) NOT NULL, > `Owner` char(64) NOT NULL, > PRIMARY KEY (`Server_name`) > ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='MySQL Foreign Servers > table'; > > > http://forums.mysql.com/read.php?11,142598,160503#msg-160503 > > > Giorgio > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Tue Apr 26 16:24:01 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 26 Apr 2011 16:24:01 +0200 Subject: check_openmanage In-Reply-To: <28520525.1488286.1303825453667.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> (Ashcor Technologies's message of "Tue, 26 Apr 2011 09:44:13 -0400 (EDT)") References: <28520525.1488286.1303825453667.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> Message-ID: <15td3k9gkfy.fsf@tux.uio.no> Ashcor Technologies writes: > now my problem is this... > > Problem running 'omreport chassis fans': Error! No fan probes found on > this system.
Problem running 'omreport chassis temps': Error! No > temperature probes found on this system.
Problem running 'omreport > chassis volts': Error! No voltage probes found on this system. > > on the NSC.ini i have the following line added and I restarted the > NSClient++ service > > command[check_openmanage]=check_openmanage.exe -b fan=all > > even tried > > command[check_openmanage]=check_openmanage.exe -b fan=0 > > however it still tries to check the fan. I suppose i have a syntax > error? No, that is the correct syntax. Blacklisting won't prevent the component class from being checked in the first place, it will only suppress any info about blacklisted components it in the output and plugin return value. To skip fans alltogether use the '--check' option like this: '--check fans=0'. However, unless this is a blade system and the plugin is unable to identify it as such for some reason, your server HAS fan probes and you're having an OMSA problem. The fact that you get errors for other probes such as temperature and voltage confirms this. You need to recheck that OMSA works, that all relevant OMSA components are installed and running etc. It may be as simple as restarting OMSA, but it could also be more complex (e.g. BIOS/firmware upgrade needed). These errors are pretty generic, but the problem is that OMSA isn't working properly on that server. PS. See this URL about configuring Nagios to not escape HTML code in the plugin output (to avoid the literal '
'): http://folk.uio.no/trondham/software/check_openmanage.html#multiline-output Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Tue Apr 26 16:27:03 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Tue, 26 Apr 2011 10:27:03 -0400 (EDT) Subject: check_openmanage Message-ID: <8196208.1491218.1303828023758.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> > On Tue, Apr 26, 2011 at 9:17 AM, Trond Hasle Amundsen wrote: > Ashcor Technologies writes: > >> Thanks for the reply. I just realized from your question that I'm >> using a pre-compiled .exe version of your check_openmanage from here: >> >> https://www.monitoringexchange.org/inventory/Check-Plugins/Hardware/check_openmanage-exe >> >> which was probably created from an older version... > > Yeah I think it's pretty old. A PE32 executable for Windows is > available > in the zip and tar.gz archives, and as a single file download: > > http://folk.uio.no/trondham/software/check_openmanage.html#download > > Upgrading to the latest version will probably solve your problem. Let > me > know if it doesn't. > > Cheers, > -- > Trond H. Amundsen Ok, now new and exciting changes... no matter what I do I get: WARNING PLUGIN TIMEOUT: check_openmanage timed out after 30 seconds. I have -t 60 set on the check_openmanage command and also on the NRPE check command line and in the NSC.ini. nothing seems to change the timout beyond 30 seconds. (yes, I've restarted the nsclient++.exe on the remote server). ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Tue Apr 26 16:44:23 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 26 Apr 2011 16:44:23 +0200 Subject: check_openmanage In-Reply-To: <8196208.1491218.1303828023758.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> (Ashcor Technologies's message of "Tue, 26 Apr 2011 10:27:03 -0400 (EDT)") References: <8196208.1491218.1303828023758.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> Message-ID: <15t4o5lgji0.fsf@tux.uio.no> Ashcor Technologies writes: > Ok, now new and exciting changes... no matter what I do I get: WARNING > PLUGIN TIMEOUT: check_openmanage timed out after 30 seconds. > > I have -t 60 set on the check_openmanage command and also on the NRPE > check command line and in the NSC.ini. nothing seems to change the > timout beyond 30 seconds. > > (yes, I've restarted the nsclient++.exe on the remote server). Hmm.. Unless the server is under very heavy load you're still having OMSA problems. I'm guessing that some probe doesn't respond properly and just hangs. If the problem is load related, you should consider checking via SNMP instead. What model PowerEdge is this btw? Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 26 16:44:42 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 26 Apr 2011 16:44:42 +0200 Subject: R: R: error in nagiosql install In-Reply-To: <010201cc041a$5c5d7030$15185090$@it.net> References: <005c01cc00e2$866b2740$934175c0$@it.net> <007001cc00ed$0fc79910$2f56cb30$@it.net> <81DC8182-A32D-4DA3-ACDB-FCB3F066B452@linux.it> <008401cc03dc$c89d4420$59d7cc60$@it.net> <00a801cc03ec$d151dcb0$73f59610$@it.net> <448d8abecbefc520aacc74bb6a48f7d5.squirrel@picard.linux.it> <00cd01cc03fd$274b0960$75e11c20$@it.net> <010201cc041a$5c5d7030$15185090$@it.net> Message-ID: <863A7402-7A99-4181-A45A-E3C7CA38E944@linux.it> No no no. The trick is to put nagios user in the apache group, so that the permissions on files Owned by apache group inherited by nagios user. In nagiosql conf check the path to nagios commands file then check the user rights on it. Ciao, Giorgio Il giorno 26/apr/2011, alle ore 16:00, "Marco Borsani" ha scritto: > Thank you very much. > > To solve other permissions problems I changed group to many files (putting > apache). > > Moreover I have to change "nagios_group" inside nagios.cfg writtig "apache" > instead of "nagios" . > On the contrary I saw the message: > RESTART FAILED - NAGIOS COMMAND FILE NOT FOUND OR NO EXECUTE PERMISSIONS. > Is it normal ? > > After that ... I "just" have to understand how nagiosQL and Nagios works > together ... > > Regards > Marco > > > -----Messaggio originale----- > Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Inviato: marted? 26 aprile 2011 12:59 > A: Marco Borsani > Cc: zarrelli at linux.it; 'Nagios Users List' > Oggetto: Re: R: [Nagios-users] error in nagiosql install > > Hi, > > you can set NagioSQL paths under: > > Administration -> Domains -> localhost > > > >> That was the problem ! >> Thank you very much, now it has been solved. >> >> Right now I just have an error on nagiosql web site... in the "Tools" >> section I have the messages (see the attach) : >> Could not open directory /etc/nagios >> Could not open directory /etc/nagios/import But I have installed >> Nagios under /usr/local/nagios like always and I do not find any >> section to change this setting in the nagiosql pages (to point to the >> other directory). >> >> Marco >> >> >> -----Messaggio originale----- >> Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] >> Inviato: marted? 26 aprile 2011 10:49 >> A: Marco Borsani >> Cc: zarrelli at linux.it; 'Nagios Users List' >> Oggetto: [Nagios-users] error in nagiosql install >> >> Hi, >> >> googling I found that the 'mysql.servers' error might be a mysql >> privileges bug that you can fix running the >> >> mysql_fix_privilege_tables >> >> script. >> >> See this bug report: >> >> http://bugs.mysql.com/bug.php?id=28680 >> >> Or you can use this workaround creating the servers table by hands >> with the following statement (you have to log on your console and >> enter the mysql >> cli): >> >> CREATE TABLE `servers` ( >> `Server_name` char(64) NOT NULL, >> `Host` char(64) NOT NULL, >> `Db` char(64) NOT NULL, >> `Username` char(64) NOT NULL, >> `Password` char(64) NOT NULL, >> `Port` int(4) DEFAULT NULL, >> `Socket` char(64) DEFAULT NULL, >> `Wrapper` char(64) NOT NULL, >> `Owner` char(64) NOT NULL, >> PRIMARY KEY (`Server_name`) >> ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='MySQL Foreign Servers >> table'; >> >> >> http://forums.mysql.com/read.php?11,142598,160503#msg-160503 >> >> >> Giorgio >> > > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Tue Apr 26 16:49:16 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Tue, 26 Apr 2011 10:49:16 -0400 (EDT) Subject: check_openmanage Message-ID: <22146088.1492937.1303829356950.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> On Tue, Apr 26, 2011 at 10:24 AM, Trond Hasle Amundsen wrote: > Ashcor Technologies writes: > >> now my problem is this... >> >> Problem running 'omreport chassis fans': Error! No fan probes found >> on this system.
Problem running 'omreport chassis temps': Error! >> No temperature probes found on this system.
Problem running >> 'omreport chassis volts': Error! No voltage probes found on this >> system. >> >> on the NSC.ini i have the following line added and I restarted the >> NSClient++ service >> >> command[check_openmanage]=check_openmanage.exe -b fan=all >> >> even tried >> >> command[check_openmanage]=check_openmanage.exe -b fan=0 >> >> however it still tries to check the fan. I suppose i have a syntax >> error? > > No, that is the correct syntax. Blacklisting won't prevent the > component > class from being checked in the first place, it will only suppress any > info about blacklisted components it in the output and plugin return > value. To skip fans alltogether use the '--check' option like this: > '--check fans=0'. > > However, unless this is a blade system and the plugin is unable to > identify it as such for some reason, your server HAS fan probes and > you're having an OMSA problem. The fact that you get errors for other > probes such as temperature and voltage confirms this. > > You need to recheck that OMSA works, that all relevant OMSA components > are installed and running etc. It may be as simple as restarting OMSA, > but it could also be more complex (e.g. BIOS/firmware upgrade needed). > These errors are pretty generic, but the problem is that OMSA isn't > working properly on that server. > > PS. See this URL about configuring Nagios to not escape HTML code in > the > plugin output (to avoid the literal '
'): > > > http://folk.uio.no/trondham/software/check_openmanage.html#multiline-output > > Cheers, > -- > Trond H. Amundsen Trond, interesting points. I had the same issue with the same server using an earlier version of OpenManage (probes missing). Open manage reports no issues with missing probes, it simply ignores them it seems. I don't believe there is a bios upgrade available but I'll double check on that. still getting the plugin timeout however... ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 26 16:51:27 2011 From: eero.volotinen at iki.fi (Eero Volotinen) Date: Tue, 26 Apr 2011 17:51:27 +0300 Subject: check_openmanage In-Reply-To: <8196208.1491218.1303828023758.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> References: <8196208.1491218.1303828023758.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> Message-ID: 2011/4/26 Ashcor Technologies : >> On Tue, Apr 26, 2011 at 9:17 AM, Trond Hasle Amundsen wrote: > >> Ashcor Technologies writes: >> >>> Thanks for the reply. ?I just realized from your question that I'm >>> using a pre-compiled .exe version of your check_openmanage from here: >>> >>> https://www.monitoringexchange.org/inventory/Check-Plugins/Hardware/check_openmanage-exe >>> >>> which was probably created from an older version... >> >> Yeah I think it's pretty old. A PE32 executable for Windows is >> available >> in the zip and tar.gz archives, and as a single file download: >> >> ? http://folk.uio.no/trondham/software/check_openmanage.html#download >> >> Upgrading to the latest version will probably solve your problem. Let >> me >> know if it doesn't. >> >> Cheers, >> -- >> Trond H. Amundsen > > > Ok, now new and exciting changes... no matter what I do I get: WARNING > PLUGIN TIMEOUT: check_openmanage timed out after 30 seconds. > > I have -t 60 set on the check_openmanage command and also on the NRPE > check command line and in the NSC.ini. ?nothing seems to change the > timout beyond 30 seconds. I am also experiencing timeout(s) with nsclient++ running vbs-scripts. Is this related to nsclient++ poor performance on external checks? how to fix it? -- Eero ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Tue Apr 26 17:10:16 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 26 Apr 2011 17:10:16 +0200 Subject: check_openmanage In-Reply-To: <8196208.1491218.1303828023758.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> (Ashcor Technologies's message of "Tue, 26 Apr 2011 10:27:03 -0400 (EDT)") References: <8196208.1491218.1303828023758.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> Message-ID: <15twrihf3qf.fsf@tux.uio.no> Ashcor Technologies writes: > Ok, now new and exciting changes... no matter what I do I get: WARNING > PLUGIN TIMEOUT: check_openmanage timed out after 30 seconds. > > I have -t 60 set on the check_openmanage command and also on the NRPE > check command line and in the NSC.ini. nothing seems to change the > timout beyond 30 seconds. I forgot to mention that since you get that particular error it's the plugin that times out, not NRPE or NSClient++. The fact that you're unable to change that behaviour with the '-t' or '--timeout' option is strange, but it would usually indicate a configuration error on your part. You'll have to post the command definition etc. for me (and others on this list) to be able to spot the error. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Tue Apr 26 17:20:19 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Tue, 26 Apr 2011 11:20:19 -0400 (EDT) Subject: check_openmanage Message-ID: <16050935.1495091.1303831220014.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> > On Tue, Apr 26, 2011 at 11:10 AM, Trond Hasle Amundsen wrote: > Ashcor Technologies writes: > >> Ok, now new and exciting changes... no matter what I do I get: >> WARNING PLUGIN TIMEOUT: check_openmanage timed out after 30 seconds. >> >> I have -t 60 set on the check_openmanage command and also on the NRPE >> check command line and in the NSC.ini. nothing seems to change the >> timout beyond 30 seconds. > > I forgot to mention that since you get that particular error it's the > plugin that times out, not NRPE or NSClient++. The fact that you're > unable to change that behaviour with the '-t' or '--timeout' option is > strange, but it would usually indicate a configuration error on your > part. You'll have to post the command definition etc. for me (and > others > on this list) to be able to spot the error. > > Regards, > -- > Trond H. Amundsen Trond, the server is a PowerEdge T105. It IS running slow but I'll be damned if I can figure out why, I'm beggining to suspect bad ram as the performance meter reports minimal load. in any event.. the bios is up to date. here is the command line in the NSC.ini [modules] command[check_openmanage]=check_openmanage.exe -t 60 --check fans=0,volt=0 on the nagios server: /usr/lib/nagios/plugins/check_nrpe -H $hostname$ -p 5666 -c check_openmanage -t 60 I'm pretty sure it's not the Check_nrpe command line as this works fine on several other servers. it's def something on the client server itself so this points to the NSClient++ setup. note I have been testing by running NSClient++.exe /test so i can watch the client server and it is getting the injection command and reporting the timeout locally. ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Tue Apr 26 18:39:49 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 26 Apr 2011 18:39:49 +0200 Subject: check_openmanage In-Reply-To: <16050935.1495091.1303831220014.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> (Ashcor Technologies's message of "Tue, 26 Apr 2011 11:20:19 -0400 (EDT)") References: <16050935.1495091.1303831220014.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> Message-ID: <15tsjt5ezl6.fsf@tux.uio.no> Ashcor Technologies writes: > the server is a PowerEdge T105. It IS running slow but I'll be damned > if I can figure out why, I'm beggining to suspect bad ram as the > performance meter reports minimal load. One thing to check is the power management setting in the BIOS. We set up a few blade servers recently that had set this to "active power controller", and this caused the server to be extremely sluggish. Setting this to "OS Control" or "Maximum Performance" solved the issue. Try: # omreport chassis pwrmanagement config=profile Power Profiles Maximum Performance : Not Selected Active Power Controller : Not Selected OS Control : Selected Custom : Not Selected You can set the profile to max performance with: omconfig chassis pwrmanagement config=profile profile=maxperformance Just a tip, but worth checking. > here is the command line in the NSC.ini > > [modules] > command[check_openmanage]=check_openmanage.exe -t 60 --check > fans=0,volt=0 > > on the nagios server: > > /usr/lib/nagios/plugins/check_nrpe -H $hostname$ -p 5666 -c > check_openmanage -t 60 > > I'm pretty sure it's not the Check_nrpe command line as this works fine > on several other servers. it's def something on the client server > itself so this points to the NSClient++ setup. Can't see anything wrong with these definitions.. > note I have been testing by running NSClient++.exe /test so i can watch > the client server and it is getting the injection command and reporting > the timeout locally. Good. But it's still weird that you get a timeout after 30 seconds even when you specify a 60 sec timeout. Try running check_openmanage.exe manually on the server with the same options and see if it then behaves in the same way. If so there is some sort of bug in the plugin that only affects the .exe version. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Tue Apr 26 22:17:15 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Tue, 26 Apr 2011 16:17:15 -0400 (EDT) Subject: check_openmanage Message-ID: <31970880.1604646.1303849035830.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> > On Tue, Apr 26, 2011 at 12:39 PM, Trond Hasle Amundsen wrote: > Ashcor Technologies writes: > >> the server is a PowerEdge T105. It IS running slow but I'll be >> damned if I can figure out why, I'm beggining to suspect bad ram as >> the performance meter reports minimal load. > > One thing to check is the power management setting in the BIOS. We set > up a few blade servers recently that had set this to "active power > controller", and this caused the server to be extremely > sluggish. Setting this to "OS Control" or "Maximum Performance" solved > the issue. Try: > > # omreport chassis pwrmanagement config=profile > Power Profiles > Maximum Performance : Not Selected > Active Power Controller : Not Selected > OS Control : Selected > Custom : Not Selected > > You can set the profile to max performance with: > > omconfig chassis pwrmanagement config=profile profile=maxperformance > > Just a tip, but worth checking. > >> here is the command line in the NSC.ini >> >> [modules] >> command[check_openmanage]=check_openmanage.exe -t 60 --check >> fans=0,volt=0 >> >> on the nagios server: >> >> /usr/lib/nagios/plugins/check_nrpe -H $hostname$ -p 5666 -c >> check_openmanage -t 60 >> >> I'm pretty sure it's not the Check_nrpe command line as this works >> fine on several other servers. it's def something on the client >> server itself so this points to the NSClient++ setup. > > Can't see anything wrong with these definitions.. > >> note I have been testing by running NSClient++.exe /test so i can >> watch the client server and it is getting the injection command and >> reporting the timeout locally. > > Good. But it's still weird that you get a timeout after 30 seconds > even > when you specify a 60 sec timeout. Try running check_openmanage.exe > manually on the server with the same options and see if it then > behaves > in the same way. If so there is some sort of bug in the plugin that > only > affects the .exe version. > > Regards, > -- > Trond H. Amundsen ok, talked to dell, there is no hardware on the T105 that will allow monitoring of the fan, voltage, etc.. basically the only thing you can monitor is the raid array which is fine as that's all I really want to check with nagios. still have that pesky timeout after 30 seconds error though. tried with --timeout 60 and with -t 60 and nothing seems to change the behavior. did find some power settings (not bios, system is remote so I couldn't gain access to the bios) and changed them to max performance which did seem to help a little though so thanks for that tip. :) ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 26 23:11:59 2011 From: sglasser at visp.net (Steve Glasser) Date: Tue, 26 Apr 2011 14:11:59 -0700 Subject: check-openmanage errors after upgrade of openmanage Message-ID: <4DB7351F.40108@visp.net> Hi list, Since upgrading dell openmanage from v 6.3 to 6.5 we have errors using the check-openmanage plugin. The errors are: INTERNAL ERROR: Use of uninitialized value in hash element at /usr/lib64/nagios/plugins/check_openmanage line 4599. INTERNAL ERROR: Use of uninitialized value in length at /usr/lib64/nagios/plugins/check_openmanage line 4599. INTERNAL ERROR: Use of uninitialized value in hash element at /usr/lib64/nagios/plugins/check_openmanage line 4599. INTERNAL ERROR: Use of uninitialized value in concatenation (.) or string at /usr/lib64/nagios/plugins/check_openmanage line 4599. INTERNAL ERROR: Use of uninitialized value in hash element at /usr/lib64/nagios/plugins/check_openmanage line 4601. INTERNAL ERROR: Use of uninitialized value in hash element at /usr/lib64/nagios/plugins/check_openmanage line 4601. INTERNAL ERROR: Use of uninitialized value in hash element at /usr/lib64/nagios/plugins/check_openmanage line 4599. INTERNAL ERROR: Use of uninitialized value in length at /usr/lib64/nagios/plugins/check_openmanage line 4599. INTERNAL ERROR: Use of uninitialized value in hash element at /usr/lib64/nagios/plugins/check_openmanage line 4599. INTERNAL ERROR: Use of uninitialized value in concatenation (.) or string at /usr/lib64/nagios/plugins/check_openmanage line 4599. INTERNAL ERROR: Use of uninitialized value in hash element at /usr/lib64/nagios/plugins/check_openmanage line 4601. INTERNAL ERROR: Use of uninitialized value in hash element at /usr/lib64/nagios/plugins/check_openmanage line 4601. INTERNAL ERROR: Use of uninitialized value in hash element at /usr/lib64/nagios/plugins/check_openmanage line 4599. INTERNAL ERROR: Use of uninitialized value in length at /usr/lib64/nagios/plugins/check_openmanage line 4599. INTERNAL ERROR: Use of uninitialized value in hash element at /usr/lib64/nagios/plugins/check_openmanage line 4599. INTERNAL ERROR: Use of uninitialized value in concatenation (.) or string at /usr/lib64/nagios/plugins/check_openmanage line 4599. INTERNAL ERROR: Use of uninitialized value in hash element at /usr/lib64/nagios/plugins/check_openmanage line 4601. INTERNAL ERROR: Use of uninitialized value in hash element at /usr/lib64/nagios/plugins/check_openmanage line 4601. The plugin reports "status unknown". Openmanage is version check-openmanage-3.6.5-1.el5 installed from rpm. The host is an dell 2950. Please let me know if I can provide any additional information. Cheers, -- Steve Glasser | System Administrator | visp.net Direct: 541-955-6903 | Fax: 541-471-0821 ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Wed Apr 27 00:02:35 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 27 Apr 2011 00:02:35 +0200 Subject: check-openmanage errors after upgrade of openmanage In-Reply-To: <4DB7351F.40108@visp.net> (Steve Glasser's message of "Tue, 26 Apr 2011 14:11:59 -0700") References: <4DB7351F.40108@visp.net> Message-ID: <15toc3sfz7o.fsf@tux.uio.no> Steve Glasser writes: > Since upgrading dell openmanage from v 6.3 to 6.5 we have errors using > the check-openmanage plugin. The errors are: > > INTERNAL ERROR: Use of uninitialized value in hash element at > /usr/lib64/nagios/plugins/check_openmanage line 4599. > INTERNAL ERROR: Use of uninitialized value in length at > /usr/lib64/nagios/plugins/check_openmanage line 4599. > INTERNAL ERROR: Use of uninitialized value in hash element at > /usr/lib64/nagios/plugins/check_openmanage line 4599. > INTERNAL ERROR: Use of uninitialized value in concatenation (.) or > string at /usr/lib64/nagios/plugins/check_openmanage line 4599. > INTERNAL ERROR: Use of uninitialized value in hash element at > /usr/lib64/nagios/plugins/check_openmanage line 4601. > INTERNAL ERROR: Use of uninitialized value in hash element at > /usr/lib64/nagios/plugins/check_openmanage line 4601. > INTERNAL ERROR: Use of uninitialized value in hash element at > /usr/lib64/nagios/plugins/check_openmanage line 4599. > INTERNAL ERROR: Use of uninitialized value in length at > /usr/lib64/nagios/plugins/check_openmanage line 4599. > INTERNAL ERROR: Use of uninitialized value in hash element at > /usr/lib64/nagios/plugins/check_openmanage line 4599. > INTERNAL ERROR: Use of uninitialized value in concatenation (.) or > string at /usr/lib64/nagios/plugins/check_openmanage line 4599. > INTERNAL ERROR: Use of uninitialized value in hash element at > /usr/lib64/nagios/plugins/check_openmanage line 4601. > INTERNAL ERROR: Use of uninitialized value in hash element at > /usr/lib64/nagios/plugins/check_openmanage line 4601. > INTERNAL ERROR: Use of uninitialized value in hash element at > /usr/lib64/nagios/plugins/check_openmanage line 4599. > INTERNAL ERROR: Use of uninitialized value in length at > /usr/lib64/nagios/plugins/check_openmanage line 4599. > INTERNAL ERROR: Use of uninitialized value in hash element at > /usr/lib64/nagios/plugins/check_openmanage line 4599. > INTERNAL ERROR: Use of uninitialized value in concatenation (.) or > string at /usr/lib64/nagios/plugins/check_openmanage line 4599. > INTERNAL ERROR: Use of uninitialized value in hash element at > /usr/lib64/nagios/plugins/check_openmanage line 4601. > INTERNAL ERROR: Use of uninitialized value in hash element at > /usr/lib64/nagios/plugins/check_openmanage line 4601. > > The plugin reports "status unknown". > > Openmanage is version check-openmanage-3.6.5-1.el5 installed from rpm. > The host is an dell 2950. Please let me know if I can provide any > additional information. Hi Steve, Are you using check_openmanage with NRPE or similar in local mode, or checking via SNMP? Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zelnaga at gmail.com Wed Apr 27 06:12:51 2011 From: zelnaga at gmail.com (Thomas Anderson) Date: Tue, 26 Apr 2011 23:12:51 -0500 Subject: R: R: R: error in nagiosql install Message-ID: Seems to me like the NagiosQL people ought to be using phpseclib (phpseclib.sourceforge.net) instead of the PECL ssh2 extension. It's better supported, much more portable and surprisingly, faster, too: http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3759 ssh2_exec(), from libssh2, also returns ANSI color codes and sometimes never returns output and sometimes does (it's inconsistent). >Well > >I download nagiosql 3.1.1 again. >Uncompress and move it to /var/www/html/nagiosql > [root]# ls -la >drwxr-xr-x 10 root root 4096 26 apr 10:13 . >drwxr-xr-x 4 root root 4096 26 apr 10:13 .. drwxr-xr-x 2 root root 4096 26 apr 10:13 admin -rw-r--r-- 1 root root 7883 26 apr 10:13 admin.php drwxrwxrwx 3 root root 4096 26 apr 10:13 config -rw-r--r-- 1 root root 1150 26 apr 10:13 favicon.ico drwxr-xr-x 4 root root 4096 26 apr 10:13 functions drwxr-xr-x 2 root root 4096 26 apr 10:13 images -rw-r--r-- 1 root root 2577 26 apr 10:13 index.php drwxr-xr-x 8 root root 4096 26 apr 10:13 install drwxr-xr-x 3 root root 4096 26 apr 10:13 libraries drwxr-xr-x 2 root root 4096 26 apr 10:13 scripts drwxr-xr-x 4 root root 4096 26 apr 10:13 templates I set a new mysql root password. I see that I have not config/settings.php file and see same warning (see Check.pg) [root]# ls -la config rwxrwxrwx 3 root root 4096 26 apr 10:13 . drwxr-xr-x 10 root root 4096 26 apr 10:13 .. -rw-r--r-- 1 root root 26286 26 apr 10:13 fieldvars.php drwxr-xr-x 15 root root 4096 26 apr 10:13 locale -rw-r--r-- 1 root root 10277 26 apr 10:13 main.css Running the installation I still have same problem (see the Error.jpg) Reading nagiosql documentation I see: Requirements Webserver e.g. Apache 1.x or above PHP 4.3 or above MySQL 4.1 or above Nagios 2 or above PEAR Module: HTML_Template_IT 1.1 or above PHP Extension: gettext PHP Extension: mysql PHP Extension: ftp Javascript enabled at your Webbrowser How can I verify/install PEAR MODULE and the three PHP extensions ? Regards -----Messaggio originale----- Da: Giorgio Zarrelli [mailto:zarrelli at ...] Inviato: marted? 26 aprile 2011 09:36 A: Marco Borsani Cc: 'Giorgio Zarrelli'; 'Nagios Users List' Oggetto: Re: R: R: [Nagios-users] error in nagiosql install Hi, > In the "checking requirements", I have always two warnings: > - SSH2: Not available (but I am connecting to that host via ssh2) It's an OPTIONAL PECL PHP extension. So, if you do not have it, do not mind. As you can read from this documenti (http://www.nagiosql.org/component/content/article/1-latest-news/105-nagiosq l-310.html) "SSH/SFTP support for remote domains authencation by username and password or by SSH-Key verifiy and restart remote installation with SSH" So if you do not need ssh auth on remote domains (the domain is a config container in NagioSQL, not a real internet domani), you may not install it. If you want to install the SSH PHP extension, keep in mind it's a PECL extension. I do not use CentOS, so, I can't say to you how to do with yum. Here (http://stackoverflow.com/questions/561024/install-pecl-ssh2-extension-for-p hp) they say it can be done this way: yum install libssh2-devel The source tgz is here (http://pecl.php.net/package/ssh2) Here some infos on PECL installation (http://php.net/manual/en/install.pecl.php) I installed a NagioSQL and kept some screenshot I attached to this email. Check what I did and see if it matches with what you did. Giorgio > - Settings file does not exist (config/settings.php): will be created > (but the file exist and I wrote inside: physical = > /var/www/html/nagiosql/) > > Must Nagios be up and running or stopped ? > > Marco > > -----Messaggio originale----- > Da: Giorgio Zarrelli [mailto:zarrelli at ...] > Inviato: sabato 23 aprile 2011 12:57 > A: Marco Borsani > Cc: Nagios Users List > Oggetto: Re: R: [Nagios-users] error in nagiosql install > > If you can wait till thue I can try to give you step Bu step > instructions on how to install NagiosQl by hands. > > Ciao, > > Giorgio > > Il giorno 22/apr/2011, alle ore 14:59, "Marco Borsani" > ha scritto: > >> Hi >> I saw that mysql.servers table does not exist, but I don't know how >> going on because I don't know what the automatic procedure has to do. >> >> I find this guide: >> http://nolabnoparty.com/installare-nagios-nagiosql-su-linux-centos-pe >> r >> -il-mo >> nitoraggio-della-rete/ >> >> where you can see tha the steps after "Reloading MySQL User Table" are : >> - Testing database connection to db_nagiosql_v3 >> - Writing global settings to database >> - Writing database configuration to settings php >> - Set Initial NagiosQL Administrator >> - Import Nagios sample data >> >> >> Any idea ? >> Thanks >> >> Marco >> >> >> -----Messaggio originale----- >> Da: Giorgio Zarrelli [mailto:zarrelli at ...] >> Inviato: venerd 22 aprile 2011 14:16 >> A: Nagios Users List >> Oggetto: Re: [Nagios-users] error in nagiosql install >> >> Hi, >> >> mysql.servers does not exist: >> >> mysql> use mysql >> Reading table information for completion of table and column names >> You can turn off this feature to get a quicker startup with -A >> >> Database changed >> mysql> show tables; >> +---------------------------+ >> | Tables_in_mysql | >> +---------------------------+ >> | columns_priv | >> | db | >> | func | >> | help_category | >> | help_keyword | >> | help_relation | >> | help_topic | >> | host | >> | proc | >> | procs_priv | >> | tables_priv | >> | time_zone | >> | time_zone_leap_second | >> | time_zone_name | >> | time_zone_transition | >> | time_zone_transition_type | >> | user | >> +---------------------------+ >> 17 rows in set (0.00 sec) >> >> Try to go on anyway. You can manually create a user, pass and db and >> the find, among the installation files, the one holding the db and >> load it. >> >> >> >>> >>> >>> Hi all >>> >>> >>> >>> During the nagiosQL 3.1.1 install I have this page with one error: >>> >>> >>> >>> NagiosQL Installation: Finishing Setup >>> >>> >>> >>> Create new NagiosQL database >>> >>> 1. MySQL server connection (privileged user) >>> passed >>> >>> 2. MySQL server version >>> 5.1.56 >>> >>> 3. MySQL server support >>> supported >>> >>> 4. Delete existing NagiosQL database db_nagiosql_v3 >>> done >>> >>> 5. Creating new database db_nagiosql_v3 >>> done >>> >>> 6. Create NagiosQL MySQL user >>> done >>> >>> 7. Update MySQL permissions >>> done >>> >>> 8. Reloading MySQL User Table >>> failed ( Table 'mysql.servers' doesn't exist ) >>> >>> Any idea ? >>> >>> Regards >>> >>> Marco >>> >>> -------------------------------------------------------------------- >>> - >>> - >>> -------- >>> Fulfilling the Lean Software Promise Lean software platforms are now >>> widely adopted and the benefits have been demonstrated beyond >>> question. Learn why your peers are replacing JEE containers with >>> lightweight application servers - and what you can gain from the >>> move. >>> http://p.sf.net/sfu/vmware-sfemails_________________________________ >>> _ >>> _ >>> ____________ >>> Nagios-users mailing list >>> Nagios-users at ... >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to >>> /dev/null >> >> >> >> --------------------------------------------------------------------- >> - >> ------ >> -- >> Fulfilling the Lean Software Promise >> Lean software platforms are now widely adopted and the benefits have >> been demonstrated beyond question. Learn why your peers are replacing >> JEE containers with lightweight application servers - and what you >> can gain from the move. http://p.sf.net/sfu/vmware-sfemails >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at ... >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 27 09:42:25 2011 From: m.borsani at it.net (Marco Borsani) Date: Wed, 27 Apr 2011 09:42:25 +0200 Subject: from single server to distributed servers Message-ID: <001e01cc04ae$a9d8f390$fd8adab0$@it.net> Hi all I use a single Nagios server since 2004, without any DB. I test the distributed environment using text file configuration and it is working fine. Now we'd like to upgrade to last Nagios version and use mysql DB in a distributed environment (1 central Nagios server with 2 remotes Nagios servers). 1) is there any documentation regarding nagiosQL and DB structure ? 2) does anybody have any esperiences regarding an environment like that I explained before ? thanks 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 WIND TELECOM S.p.A. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Wed Apr 27 11:06:08 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 27 Apr 2011 11:06:08 +0200 Subject: check_openmanage In-Reply-To: <31970880.1604646.1303849035830.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> (Ashcor Technologies's message of "Tue, 26 Apr 2011 16:17:15 -0400 (EDT)") References: <31970880.1604646.1303849035830.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> Message-ID: <15tfwp4f4hr.fsf@tux.uio.no> Ashcor Technologies writes: > ok, talked to dell, there is no hardware on the T105 that will allow > monitoring of the fan, voltage, etc.. basically the only thing you can > monitor is the raid array which is fine as that's all I really want to > check with nagios. Ok. I don't know the 100 series, but from what I understand they are entry-level servers with limited capabilities and a low price tag. The plugin will barf at servers that don't have the basic monitoring probes, unless they are absent for obvious reasons (e.g. blades don't have fans). I still think this is a good idea, as I've seen plenty of instances where OMSA malfunctions in such a way that it will say a probe doesn't exist when it actually does. I'm reluctant to change that policy, so users of the 100 series will have to exclude certain checks in the plugin. It is not ideal, but I believe the problem to be limited since most would go for servers with better monitoring capabilities (i.e. 200 series and beyond). > Still have that pesky timeout after 30 seconds error though. tried > with --timeout 60 and with -t 60 and nothing seems to change the > behavior. Still weird. Did you try running the plugin manually with the timeout option? Try 'check_openmanage.exe -t 60 [other options]' Perhaps OMSA on the T105 hangs on some probe that doesn't exist. If you're only interested in monitoring storage, you could try: check_openmanage.exe --only storage Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Apr 27 11:08:51 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 27 Apr 2011 11:08:51 +0200 Subject: from single server to distributed servers In-Reply-To: <001e01cc04ae$a9d8f390$fd8adab0$@it.net> References: <001e01cc04ae$a9d8f390$fd8adab0$@it.net> Message-ID: <1ECA3F00-BAC5-4CEC-8703-E2B5FCAC8EE1@linux.it> NagioSQL stores the configurations in the db BUT from there it generates text config files, read by Nagios. In other words, Nagios stil reads it's configs from standard configuration files, but tris files are created, deployed, by NagioSQL from the infos stored in the MySQL db. Ciao, Giorgio Il giorno 27/apr/2011, alle ore 09:42, "Marco Borsani" ha scritto: > Hi all > > I use a single Nagios server since 2004, without any DB. > > > > I test the distributed environment using text file configuration and it is working fine. > > > > Now we'd like to upgrade to last Nagios version and use mysql DB in a distributed environment (1 central Nagios server with 2 remotes Nagios servers). > > > > 1) is there any documentation regarding nagiosQL and DB structure ? > > 2) does anybody have any esperiences regarding an environment like that I explained before ? > > > > thanks > > > > 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 WIND TELECOM S.p.A. > > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Wed Apr 27 14:28:36 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 27 Apr 2011 14:28:36 +0200 Subject: check-openmanage errors after upgrade of openmanage In-Reply-To: <15toc3sfz7o.fsf@tux.uio.no> (Trond Hasle Amundsen's message of "Wed, 27 Apr 2011 00:02:35 +0200") References: <4DB7351F.40108@visp.net> <15toc3sfz7o.fsf@tux.uio.no> Message-ID: <15tliyvev4b.fsf@tux.uio.no> Trond Hasle Amundsen writes: > Are you using check_openmanage with NRPE or similar in local mode, or > checking via SNMP? I have an idea of what the problem might be. Can you try either of the development versions of check_openmanage available here: http://folk.uio.no/trondham/software/check_openmanage.html#download Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Wed Apr 27 14:54:48 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Wed, 27 Apr 2011 08:54:48 -0400 (EDT) Subject: check-openmanage errors after upgrade of openmanage Message-ID: <8199385.1568182.1303908888717.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> > On Wed, Apr 27, 2011 at 8:28 AM, Trond Hasle Amundsen wrote: > Trond Hasle Amundsen writes: > >> Are you using check_openmanage with NRPE or similar in local mode, or >> checking via SNMP? > > I have an idea of what the problem might be. Can you try either of the > development versions of check_openmanage available here: > > http://folk.uio.no/trondham/software/check_openmanage.html#download > > Regards, > -- > Trond H. Amundsen Trond, I ran check_openmanage.exe --only storage locally and it worked fine. I then changed the NSC.ini to have: command[check_openmanage]=check_openmanage.exe --only storage and restarted the NSCLient++ (x64) service in test mode. the results: d NSClient++.cpp(1106) Injecting: check_openmanage: d NSClient++.cpp(1142) Injected Result: WARNING 'Problem running 'omreport chass is fans': Error! No fan probes found on this system.
Problem running 'omreport chassis temps': Error! No temperature probes found on this system.
Proble m running 'omreport chassis volts': Error! No voltage probes found on this system.' I've looked on your site for the dev versions and am happy to try them but don't see a zip with the .exe. Is there an .exe available for the dev? also, which dev version would you prefer I try, 3.6 or 3.7? thanks again for all your help with this, you've been awesome! Jeff ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Wed Apr 27 15:04:19 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Wed, 27 Apr 2011 09:04:19 -0400 (EDT) Subject: check_openmanage Message-ID: <28356469.1568857.1303909459575.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> > On Wed, Apr 27, 2011 at 5:06 AM, Trond Hasle Amundsen wrote: > Ashcor Technologies writes: > >> ok, talked to dell, there is no hardware on the T105 that will allow >> monitoring of the fan, voltage, etc.. basically the only thing you >> can >> monitor is the raid array which is fine as that's all I really want >> to >> check with nagios. > > Ok. I don't know the 100 series, but from what I understand they are > entry-level servers with limited capabilities and a low price tag. The > plugin will barf at servers that don't have the basic monitoring > probes, > unless they are absent for obvious reasons (e.g. blades don't have > fans). I still think this is a good idea, as I've seen plenty of > instances where OMSA malfunctions in such a way that it will say a > probe > doesn't exist when it actually does. > > I'm reluctant to change that policy, so users of the 100 series will > have to exclude certain checks in the plugin. It is not ideal, but I > believe the problem to be limited since most would go for servers with > better monitoring capabilities (i.e. 200 series and beyond). > >> Still have that pesky timeout after 30 seconds error though. tried >> with --timeout 60 and with -t 60 and nothing seems to change the >> behavior. > > Still weird. Did you try running the plugin manually with the timeout > option? Try 'check_openmanage.exe -t 60 [other options]' > > Perhaps OMSA on the T105 hangs on some probe that doesn't exist. If > you're only interested in monitoring storage, you could try: > > check_openmanage.exe --only storage > > Cheers, > -- > Trond H. Amundsen ugh.. replied to the wrong email, my appologies everyone... Trond, I ran check_openmanage.exe --only storage locally and it worked fine. I then changed the NSC.ini to have: command[check_openmanage]=check_openmanage.exe --only storage and restarted the NSCLient++ (x64) service in test mode. the results: d NSClient++.cpp(1106) Injecting: check_openmanage: d NSClient++.cpp(1142) Injected Result: WARNING 'Problem running 'omreport chass is fans': Error! No fan probes found on this system.
Problem running 'omreport chassis temps': Error! No temperature probes found on this system.
Proble m running 'omreport chassis volts': Error! No voltage probes found on this system.' if I run checl_openmanage.exe --only storage manually I get: c:\Program Files\NSClient++>check_openmanage.exe --only storage STORAGE OK - 2 physical drives, 1 logical drives very weird.... It's like the NSCLient++ process totally ignores the switches from the command in the NSC.ini file. Is there some way I can pass the options via the Check_NRPE command from the host? I've tried a few things but it always error's out because NRPE sees them as unrecognized NRPE options. thanks again for all your help with this, you've been awesome! Jeff ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Wed Apr 27 15:23:57 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 27 Apr 2011 15:23:57 +0200 Subject: check-openmanage errors after upgrade of openmanage In-Reply-To: <8199385.1568182.1303908888717.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> (Ashcor Technologies's message of "Wed, 27 Apr 2011 08:54:48 -0400 (EDT)") References: <8199385.1568182.1303908888717.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> Message-ID: <15td3k7esk2.fsf@tux.uio.no> Ashcor Technologies writes: > I ran check_openmanage.exe --only storage locally and it worked fine. > > I then changed the NSC.ini to have: > > command[check_openmanage]=check_openmanage.exe --only storage > > and restarted the NSCLient++ (x64) service in test mode. > > the results: > > d NSClient++.cpp(1106) Injecting: check_openmanage: > d NSClient++.cpp(1142) Injected Result: WARNING 'Problem running > 'omreport chass is fans': Error! No fan probes found on this > system.
Problem running 'omreport chassis temps': Error! No > temperature probes found on this system.
Proble m running 'omreport > chassis volts': Error! No voltage probes found on this system.' Ok, this actually clarifies things. Clearly, NSClient++ ignores everything after 'check_openmanage.exe' in your NSC.ini. There is no way that check_openmanage would complain about fans etc. when the option '--only storage' is specified. Since it works from command line we can safely assume that NSClient++ is the problem. This explains your issues with the timeout option as well. > I've looked on your site for the dev versions and am happy to try them > but don't see a zip with the .exe. Is there an .exe available for the > dev? also, which dev version would you prefer I try, 3.6 or 3.7? I could make a PE32 executable for the dev versions, but in your case it won't help, so there is really no point. Your problem is that NSClient++ ignores the plugin options. Since I don't use NSClient++ I can't offer any insight into how it should be configured, but my first attempt at a fix would be to put the entire command in quotes in NSC.ini. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Wed Apr 27 15:25:41 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Wed, 27 Apr 2011 09:25:41 -0400 (EDT) Subject: check_openmanage Message-ID: <29081509.1570550.1303910741536.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> > On Wed, Apr 27, 2011 at 5:06 AM, Trond Hasle Amundsen wrote: > Ashcor Technologies writes: > >> ok, talked to dell, there is no hardware on the T105 that will allow >> monitoring of the fan, voltage, etc.. basically the only thing you >> can >> monitor is the raid array which is fine as that's all I really want >> to >> check with nagios. > > Ok. I don't know the 100 series, but from what I understand they are > entry-level servers with limited capabilities and a low price tag. The > plugin will barf at servers that don't have the basic monitoring > probes, > unless they are absent for obvious reasons (e.g. blades don't have > fans). I still think this is a good idea, as I've seen plenty of > instances where OMSA malfunctions in such a way that it will say a > probe > doesn't exist when it actually does. > > I'm reluctant to change that policy, so users of the 100 series will > have to exclude certain checks in the plugin. It is not ideal, but I > believe the problem to be limited since most would go for servers with > better monitoring capabilities (i.e. 200 series and beyond). > >> Still have that pesky timeout after 30 seconds error though. tried >> with --timeout 60 and with -t 60 and nothing seems to change the >> behavior. > > Still weird. Did you try running the plugin manually with the timeout > option? Try 'check_openmanage.exe -t 60 [other options]' > > Perhaps OMSA on the T105 hangs on some probe that doesn't exist. If > you're only interested in monitoring storage, you could try: > > check_openmanage.exe --only storage > > Cheers, > -- > Trond H. Amundsen ok, found the -a switch for the check_NRPE command on the host. so I run the following: check_nrpe -H $hostaddress$ -p 5666 -t 60 -c check_openmanage -a --only storage the result is the same as before, more complaints about missing probes etc... in the debug window of NSClient++ however the check_openmange is injected as such d NSClient++.cpp(1106) Injecting: check_openmanage: --only, storage d NSClient++.cpp(1142) Injected Result: WARNING 'Problem running 'omreport chass is fans': Error! No fan probes found on this system.
Problem running 'omrepo rt chassis temps': Error! No temperature probes found on this system.
Proble m running 'omreport chassis volts': Error! No voltage probes found on this syste m.' it seems a bit odd that the comma appears between "--only" and "storage" which may be causing check_openmanage to ignore the option switches I imagine. I also tried: check_nrpe -H $hostaddress$ -p 5666 -t 60 -c check_openmanage -a "--only storage" which, while eliminating the comma between the "--only" and "storage" still produced the same error.. so... one step forward, two steps back... ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Wed Apr 27 15:38:23 2011 From: cbeattie at geninfo.com (Chris Beattie) Date: Wed, 27 Apr 2011 09:38:23 -0400 Subject: how to check scheduler task in windows In-Reply-To: References: Message-ID: <4DB81C4F.1030202@geninfo.com> ali abatourab wrote: > > please i need help for checking my scheduler task in windows with nagios > , like task start ,task error You can check Windows scheduled tasks if you use the NSClient++ agent. http://www.nsclient.org/nscp/wiki/CheckTaskSched/CheckTaskSched In the monitored host's nsc.ini file, enable at least the NRPEListener.dll and the CheckTaskSched.dll. Then add in the [External Alias] section something like this: alias_checktasksched=CheckTaskSched +filter-exit-code==0 ShowAll MaxWarn=1 MaxCrit=2 Then add a command like this to Nagios' command.cfg: define command{ command_name check_task_sched # Can only be used with nsclient++ and the right NSC.ini command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c alias_checktasksched } Then you can create a service check or template in Nagios and assign that to the monitored host in your preferred way. -- -Chris ------ Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashcor at optonline.net Wed Apr 27 16:20:41 2011 From: ashcor at optonline.net (Ashcor Technologies) Date: Wed, 27 Apr 2011 10:20:41 -0400 (EDT) Subject: check_openmanage Message-ID: <24651864.1575205.1303914041621.JavaMail.ashcor@mstr27.srv.hcvlny.cv.net> > Ok, this actually clarifies things. Clearly, NSClient++ ignores > everything after 'check_openmanage.exe' in your NSC.ini. There is no > way > that check_openmanage would complain about fans etc. when the option > '--only storage' is specified. Since it works from command line we can > safely assume that NSClient++ is the problem. This explains your > issues > with the timeout option as well. > > I've looked on your site for the dev versions and am happy to try > them but don't see a zip with the .exe. Is there an .exe available > for the dev? also, which dev version would you prefer I try, 3.6 or > 3.7? > > I could make a PE32 executable for the dev versions, but in your case > it > won't help, so there is really no point. Your problem is that > NSClient++ > ignores the plugin options. > > Since I don't use NSClient++ I can't offer any insight into how it > should be configured, but my first attempt at a fix would be to put > the > entire command in quotes in NSC.ini. I agree, I don't think the problem is with check_openmanage. I've tried every combination I can think of between enclosing the command in the INI file in quotes to passing the parameters to the NSClient from NRPE in quotes. Even double checked the INI parameters concerning arguemnts.. all looks correct... I guess I'll move on to the NSClient mailing list. Thanks so much for all your help and work on this Trond, it's very much appreciated! Jeff ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From combinare at gmail.com Wed Apr 27 16:29:57 2011 From: combinare at gmail.com (Eric Michaelis) Date: Wed, 27 Apr 2011 09:29:57 -0500 Subject: Strange problem using the obsessive/compulsive service processor in Nagios Core 3.2.3 Message-ID: Good morning! We're having a strange issue trying to use the obsessive/compulsive processor in Nagios. We're running Nagios Core 3.2.3, with Nagios plugins version 1.4.15. In our previous production environment, we had encountered issues with performance while using the NDO module, so we're trying to set up an architecture like so: Primary server: Runs all active checks, and uses the mklivestatus broker for Nagvis maps and other visualizations. Uses the OCSP to send results of all active checks to the second server. Secondary server: Receives checks from the primary server. Logs service check results to a MySQL database using NDO. The problem comes when we enable the obsessive/compulsive options on the primary. If we enable both the obsess_over_services and obsess_over_hosts options, it takes it very literally: that's ALL Nagios does. All active checks stop, and Nagios spends all of its time running the ocsp service and host commands. If we enable only the obsess_over_services option, active checks DO get performed, but the scheduling queue and check latency starts to grow; with the active checks falling farther and farther behind. The primary Nagios server is a relatively powerful system, with 12 cores and 64 GB of RAM. The load average, even when it's only running the ocsp commands, never rises above about 20 or 21, so it doesn't seem like the server is being overwhelmed. Presumably other folks are using the ocsp options successfully, so I'm curious if anyone has seen anything like this and knows of a fix/workaround? Any assistance is greatly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Apr 27 18:03:35 2011 From: sglasser at visp.net (Steve Glasser) Date: Wed, 27 Apr 2011 09:03:35 -0700 Subject: check_openmanage errors In-Reply-To: References: Message-ID: <4DB83E57.5010503@visp.net> On 4/27/11 12:42 AM, nagios-users-request at lists.sourceforge.net wrote: > check_openmanage with NRPE D'oh. We are using check_openmanage with NRPE. The host o/s is CentOS release 5.5. Perl is perl-5.8.8 (from rpm). Cheers, Steve Glasser | System Administrator | visp.net Direct: 541-955-6903 | Fax: 541-471-0821 ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Wed Apr 27 20:03:30 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 27 Apr 2011 20:03:30 +0200 Subject: check_openmanage errors In-Reply-To: <4DB83E57.5010503@visp.net> (Steve Glasser's message of "Wed, 27 Apr 2011 09:03:35 -0700") References: <4DB83E57.5010503@visp.net> Message-ID: <15t1v0nefm5.fsf@tux.uio.no> Steve Glasser writes: > D'oh. We are using check_openmanage with NRPE. The host o/s is CentOS > release 5.5. Perl is perl-5.8.8 (from rpm). That combination should work just fine. Please try either of the beta versions, as I suggested in my previous email. The issue you're having may very well be fixed in the betas. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Thu Apr 28 03:14:53 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Thu, 28 Apr 2011 09:14:53 +0800 Subject: Strange problem using the obsessive/compulsive service processor in Nagios Core 3.2.3 In-Reply-To: References: Message-ID: if you use ocsp service/host commands to send results to the secondary server, the primary server will wait the ndo module to update the mysql database for completing the commands. it should be an issue of latency, especially you use the obsessive function on *EVERY* check. On Wed, Apr 27, 2011 at 10:29 PM, Eric Michaelis wrote: > Good morning! > > We're having a strange issue trying to use the obsessive/compulsive > processor in Nagios. We're running Nagios Core 3.2.3, with Nagios plugins > version 1.4.15. In our previous production environment, we had encountered > issues with performance while using the NDO module, so we're trying to set > up an architecture like so: > > Primary server: > Runs all active checks, and uses the mklivestatus broker for Nagvis maps and > other visualizations. > Uses the OCSP to send results of all active checks to the second server. > > Secondary server: > Receives checks from the primary server. > Logs service check results to a MySQL database using NDO. > > The problem comes when we enable the obsessive/compulsive options on the > primary. If we enable both the obsess_over_services and obsess_over_hosts > options, it takes it very literally: that's ALL Nagios does. All active > checks stop, and Nagios spends all of its time running the ocsp service and > host commands. > > If we enable only the obsess_over_services option, active checks DO get > performed, but the scheduling queue and check latency starts to grow; with > the active checks falling farther and farther behind. > > The primary Nagios server is a relatively powerful system, with 12 cores and > 64 GB of RAM. The load average, even when it's only running the ocsp > commands, never rises above about 20 or 21, so it doesn't seem like the > server is being overwhelmed. > > Presumably other folks are using the ocsp options successfully, so I'm > curious if anyone has seen anything like this and knows of a fix/workaround? > > Any assistance is greatly appreciated. > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. ?Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 28 04:19:03 2011 From: sglasser at visp.net (Steve Glasser) Date: Wed, 27 Apr 2011 19:19:03 -0700 Subject: check_openmanage errors In-Reply-To: <15t1v0nefm5.fsf@tux.uio.no> References: <4DB83E57.5010503@visp.net> <15t1v0nefm5.fsf@tux.uio.no> Message-ID: <4DB8CE97.9020308@visp.net> On 4/27/11 11:03 AM, Trond Hasle Amundsen wrote: > Steve Glasser writes: > >> D'oh. We are using check_openmanage with NRPE. The host o/s is CentOS >> release 5.5. Perl is perl-5.8.8 (from rpm). > > That combination should work just fine. Please try either of the beta > versions, as I suggested in my previous email. The issue you're having > may very well be fixed in the betas. > > Cheers, Tried check_openmanage-3.7.0-beta2.0-beta2, problem solved. Cheers, Steve Glasser | System Administrator | visp.net Direct: 541-955-6903 | Fax: 541-471-0821 ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmontagner at sorint.it Thu Apr 28 07:56:24 2011 From: gmontagner at sorint.it (Giacomo Montagner) Date: Thu, 28 Apr 2011 07:56:24 +0200 Subject: Strange problem using the obsessive/compulsive service processor in Nagios Core 3.2.3 In-Reply-To: References: Message-ID: <20110428075624.466b51f9@ragnarok.entirelyunlike.net> On Wed, 27 Apr 2011 09:29:57 -0500 Eric Michaelis wrote: > Primary server: > Runs all active checks, and uses the mklivestatus broker for Nagvis maps and > other visualizations. > Uses the OCSP to send results of all active checks to the second server. > > Secondary server: > Receives checks from the primary server. > Logs service check results to a MySQL database using NDO. Hi Eric, I tried that setup and found the same problem. Are you using nsca to send host/service check results to the secondary server? Even without NDO I found that nsca took almost 1s to complete its task and every other action was suspended in the meanwhile. I used a perl script + NDO/MySQL on the primary to replicate check results on the secondary (I posted it on this m-l, on the thread: "nagios server redundancy") but sometimes it misbehaves apparently (and I had no time to investigate/fix it up). That's the only solution I found to make asynchronous replicas. Another way should be merlin plugin, but the latest stable does not work with nagios 3.2.3 Bye. Giacomo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Thu Apr 28 11:57:01 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 28 Apr 2011 11:57:01 +0200 Subject: check_openmanage errors In-Reply-To: <4DB8CE97.9020308@visp.net> (Steve Glasser's message of "Wed, 27 Apr 2011 19:19:03 -0700") References: <4DB83E57.5010503@visp.net> <15t1v0nefm5.fsf@tux.uio.no> <4DB8CE97.9020308@visp.net> Message-ID: <15twried7gy.fsf@tux.uio.no> Steve Glasser writes: >> That combination should work just fine. Please try either of the beta >> versions, as I suggested in my previous email. The issue you're having >> may very well be fixed in the betas. > > Tried check_openmanage-3.7.0-beta2.0-beta2, problem solved. Excellent, thanks for testing and reporting back. I've just released versjon 3.6.6, which contains the same bugfixes as the 3.7 beta, but not the (unfinished) new features :) Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Thu Apr 28 14:09:02 2011 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 28 Apr 2011 12:09:02 +0000 Subject: check_openmanage errors In-Reply-To: <15twried7gy.fsf@tux.uio.no> References: <4DB83E57.5010503@visp.net> <15t1v0nefm5.fsf@tux.uio.no> <4DB8CE97.9020308@visp.net> <15twried7gy.fsf@tux.uio.no> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853AC7D5E9@HC-EXMBX02.herefordshire.gov.uk> Hi Trond, Is the beta of check_openmanage.php available for testing? I'm currently using a slightly modified version of the one in the latest PNP release. Two cosmetic issues came to mind: 1: Temperature is measured in Celsius, not Celcius 2: Formatting when reporting multiple sensors in one graph is irksome - the values don't align in a nice column (e.g. temperatures). I 'solve' this by a judicious use of substr() and str_pad() to normalise the length of reported sensor names. Cheers, Phil -- Phil Randal | Infrastructure Engineer NHS Herefordshire & Herefordshire Council? | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 -----Original Message----- From: Trond Hasle Amundsen [mailto:t.h.amundsen at usit.uio.no] Sent: 28 April 2011 10:57 To: Nagios Users List Subject: Re: [Nagios-users] check_openmanage errors Steve Glasser writes: >> That combination should work just fine. Please try either of the beta >> versions, as I suggested in my previous email. The issue you're >> having may very well be fixed in the betas. > > Tried check_openmanage-3.7.0-beta2.0-beta2, problem solved. Excellent, thanks for testing and reporting back. I've just released versjon 3.6.6, which contains the same bugfixes as the 3.7 beta, but not the (unfinished) new features :) Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Thu Apr 28 15:32:32 2011 From: a31modela at hotmail.com (steve f) Date: Thu, 28 Apr 2011 09:32:32 -0400 Subject: A Question on wwwrun account & httpd2-forks Message-ID: I am just starting to deploy my production nagios core environment and have a question on wwwrun & nagios. I have a distributed environment, 12 remote sites ( so far) each with 6-10 local hosts , one of which is the nagios distributed server. On my Nagios core server, I am looking at resources to see what the server is doing so I can plan out how many servers I ultimately need. I notice that I have 11 httpd2-fork processes running constantly, each using .3% of memory. Is the httpd2-prefork running only to allow external commands to be run from the web interface? Since I am running in a distributed environment, and all my checks are passive, do I need this to be running and or part of the nagcmd group? If I were to go into the web interface console to put a service or host into scheduled downtime for example, aren't I making that change on the core server ? Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Thu Apr 28 15:48:04 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 28 Apr 2011 15:48:04 +0200 Subject: check_openmanage PNP template (Was: check_openmanage errors) In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853AC7D5E9@HC-EXMBX02.herefordshire.gov.uk> (Phil Randal's message of "Thu, 28 Apr 2011 12:09:02 +0000") References: <4DB83E57.5010503@visp.net> <15t1v0nefm5.fsf@tux.uio.no> <4DB8CE97.9020308@visp.net> <15twried7gy.fsf@tux.uio.no> <7CA580B59C1ABD45B4614ED90D4C7B853AC7D5E9@HC-EXMBX02.herefordshire.gov.uk> Message-ID: <15tsjt2cwrv.fsf_-_@tux.uio.no> "Randal, Phil" writes: > Is the beta of check_openmanage.php available for testing? Sure, I put it here: http://folk.uio.no/trondham/software/beta/ Highlights of the template are: - works with the plugin's new perfdata API - removed unnecessary dependence on PHP >= 5.2 (good for rhel/centos 5 users) - calculate power usage for the selected time period, in Watt hours and BTU > I'm currently using a slightly modified version of the one in the latest PNP release. > > Two cosmetic issues came to mind: > > 1: Temperature is measured in Celsius, not Celcius Yep, I know. That typo was the first thing I fixed :) > 2: Formatting when reporting multiple sensors in one graph is irksome > - the values don't align in a nice column (e.g. temperatures). I > 'solve' this by a judicious use of substr() and str_pad() to normalise > the length of reported sensor names. Hm... this could be tricky to do in a consistent and general manner (at least the substr() part). The sensor names are as reported by OMSA. Perhaps this could be accomplished with some RRD magic instead? Tips and hints are welcome, since I'm neither a PHP expert nor an RRD ninja :) Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 28 17:38:34 2011 From: sglasser at visp.net (Steve Glasser) Date: Thu, 28 Apr 2011 08:38:34 -0700 Subject: check_openmanage errors In-Reply-To: <15twried7gy.fsf@tux.uio.no> References: <4DB83E57.5010503@visp.net> <15t1v0nefm5.fsf@tux.uio.no> <4DB8CE97.9020308@visp.net> <15twried7gy.fsf@tux.uio.no> Message-ID: <4DB989FA.9030000@visp.net> On 4/28/11 2:57 AM, Trond Hasle Amundsen wrote: >> Tried check_openmanage-3.7.0-beta2.0-beta2, problem solved. > Excellent, thanks for testing and reporting back. I've just released > versjon 3.6.6, which contains the same bugfixes as the 3.7 beta, but not > the (unfinished) new features:) > > Cheers, > -- Trond H. Amundsen Center for Information > Technology Services, University of Oslo I just installed the 3.6.6 rpm, works great! Thanks for updating the plugin. Steve Glasser | System Administrator | visp.net Direct: 541-955-6903 | Fax: 541-471-0821 ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null