From jim at jimavery.me.uk Fri Aug 2 13:39:27 2013 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 2 Aug 2013 12:39:27 +0100 Subject: how to start nagios with non nagios user In-Reply-To: References: Message-ID: On 31 Jul 2013 14:30, ", Roy" wrote: > > Hi guys, > > I want to start nagios with non root, nagios user. How do I do that. Something like.. sudo /etc/init.d/nagios start should do it. You'll need to edit /etc/sudoers to allow your non-root user to do this. Enter 'man sudoers' to read all the gory detail on how to configure it. However... If your system is anything like mine (Ubuntu), you'll find you can easily give users sudo access to run any command as root by adding them to the 'admin' group. This is by virtue of this entry in /etc/sudoers: # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL Although you might decide this gives them too much power... I hope that helps. Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palli at ok.is Fri Aug 2 14:08:45 2013 From: palli at ok.is (=?utf-8?Q?P=C3=A1ll_Gu=C3=B0j=C3=B3n_Sigur=C3=B0sson?=) Date: Fri, 02 Aug 2013 12:08:45 -0000 (GMT) Subject: how to start nagios with non nagios user In-Reply-To: References: Message-ID: <7cb90e92-b60f-4c6f-985b-6538f3127340@zimbra.okhysing.is> Adding these two lines to /etc/sudoers will help you (stolen from the adagios rpm package): # Allow nagios user to restart the nagios service Defaults:nagios !requiretty nagios ALL = (root) NOPASSWD: /etc/init.d/nagios ----- Original Message ----- From: "Jim Avery" To: "nagios List" Sent: Friday, August 2, 2013 11:39:27 AM Subject: Re: [Nagios-users] how to start nagios with non nagios user On 31 Jul 2013 14:30, ", Roy" < rp346 at njit.edu > wrote: > > Hi guys, > > I want to start nagios with non root, nagios user. How do I do that. Something like.. sudo /etc/init.d/nagios start should do it. You'll need to edit /etc/sudoers to allow your non-root user to do this. Enter 'man sudoers' to read all the gory detail on how to configure it. However... If your system is anything like mine (Ubuntu), you'll find you can easily give users sudo access to run any command as root by adding them to the 'admin' group. This is by virtue of this entry in /etc/sudoers: # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL Although you might decide this gives them too much power... I hope that helps. Jim ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 2 15:56:18 2013 From: giles at coochey.net (Giles Coochey) Date: Fri, 02 Aug 2013 14:56:18 +0100 Subject: nagios alert messages not appearing in hipchat chat window. In-Reply-To: References: <51F4CEFD.6030803@coochey.net> Message-ID: <51FBBA82.8040206@coochey.net> On 31/07/2013 16:21, Kaushal Shriyan wrote: > > > On Sun, Jul 28, 2013 at 1:27 PM, Giles Coochey > wrote: > > On 27/07/2013 10:38, Kaushal Shriyan wrote: >> >> >> On Fri, Jul 26, 2013 at 8:03 PM, Kaushal Shriyan >> > wrote: >> >> Hi, >> >> Thanks for the reply. I have put the below entries in nagios >> commands.cfg file I am running Nagios 3.4.4 on CentOS 6.4. >> >> define command { >> command_name notify-host-by-hipchat >> command_line /usr/bin/hipsaint >> --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=host >> --inputs="$HOSTNAME$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$HOSTSTATE$|$HOSTOUTPUT$" >> >> -n >> } >> define command { >> command_name notify-service-by-hipchat >> command_line /usr/bin/hipsaint >> --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 >> --type=service >> --inputs="$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$" >> >> -n >> } >> >> I am unable to see any nagios alert messages in hipchat >> window. Please let me know if anyone needs more information. >> >> Regards, >> >> Kaushal >> >> >> Hi, >> >> Checking in again for my earlier post to this mailing list. Any >> suggestions please? >> >> Regards, >> >> Kaushal >> > Have you tried running the command manually on the command line as > the nagios user? > > > Hi Giles Coochey, > > Apologies for the delay in replying the email. > > /usr/bin/hipsaint --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 > --type=service > --inputs="$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$" > > when i run the below command replacing all macros, I get the below issue. > [nagios at nagios ~]$ id > uid=502(nagios) gid=502(nagios) groups=502(nagios),503(nagcmd) > [nagios at nagios ~]$ /usr/bin/hipsaint > --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service > --inputs="Main Website solr Wed Jul 31 20:42:28 IST 2013 Recovery > 192.168.70.15 Recovery Ping OK" > Traceback (most recent call last): > File "/usr/bin/hipsaint", line 9, in > load_entry_point('hipsaint==0.4', 'console_scripts', 'hipsaint')() > File > "/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/bin/commands.py", > line 55, in main > msg.deliver_payload() > File > "/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/messages.py", > line 29, in deliver_payload > message_body = self.render_message() > File > "/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/messages.py", > line 56, in render_message > servicedesc, hostalias, timestamp, ntype, hostaddress, state, > serviceoutput = self.inputs.split('|') > ValueError: need more than 1 value to unpack > [nagios at nagios ~]$ > > Please let me know if you need more information. > Hi, So it appears that this isn't a nagios issue, please address this problem with hipsaint: https://github.com/hannseman/hipsaint -- Regards, Giles Coochey, CCNP, CCNA, CCNAS NetSecSpec Ltd +44 (0) 8444 780677 +44 (0) 7983 877438 http://www.coochey.net http://www.netsecspec.co.uk giles at coochey.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4755 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scottvr at gmail.com Fri Aug 2 16:17:16 2013 From: scottvr at gmail.com (Scott VR) Date: Fri, 2 Aug 2013 09:17:16 -0500 Subject: nagios alert messages not appearing in hipchat chat window. In-Reply-To: References: <51F4CEFD.6030803@coochey.net> Message-ID: For what it is worth, even of not a nagios issue, from the error it appears that your input string should be pipe-delimited. So to test you'd do something like /usr/bin/hipsaint --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service --inputs="Main Website solr|Wed Jul 31 20:42:28 IST 2013|Recovery| 192.168.70.15|Recovery|Ping OK" When you replaced the macros, you also replaced the pipe characters with space, causing the python spit method to fail. On Jul 31, 2013 10:28 AM, "Kaushal Shriyan" wrote: > > > On Sun, Jul 28, 2013 at 1:27 PM, Giles Coochey wrote: > >> On 27/07/2013 10:38, Kaushal Shriyan wrote: >> >> >> >> On Fri, Jul 26, 2013 at 8:03 PM, Kaushal Shriyan < >> kaushalshriyan at gmail.com> wrote: >> >>> Hi, >>> >>> Thanks for the reply. I have put the below entries in nagios >>> commands.cfg file I am running Nagios 3.4.4 on CentOS 6.4. >>> >>> define command { >>> command_name notify-host-by-hipchat >>> command_line /usr/bin/hipsaint >>> --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=host >>> >>> --inputs="$HOSTNAME$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$HOSTSTATE$|$HOSTOUTPUT$" >>> -n >>> } >>> define command { >>> command_name notify-service-by-hipchat >>> command_line /usr/bin/hipsaint >>> --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service >>> >>> --inputs="$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$" >>> -n >>> } >>> >>> I am unable to see any nagios alert messages in hipchat window. Please >>> let me know if anyone needs more information. >>> >>> Regards, >>> >>> Kaushal >>> >> >> Hi, >> >> Checking in again for my earlier post to this mailing list. Any >> suggestions please? >> >> Regards, >> >> Kaushal >> >> Have you tried running the command manually on the command line as the >> nagios user? >> > > Hi Giles Coochey, > > Apologies for the delay in replying the email. > > /usr/bin/hipsaint --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 > --type=service > --inputs="$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$" > > when i run the below command replacing all macros, I get the below issue. > [nagios at nagios ~]$ id > uid=502(nagios) gid=502(nagios) groups=502(nagios),503(nagcmd) > [nagios at nagios ~]$ /usr/bin/hipsaint > --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service > --inputs="Main Website solr Wed Jul 31 20:42:28 IST 2013 Recovery > 192.168.70.15 Recovery Ping OK" > Traceback (most recent call last): > File "/usr/bin/hipsaint", line 9, in > load_entry_point('hipsaint==0.4', 'console_scripts', 'hipsaint')() > File > "/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/bin/commands.py", > line 55, in main > msg.deliver_payload() > File > "/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/messages.py", > line 29, in deliver_payload > message_body = self.render_message() > File > "/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/messages.py", > line 56, in render_message > servicedesc, hostalias, timestamp, ntype, hostaddress, state, > serviceoutput = self.inputs.split('|') > ValueError: need more than 1 value to unpack > [nagios at nagios ~]$ > > Please let me know if you need more information. > > Regards > > Kaushal > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at wintercastle.net Fri Aug 2 21:13:41 2013 From: james at wintercastle.net (james) Date: Fri, 2 Aug 2013 15:13:41 -0400 Subject: check_http with regex on redirects Message-ID: <43cfd0d1$5a27d96d$2b5f6ef1$@wintercastle.net> We were using an old version of check_http, 1.4.10, to look for the regex '' on our sites using check_http. Recently we upgraded to a different server (from centos to ubuntu) and re-installed nagios using the package system. Now we are at version 1.4.15 of check_http and this no longer returns OK status for sites where the page is redrected or rewritten i get this instead: HTTP CRITICAL: HTTP/1.1 301 Moved Permanently - pattern not found - 402 bytes in 0.222 second response time I'm not sure if it's a platform difference or something that changes in the plugin. Any advice for getting this check to complete successfully again? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at norchemlab.com Fri Aug 2 21:34:08 2013 From: justinp at norchemlab.com (Justin T Pryzby) Date: Fri, 2 Aug 2013 12:34:08 -0700 Subject: check_http with regex on redirects In-Reply-To: <43cfd0d1$5a27d96d$2b5f6ef1$@wintercastle.net> References: <43cfd0d1$5a27d96d$2b5f6ef1$@wintercastle.net> Message-ID: <20130802193408.GA11101@norchemlab.com> Try -f follow ? justinp at cerberus:~$ /usr/lib/nagios/plugins/check_http -h |grep -- -f [-b proxy_auth] [-f ] -f, --onredirect= On Fri, Aug 02, 2013 at 03:13:41PM -0400, james wrote: > We were using an old version of check_http, 1.4.10, to look for the regex > '' on our sites using check_http. Recently we upgraded to a > different server (from centos to ubuntu) and re-installed nagios using the > package system. Now we are at version 1.4.15 of check_http and this no > longer returns OK status for sites where the page is redrected or rewritten > i get this instead: > > HTTP CRITICAL: HTTP/1.1 301 Moved Permanently - pattern not found - 402 > bytes in 0.222 second response time > > I'm not sure if it's a platform difference or something that changes in the > plugin. Any advice for getting this check to complete successfully again? > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at wintercastle.net Fri Aug 2 23:03:22 2013 From: james at wintercastle.net (james) Date: Fri, 2 Aug 2013 17:03:22 -0400 Subject: check_http with regex on redirects Message-ID: <4992f2ad$1868394e$19707954$@wintercastle.net> >Try -f follow ? > >justinp at cerberus:~$ /usr/lib/nagios/plugins/check_http -h |grep -- -f >[-b proxy_auth] [-f ] >-f, --onredirect= Looks like that will work, thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Sat Aug 3 02:22:16 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Sat, 3 Aug 2013 05:52:16 +0530 Subject: nagios alert messages not appearing in hipchat chat window. In-Reply-To: References: <51F4CEFD.6030803@coochey.net> Message-ID: On Fri, Aug 2, 2013 at 7:47 PM, Scott VR wrote: > For what it is worth, even of not a nagios issue, from the error it > appears that your input string should be pipe-delimited. > > So to test you'd do something like > > /usr/bin/hipsaint --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 > --type=service --inputs="Main Website solr|Wed Jul 31 20:42:28 IST > 2013|Recovery| 192.168.70.15|Recovery|Ping OK" > > When you replaced the macros, you also replaced the pipe characters with > space, causing the python spit method to fail. > Thanks Scott, It worked as expected as I was missing the pipe character (*| *) in the command. Regards Kaushal > On Jul 31, 2013 10:28 AM, "Kaushal Shriyan" > wrote: > >> >> >> On Sun, Jul 28, 2013 at 1:27 PM, Giles Coochey wrote: >> >>> On 27/07/2013 10:38, Kaushal Shriyan wrote: >>> >>> >>> >>> On Fri, Jul 26, 2013 at 8:03 PM, Kaushal Shriyan < >>> kaushalshriyan at gmail.com> wrote: >>> >>>> Hi, >>>> >>>> Thanks for the reply. I have put the below entries in nagios >>>> commands.cfg file I am running Nagios 3.4.4 on CentOS 6.4. >>>> >>>> define command { >>>> command_name notify-host-by-hipchat >>>> command_line /usr/bin/hipsaint >>>> --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=host >>>> >>>> --inputs="$HOSTNAME$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$HOSTSTATE$|$HOSTOUTPUT$" >>>> -n >>>> } >>>> define command { >>>> command_name notify-service-by-hipchat >>>> command_line /usr/bin/hipsaint >>>> --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service >>>> >>>> --inputs="$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$" >>>> -n >>>> } >>>> >>>> I am unable to see any nagios alert messages in hipchat window. Please >>>> let me know if anyone needs more information. >>>> >>>> Regards, >>>> >>>> Kaushal >>>> >>> >>> Hi, >>> >>> Checking in again for my earlier post to this mailing list. Any >>> suggestions please? >>> >>> Regards, >>> >>> Kaushal >>> >>> Have you tried running the command manually on the command line as the >>> nagios user? >>> >> >> Hi Giles Coochey, >> >> Apologies for the delay in replying the email. >> >> /usr/bin/hipsaint --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 >> --type=service >> --inputs="$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$" >> >> when i run the below command replacing all macros, I get the below issue. >> [nagios at nagios ~]$ id >> uid=502(nagios) gid=502(nagios) groups=502(nagios),503(nagcmd) >> [nagios at nagios ~]$ /usr/bin/hipsaint >> --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service >> --inputs="Main Website solr Wed Jul 31 20:42:28 IST 2013 Recovery >> 192.168.70.15 Recovery Ping OK" >> Traceback (most recent call last): >> File "/usr/bin/hipsaint", line 9, in >> load_entry_point('hipsaint==0.4', 'console_scripts', 'hipsaint')() >> File >> "/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/bin/commands.py", >> line 55, in main >> msg.deliver_payload() >> File >> "/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/messages.py", >> line 29, in deliver_payload >> message_body = self.render_message() >> File >> "/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/messages.py", >> line 56, in render_message >> servicedesc, hostalias, timestamp, ntype, hostaddress, state, >> serviceoutput = self.inputs.split('|') >> ValueError: need more than 1 value to unpack >> [nagios at nagios ~]$ >> >> Please let me know if you need more information. >> >> Regards >> >> Kaushal >> >> >> ------------------------------------------------------------------------------ >> Get your SQL database under version control now! >> Version control is standard for application code, but databases havent >> caught up. So what steps can you take to put your SQL databases under >> version control? Why should you start doing it? Read more to find out. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Sat Aug 3 02:27:03 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Sat, 3 Aug 2013 05:57:03 +0530 Subject: Nagios Upgrade Message-ID: Hi, I am running Nagios Version 3.4.4 on CentOS Linux Version 6.4. As per http://www.nagios.org/download/core/thanks?t=1375489385 do i need to update it to 3.5.0 or upgrade to 4.x series and please help me understand the difference between 3.x and the new beta 4.x version. Any dates planned for the stable release 4.x version? Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BChan at Shawcor.com Sat Aug 3 02:26:54 2013 From: BChan at Shawcor.com (Brian Chan) Date: Fri, 2 Aug 2013 20:26:54 -0400 Subject: AUTO: Brian Chan is out of the office (returning 06/08/2013) Message-ID: I am out of the office until 06/08/2013. I will respond to your message when I return. If this is a request for support, click here to open an ITRequest--:> mailto:itrequest at shawcor.com Alternatively, all questions can be directed to the Help Desk at 416-744-5557 Brian Chan Note: This is an automated response to your message "Nagios-users Digest, Vol 87, Issue 1" sent on 08/02/2013 20:22:58. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eliezer at ngtech.co.il Sat Aug 3 14:07:14 2013 From: eliezer at ngtech.co.il (Eliezer Croitoru) Date: Sat, 03 Aug 2013 15:07:14 +0300 Subject: how to start nagios with non nagios user In-Reply-To: <7cb90e92-b60f-4c6f-985b-6538f3127340@zimbra.okhysing.is> References: <7cb90e92-b60f-4c6f-985b-6538f3127340@zimbra.okhysing.is> Message-ID: <51FCF272.4020505@ngtech.co.il> This line will allow the non root user to run nagios as a root user.. So basically it should be: "I want to start nagios *from* non root, nagios user. How do I do that." Eliezer On 08/02/2013 03:08 PM, P?ll Gu?j?n Sigur?sson wrote: > Adding these two lines to /etc/sudoers will help you (stolen from the adagios rpm package): > > # Allow nagios user to restart the nagios service > Defaults:nagios !requiretty > nagios ALL = (root) NOPASSWD: /etc/init.d/nagios > > > > > ----- Original Message ----- > From: "Jim Avery" > To: "nagios List" > Sent: Friday, August 2, 2013 11:39:27 AM > Subject: Re: [Nagios-users] how to start nagios with non nagios user > > > > > > On 31 Jul 2013 14:30, ", Roy" < rp346 at njit.edu > wrote: >> >> Hi guys, >> >> I want to start nagios with non root, nagios user. How do I do that. > > > Something like.. > > sudo /etc/init.d/nagios start > > should do it. > > You'll need to edit /etc/sudoers to allow your non-root user to do this. Enter 'man sudoers' to read all the gory detail on how to configure it. However... > > If your system is anything like mine (Ubuntu), you'll find you can easily give users sudo access to run any command as root by adding them to the 'admin' group. This is by virtue of this entry in /etc/sudoers: > > # Members of the admin group may gain root privileges > %admin ALL=(ALL) ALL > > > Although you might decide this gives them too much power... > > > I hope that helps. > > Jim > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 5 10:50:57 2013 From: ae at op5.se (Andreas Ericsson) Date: Mon, 05 Aug 2013 10:50:57 +0200 Subject: Nagios Upgrade In-Reply-To: References: Message-ID: <51FF6771.8020405@op5.se> On 2013-08-03 02:27, Kaushal Shriyan wrote: > Hi, > > I am running Nagios Version 3.4.4 on CentOS Linux Version 6.4. As per > http://www.nagios.org/download/core/thanks?t=1375489385 do i need to update > it to 3.5.0 or upgrade to 4.x series and please help me understand the > difference between 3.x and the new beta 4.x version. Any dates planned for > the stable release 4.x version? > Nagios 4 has improved performance by a factor of 7, as well as much better interfaces for extending it further in the future. Nagios 3.5 is mainly 3.4 with bugfixes, although one such bugfix caused some internal API's to be changed incompatibly, so we had to bump the minor number for it. -- 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. ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Mon Aug 5 11:13:06 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Mon, 5 Aug 2013 14:43:06 +0530 Subject: Nagios Upgrade In-Reply-To: <51FF6771.8020405@op5.se> References: <51FF6771.8020405@op5.se> Message-ID: On Mon, Aug 5, 2013 at 2:20 PM, Andreas Ericsson wrote: > On 2013-08-03 02:27, Kaushal Shriyan wrote: > >> Hi, >> >> I am running Nagios Version 3.4.4 on CentOS Linux Version 6.4. As per >> http://www.nagios.org/**download/core/thanks?t=**1375489385do i need to update >> it to 3.5.0 or upgrade to 4.x series and please help me understand the >> difference between 3.x and the new beta 4.x version. Any dates planned for >> the stable release 4.x version? >> >> > Nagios 4 has improved performance by a factor of 7, as well as much > better interfaces for extending it further in the future. > > Nagios 3.5 is mainly 3.4 with bugfixes, although one such bugfix caused > some internal API's to be changed incompatibly, so we had to bump the > minor number for it. > Hi Andreas, Any planned date to have Nagios stable version 4.x? Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Mon Aug 5 14:30:01 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Mon, 5 Aug 2013 18:00:01 +0530 Subject: Nagios Upgrade In-Reply-To: <51FF6771.8020405@op5.se> References: <51FF6771.8020405@op5.se> Message-ID: On Mon, Aug 5, 2013 at 2:20 PM, Andreas Ericsson wrote: > On 2013-08-03 02:27, Kaushal Shriyan wrote: > >> Hi, >> >> I am running Nagios Version 3.4.4 on CentOS Linux Version 6.4. As per >> http://www.nagios.org/**download/core/thanks?t=**1375489385do i need to update >> it to 3.5.0 or upgrade to 4.x series and please help me understand the >> difference between 3.x and the new beta 4.x version. Any dates planned for >> the stable release 4.x version? >> >> > Nagios 4 has improved performance by a factor of 7, as well as much > better interfaces for extending it further in the future. > Hi Andreas Ericsson, I am not sure i understand "Nagios 4 has improved performance *by a factor of 7*" with Nagios 3 version. Does it mean performance improvement by 70%?. Correct me if i am understanding it completely wrong. Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Mon Aug 5 14:37:44 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Mon, 5 Aug 2013 18:07:44 +0530 Subject: Fwd: Undeliverable: Re: Nagios Upgrade In-Reply-To: <409c19de-955f-4fb0-9def-906a84a137d4@renegade.com> References: <51FF6771.8020405@op5.se> <409c19de-955f-4fb0-9def-906a84a137d4@renegade.com> Message-ID: Hi Mailing List Administrator, I am getting the below email every time when i send questions to Nagios Users Mailing List. I have emailed repeatedly earlier too about this issue and believe it is still not fixed. Can something be done about it? Regards, Kaushal *---------- Forwarded message ---------- From: Date: Mon, Aug 5, 2013 at 6:03 PM Subject: Undeliverable: Re: [Nagios-users] Nagios Upgrade To: kaushalshriyan at gmail.com * *Delivery has failed to these recipients or groups:* * gchang at renegade.com The e-mail address you entered couldn't be found. Please check the recipient's e-mail address and try to resend the message. If the problem continues, please contact your helpdesk. * * Diagnostic information for administrators: Generating server: renegade.com gchang at renegade.com #550 5.1.1 RESOLVER.ADR.RecipNotFound; not found ## rfc822;gchang at renegade.com Original message headers: Received: from mail126-db9-R.bigfish.com (213.199.154.247) by BY2PRD0411HT003.namprd04.prod.outlook.com (10.255.128.38) with Microsoft SMTP Server (TLS) id 14.16.341.1; Mon, 5 Aug 2013 12:33:01 +0000 Received: from mail126-db9 (localhost [127.0.0.1]) by mail126-db9-R.bigfish.com (Postfix) with ESMTP id 132804E00C3 for ; Mon, 5 Aug 2013 12:33:00 +0000 (UTC) X-Forefront-Antispam-Report: CIP:209.213.83.147;KIP:(null);UIP:(null);IPV:NLI;H:peer41.imailcleaner.com;RD:peer41.imailcleaner.com;EFVD:NLI X-SpamScore: -4 X-BigFish: ps-4(zz98dI9371I936eIc85fhc85dh1432I14e3M168aJdbb0izz1f42h1ee6h1ce5h1fdah201ch2073h1202h1fd0h1e76h1d1ah1cabh1d2ah1fc6hzz1d7338h1de098h17326ah1de096h8275dh1de097h8275ch1a691ciz2eifI11Ieh668h839h107ah10d2h1288h12a5h137ah13eah1441h1537h153bh15a8h162dh1631h1741h1758h17eeh1946h19b5h1b0ah1bceh1d0ch1d2eh1d3fh1dffh1e00h1e1dh1ea5h99diff4m1155h) X-FFO-Routing-Override: renegade.com%inboundsmtpprofile-224713.customer.frontbridge.com; Received-SPF: neutral (mail126-db9: 209.213.83.147 is neither permitted nor denied by domain of gmail.com) client-ip=209.213.83.147; envelope-from=kaushalshriyan at gmail.com; helo=peer41.imailcleaner.com ;lcleaner.com ; Received: from mail126-db9 (localhost.localdomain [127.0.0.1]) by mail126-db9 (MessageSwitch) id 1375705976924514_14096; Mon, 5 Aug 2013 12:32:56 +0000 (UTC) Received: from DB9EHSMHS003.bigfish.com (unknown [10.174.16.235]) by mail126-db9.bigfish.com (Postfix) with ESMTP id DCD33220046 for ; Mon, 5 Aug 2013 12:32:56 +0000 (UTC) Received: from peer41.imailcleaner.com (209.213.83.147) by DB9EHSMHS003.bigfish.com (10.174.14.13) with Microsoft SMTP Server id 14.16.227.3; Mon, 5 Aug 2013 12:32:54 +0000 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) X-Spam-Level: X-Spam-Status: No, score=0.0 required=50.0 tests=HTML_MESSAGE autolearn=disabled version=3.1.8 X-Spam-Report: * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from lists.sourceforge.net ([216.34.181.88]) by renegade.com (peer41.imailcleaner.com) (MDaemon PRO v9.6.6) with ESMTP id md50072368988.msg for ; Mon, 05 Aug 2013 08:32:46 -0400 X-MDOP-RefID: str=0001.0A090202.51FF9B6F.0167:SCGSTAT693215,ss=1,re=-4.000,fgs=1024 (_st=1 _vt=0 _iwf=0) X-Rcpt-To: gchang at renegade.com X-MDRcpt-To: gchang at renegade.com X-MDRemoteIP: 216.34.181.88 X-Envelope-From: nagios-users-bounces at lists.sourceforge.net Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V6Jvi-0006Yb-Ia; Mon, 05 Aug 2013 12:30:30 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V6Jvg-0006YT-Uu for nagios-users at lists.sourceforge.net; Mon, 05 Aug 2013 12:30:28 +0000 Received: from mail-bk0-f46.google.com ([209.85.214.46]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V6Jvg-00026N-0R for nagios-users at lists.sourceforge.net; Mon, 05 Aug 2013 12:30:28 +0000 Received: by mail-bk0-f46.google.com with SMTP id 6so938467bkj.19 for ; Mon, 05 Aug 2013 05:30:21 -0700 (PDT) X-Received: by 10.204.62.201 with SMTP id y9mr2708191bkh.23.1375705821533; Mon, 05 Aug 2013 05:30:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.50.74 with HTTP; Mon, 5 Aug 2013 05:30:01 -0700 (PDT) In-Reply-To: <51FF6771.8020405 at op5.se> References: <51FF6771.8020405 at op5.se> From: Kaushal Shriyan Date: Mon, 5 Aug 2013 18:00:01 +0530 Message-ID: To: Andreas Ericsson X-Headers-End: 1V6Jvg-00026N-0R CC: Nagios Users List Subject: Re: [Nagios-users] Nagios Upgrade X-BeenThere: nagios-users at lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Nagios Users List List-Id: Nagios Users List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6854761349196620318==" Errors-To: nagios-users-bounces at lists.sourceforge.net X-MessageSniffer-GBUdb-Result: 0, 216.34.181.88, Ugly c=0.372106 p=-0.297297 Source Normal X-MessageSniffer-Scan-Result: 0 X-MessageSniffer-Patterns: 0-28942-78-899-w 0-28942-78-1843-w 0-28942-78-2527-w 0-28942-78-2725-w 0-28942-78-3082-w 0-28942-0-10407-f X-Spam-Processed: peer41.imailcleaner.com, Mon, 05 Aug 2013 08:32:47 -0400 X-MDAV-Processed: peer41.imailcleaner.com, Mon, 05 Aug 2013 08:32:47 -0400 X-PTP-ID: Spam-Filter.com X-Return-Path: kaushalshriyan at gmail.com X-MDaemon-Deliver-To: gchang at renegade.com Return-Path: kaushalshriyan at gmail.com * * Original-Recipient: rfc822;gchang at renegade.com Final-Recipient: rfc822;gchang at renegade.com Action: failed Status: 5.1.1 Diagnostic-Code: smtp;550 5.1.1 RESOLVER.ADR.RecipNotFound; not found * -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 5 16:46:36 2013 From: ae at op5.se (Andreas Ericsson) Date: Mon, 05 Aug 2013 16:46:36 +0200 Subject: Nagios Upgrade In-Reply-To: References: <51FF6771.8020405@op5.se> Message-ID: <51FFBACC.2020108@op5.se> On 2013-08-05 14:30, Kaushal Shriyan wrote: > On Mon, Aug 5, 2013 at 2:20 PM, Andreas Ericsson wrote: > >> On 2013-08-03 02:27, Kaushal Shriyan wrote: >> >>> Hi, >>> >>> I am running Nagios Version 3.4.4 on CentOS Linux Version 6.4. As per >>> http://www.nagios.org/**download/core/thanks?t=**1375489385do i need to update >>> it to 3.5.0 or upgrade to 4.x series and please help me understand the >>> difference between 3.x and the new beta 4.x version. Any dates planned for >>> the stable release 4.x version? >>> >>> >> Nagios 4 has improved performance by a factor of 7, as well as much >> better interfaces for extending it further in the future. >> > > Hi Andreas Ericsson, > > I am not sure i understand "Nagios 4 has improved performance *by a factor > of 7*" with Nagios 3 version. Does it mean performance improvement by 70%?. > Correct me if i am understanding it completely wrong. > 700%, in terms of the number of jobs it can spawn, according to a volunteer tester who reported in a few days ago. It's actually a bit inaccurate to talk about percentages, since most algorithms used in Nagios 4 are several orders of magnitude faster than the ones in Nagios 3, and that means they'll scale a lot better, but for very small installations you won't notice much difference except a slightly lower load. -- 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. ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dwittenberg2008 at gmail.com Mon Aug 5 17:27:18 2013 From: dwittenberg2008 at gmail.com (Daniel Wittenberg) Date: Mon, 5 Aug 2013 10:27:18 -0500 Subject: Nagios Upgrade In-Reply-To: <51FFBACC.2020108@op5.se> References: <51FF6771.8020405@op5.se> <51FFBACC.2020108@op5.se> Message-ID: On Aug 5, 2013, at 9:46 AM, Andreas Ericsson wrote: > On 2013-08-05 14:30, Kaushal Shriyan wrote: >> On Mon, Aug 5, 2013 at 2:20 PM, Andreas Ericsson wrote: >> >>> On 2013-08-03 02:27, Kaushal Shriyan wrote: >>> >>>> Hi, >>>> >>>> I am running Nagios Version 3.4.4 on CentOS Linux Version 6.4. As per >>>> http://www.nagios.org/**download/core/thanks?t=**1375489385do i need to update >>>> it to 3.5.0 or upgrade to 4.x series and please help me understand the >>>> difference between 3.x and the new beta 4.x version. Any dates planned for >>>> the stable release 4.x version? >>>> >>>> >>> Nagios 4 has improved performance by a factor of 7, as well as much >>> better interfaces for extending it further in the future. >>> >> >> Hi Andreas Ericsson, >> >> I am not sure i understand "Nagios 4 has improved performance *by a factor >> of 7*" with Nagios 3 version. Does it mean performance improvement by 70%?. >> Correct me if i am understanding it completely wrong. >> > > 700%, in terms of the number of jobs it can spawn, according to a > volunteer tester who reported in a few days ago. > > It's actually a bit inaccurate to talk about percentages, since > most algorithms used in Nagios 4 are several orders of magnitude > faster than the ones in Nagios 3, and that means they'll scale a > lot better, but for very small installations you won't notice > much difference except a slightly lower load. I'm seeing those types of numbers too on virtual systems, so keep in mind if you are still using bare metal servers your numbers might be different too, I haven't had any bare metal for awhile to do any testing with. Dan ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jr at tabbysplace.org Mon Aug 5 17:50:17 2013 From: jr at tabbysplace.org (Jonathan Rosenberg) Date: Mon, 5 Aug 2013 11:50:17 -0400 Subject: Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! Message-ID: I started seeing this error today after modifying the server.cfg file. I have double-checked all of the file permissions & the httpd server config file & all seems as it should be. Where else do I look? -- Jonathan Rosenberg Founder & Executive Director Tabby's Place, a Cat Sanctuary http://www.tabbysplace.org/ ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlpaneda at sciodev.com Mon Aug 5 17:41:48 2013 From: jlpaneda at sciodev.com (Jorge Luis Paneda) Date: Mon, 5 Aug 2013 15:41:48 +0000 Subject: Update Nagios 3.3.1 to 3.5.0 Message-ID: <33e992b5fae7403592dc29e89cb59da7@BLUPR05MB246.namprd05.prod.outlook.com> Hi, I'm running Nagios 3.3.1 on Centos Linux release 5.9 and I want to update my Nagios version to 3.5.0. ?Which ones would be the best steps or best way to accomplish this? Regards, Jorge L. Pa?eda [Description: Description: scio] Systems Administrator Scio Consulting | IT & Infrastructure Dept. Las Ca?adas 501 Int. 230 Col. Tres Mar?as Morelia, Mich., M?xico Tel. (443) 310-96-01 ext. 402 U.S. Phone: 408 404 3897 Ext. 402 www.sciodev.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3466 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Mon Aug 5 18:16:17 2013 From: alexus at gmail.com (alexus) Date: Mon, 5 Aug 2013 12:16:17 -0400 Subject: Update Nagios 3.3.1 to 3.5.0 In-Reply-To: <33e992b5fae7403592dc29e89cb59da7@BLUPR05MB246.namprd05.prod.outlook.com> References: <33e992b5fae7403592dc29e89cb59da7@BLUPR05MB246.namprd05.prod.outlook.com> Message-ID: yum update nagios* service nagios restart On Mon, Aug 5, 2013 at 11:41 AM, Jorge Luis Paneda wrote: > Hi, **** > > ** ** > > I?m running Nagios 3.3.1 on Centos Linux release 5.9 and I want to update > my Nagios version to 3.5.0. **** > > ** ** > > ?Which ones would be the best steps or best way to accomplish this?**** > > ** ** > > Regards,**** > > ** ** > > Jorge L. Pa?eda**** > > ** ** > > *[image: Description: Description: scio]*** > > * * > > *Systems Administrator* > > Scio Consulting | IT & Infrastructure Dept.**** > > Las Ca?adas 501 Int. 230 Col. Tres Mar?as **** > > Morelia, Mich., M?xico Tel. (443) 310-96-01 ext. 402** > > U.S. Phone: 408 404 3897 Ext. 402**** > > www.sciodev.com**** > > ** ** > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- http://alexus.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3466 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil.randal at hoopleltd.co.uk Mon Aug 5 18:35:10 2013 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Mon, 5 Aug 2013 16:35:10 +0000 Subject: Update Nagios 3.3.1 to 3.5.0 In-Reply-To: <33e992b5fae7403592dc29e89cb59da7@BLUPR05MB246.namprd05.prod.outlook.com> References: <33e992b5fae7403592dc29e89cb59da7@BLUPR05MB246.namprd05.prod.outlook.com> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B8541A8114B@HC-EXMBX04.herefordshire.gov.uk> That depends on how and where you installed it from in the first place. >From RPM, and if so, which repo? Or from source? Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: Jorge Luis Paneda [mailto:jlpaneda at sciodev.com] Sent: 05 August 2013 16:42 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Update Nagios 3.3.1 to 3.5.0 Hi, I'm running Nagios 3.3.1 on Centos Linux release 5.9 and I want to update my Nagios version to 3.5.0. ?Which ones would be the best steps or best way to accomplish this? Regards, Jorge L. Pa?eda [Description: Description: scio] Systems Administrator Scio Consulting | IT & Infrastructure Dept. Las Ca?adas 501 Int. 230 Col. Tres Mar?as Morelia, Mich., M?xico Tel. (443) 310-96-01 ext. 402 U.S. Phone: 408 404 3897 Ext. 402 www.sciodev.com Hoople Ltd, Registered in England and Wales No. 7556595 Registered office: Plough Lane, Hereford, HR4 0LE "Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3466 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlpaneda at sciodev.com Mon Aug 5 21:25:05 2013 From: jlpaneda at sciodev.com (Jorge Luis Paneda) Date: Mon, 5 Aug 2013 19:25:05 +0000 Subject: Update Nagios 3.3.1 to 3.5.0 In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B8541A8114B@HC-EXMBX04.herefordshire.gov.uk> References: <33e992b5fae7403592dc29e89cb59da7@BLUPR05MB246.namprd05.prod.outlook.com> <7CA580B59C1ABD45B4614ED90D4C7B8541A8114B@HC-EXMBX04.herefordshire.gov.uk> Message-ID: Yum doesn't work it doesn't show anything for nagios. For the installation we download it from sourceforge.net and install it with the make command. Regards, Jorge L. Pa?eda [Description: Description: scio] Systems Administrator Scio Consulting | IT & Infrastructure Dept. Las Ca?adas 501 Int. 230 Col. Tres Mar?as Morelia, Mich., M?xico Tel. (443) 310-96-01 ext. 402 U.S. Phone: 408 404 3897 Ext. 402 www.sciodev.com From: Randal, Phil [mailto:phil.randal at hoopleltd.co.uk] Sent: lunes, 05 de agosto de 2013 11:35 a.m. To: Nagios Users List Subject: Re: [Nagios-users] Update Nagios 3.3.1 to 3.5.0 That depends on how and where you installed it from in the first place. >From RPM, and if so, which repo? Or from source? Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: Jorge Luis Paneda [mailto:jlpaneda at sciodev.com] Sent: 05 August 2013 16:42 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Update Nagios 3.3.1 to 3.5.0 Hi, I'm running Nagios 3.3.1 on Centos Linux release 5.9 and I want to update my Nagios version to 3.5.0. ?Which ones would be the best steps or best way to accomplish this? Regards, Jorge L. Pa?eda [Description: Description: scio] Systems Administrator Scio Consulting | IT & Infrastructure Dept. Las Ca?adas 501 Int. 230 Col. Tres Mar?as Morelia, Mich., M?xico Tel. (443) 310-96-01 ext. 402 U.S. Phone: 408 404 3897 Ext. 402 www.sciodev.com Hoople Ltd, Registered in England and Wales No. 7556595 Registered office: Plough Lane, Hereford, HR4 0LE "Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3466 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcarey at ucar.edu Mon Aug 5 22:35:09 2013 From: mcarey at ucar.edu (Maxwell Carey) Date: Mon, 05 Aug 2013 14:35:09 -0600 Subject: Update Nagios 3.3.1 to 3.5.0 In-Reply-To: References: <33e992b5fae7403592dc29e89cb59da7@BLUPR05MB246.namprd05.prod.outlook.com> <7CA580B59C1ABD45B4614ED90D4C7B8541A8114B@HC-EXMBX04.herefordshire.gov.uk> Message-ID: <52000C7D.9010505@ucar.edu> On 08/05/2013 01:25 PM, Jorge Luis Paneda wrote: > > Yum doesn't work it doesn't show anything for nagios. > > For the installation we download it from sourceforge.net and install > it with the make command. > Did you already read the upgrade instructions from this page? http://nagios.sourceforge.net/docs/3_0/upgrading.html I referenced that document and the Fedora Quickstart guide (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) to upgrade from 3.3.1 to 3.5.0 on an SL6 machine. --Max -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlpaneda at sciodev.com Mon Aug 5 23:11:39 2013 From: jlpaneda at sciodev.com (Jorge Luis Paneda) Date: Mon, 5 Aug 2013 21:11:39 +0000 Subject: Update Nagios 3.3.1 to 3.5.0 In-Reply-To: <52000C7D.9010505@ucar.edu> References: <33e992b5fae7403592dc29e89cb59da7@BLUPR05MB246.namprd05.prod.outlook.com> <7CA580B59C1ABD45B4614ED90D4C7B8541A8114B@HC-EXMBX04.herefordshire.gov.uk> <52000C7D.9010505@ucar.edu> Message-ID: Thanks Maxwell, this made the trick..... Simple and easy.... I always forgot to search first in the official documentation... :p Regards, Jorge L. Pa?eda [Description: Description: scio] Systems Administrator Scio Consulting | IT & Infrastructure Dept. Las Ca?adas 501 Int. 230 Col. Tres Mar?as Morelia, Mich., M?xico Tel. (443) 310-96-01 ext. 402 U.S. Phone: 408 404 3897 Ext. 402 www.sciodev.com From: Maxwell Carey [mailto:mcarey at ucar.edu] Sent: lunes, 05 de agosto de 2013 03:35 p.m. To: Nagios Users List Subject: Re: [Nagios-users] Update Nagios 3.3.1 to 3.5.0 On 08/05/2013 01:25 PM, Jorge Luis Paneda wrote: Yum doesn't work it doesn't show anything for nagios. For the installation we download it from sourceforge.net and install it with the make command. Did you already read the upgrade instructions from this page? http://nagios.sourceforge.net/docs/3_0/upgrading.html I referenced that document and the Fedora Quickstart guide (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) to upgrade from 3.3.1 to 3.5.0 on an SL6 machine. --Max -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3466 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 6 15:06:31 2013 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 06 Aug 2013 15:06:31 +0200 Subject: check_Openmanage trouble In-Reply-To: <505F8C269645484F93E3C862A19CC01E15F6673D@OLBORS007.offlimits.local> (Timo Weberskirch's message of "Tue, 6 Aug 2013 12:05:55 +0000") References: <505F8C269645484F93E3C862A19CC01E15F6673D@OLBORS007.offlimits.local> Message-ID: <15tpptrotns.fsf@tux.uio.no> "Weberskirch, Timo" writes: > maybe one of you has the same problem with the check_openmanage plugin? > > Last week we installed two new Dell PowerEdge R720 with OMSA v 7.3.0 > (check_openmange version: 3.7.10). > > Everytime I try to check my Server I get this error message: > > ?SNMP ERROR [storage / pdisk]: Requested entries are empty or do not exist.? Hello Timo, There seems to be some sort of issue with the Openmanage installation on this server. First thing to do is double-check that everything is installed properly. On a RHEL6 system, the following storage related RPM packages should be installed: # rpm -qa|grep srvadmin-storage srvadmin-storageservices-7.3.0-4.4.1.el6.x86_64 srvadmin-storage-7.3.0-4.93.2.el6.x86_64 srvadmin-storage-cli-7.3.0-4.93.2.el6.x86_64 srvadmin-storageservices-snmp-7.3.0-4.4.1.el6.x86_64 srvadmin-storage-snmp-7.3.0-4.93.2.el6.x86_64 srvadmin-storageservices-cli-7.3.0-4.4.1.el6.x86_64 Do you see any physical disks in the Openmanage Web Console? (point your browser to https://:1311/ and log in as root) Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at opsview.com Tue Aug 6 19:16:14 2013 From: ton.voon at opsview.com (Ton Voon) Date: Tue, 6 Aug 2013 18:16:14 +0100 Subject: Patches for inclusion to Nagios 4 Message-ID: <9CBED93D-110D-4303-9A21-D3AE2DEE2B67@opsview.com> Hi! We've published a list of patches for Nagios 4: http://www.opsview.com/whats-new/blog/opsview-patches-nagios-4 We'd be happy if you could review if these are acceptable for future inclusion or if anyone else finds them useful. Ton ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk From farhanusmani87 at gmail.com Mon Aug 5 19:55:58 2013 From: farhanusmani87 at gmail.com (Farhan Usmani) Date: Mon, 5 Aug 2013 10:55:58 -0700 Subject: Nagios Process Monitor Message-ID: Dear team, How can we monitor open vpn process through nagios.Thanks Farhan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at norchemlab.com Tue Aug 6 23:26:48 2013 From: justinp at norchemlab.com (Justin T Pryzby) Date: Tue, 6 Aug 2013 14:26:48 -0700 Subject: Nagios Process Monitor In-Reply-To: References: Message-ID: <20130806212648.GA32602@norchemlab.com> On Mon, Aug 05, 2013 at 10:55:58AM -0700, Farhan Usmani wrote: > How can we monitor open vpn process through nagios.Thanks I'm using the attached wrapper script. Justin -------------- next part -------------- #! /bin/sh # Check that ALL vpn daemons are running. set -e pp=/usr/lib/nagios/plugins for a in /etc/openvpn/*.conf do b=`basename "$a" .conf` f=/var/run/openvpn.$b.status if x=`$pp/check_file_age -w 60 -c 120 -W 150 -C 50 -f "$f"` then out="$out, ${f##*/}" else err="$err, ${f##*/}" fi long=`printf "%s\n%s" "$long" "$x"` done [ -z "$err" ] && echo "OK: $out" && echo "$long" && exit echo "CRITICAL: $err" echo "$long" exit 2 -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dwittenberg2008 at gmail.com Wed Aug 7 04:44:49 2013 From: dwittenberg2008 at gmail.com (Daniel Wittenberg) Date: Tue, 6 Aug 2013 21:44:49 -0500 Subject: Patches for inclusion to Nagios 4 In-Reply-To: <9CBED93D-110D-4303-9A21-D3AE2DEE2B67@opsview.com> References: <9CBED93D-110D-4303-9A21-D3AE2DEE2B67@opsview.com> Message-ID: <2BA5523A-5CC9-41A7-AA60-C4AAE207B11F@gmail.com> Looks like some good additions. Since I'm in the middle of doing some in-depth performance tuning/comparison between 3.2.3 and 4.0 I might to throw a couple of these on and see how things change. Thanks! Dan On Aug 6, 2013, at 12:16 PM, Ton Voon wrote: > Hi! > > We've published a list of patches for Nagios 4: http://www.opsview.com/whats-new/blog/opsview-patches-nagios-4 > > We'd be happy if you could review if these are acceptable for future inclusion or if anyone else finds them useful. > > Ton > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk From ae at op5.se Wed Aug 7 09:51:37 2013 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Aug 2013 09:51:37 +0200 Subject: Patches for inclusion to Nagios 4 In-Reply-To: <9CBED93D-110D-4303-9A21-D3AE2DEE2B67@opsview.com> References: <9CBED93D-110D-4303-9A21-D3AE2DEE2B67@opsview.com> Message-ID: <5201FC89.8060103@op5.se> On 2013-08-06 19:16, Ton Voon wrote: > Hi! > > We've published a list of patches for Nagios 4: > http://www.opsview.com/whats-new/blog/opsview-patches-nagios-4 > > We'd be happy if you could review if these are acceptable for future > inclusion or if anyone else finds them useful. > I'd like to get patches with commit messages and proper author and signed-off-by info. Since we're using git for Nagios now, it'd go a long way in making sure everyone gets credit for the work they've done. The patches also need to apply cleanly to the latest master. You may want to clone the official Nagios repo, apply your patches on top of it and then send me a pull request for github or some such. git clone git://git.code.sf.net/p/nagios/nagios nagios-core should get you the very latest. If you apply your patches on top of 'master' and make sure to always do "git pull --rebase" when you want to get the latest and greatest you'll quickly see which patches either have been applied or which no longer *can* be applied. Then you can create a separate repository on github or some such and push the changes there. On a first inspection though; * Don't comment out code. Bringing back dead code is what the VCS is for, and keeping it around is just plain dumb. If it shouldn't be in there, just remove it. In the same vein; Don't add commented-out code. * Avoid C++ comments. I know they're supported in C99, which I'm rooting for as the least version supported, but it's against the current style. * Don't mix spaces and tabs for indentation, unless it's continuation- indentation of a multi-line statement or condition. Stick to the style in the file you're editing, and *look* at the patch before you send it somewhere. * Avoid comments saying things like "Opsview specific foobar" if you want to have the patches included. If you *don't* want those patches included, don't send them to me or point me to where they are. It takes up a lot of time to remove crap like that, and I have no interest in cleaning up after anyone else. I'm messy enough as it is on my own. * Don't augment objects (such as hosts, services, commands) with new variables. Doing so means Nagios 4.1, and I can't take patches like that until Nagios 4 is at least released as stable. All objects have an 'id' field which means you can look up any extra data you want in O(1) time, provided you just initialize an array of size num_objects.$desired_object_type_in_plural before we enter the event loop. * Make patches the most scalable you can. For the "check_time_period" thing, you'd be far better off adding code to detect timeperiod changes, notice which timeperiods are used to change commands and make a one-off swap for all the affected commands as the desired timeperiod comes either in or out of effect. * Don't build on deprecated technology, such as external files for commands and/or check results. -- 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. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk From mariog at absi.be Wed Aug 7 17:43:14 2013 From: mariog at absi.be (Mario Garcia) Date: Wed, 7 Aug 2013 17:43:14 +0200 Subject: Check_ipmi_sensor giving errors Message-ID: Hello I have configured several dell server to check the hardware via ipmi as the servers are running esxi and it is not possible to install an agent such as nrpe or check_mk but after a couple of week I started receiving this kind of error ipmi_ctx_open_outofband: BMC busy and the service return unknown for a couple of minutes then back OK I have read that it is because of cache and i should set SDR on freeipmi but how to implement this on the plugin check_ipmi_sensors? thank you for your help -- -- Mario Garcia ABSI SA 224 Bd de l'Humanit? 1190 Brussels Belgium www.absi.be Tel 00 322 333 40 00 -- -- Mario Garcia ABSI SA 224 Bd de l'Humanit? 1190 Brussels Belgium www.absi.be Tel 00 322 333 40 00 ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rercola at pha.jhu.edu Wed Aug 7 18:27:20 2013 From: rercola at pha.jhu.edu (Rich) Date: Wed, 7 Aug 2013 12:27:20 -0400 Subject: check_Openmanage trouble In-Reply-To: <505F8C269645484F93E3C862A19CC01E15F69172@OLBORS007.offlimits.local> References: <505F8C269645484F93E3C862A19CC01E15F69172@OLBORS007.offlimits.local> Message-ID: Usually, when I've seen this, it's been after doing an upgrade of an existing OMSA install (<= 6.x to 7.x). In general, I haven't found a good way to resolve it other than automating a complete uninstall of OMSA prior to installing the newer version. - Rih On Wed, Aug 7, 2013 at 8:09 AM, Weberskirch, Timo < timo.weberskirch at offlimits-it.com> wrote: > Hello Trond, > > > > Thank you for your fast response! > > I?am new to the userlist and I hope my answer will appear in the right > thread. > > > > It?s a Server 2012 Standard based SQL Failovercluster. > > On each node I can see all physical and virtual disks in the web console. > > > > Maybe there is a problem with the 6 Gbps SAS HBA card which is installed > in both nodes of the cluster? > > > > Regards, > > Timo > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 7 18:53:40 2013 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 07 Aug 2013 18:53:40 +0200 Subject: check_Openmanage trouble In-Reply-To: (Rich's message of "Wed, 7 Aug 2013 12:27:20 -0400") References: <505F8C269645484F93E3C862A19CC01E15F69172@OLBORS007.offlimits.local> Message-ID: <15tr4e5o31n.fsf@tux.uio.no> Rich writes: > Usually, when I've seen this, it's been after doing an upgrade of an > existing OMSA install (<= 6.x to 7.x). > > In general, I haven't found a good way to resolve it other than > automating a complete uninstall of OMSA prior to installing the newer > version. Yes, I think the logical next step in this case is to do a complete uninstall, then reinstall of OMSA on the host. The problem is in OMSA and must be fixed there. The plugin is simply complaining that OMSA isn't responding as expected. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at opsview.com Thu Aug 8 15:17:01 2013 From: ton.voon at opsview.com (Ton Voon) Date: Thu, 8 Aug 2013 14:17:01 +0100 Subject: Patches for inclusion to Nagios 4 In-Reply-To: <5201FC89.8060103@op5.se> References: <9CBED93D-110D-4303-9A21-D3AE2DEE2B67@opsview.com> <5201FC89.8060103@op5.se> Message-ID: <43A3B28F-D5A4-43D6-BAB9-9482FCE820D5@opsview.com> On 7 Aug 2013, at 08:51, Andreas Ericsson wrote: > On 2013-08-06 19:16, Ton Voon wrote: >> Hi! >> >> We've published a list of patches for Nagios 4: >> http://www.opsview.com/whats-new/blog/opsview-patches-nagios-4 >> >> We'd be happy if you could review if these are acceptable for future >> inclusion or if anyone else finds them useful. >> > > I'd like to get patches with commit messages and proper author and > signed-off-by info. Since we're using git for Nagios now, it'd go > a long way in making sure everyone gets credit for the work they've > done. > > The patches also need to apply cleanly to the latest master. > > You may want to clone the official Nagios repo, apply your patches on > top of it and then send me a pull request for github or some such. > > git clone git://git.code.sf.net/p/nagios/nagios nagios-core > > should get you the very latest. If you apply your patches on top of > 'master' and make sure to always do "git pull --rebase" when you want > to get the latest and greatest you'll quickly see which patches either > have been applied or which no longer *can* be applied. Then you can > create a separate repository on github or some such and push the changes > there. OK, we'll convert them into git changes based off master. However.... I'd like an assurance that the changes will be merged before we promise to convert. Style changes are fine, won't take much time and will not require retesting, but if we need to refactor object changes or make larger changes to logic, this will require retesting on our side. I'd like a reassurance that the time invested will result in a merge upstream, otherwise we're just wasting time for all of us. For instance, your assistance in the "environment macros per-command" was greatly appreciated and we've coded to the design agreed in the email conversations, but it hasn't been merged yet. So I'd like to reverse the question and ask "which changes are most likely to be accepted, based on the amount of changes required" and we'll work through that list in order. > > > On a first inspection though; > * Don't comment out code. Bringing back dead code is what the VCS is > for, and keeping it around is just plain dumb. If it shouldn't be in > there, just remove it. In the same vein; Don't add commented-out code. > > * Avoid C++ comments. I know they're supported in C99, which I'm rooting > for as the least version supported, but it's against the current style. > > * Don't mix spaces and tabs for indentation, unless it's continuation- > indentation of a multi-line statement or condition. Stick to the style > in the file you're editing, and *look* at the patch before you send it > somewhere. > > * Avoid comments saying things like "Opsview specific foobar" if you > want to have the patches included. If you *don't* want those patches > included, don't send them to me or point me to where they are. It takes > up a lot of time to remove crap like that, and I have no interest in > cleaning up after anyone else. I'm messy enough as it is on my own. > > * Don't augment objects (such as hosts, services, commands) with new > variables. Doing so means Nagios 4.1, and I can't take patches like > that until Nagios 4 is at least released as stable. All objects have > an 'id' field which means you can look up any extra data you want in > O(1) time, provided you just initialize an array of size > num_objects.$desired_object_type_in_plural before we enter the event > loop. > > * Make patches the most scalable you can. For the "check_time_period" > thing, you'd be far better off adding code to detect timeperiod changes, > notice which timeperiods are used to change commands and make a one-off > swap for all the affected commands as the desired timeperiod comes > either in or out of effect. > > * Don't build on deprecated technology, such as external files for > commands and/or check results ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk From ae at op5.se Thu Aug 8 17:52:22 2013 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Aug 2013 17:52:22 +0200 Subject: [Nagios-devel] Patches for inclusion to Nagios 4 In-Reply-To: <43A3B28F-D5A4-43D6-BAB9-9482FCE820D5@opsview.com> References: <9CBED93D-110D-4303-9A21-D3AE2DEE2B67@opsview.com> <5201FC89.8060103@op5.se> <43A3B28F-D5A4-43D6-BAB9-9482FCE820D5@opsview.com> Message-ID: <5203BEB6.1000907@op5.se> On 2013-08-08 15:17, Ton Voon wrote: > > On 7 Aug 2013, at 08:51, Andreas Ericsson wrote: > >> On 2013-08-06 19:16, Ton Voon wrote: >>> Hi! >>> >>> We've published a list of patches for Nagios 4: >>> http://www.opsview.com/whats-new/blog/opsview-patches-nagios-4 >>> >>> We'd be happy if you could review if these are acceptable for >>> future inclusion or if anyone else finds them useful. >>> >> >> I'd like to get patches with commit messages and proper author and >> signed-off-by info. Since we're using git for Nagios now, it'd go a >> long way in making sure everyone gets credit for the work they've >> done. >> >> The patches also need to apply cleanly to the latest master. >> >> You may want to clone the official Nagios repo, apply your patches >> on top of it and then send me a pull request for github or some >> such. >> >> git clone git://git.code.sf.net/p/nagios/nagios nagios-core >> >> should get you the very latest. If you apply your patches on top >> of 'master' and make sure to always do "git pull --rebase" when you >> want to get the latest and greatest you'll quickly see which >> patches either have been applied or which no longer *can* be >> applied. Then you can create a separate repository on github or >> some such and push the changes there. > > OK, we'll convert them into git changes based off master. > However.... > > I'd like an assurance that the changes will be merged before we > promise to convert. Style changes are fine, won't take much time and > will not require retesting, but if we need to refactor object changes > or make larger changes to logic, this will require retesting on our > side. I'd like a reassurance that the time invested will result in a > merge upstream, otherwise we're just wasting time for all of us. > > For instance, your assistance in the "environment macros per-command" > was greatly appreciated and we've coded to the design agreed in the > email conversations, but it hasn't been merged yet. > It has, but it hasn't. The original patch no longer applies, due to extensive remodeling of the worker code. I still have it hanging around though, and I'm fairly inclined towards using it for services and hosts as well, so that environment macros can be set on a service level as well as on a command level. I've also been investigating the chances of doing this without resorting to setenv() (in essence, building a one-off block of the load-time environment macros, and then extending that whenever we hit an environment variable). But yea, I've got that one already. > So I'd like to reverse the question and ask "which changes are most > likely to be accepted, based on the amount of changes required" and > we'll work through that list in order. > Thread-safe calls It's harmless, and I'd apply it straight away if I had a sensible commit message for it, but I don't know why you need this so I can't really write one. While we're on the topic; Please write commit messages in imperative form and present tense, as if you're giving orders to the code for how it should change. Also give a short rationale for why it should change that way. The rules about not commenting out code you want to get rid of still applies though. It just looks terribly hackish when patches meant for upstream contains things like that. Slice services within hosts So long as it's configurable from cgi.cfg and the default stays the same as it is today I'll apply it immediately. It has no impact on loadable modules or other headaches, so that's a nobrainer, really. Check command by time period I feel this is somewhat lacking in efficiency and flexibility, and a much cleaner solution would be to add a filtering functionality to NERD so that checkresults can be shipped off to a third-party addon which can transform checkresults and plugin output as much as it likes. Failing that (which would be enormously cool but also a lot of work), I think it would most likely be best off as a separate module, with custom variables or separate configuration to support it. Supporting patches to run events when a timeperiod becomes active or inactive would still be welcome, obviously. Escalation via notification levels This is best off written as a module, using custom variables to configure it. If core support is required to block notifications to a particular contact, then such patches will naturally be accepted. The normal NEBCALLBACK_CANCEL return code signalling should work just fine for that. Synchronising state data Pretty invasive for quite a small benefit, and with enormous complexities to deal with to make this work properly. How do you handle reading the synced file while checks are in-flight and awaiting being returned to the mothership? They may have been spawned as a result of a bad checkresult on one node, but if the sync status returns them to OK and the in-flight result sets them as bad again, would that mean starting over on the retry-attempts? I see nothing in the patch that handles situations like that, so I'm forced to believe you haven't considered it. Considering the fact that full reloads now take less than a second for your recommended 250 hosts per system, I'm inclined to drop this patch in favour of the regular retention data file unless you can persuade me otherwise. Dependency failure states The patch is a bit hackish in that it internally submits a passive check to make sure everything gets updated. That's not entirely accurate though, and will cause statistical errors. Rewrite it to just update the states as necessary and make sure notifications and whatnot are sent if they should be. That will also fix the problem of bugging out performance data handling routines that expect to always get the same kind of data from each check every time. It will have to be configurable though. I'm thinking "service_dependency_exec_fail_state=(warning,critical,unknown)" and "service_dependency_exec_fail_output=Dependency failure". I'd be all for changing the default, but for now the exec_fail_state thing will have to be -1, meaning "leave it as-is", and I'll make it default to UNKNOWN after 4.0 is released. The same should go for service parents, btw. Passive notifications respecting renotification interval I'm inclined to making this default. It's not documented anywhere which of those options take precedence. If notification_interval is 0, then every notification should be sent for is_volatile services, and if it's anything else we should respect the interval no matter how many notifications happen to arrive. Make those changes and I'll apply the patch and call it a bugfix. Reducing SQL queries part 1: No. Just no. This is a perfect place where you can use an array sized after num_objects.services *inside the module* and look up the latest version of the processed commandline there. Free it when you update it and you'll be sure to always have it handy. Anyone who doesn't use NDOUtils will otherwise be penalized for its shortcomings. Reducing SQL queries part 2: As above, but num_objects.hosts Conditional debugging: I'm more inclined towards making the debug-logging function a C99-style variadic macro (or a gcc style one), while falling back to using the current structure of a lot of unnecessary calls on too old compilers. All that iffing should really be kept at arms length from the coder, or debug-logging won't be used. I'm thinking dbg(DEBUGL_CHECKS, 0, "** Running async check of foo ... "); so we get it short and sweet while we're at it. FIFO processing of passive checkresults I have several objections to this patch. First off; You're sorting on alphanumerical name only, instead of mtime first and then name in case of a tiebreak. That's just plain dumb and has to be amended if this is to be anywhere near useful. Secondly; This doesn't scale. I spent the better part of last year removing everything that touches the filesystem on a scheduled and frequent basis for those precise reasons. Putting crap like that back in is not something I'll do without a very good reason. Thirdly; It builds on obsolete code which is designated for oblivion, so the code would be (relatively) shortlived anyway. Fourthly; *Nothing* can be built on top of such a patch that doesn't absolutely reek of hackishness and bad design. A much more useful patch would be adding support for external commands to the query handler, which doesn't have the limitations of the named pipe (and can give responses to your requests so you know if they were accepted or not) and use a secondary program to ship in passive results any old way you want to the clean, nice and responsive interface which is meant to be extended for things exactly like this. Tolerant time jumps I'm unsure how useful this is. How often does a system clock go backwards except for daylight savings time? I also worry slightly about the consequences. OTOH, most of the worry comes as a result from the very lax default for time_change_threshold (900 seconds). A time jump of 899 seconds wouldn't trigger a rescheduling, but would wreak serious havoc with the checks. Listing related contact groups The patch needs to be changed so that the (possibly very long) list of contactgroups isn't computed until it's requested instead of before we even start macro substitution. Otherwise we'll be computing that macro for each and every host and service check we execute, which stupid beyond belief. Particularly considering the fact that object config can't change during runtime (yet), so the list could just as well be cached if one would so desire. For bonus points, also add CONTACTLIST, which fetches contacts from both the object directly and the contactgroups assigned. Environment macros per-command I wish you'd stop talking BS on that site of yours. Removal of environment macros has very little to do with the speedups in Nagios 4. Those improvements are the result of good design and proper implementation of good design. Now to technical issues; I have the patch (as I've said) and I do intend to push it as soon as I've had time to polish it and bring it forward to the current "master". It's quite invasive though, and I've been trying to figure out what it is about it that feels wrong. Then I've also forgotten about it, so this reminder was pretty good. Thanks. Allowing semi-colons in commands Well, it's a neat idea, but the patch is so incredibly ugly that I just can't bring myself to accept it. If you did something to keep state and allowed semicolons in strings or as escaped creatures (with a backslash, pretty please; There's enough home-cooked escaping in Nagios already), I'd be willing to accept it. Tilde symbol in commands Absolutely out of the question. This patch deliberately breaks a library to exploit its caller's fallback, which happens to suit your particular needs in this case. No. Nonono. You can just configure your way around it by using command_line /bin/sh -c '$USER1$/plugin --arg=lala' for the command in question, or implement it separately but making it configurable as "expand_tilde_in_commands=" in nagios.cfg and doing the replacement manually. It's not that hard, really. Fix max_concurrent_checks decrementing Obviously correct, although the patch is incomplete. In case we fail to launch a job, it will have no reference in the scheduling queue but will be marked as "is_executing" which will cause it to not even get freshness checked. I'll amend the patch with everything it needs and apply. Good catch though. Extra external commands This looks clean, correct and useful. I'll need a commit message, an author and a signed-off-by before I can accept it though. Thanks -- 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. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eliezer at ngtech.co.il Fri Aug 9 15:46:21 2013 From: eliezer at ngtech.co.il (Eliezer Croitoru) Date: Fri, 09 Aug 2013 16:46:21 +0300 Subject: Hey I was wondering about the check_ping from the newest stable plugins. Message-ID: <5204F2AD.7010308@ngtech.co.il> I have compiled all nagios plugins many times but on the last time this what happens: nagios-plugins-1.4.16.tar.gz I compile with no errors and then when nagios do a check it states: CRITICAL - Network Unreachable (repo.ngtech.co.il) while from command line linux ping everything works fine! also I compiled my own script in ruby perl and python and all of them are not stating anything about "Network Unreachable". Is this a regression from older and newer versions of nagios_plugins?? Since they work at the same time I run my own script and it states the everyting is OK which means 100% no packet loss I am a bit confused about it. How is it possible for the basic check_ping written in c to not work and the scripting languages scripts to work fine? it's not permissions since it states "Network Unreachable". it's must be another issue either in nagios or the code somewhere. Can anyone test it please and make sure that my assumptions are right? Eliezer ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eliezer at ngtech.co.il Fri Aug 9 15:59:40 2013 From: eliezer at ngtech.co.il (Eliezer Croitoru) Date: Fri, 09 Aug 2013 16:59:40 +0300 Subject: Hey I was wondering about the check_ping from the newest stable plugins. In-Reply-To: <5204F2AD.7010308@ngtech.co.il> References: <5204F2AD.7010308@ngtech.co.il> Message-ID: <5204F5CC.9070901@ngtech.co.il> Forgot to show the command: # /usr/local/nagios/libexec/check_ping -H repo.ngtech.co.il -w 100.0,20% -c 500.0,60% -p 10 CRITICAL - Network Unreachable (repo.ngtech.co.il) # /usr/local/nagios/libexec/check_ping -H www1.ngtech.co.il -w 100.0,20% -c 500.0,60% -p 10 PING OK - Packet loss = 0%, RTA = 17.40 ms|rta=17.395000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 Which is odd in any way you can think off. Eliezer On 08/09/2013 04:46 PM, Eliezer Croitoru wrote: > I have compiled all nagios plugins many times but on the last time this > what happens: > nagios-plugins-1.4.16.tar.gz > I compile with no errors and then when nagios do a check it states: > CRITICAL - Network Unreachable (repo.ngtech.co.il) > while from command line linux ping everything works fine! > also I compiled my own script in ruby perl and python and all of them > are not stating anything about "Network Unreachable". > > Is this a regression from older and newer versions of nagios_plugins?? > Since they work at the same time I run my own script and it states the > everyting is OK which means 100% no packet loss I am a bit confused > about it. > How is it possible for the basic check_ping written in c to not work and > the scripting languages scripts to work fine? > it's not permissions since it states "Network Unreachable". > it's must be another issue either in nagios or the code somewhere. > > Can anyone test it please and make sure that my assumptions are right? > > Eliezer > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at cis.fu-berlin.de Fri Aug 9 16:03:27 2013 From: holger at cis.fu-berlin.de (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Fri, 9 Aug 2013 16:03:27 +0200 Subject: Hey I was wondering about the check_ping from the newest stable plugins. In-Reply-To: <5204F2AD.7010308@ngtech.co.il> References: <5204F2AD.7010308@ngtech.co.il> Message-ID: <20130809140327.GD282039@zedat.fu-berlin.de> * Eliezer Croitoru [2013-08-09 16:46]: > I have compiled all nagios plugins many times but on the last time this > what happens: > nagios-plugins-1.4.16.tar.gz > I compile with no errors and then when nagios do a check it states: > CRITICAL - Network Unreachable (repo.ngtech.co.il) My guess would be that your IPv6 connectivity is broken. In that case, using check_ping's "-4" flag should do the trick. If that _doesn't_ help, could you please paste the output of "check_ping -vvv [...]"? > Can anyone test it please and make sure that my assumptions are right? For me, both of the following commands return OK: $ check_ping -4 -H repo.ngtech.co.il -w '500.0,10%' -c '1000.0,50%' $ check_ping -6 -H repo.ngtech.co.il -w '500.0,10%' -c '1000.0,50%' Holger ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eliezer at ngtech.co.il Fri Aug 9 16:23:17 2013 From: eliezer at ngtech.co.il (Eliezer Croitoru) Date: Fri, 09 Aug 2013 17:23:17 +0300 Subject: Hey I was wondering about the check_ping from the newest stable plugins. In-Reply-To: <20130809140327.GD282039@zedat.fu-berlin.de> References: <5204F2AD.7010308@ngtech.co.il> <20130809140327.GD282039@zedat.fu-berlin.de> Message-ID: <5204FB55.4000505@ngtech.co.il> On 08/09/2013 05:03 PM, Holger Wei? wrote: > * Eliezer Croitoru [2013-08-09 16:46]: >> I have compiled all nagios plugins many times but on the last time this >> what happens: >> nagios-plugins-1.4.16.tar.gz >> I compile with no errors and then when nagios do a check it states: >> CRITICAL - Network Unreachable (repo.ngtech.co.il) > > My guess would be that your IPv6 connectivity is broken. In that case, > using check_ping's "-4" flag should do the trick. If that _doesn't_ > help, could you please paste the output of "check_ping -vvv [...]"? > >> Can anyone test it please and make sure that my assumptions are right? > > For me, both of the following commands return OK: > > $ check_ping -4 -H repo.ngtech.co.il -w '500.0,10%' -c '1000.0,50%' > $ check_ping -6 -H repo.ngtech.co.il -w '500.0,10%' -c '1000.0,50%' > > Holger Hey Holger, this is what I do have: # /usr/local/nagios/libexec/check_ping -4 -H repo.ngtech.co.il -w '500.0,10%' -c '1000.0,50%' PING OK - Packet loss = 0%, RTA = 339.04 ms|rta=339.035004ms;500.000000;1000.000000;0.000000 pl=0%;10;50;0 # /usr/local/nagios/libexec/check_ping -6 -H repo.ngtech.co.il -w '500.0,10%' -c '1000.0,50%' CRITICAL - Network Unreachable (repo.ngtech.co.il) which seems like the settings for the RT of the packets seems to be the main issue while parsing the ping command output. /usr/local/nagios/libexec/check_ping -vvv -4 -H repo.ngtech.co.il -w '500.0,10%' -c '1000.0,50%' CMD: /bin/ping -n -U -w 10 -c 5 repo.ngtech.co.il Output: PING cairo.treenetnz.com (58.28.153.233) 56(84) bytes of data. Output: 64 bytes from 58.28.153.233: icmp_req=1 ttl=42 time=335 ms Output: 64 bytes from 58.28.153.233: icmp_req=2 ttl=42 time=339 ms Output: 64 bytes from 58.28.153.233: icmp_req=3 ttl=41 time=341 ms Output: 64 bytes from 58.28.153.233: icmp_req=4 ttl=41 time=341 ms Output: 64 bytes from 58.28.153.233: icmp_req=5 ttl=41 time=340 ms Output: Output: --- cairo.treenetnz.com ping statistics --- Output: 5 packets transmitted, 5 received, 0% packet loss, time 4003ms Output: rtt min/avg/max/mdev = 335.751/339.767/341.602/2.251 ms PING OK - Packet loss = 0%, RTA = 339.77 ms|rta=339.766998ms;500.000000;1000.000000;0.000000 pl=0%;10;50;0 500.000000:10% 1000.000000:50% so the RT is more then 100ms which considered to be C\W but my output is: # /usr/local/nagios/libexec/check_ping -vvv -H repo.ngtech.co.il -w 100.0,20% -c 500.0,60% CMD: /bin/ping6 -n -U -w 10 -c 5 repo.ngtech.co.il Got stderr: connect: Network is unreachable CRITICAL - Network Unreachable (repo.ngtech.co.il) and: # /usr/local/nagios/libexec/check_ping -vvvv -H repo.ngtech.co.il -w 500.0,20% -c 1000.0,60% CMD: /bin/ping6 -n -U -w 10 -c 5 repo.ngtech.co.il Got stderr: connect: Network is unreachable CRITICAL - Network Unreachable (repo.ngtech.co.il) which is a bit weird why is it using ping6 for a simple ping by default? Hos is the check_ping recognises that there is a need for ping6 ?? the host dosn't even has ipv6 connectivity.. Eliezer > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 9 16:32:46 2013 From: giles at coochey.net (Giles Coochey) Date: Fri, 09 Aug 2013 15:32:46 +0100 Subject: Hey I was wondering about the check_ping from the newest stable plugins. In-Reply-To: <5204FB55.4000505@ngtech.co.il> References: <5204F2AD.7010308@ngtech.co.il> <20130809140327.GD282039@zedat.fu-berlin.de> <5204FB55.4000505@ngtech.co.il> Message-ID: <5204FD8E.4090106@coochey.net> On 09/08/2013 15:23, Eliezer Croitoru wrote: > so the RT is more then 100ms which considered to be C\W but my output > is: # /usr/local/nagios/libexec/check_ping -vvv -H repo.ngtech.co.il > -w 100.0,20% -c 500.0,60% CMD: /bin/ping6 -n -U -w 10 -c 5 > repo.ngtech.co.il Got stderr: connect: Network is unreachable CRITICAL > - Network Unreachable (repo.ngtech.co.il) and: # > /usr/local/nagios/libexec/check_ping -vvvv -H repo.ngtech.co.il -w > 500.0,20% -c 1000.0,60% CMD: /bin/ping6 -n -U -w 10 -c 5 > repo.ngtech.co.il Got stderr: connect: Network is unreachable CRITICAL > - Network Unreachable (repo.ngtech.co.il) which is a bit weird why is > it using ping6 for a simple ping by default? Hos is the check_ping > recognises that there is a need for ping6 ?? the host dosn't even has > ipv6 connectivity.. Eliezer > repo.ngtech.co.il Server: 172.21.0.66 Address: 172.21.0.66#53 Non-authoritative answer: repo.ngtech.co.il canonical name = proxy.treenet.co.nz. proxy.treenet.co.nz canonical name = cairo.treenetnz.com. cairo.treenetnz.com has AAAA address 2002:3a1c:99e9:0:230:f1ff:fe14:5d47 -- Regards, Giles Coochey, CCNP, CCNA, CCNAS NetSecSpec Ltd +44 (0) 8444 780677 +44 (0) 7983 877438 http://www.netsecspec.co.uk giles.coochey at netsecspec.co.uk -- Regards, Giles Coochey, CCNP, CCNA, CCNAS NetSecSpec Ltd +44 (0) 8444 780677 +44 (0) 7983 877438 http://www.coochey.net http://www.netsecspec.co.uk giles at coochey.net -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6454 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at cis.fu-berlin.de Fri Aug 9 16:38:31 2013 From: holger at cis.fu-berlin.de (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Fri, 9 Aug 2013 16:38:31 +0200 Subject: Hey I was wondering about the check_ping from the newest stable plugins. In-Reply-To: <5204FB55.4000505@ngtech.co.il> References: <5204F2AD.7010308@ngtech.co.il> <20130809140327.GD282039@zedat.fu-berlin.de> <5204FB55.4000505@ngtech.co.il> Message-ID: <20130809143831.GE282039@zedat.fu-berlin.de> JFTR (we clarified this on IRC): * Eliezer Croitoru [2013-08-09 17:23]: > which is a bit weird why is it using ping6 for a simple ping by default? > Hos is the check_ping recognises that there is a need for ping6 ?? > the host dosn't even has ipv6 connectivity.. There's no sensible way to detect the availability of IPv6. The plugin could auto-fallback to IPv4 if IPv6 fails, but so far users are expected to simply add the "-4" flag in IPv4-only environments (or to use check_icmp). Holger ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eliezer at ngtech.co.il Fri Aug 9 16:51:30 2013 From: eliezer at ngtech.co.il (Eliezer Croitoru) Date: Fri, 09 Aug 2013 17:51:30 +0300 Subject: Hey I was wondering about the check_ping from the newest stable plugins. In-Reply-To: <5204FD8E.4090106@coochey.net> References: <5204F2AD.7010308@ngtech.co.il> <20130809140327.GD282039@zedat.fu-berlin.de> <5204FB55.4000505@ngtech.co.il> <5204FD8E.4090106@coochey.net> Message-ID: <520501F2.1080103@ngtech.co.il> On 08/09/2013 05:32 PM, Giles Coochey wrote: > > repo.ngtech.co.il > Server: 172.21.0.66 > Address: 172.21.0.66#53 > > Non-authoritative answer: > repo.ngtech.co.il canonical name = proxy.treenet.co.nz. > proxy.treenet.co.nz canonical name = cairo.treenetnz.com. > cairo.treenetnz.com has AAAA address > 2002:3a1c:99e9:0:230:f1ff:fe14:5d47 This is the domain DNS answers # dig cairo.treenetnz.com @ns1.treenetnz.com. ; <<>> DiG 9.9.2-P1 <<>> cairo.treenetnz.com @ns1.treenetnz.com. ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24830 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;cairo.treenetnz.com. IN A ;; ANSWER SECTION: cairo.treenetnz.com. 60 IN A 58.28.153.233 ;; AUTHORITY SECTION: treenetnz.com. 60 IN NS ns1.treenetnz.com. treenetnz.com. 60 IN NS ns2.treenetnz.com. treenetnz.com. 60 IN NS ns3.treenetnz.com. ;; ADDITIONAL SECTION: ns1.treenetnz.com. 60 IN A 58.28.153.233 ns2.treenetnz.com. 60 IN AAAA 2002:3a1c:99e9:0:225:11ff:fe05:6cb3 ns3.treenetnz.com. 60 IN A 58.28.153.233 ;; Query time: 343 msec ;; SERVER: 58.28.153.233#53(58.28.153.233) ;; WHEN: Fri Aug 9 17:47:13 2013 ;; MSG SIZE rcvd: 178 # dig cairo.treenetnz.com @ns2.treenetnz.com. ; <<>> DiG 9.9.2-P1 <<>> cairo.treenetnz.com @ns2.treenetnz.com. ;; global options: +cmd ;; connection timed out; no servers could be reached # dig cairo.treenetnz.com @ns3.treenetnz.com. ; <<>> DiG 9.9.2-P1 <<>> cairo.treenetnz.com @ns3.treenetnz.com. ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51977 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;cairo.treenetnz.com. IN A ;; ANSWER SECTION: cairo.treenetnz.com. 60 IN A 58.28.153.233 ;; AUTHORITY SECTION: treenetnz.com. 60 IN NS ns3.treenetnz.com. treenetnz.com. 60 IN NS ns1.treenetnz.com. treenetnz.com. 60 IN NS ns2.treenetnz.com. ;; ADDITIONAL SECTION: ns1.treenetnz.com. 60 IN A 58.28.153.233 ns2.treenetnz.com. 60 IN AAAA 2002:3a1c:99e9:0:225:11ff:fe05:6cb3 ns3.treenetnz.com. 60 IN A 58.28.153.233 ;; Query time: 340 msec ;; SERVER: 58.28.153.233#53(58.28.153.233) ;; WHEN: Fri Aug 9 17:48:24 2013 ;; MSG SIZE rcvd: 178 The above happens since the ns2 is IPV6 only server and it might has the record you are talking about. my forwarders cannot even contact it yet. Eliezer ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nic at onlight.com Fri Aug 9 17:00:20 2013 From: nic at onlight.com (Nic Bernstein) Date: Fri, 09 Aug 2013 10:00:20 -0500 Subject: Nagios-users Digest, Vol 87, Issue 3 Message 6 In-Reply-To: References: Message-ID: <52050404.5090905@onlight.com> Farhan, It's not quite clear from your question just what you wish to monitor. Do you want to confirm that an OpenVPN process is running on the local host (via NRPE for example) or on a remote host, or do you wish to monitor some aspect of the OpenVPN service? If you're interested in the latter, we published a plugin for this some time ago, which you can find here: https://www.monitoringexchange.org/p/696 Here's the description: This plugin can check various operating aspects of OpenVPN running on a local or remote system by using the TCP based management server. It can report total connections and routes, report on a specific connection by CN or IP address or on presence of a specific route. Performance data can be returned with specific connection reports. If anyone's interested, we've also developed a PHP class, openvpn-management-class.php, which provides useful abstractions of the various OpenVPN structures for use in more complex monitoring applications. For example, we use it to monitor tunnel status for a ten site WAN, to locate user connections across a nationwide Road Warrior network, etc. Just drop us a line and we'll be happy to send along a copy. (Note: The management class is *not* used in this plugin.) Cheers, -nic On 08/07/2013 11:27 AM, Farhan Usmani wrote: > Date: Mon, 5 Aug 2013 10:55:58 -0700 > From: Farhan Usmani > Subject: [Nagios-users] Nagios Process Monitor > To: nagios-users at lists.sourceforge.net > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Dear team, > > How can we monitor open vpn process through nagios.Thanks > Farhan -- Nic Bernstein nic at onlight.com Onlight, Inc. www.onlight.com 219 N. Milwaukee St., Suite 2a v. 414.272.4477 Milwaukee, Wisconsin 53202 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Ceola at occfiber.com Mon Aug 12 17:09:16 2013 From: Daniel.Ceola at occfiber.com (Daniel Ceola) Date: Mon, 12 Aug 2013 15:09:16 +0000 Subject: ESXi/vCenter Monitoring Message-ID: Hello all, I have a lot of host servers as VM's on our ESXi infrastructure, managed with vCenter. We also use vSphere DRS to help keep the load on host systems balanced. Due to the DRS, our VM's can sometimes move around from being on one host to being on another w/o my knowledge beforehand. Does anyone know if there is any sort of plugin available for Nagios Core that would basically talk to my vCenter system and find out what VM's are on which hosts, and automatically update that VM's Parent directive in the host definition? Daniel Ceola System Administrator Daniel.Ceola at occfiber.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil.randal at hoopleltd.co.uk Mon Aug 12 18:08:09 2013 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Mon, 12 Aug 2013 16:08:09 +0000 Subject: ESXi/vCenter Monitoring In-Reply-To: References: Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B8541A9B3C2@HC-EXMBX04.herefordshire.gov.uk> check_mk 1.2.3 should do that for you. There's a bit of pain migrating your config into check_mk's WATO, but IMHO it's worth it in the long run. http://mathias-kettner.com/check_mk.html It might be prudent to wait for the check_mk 1.2.3i2 before playing with it, though. Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: Daniel Ceola [mailto:Daniel.Ceola at occfiber.com] Sent: 12 August 2013 16:09 To: Nagios Users (nagios-users at lists.sourceforge.net) Subject: [Nagios-users] ESXi/vCenter Monitoring Hello all, I have a lot of host servers as VM's on our ESXi infrastructure, managed with vCenter. We also use vSphere DRS to help keep the load on host systems balanced. Due to the DRS, our VM's can sometimes move around from being on one host to being on another w/o my knowledge beforehand. Does anyone know if there is any sort of plugin available for Nagios Core that would basically talk to my vCenter system and find out what VM's are on which hosts, and automatically update that VM's Parent directive in the host definition? Daniel Ceola System Administrator Daniel.Ceola at occfiber.com Hoople Ltd, Registered in England and Wales No. 7556595 Registered office: Plough Lane, Hereford, HR4 0LE "Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 12 19:26:58 2013 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Mon, 12 Aug 2013 17:26:58 +0000 Subject: ESXi/vCenter Monitoring In-Reply-To: References: Message-ID: <70D7A4219FE365439DA53582BA6D8F2EF602B593@HCSD-MAIL2> Hi Daniel, We monitor our VM servers with Nagios but point to their IP addresses in the hosts.cfg. Since these don't change and Nagios doesn't care what VM host the server is running it is not a problem. We make the network switch the parent, not the VMware host. -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) From: Daniel Ceola [mailto:Daniel.Ceola at occfiber.com] Sent: Monday, August 12, 2013 11:09 AM To: Nagios Users (nagios-users at lists.sourceforge.net) Subject: [Nagios-users] ESXi/vCenter Monitoring Hello all, I have a lot of host servers as VM's on our ESXi infrastructure, managed with vCenter. We also use vSphere DRS to help keep the load on host systems balanced. Due to the DRS, our VM's can sometimes move around from being on one host to being on another w/o my knowledge beforehand. Does anyone know if there is any sort of plugin available for Nagios Core that would basically talk to my vCenter system and find out what VM's are on which hosts, and automatically update that VM's Parent directive in the host definition? Daniel Ceola System Administrator Daniel.Ceola at occfiber.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 12 21:26:05 2013 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 12 Aug 2013 20:26:05 +0100 Subject: ESXi/vCenter Monitoring In-Reply-To: References: Message-ID: On 12 Aug 2013 16:50, "Daniel Ceola" wrote: > > Hello all, > > > > I have a lot of host servers as VM?s on our ESXi infrastructure, managed with vCenter. We also use vSphere DRS to help keep the load on host systems balanced. Due to the DRS, our VM?s can sometimes move around from being on one host to being on another w/o my knowledge beforehand. Does anyone know if there is any sort of plugin available for Nagios Core that would basically talk to my vCenter system and find out what VM?s are on which hosts, and automatically update that VM?s Parent directive in the host definition? I specify all of the host servers as parents of the VM. I reckon that makes perfect sense, and it's dead easy to implement. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Ceola at occfiber.com Mon Aug 12 22:04:51 2013 From: Daniel.Ceola at occfiber.com (Daniel Ceola) Date: Mon, 12 Aug 2013 20:04:51 +0000 Subject: ESXi/vCenter Monitoring In-Reply-To: References: Message-ID: I did that, but it made the map a complete mess of lines that I couldn't make out. Daniel Ceola System Administrator Daniel.Ceola at occfiber.com From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Monday, August 12, 2013 3:26 PM To: nagios List Subject: Re: [Nagios-users] ESXi/vCenter Monitoring On 12 Aug 2013 16:50, "Daniel Ceola" > wrote: > > Hello all, > > > > I have a lot of host servers as VM's on our ESXi infrastructure, managed with vCenter. We also use vSphere DRS to help keep the load on host systems balanced. Due to the DRS, our VM's can sometimes move around from being on one host to being on another w/o my knowledge beforehand. Does anyone know if there is any sort of plugin available for Nagios Core that would basically talk to my vCenter system and find out what VM's are on which hosts, and automatically update that VM's Parent directive in the host definition? I specify all of the host servers as parents of the VM. I reckon that makes perfect sense, and it's dead easy to implement. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 12 22:58:19 2013 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 12 Aug 2013 21:58:19 +0100 Subject: ESXi/vCenter Monitoring In-Reply-To: References: Message-ID: On 12 Aug 2013 21:49, "Daniel Ceola" wrote: > > I did that, but it made the map a complete mess of lines that I couldn?t make out. Yes. The map doesn't scale well. I haven't used it for some years now. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 12 22:48:18 2013 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 12 Aug 2013 20:48:18 +0000 Subject: ESXi/vCenter Monitoring In-Reply-To: References: Message-ID: On 8/12/2013 4:04 PM, Daniel Ceola wrote:> I did that, but it made the map a complete mess of lines that I couldn't > make out. Try check_cluster. Check_cluster aggregates the status of individual ESX hosts. The clusters here have three or four ESX hosts each. If one ESX host in the cluster is offline, my check_cluster returns a warning. If all but one are offline, I have it return a critical. At that point, the engineers have more important things to worry about than individual guests. I have a fake "host" for each cluster whose check_host_alive is the check_cluster command. The guest VMs on each cluster have the fake host set as their parent. The guests can move around all they want and I don't have to change anything. When the engineers change the clusters by adding or removing ESX hosts, all I have to do is add or remove one ESX host check and update the check_cluster command. I don't have to edit the list of parents for all the guest VMs, which is important, because we have more than a thousand of them. -- -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nathan4linux at gmail.com Tue Aug 13 03:39:04 2013 From: nathan4linux at gmail.com (Nathan) Date: Mon, 12 Aug 2013 21:39:04 -0400 Subject: Help With Nagios & WMI Message-ID: I've got my install of Nagios setup with the check_wmi_plus.pl script. I can successfully call the script with manually entered parameters just fine and query whatever I need to via WMI but I am having trouble getting that to translate into anything in Nagios. For example, I have the following defined as a command: define command{ command_name check_win_disk command_line $USER6$/check_wmi_plus.pl -H $HOSTADDRESS$ -m checkdrivesize -u $USER8$ -p $USER9$ -a $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$ $ARG5$ } and the following as a service: define service{ use windows_service service_description Disk Space host_name host-name-here check_command check_win_disk!.!75% } And that works as I expect. It reports the used/free space of all the local disks with a warning at 75%. However anything I do try to add a critical wanting at 85% results in Nagios throwing an error the next time the service tries to query the disk space (NOT an error when Nagios tries to read the config file). Any ideas? Thanks! Nathan ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nathan4linux at gmail.com Tue Aug 13 04:14:20 2013 From: nathan4linux at gmail.com (Nathan Mace) Date: Mon, 12 Aug 2013 22:14:20 -0400 Subject: Help With Nagios & WMI Message-ID: I've got my install of Nagios setup with the check_wmi_plus.pl script. I can successfully call the script with manually entered parameters just fine and query whatever I need to via WMI but I am having trouble getting that to translate into anything in Nagios. For example, I have the following defined as a command: define command{ command_name check_win_disk command_line $USER6$/check_wmi_plus.pl -H $HOSTADDRESS$ -m checkdrivesize -u $USER8$ -p $USER9$ -a $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$ $ARG5$ } and the following as a service: define service{ use windows_service service_description Disk Space host_name host-name-here check_command check_win_disk!.!75% } And that works as I expect. It reports the used/free space of all the local disks with a warning at 75%. However anything I do try to add a critical wanting at 85% results in Nagios throwing an error the next time the service tries to query the disk space (NOT an error when Nagios tries to read the config file). Any ideas? Thanks! Nathan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Muhamad.Faiz at Asia.Xchanging.com Tue Aug 13 05:49:19 2013 From: Muhamad.Faiz at Asia.Xchanging.com (Muhamad Faiz) Date: Tue, 13 Aug 2013 03:49:19 +0000 Subject: Nagios check latency Message-ID: Hi guys, My Nagios setup are having high service check latency. Check nagios latency result is 240 seconds! ./check_nagios_latency.sh -w 30 -c 60 CRITICAL: Latency at 240.183 seconds! Modification in my Nagios.cfg file is only as below. Other than this, is default. # MODIFIED admin_email=muhamad.faiz at asia.xchanging.com admin_pager=muhamad.faiz at asia.xchanging.com translate_passive_host_checks=1 log_event_handlers=0 use_large_installation_tweaks=1 enable_environment_macros=0 enable_embedded_perl=0 use_embedded_perl_implicitly=0 max_concurrent_checks=1600 service_perfdata_file_processing_command=process-service-perfdata-file-pnp-bulk host_perfdata_file_processing_command=process-host-perfdata-file-pnp-bulk service_perfdata_file_processing_interval=60 host_perfdata_file_processing_interval=60 status_update_interval=40 # /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg Nagios Core 3.5.0 Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 03-15-2013 License: GPL Website: http://www.nagios.org Timing information on object configuration processing is listed below. You can use this information to see if precaching your object configuration would be useful. Object Config Source: Config files (uncached) OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) ---------------------------------- Read: 0.415803 sec Resolve: 0.006900 sec * Recomb Contactgroups: 0.001862 sec * Recomb Hostgroups: 3.819786 sec * Dup Services: 0.637380 sec * Recomb Servicegroups: 3.419804 sec * Duplicate: 0.000417 sec * Inherit: 0.013748 sec * Recomb Contacts: 0.000000 sec * Sort: 0.000000 sec * Register: 0.616385 sec Free: 0.029930 sec ============ TOTAL: 8.962015 sec * = 7.899897 sec (88.15%) estimated savings RETENTION DATA TIMES ---------------------------------- Read and Process: 0.863815 sec ============ TOTAL: 0.863815 sec Timing information on configuration verification is listed below. CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) ---------------------------------- Object Relationships: 0.080360 sec Circular Paths: 0.001152 sec * Misc: 0.011244 sec ============ TOTAL: 0.092756 sec * = 0.001152 sec (1.2%) estimated savings EVENT SCHEDULING TIMES ------------------------------------- Get service info: 0.051265 sec Get host info info: 0.032301 sec Get service params: 0.000010 sec Schedule service times: 0.002476 sec Schedule service events: 0.002514 sec Get host params: 0.000000 sec Schedule host times: 0.000937 sec Schedule host events: 0.001287 sec ============ TOTAL: 0.090790 sec Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 11753 Total scheduled hosts: 7 Host inter-check delay method: SMART Average host check interval: 300.00 sec Host inter-check delay: 42.86 sec Max host check spread: 30 min First scheduled check: Tue Aug 13 11:43:54 2013 Last scheduled check: Tue Aug 13 11:43:54 2013 SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 18662 Total scheduled services: 170 Service inter-check delay method: SMART Average service check interval: 535.76 sec Inter-check delay: 3.15 sec Interleave factor method: SMART Average services per host: 1.59 Service interleave factor: 1 Max service check spread: 30 min First scheduled check: Tue Aug 13 11:52:49 2013 Last scheduled check: Tue Aug 13 11:58:39 2013 CHECK PROCESSING INFORMATION ---------------------------- Check result reaper interval: 10 sec Max concurrent service checks: 1600 PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. Any advice will be much appreciated. Regards, Faiz "CONFIDENTIALITY NOTICE: This message and any attachment are confidential and may also be privileged. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you are not the intended recipient please telephone or e-mail the sender and delete this message and any attachment from your system." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Faiz.vcf Type: text/x-vcard Size: 3098 bytes Desc: Faiz.vcf URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 13 11:09:45 2013 From: ae at op5.se (Andreas Ericsson) Date: Tue, 13 Aug 2013 11:09:45 +0200 Subject: Nagios check latency In-Reply-To: References: Message-ID: <5209F7D9.20005@op5.se> On 2013-08-13 05:49, Muhamad Faiz wrote: > Hi guys, > > My Nagios setup are having high service check latency. > > Check nagios latency result is 240 seconds! > > ./check_nagios_latency.sh -w 30 -c 60 > CRITICAL: Latency at 240.183 seconds! > Change to Nagios 4 and your latency will most likely go away. -- 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. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil.randal at hoopleltd.co.uk Tue Aug 13 11:16:47 2013 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Tue, 13 Aug 2013 09:16:47 +0000 Subject: Nagios check latency In-Reply-To: References: Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B8541A9CC1C@HC-EXMBX04.herefordshire.gov.uk> What are your check_result_reaper_frequency and max_check_result_reaper_time set to? I use 3 and 15 respectively here. Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: Muhamad Faiz [mailto:Muhamad.Faiz at Asia.Xchanging.com] Sent: 13 August 2013 04:49 To: Nagios Users List Subject: [Nagios-users] Nagios check latency Hi guys, My Nagios setup are having high service check latency. Check nagios latency result is 240 seconds! ./check_nagios_latency.sh -w 30 -c 60 CRITICAL: Latency at 240.183 seconds! Modification in my Nagios.cfg file is only as below. Other than this, is default. # MODIFIED admin_email=muhamad.faiz at asia.xchanging.com admin_pager=muhamad.faiz at asia.xchanging.com translate_passive_host_checks=1 log_event_handlers=0 use_large_installation_tweaks=1 enable_environment_macros=0 enable_embedded_perl=0 use_embedded_perl_implicitly=0 max_concurrent_checks=1600 service_perfdata_file_processing_command=process-service-perfdata-file-pnp-bulk host_perfdata_file_processing_command=process-host-perfdata-file-pnp-bulk service_perfdata_file_processing_interval=60 host_perfdata_file_processing_interval=60 status_update_interval=40 # /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg Nagios Core 3.5.0 Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 03-15-2013 License: GPL Website: http://www.nagios.org Timing information on object configuration processing is listed below. You can use this information to see if precaching your object configuration would be useful. Object Config Source: Config files (uncached) OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) ---------------------------------- Read: 0.415803 sec Resolve: 0.006900 sec * Recomb Contactgroups: 0.001862 sec * Recomb Hostgroups: 3.819786 sec * Dup Services: 0.637380 sec * Recomb Servicegroups: 3.419804 sec * Duplicate: 0.000417 sec * Inherit: 0.013748 sec * Recomb Contacts: 0.000000 sec * Sort: 0.000000 sec * Register: 0.616385 sec Free: 0.029930 sec ============ TOTAL: 8.962015 sec * = 7.899897 sec (88.15%) estimated savings RETENTION DATA TIMES ---------------------------------- Read and Process: 0.863815 sec ============ TOTAL: 0.863815 sec Timing information on configuration verification is listed below. CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) ---------------------------------- Object Relationships: 0.080360 sec Circular Paths: 0.001152 sec * Misc: 0.011244 sec ============ TOTAL: 0.092756 sec * = 0.001152 sec (1.2%) estimated savings EVENT SCHEDULING TIMES ------------------------------------- Get service info: 0.051265 sec Get host info info: 0.032301 sec Get service params: 0.000010 sec Schedule service times: 0.002476 sec Schedule service events: 0.002514 sec Get host params: 0.000000 sec Schedule host times: 0.000937 sec Schedule host events: 0.001287 sec ============ TOTAL: 0.090790 sec Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 11753 Total scheduled hosts: 7 Host inter-check delay method: SMART Average host check interval: 300.00 sec Host inter-check delay: 42.86 sec Max host check spread: 30 min First scheduled check: Tue Aug 13 11:43:54 2013 Last scheduled check: Tue Aug 13 11:43:54 2013 SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 18662 Total scheduled services: 170 Service inter-check delay method: SMART Average service check interval: 535.76 sec Inter-check delay: 3.15 sec Interleave factor method: SMART Average services per host: 1.59 Service interleave factor: 1 Max service check spread: 30 min First scheduled check: Tue Aug 13 11:52:49 2013 Last scheduled check: Tue Aug 13 11:58:39 2013 CHECK PROCESSING INFORMATION ---------------------------- Check result reaper interval: 10 sec Max concurrent service checks: 1600 PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. Any advice will be much appreciated. Regards, Faiz "CONFIDENTIALITY NOTICE: This message and any attachment are confidential and may also be privileged. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you are not the intended recipient please telephone or e-mail the sender and delete this message and any attachment from your system." Hoople Ltd, Registered in England and Wales No. 7556595 Registered office: Plough Lane, Hereford, HR4 0LE "Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandeepvreddy at outlook.com Tue Aug 13 11:55:35 2013 From: sandeepvreddy at outlook.com (Sandeep L) Date: Tue, 13 Aug 2013 15:25:35 +0530 Subject: Status information message length Message-ID: Hi, In summery page of Nagios I am unable to view complete status information for a service. Is there any restriction for status information message length.Can some one suggest how view full message. My status information message length is around 70 char's. Thanks, Sandeep. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 13 15:14:19 2013 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 13 Aug 2013 14:14:19 +0100 Subject: Nagios check latency In-Reply-To: References: Message-ID: On 13 Aug 2013 05:22, "Muhamad Faiz" wrote: > My Nagios setup are having high service check latency. > > > > Check nagios latency result is 240 seconds! ... > Any advice will be much appreciated. If you haven't stopped / started the nagios daemon lately, then do that ("/etc/init.d/nagios stop" then "/etc/init.d/nagios start" , NOT "/etc/init.d/nagios reload"). I find that after a couple of weeks the service check latency starts creeping up, and stopping/starting the nagios daemon sorts it. I hope that helps. Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at norchemlab.com Tue Aug 13 15:51:29 2013 From: justinp at norchemlab.com (Justin Pryzby) Date: Tue, 13 Aug 2013 06:51:29 -0700 Subject: Nagios check latency In-Reply-To: References: Message-ID: <20130813135129.GA7778@norchemlab.com> Could you check that you're not accidentally running 2 nagios daemons? On Tue, Aug 13, 2013 at 03:49:19AM +0000, Muhamad Faiz wrote: > Hi guys, > > My Nagios setup are having high service check latency. > > Check nagios latency result is 240 seconds! > > ./check_nagios_latency.sh -w 30 -c 60 > CRITICAL: Latency at 240.183 seconds! > > Modification in my Nagios.cfg file is only as below. Other than this, is default. > > # MODIFIED > admin_email=muhamad.faiz at asia.xchanging.com > admin_pager=muhamad.faiz at asia.xchanging.com > translate_passive_host_checks=1 > log_event_handlers=0 > use_large_installation_tweaks=1 > enable_environment_macros=0 > enable_embedded_perl=0 > use_embedded_perl_implicitly=0 > max_concurrent_checks=1600 > service_perfdata_file_processing_command=process-service-perfdata-file-pnp-bulk > host_perfdata_file_processing_command=process-host-perfdata-file-pnp-bulk > service_perfdata_file_processing_interval=60 > host_perfdata_file_processing_interval=60 > status_update_interval=40 > > > # /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg > > Nagios Core 3.5.0 > Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors > Copyright (c) 1999-2009 Ethan Galstad > Last Modified: 03-15-2013 > License: GPL > > Website: http://www.nagios.org > Timing information on object configuration processing is listed > below. You can use this information to see if precaching your > object configuration would be useful. > > Object Config Source: Config files (uncached) > > OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) > ---------------------------------- > Read: 0.415803 sec > Resolve: 0.006900 sec * > Recomb Contactgroups: 0.001862 sec * > Recomb Hostgroups: 3.819786 sec * > Dup Services: 0.637380 sec * > Recomb Servicegroups: 3.419804 sec * > Duplicate: 0.000417 sec * > Inherit: 0.013748 sec * > Recomb Contacts: 0.000000 sec * > Sort: 0.000000 sec * > Register: 0.616385 sec > Free: 0.029930 sec > ============ > TOTAL: 8.962015 sec * = 7.899897 sec (88.15%) estimated savings > > > RETENTION DATA TIMES > ---------------------------------- > Read and Process: 0.863815 sec > ============ > TOTAL: 0.863815 sec > > > Timing information on configuration verification is listed below. > > CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) > ---------------------------------- > Object Relationships: 0.080360 sec > Circular Paths: 0.001152 sec * > Misc: 0.011244 sec > ============ > TOTAL: 0.092756 sec * = 0.001152 sec (1.2%) estimated savings > > > EVENT SCHEDULING TIMES > ------------------------------------- > Get service info: 0.051265 sec > Get host info info: 0.032301 sec > Get service params: 0.000010 sec > Schedule service times: 0.002476 sec > Schedule service events: 0.002514 sec > Get host params: 0.000000 sec > Schedule host times: 0.000937 sec > Schedule host events: 0.001287 sec > ============ > TOTAL: 0.090790 sec > > > Projected scheduling information for host and service checks > is listed below. This information assumes that you are going > to start running Nagios with your current config files. > > HOST SCHEDULING INFORMATION > --------------------------- > Total hosts: 11753 > Total scheduled hosts: 7 > Host inter-check delay method: SMART > Average host check interval: 300.00 sec > Host inter-check delay: 42.86 sec > Max host check spread: 30 min > First scheduled check: Tue Aug 13 11:43:54 2013 > Last scheduled check: Tue Aug 13 11:43:54 2013 > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 18662 > Total scheduled services: 170 > Service inter-check delay method: SMART > Average service check interval: 535.76 sec > Inter-check delay: 3.15 sec > Interleave factor method: SMART > Average services per host: 1.59 > Service interleave factor: 1 > Max service check spread: 30 min > First scheduled check: Tue Aug 13 11:52:49 2013 > Last scheduled check: Tue Aug 13 11:58:39 2013 > > > CHECK PROCESSING INFORMATION > ---------------------------- > Check result reaper interval: 10 sec > Max concurrent service checks: 1600 > > > PERFORMANCE SUGGESTIONS > ----------------------- > I have no suggestions - things look okay. > > Any advice will be much appreciated. > > Regards, > Faiz > "CONFIDENTIALITY NOTICE: This message and any attachment are confidential and may also be privileged. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you are not the intended recipient please telephone or e-mail the sender and delete this message and any attachment from your system." > BEGIN:VCARD > VERSION:2.1 > X-MS-SIGNATURE:YES > N;LANGUAGE=en-us:Faiz > FN:Faiz > ORG:YTLC Network Operations Monitoring Team > TEL;WORK;VOICE:+60 192260176 > ADR;WORK;PREF:;;;;;;United States of America > X-MS-OL-DEFAULT-POSTAL-ADDRESS:2 > EMAIL;PREF;INTERNET:Muhamad.Faiz at Asia.Xchanging.com > X-MS-IMADDRESS:Skype: me.faiz > X-MS-CARDPICTURE;TYPE=JPEG;ENCODING=BASE64: > /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAcFBQYFBAcGBQYIBwcIChELCgkJChUPEAwRGBUa > GRgVGBcbHichGx0lHRcYIi4iJSgpKywrGiAvMy8qMicqKyr/2wBDAQcICAoJChQLCxQqHBgc > KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKir/wAAR > CAAVADYDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAA > AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkK > FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWG > h4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl > 5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREA > AgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYk > NOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOE > hYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk > 5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD2/wAWnWYNI+1aDciKSAlpUKBg6dyPkY5H > oBzzXK6d8SW07SpB4hVp7zf+5EcboZV753RoBj8c5rf+IXjOHwV4Ye7ba95NmO0hP8b46kf3 > R1P4DvXinhexuPFE51rU7YLbo5QFIwkckmMkDBXGMg8GvUwdCFWF6i0/F+R5OPxE6WlJ6/gv > M9w0HxhDrWmz6hPbNYWcLBfOncbWJOPyGRz71uw3ttPGksE8ciO7RqysMMwJBA9SNp/I1hxx > 6VP4HazgdrOxeL7PIIwGdAxww78nJ55POa5+HQfCyqInvnuYY12KkkCuUULsVd2zdtUYwPUZ > OSa5XTjKUuVNK/qdFKrKNOPPJNtb7Ho2ajEqGQxhxvABK55APfH4GvP4/DfhoTvdSajNKZB8 > knlDcGDlt+4JkuCSNx5xiqmn+HtAtoWa/wBSWSZzmMQwhVj2qFDj5Bhh13ccn8SvYLu/uZbx > CXb7z0/rRXL+B9Ni03SrlIbmO5SW437o49mMRogzwMkhQScdSaKwlCzsbxqXVzo5LeKfBmiS > THTeoOKq32lWl/YNazR7Ys5AjO0qfUEdKKKUZNPQc4xcWmiHSdCtdIaQ2jTESYDLJKWGfXnv > WoEVSSABk5PHWiinKTlK7JpwjGNooasSRghFVQTkgDGSe9SYHoKKKk0sgooooGf/2Q== > > X-MS-OL-DESIGN;CHARSET=utf-8: > REV:20121031T020436Z > END:VCARD > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oogs at umich.edu Tue Aug 13 16:48:41 2013 From: oogs at umich.edu (Chris Baldwin) Date: Tue, 13 Aug 2013 10:48:41 -0400 Subject: Status information message length In-Reply-To: References: Message-ID: <520A4749.7000500@umich.edu> Hi Sandeep, I use longer messages routinely. They cannot have a carriage return/new line in them, otherwise they will be cut off at that point. For example: "This is a short message with more than 70 characters in it." Will display in its entirety. The following won't: "This is a short message.\n It has more than 70 characters." (\n is a new line) This latter message will only display "This is a short message.", and anything that follows it will be cut off. -Chris On 8/13/13 5:55 AM, Sandeep L wrote: > Hi, > > In summery page of Nagios I am unable to view complete status > information for a service. > > Is there any restriction for status information message length. > Can some one suggest how view full message. > > My status information message length is around 70 char's. > > Thanks, > Sandeep. > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fiala at mobil.cz Wed Aug 14 14:27:37 2013 From: fiala at mobil.cz (Michal Fiala) Date: Wed, 14 Aug 2013 14:27:37 +0200 Subject: SIGHUP reaction of Nrpe 2.14 on Aix 6.1 Message-ID: <520B77B9.9090200@mobil.cz> Hallo, We are running nrpe 2.14 on Aix 6.1. We have a wrong behaviour in reaction of HUP signal. First HUP is OK, second HUP causes nrpe termination. Details see below. Please what could be wrong? Thanks Michal Fiala First attempt is OK, ends with restarting nrpe # ps -U probes -o pid,start,args PID STARTED COMMAND 16122000 14:05:53 /usr/local/nagios/bin/nrpe -c /etc/nagios/nrpe.cfg -d -s # kill -HUP `cat /var/run/nagios/nrpe.pid` # tail /var/log/syslog Aug 14 14:07:59 r4238 daemon:notice nrpe[16122000]: Caught SIGHUP - restarting... Aug 14 14:07:59 r4238 daemon:info nrpe[16122000]: Listening for connections on port 5666 Aug 14 14:07:59 r4238 daemon:info nrpe[16122000]: Allowing connections from: 127.0.0.1,10.42.2.28,10.42.2.27 # ps -U probes -o pid,start,args PID STARTED COMMAND 16122000 14:05:53 /usr/local/nagios/bin/nrpe -c /etc/nagios/nrpe.cfg -d -s Second attempt ends with terminating nrpe # ps -U probes -o pid,start,args PID STARTED COMMAND 16122000 14:05:53 /usr/local/nagios/bin/nrpe -c /etc/nagios/nrpe.cfg -d -s # kill -HUP `cat /var/run/nagios/nrpe.pid` There is no records in syslog after HUP signal, nrpe is not running. SRC started new instance of nrpe, so I can see in syslog # tail /var/log/syslog Aug 14 14:09:02 r4238 daemon:notice nrpe[16122002]: Starting up daemon Aug 14 14:09:02 r4238 daemon:info nrpe[16122002]: Listening for connections on port 5666 Aug 14 14:09:02 r4238 daemon:info nrpe[16122002]: Allowing connections from: 127.0.0.1,10.42.2.28,10.42.2.27 # ps -U probes -o pid,start,args PID STARTED COMMAND 16122002 14:09:01 /usr/local/nagios/bin/nrpe -c /etc/nagios/nrpe.cfg -d -s ./configure switches: ./configure --enable-ssl --with-ssl=/usr --with-ssl-lib=/usr/lib --with-nagios-user=probes --with-nagios-group=probes --with-nrpe-user=probes --with-nrpe-group=probes nrpe configuration: log_facility=daemon pid_file=/var/run/nagios/nrpe.pid server_port=5666 nrpe_user=nagios nrpe_group=nagios allowed_hosts=127.0.0.1 dont_blame_nrpe=0 debug=0 command_timeout=60 connection_timeout=300 include=/etc/nagios/nrpe.d/local_nrpe.cfg include=/etc/nagios/nrpe.d/default_cmd.cfg include=/etc/nagios/nrpe.d/local_cmd.cfg Includes: command[check_memory]=/usr/local/rwe.cz/audit/probes/check_memory.sh -w 0% -c 0% command[check_swap]=/usr/local/nagios/libexec/check_swap -w 50% -c 40% command[check_disk]=/usr/local/nagios/libexec/check_disk -e -x /proc -w 10% -c 5% command[check_cpu]=/usr/local/rwe.cz/audit/probes/check_cpu.sh -w 90 -c 95 command[check_load]=/usr/local/nagios/libexec/check_load -w 4,4,4 -c 6,6,6 command[check_dns]=/usr/local/nagios/libexec/check_dns -H www.icann.org -w 3 -c 6 command[check_ntp]=/usr/local/nagios/libexec/check_ntp_time -H 0.debian.pool.ntp.org -w 60 -c 120 command[check_cron]=/usr/local/nagios/libexec/check_procs -c 1:50 -C cron command[check_syslogd]=/usr/local/nagios/libexec/check_procs -c 1:20 -C syslogd command[check_lv]=/usr/local/rwe.cz/audit/probes/check_lv.sh command[check_qas]=/usr/bin/sudo /usr/local/rwe.cz/audit/probes/check_qas.sh command[check_errpt]=/usr/local/rwe.cz/audit/probes/check_errpt.sh command[check_memory]=/usr/local/rwe.cz/audit/probes/check_memory.sh -w 5% -c 2% command[check_disk]=/usr/local/nagios/libexec/check_disk -e -x /proc -w 15% -c 10% -C -w 2% -c 1% -p /oracle command[check_load]=/usr/local/nagios/libexec/check_load -w 40,40,40 -c 60,60,60 allowed_hosts=127.0.0.1,10.42.2.28,10.42.2.27 nrpe_user=probes nrpe_group=probes debug=0 I do not get more outputs when I switch debug to 1. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 14 15:25:09 2013 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 14 Aug 2013 15:25:09 +0200 Subject: check_Openmanage trouble In-Reply-To: <505F8C269645484F93E3C862A19CC01E1754395B@OLBORS007.offlimits.local> (Timo Weberskirch's message of "Tue, 13 Aug 2013 08:53:59 +0000") References: <505F8C269645484F93E3C862A19CC01E1754395B@OLBORS007.offlimits.local> Message-ID: <15ty584e762.fsf@tux.uio.no> "Weberskirch, Timo" writes: > thank you all for your fast and helpful response. Unfortunately the problem > persists. > > Is there a way to filter out the (in my opinion faulty) SAS card? Storage components are tightly interconnected, so from the plugin side your only option is to not check storage at all: check_openmanage --no-storage But I still believe that this is a software problem, i.e. in OMSA. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsico.com Wed Aug 14 17:54:04 2013 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Wed, 14 Aug 2013 15:54:04 +0000 Subject: Nagios 4 beta plan/status/roadmap? Message-ID: <3FC36F2C7B96D444A1138066E952D2B60B98A6@PEPWMC00171.corp.pep.pvt> Unless I missed a message somewhere, Nagios 4 is still in beta. Is there an expected time when it will become a regular release? It's been out for a bit now. Does it seem as if there will be a "beta2" or is this effectively the release candidate? I have seen some new patches flowing in (mostly feature stuff, I think) and I wasn't sure if those were eventually to be included with Nagios 4 or not - possibly in a later release. I've had good luck with the pre-beta versions of Nagios 4 and am contemplating timing for a move to Nagios 4 (and Merlin). Thanks Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dwittenberg2008 at gmail.com Wed Aug 14 22:24:39 2013 From: dwittenberg2008 at gmail.com (Daniel Wittenberg) Date: Wed, 14 Aug 2013 15:24:39 -0500 Subject: Nagios 4 beta plan/status/roadmap? In-Reply-To: <3FC36F2C7B96D444A1138066E952D2B60B98A6@PEPWMC00171.corp.pep.pvt> References: <3FC36F2C7B96D444A1138066E952D2B60B98A6@PEPWMC00171.corp.pep.pvt> Message-ID: <7A6728BE-A164-45BB-A6BA-EC5D3EDD3AD6@gmail.com> Good question, there's only a couple people that can pull the trigger on that one, Ethan and Eric I believe. I was hoping since 4 was announced at least years conference it would actually be out by this years conference :) Dan On Aug 14, 2013, at 10:54 AM, "Frost, Mark {BIS}" wrote: > Unless I missed a message somewhere, Nagios 4 is still in beta. Is there an expected time when it will become a regular release? It?s been out for a bit now. Does it seem as if there will be a ?beta2? or is this effectively the release candidate? > > I have seen some new patches flowing in (mostly feature stuff, I think) and I wasn?t sure if those were eventually to be included with Nagios 4 or not ? possibly in a later release. > > I?ve had good luck with the pre-beta versions of Nagios 4 and am contemplating timing for a move to Nagios 4 (and Merlin). > > Thanks > > Mark > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Aug 14 23:31:47 2013 From: ae at op5.se (Andreas Ericsson) Date: Wed, 14 Aug 2013 23:31:47 +0200 Subject: Nagios 4 beta plan/status/roadmap? In-Reply-To: <3FC36F2C7B96D444A1138066E952D2B60B98A6@PEPWMC00171.corp.pep.pvt> References: <3FC36F2C7B96D444A1138066E952D2B60B98A6@PEPWMC00171.corp.pep.pvt> Message-ID: <520BF743.4050206@op5.se> On 2013-08-14 17:54, Frost, Mark {BIS} wrote: > Unless I missed a message somewhere, Nagios 4 is still in beta. Is > there an expected time when it will become a regular release? It's > been out for a bit now. Does it seem as if there will be a "beta2" > or is this effectively the release candidate? > There is a beta2 already, and a beta3 is likely to be tagged pretty soon. > I have seen some new patches flowing in (mostly feature stuff, I > think) and I wasn't sure if those were eventually to be included with > Nagios 4 or not - possibly in a later release. > No major features have come in since the conference last year. Only bugfixes, performance improvements and some code cleanups. > I've had good luck with the pre-beta versions of Nagios 4 and am > contemplating timing for a move to Nagios 4 (and Merlin). > Happy to hear it :) -- 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. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From timo.weberskirch at offlimits-it.com Thu Aug 15 12:16:59 2013 From: timo.weberskirch at offlimits-it.com (Weberskirch, Timo) Date: Thu, 15 Aug 2013 10:16:59 +0000 Subject: check_Openmanage trouble Message-ID: <505F8C269645484F93E3C862A19CC01E1754A10B@OLBORS007.offlimits.local> Hello Trond, the check_openmanage -no-storage options works (surely without any physical disk... :( ). I was on the phone with the Dell Pro Support. They told me that the MD3xxxx only schows the raid disk Information (not the physical disk informations) to external devices. Also they told me that there is no way to filter out the SAS-Card in OMSA. I have to live with "-no-storage" option... Regards, Timo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 15 21:09:59 2013 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 15 Aug 2013 21:09:59 +0200 Subject: check_Openmanage trouble In-Reply-To: <505F8C269645484F93E3C862A19CC01E1754A10B@OLBORS007.offlimits.local> (Timo Weberskirch's message of "Thu, 15 Aug 2013 10:16:59 +0000") References: <505F8C269645484F93E3C862A19CC01E1754A10B@OLBORS007.offlimits.local> Message-ID: <15ta9kipy7s.fsf@tux.uio.no> "Weberskirch, Timo" writes: > the check_openmanage ?no-storage options works (surely without any physical disk? :( ). > > I was on the phone with the Dell Pro Support. They told me that the MD3xxxx only schows the raid disk Information (not the physical > disk informations) to external devices. > > Also they told me that there is no way to filter out the SAS-Card in OMSA. > > I have to live with ??no-storage? option? Hmm.. Ok, so this particular server doesn't have any storage other than the SAS card (connected to the MD3xxx), which OMSA can't manage? If so, that is exactly what the '--no-storage' option is for :) You should use the '--no-storage' option if 1. The server has no storage, which is entirely possible; or 2. The only storage present is something that OMSA doesn't recognize Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aflexzor at gmail.com Fri Aug 16 05:51:57 2013 From: aflexzor at gmail.com (Alex Flex) Date: Thu, 15 Aug 2013 21:51:57 -0600 Subject: Event Handler for a group of services. Message-ID: <520DA1DD.20208@gmail.com> Hello Nagios Community, I have a host that has a series of checks (application checks, network stack checks, and others), i understand that event handlers can be set for specific services but what occurs when I want to execute an event handler based on a selective group of service states, or perhaps an event handler for a service group? If I assign the event handler for the host, its pointless because the actual host check can be "OK" but still have speific service checks in progress. Thanks for the feedback Alex ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niall at makalumedia.com Sat Aug 17 20:37:51 2013 From: niall at makalumedia.com (Niall O Broin) Date: Sat, 17 Aug 2013 19:37:51 +0100 Subject: check_http SSL cert. date format Message-ID: Making the date format for check_http --ssl configurable has been requested for quite a while now, but it hasn't seemed to bother any committers enough to ever fix it. I fixed it a while ago on my local copy of check_http (didn't make it configurable - just hard coded what I wanted in place of the hard coded us format) but today I decided I'd make it configurable. It'd be nice if it'd just read a date_format= line from nagios.cfg but it seems that nagios plugins exist in quite a separate universe from nagios and that isn't easy - I'd be delighted if somebody would tell me I'm wrong. So, I've made each of check_http, check_smtp and check_tcp now take a --date-format flag, with allowed values the same as those in the nagios config file i.e. us (MM-DD-YYYY HH:MM) euro (DD-MM-YYYY HH:MM) iso8601 (YYYY-MM-DD HH:MM) strict-iso8601 (YYYY-MM-DDTHH:MM) Note that I've dropped the seconds value as it's apparently not available. They also take a short option of -o which was decided on from the few available in each of check_http, check_smtp and check_tcp . Is there any interest in taking these changes back into the plugins source? If so, who would I send them to? I made the changes in a copy of nagios-plugins-1.4.16-89-gbfe6 and I just cloned the git repository and see there are quite some changes in that compared to nagios-plugins-1.4.16-89-gbfe6, but I doubt it'd be too much effort for me to redo my changes in the current git tree. Kindest regards, Niall O Broin -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: Message signed with OpenPGP using GPGMail URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From william at leibzon.org Sat Aug 17 23:08:50 2013 From: william at leibzon.org (William Leibzon) Date: Sat, 17 Aug 2013 14:08:50 -0700 Subject: check_http SSL cert. date format In-Reply-To: References: Message-ID: If you clone nagios-plugins then simply do pull request from a clean copy. Otherwise send a patch to this mail list and I'll commit it being as I'm the last one to work on certificate certificate check for check_http. On Sat, Aug 17, 2013 at 11:37 AM, Niall O Broin wrote: > Making the date format for check_http --ssl configurable has been > requested for quite a while now, but it hasn't seemed to bother any > committers enough to ever fix it. > > I fixed it a while ago on my local copy of check_http (didn't make it > configurable - just hard coded what I wanted in place of the hard coded us > format) but today I decided I'd make it configurable. > > It'd be nice if it'd just read a date_format= line from nagios.cfg but > it seems that nagios plugins exist in quite a separate universe from nagios > and that isn't easy - I'd be delighted if somebody would tell me I'm wrong. > > So, I've made each of check_http, check_smtp and check_tcp now take a > --date-format flag, with allowed values the same as those in the nagios > config file i.e. > > us (MM-DD-YYYY HH:MM) > euro (DD-MM-YYYY HH:MM) > iso8601 (YYYY-MM-DD HH:MM) > strict-iso8601 (YYYY-MM-DDTHH:MM) > > Note that I've dropped the seconds value as it's apparently not available. > > They also take a short option of -o which was decided on from the few > available in each of check_http, check_smtp and check_tcp . > > Is there any interest in taking these changes back into the plugins > source? If so, who would I send them to? > > I made the changes in a copy of nagios-plugins-1.4.16-89-gbfe6 and I just > cloned the git repository and see there are quite some changes in that > compared to nagios-plugins-1.4.16-89-gbfe6, but I doubt it'd be too much > effort for me to redo my changes in the current git tree. > > > > > Kindest regards, > > > > Niall O Broin > > > > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b2 at playtime.bg Mon Aug 19 11:57:37 2013 From: b2 at playtime.bg (b2) Date: Mon, 19 Aug 2013 12:57:37 +0300 Subject: nagios3 over fcgid+apache2? Message-ID: <1376906257.3878.2.camel@valio> is that possible? i got working apache2+mod_fcgid setup, but nagios cgi's isnt working. in apache error logs i got: getcgivars(): Unsupported REQUEST_METHOD -> '' I'm guessing you're trying to execute the CGI from a command line. In order to do that, you need to set the REQUEST_METHOD environment variable to either "GET", "HEAD", or "POST". When using the GET and HEAD methods, arguments can be passed to the CGI by setting the "QUERY_STRING" environment variable. If you're using the POST method, data is read from standard input. Also of note: if you've enabled authentication in the CGIs, you must set the "REMOTE_USER" environment variable to be the name of the user you're "authenticated" as. [Mon Aug 19 12:56:58 2013] [warn] [client x.x.x.x] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Mon Aug 19 12:56:58 2013] [error] [client x.x.x.x] Premature end of script headers: status.cgi can i do something to get it work? thanks in advance. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From william at leibzon.org Mon Aug 19 12:28:32 2013 From: william at leibzon.org (William Leibzon) Date: Mon, 19 Aug 2013 03:28:32 -0700 Subject: nagios3 over fcgid+apache2? In-Reply-To: <1376906257.3878.2.camel@valio> References: <1376906257.3878.2.camel@valio> Message-ID: Why are you using fast cgi with nagios? Is your nagios being accessed several times a second? On Mon, Aug 19, 2013 at 2:57 AM, b2 wrote: > is that possible? > > i got working apache2+mod_fcgid setup, but nagios cgi's isnt working. in > apache error logs i got: > > > > getcgivars(): Unsupported REQUEST_METHOD -> '' > > I'm guessing you're trying to execute the CGI from a command line. > In order to do that, you need to set the REQUEST_METHOD environment > variable to either "GET", "HEAD", or "POST". When using the > GET and HEAD methods, arguments can be passed to the CGI > by setting the "QUERY_STRING" environment variable. If you're > using the POST method, data is read from standard input. Also of > note: if you've enabled authentication in the CGIs, you must set the > "REMOTE_USER" environment variable to be the name of the user you're > "authenticated" as. > > [Mon Aug 19 12:56:58 2013] [warn] [client x.x.x.x] (104)Connection reset > by peer: mod_fcgid: error reading data from FastCGI server > [Mon Aug 19 12:56:58 2013] [error] [client x.x.x.x] Premature end of > script headers: status.cgi > > > > can i do something to get it work? > thanks in advance. > > > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at Consol.de Mon Aug 19 12:40:40 2013 From: Sven.Nierlein at Consol.de (Sven Nierlein) Date: Mon, 19 Aug 2013 12:40:40 +0200 Subject: nagios3 over fcgid+apache2? In-Reply-To: <1376906257.3878.2.camel@valio> References: <1376906257.3878.2.camel@valio> Message-ID: <5211F628.2040407@consol.de> Hi, No, thats not possible and it makes no sense to run the nagios cgis with fastcgi or fcgid. You would need to rewrite tons of code in the nagios cgis and would gain almost no performance improvements. Regards, Sven On 19.08.2013 11:57, b2 wrote: > is that possible? > > i got working apache2+mod_fcgid setup, but nagios cgi's isnt working. in > apache error logs i got: > > > > getcgivars(): Unsupported REQUEST_METHOD -> '' > > I'm guessing you're trying to execute the CGI from a command line. > In order to do that, you need to set the REQUEST_METHOD environment > variable to either "GET", "HEAD", or "POST". When using the > GET and HEAD methods, arguments can be passed to the CGI > by setting the "QUERY_STRING" environment variable. If you're > using the POST method, data is read from standard input. Also of > note: if you've enabled authentication in the CGIs, you must set the > "REMOTE_USER" environment variable to be the name of the user you're > "authenticated" as. > > [Mon Aug 19 12:56:58 2013] [warn] [client x.x.x.x] (104)Connection reset > by peer: mod_fcgid: error reading data from FastCGI server > [Mon Aug 19 12:56:58 2013] [error] [client x.x.x.x] Premature end of > script headers: status.cgi > > > > can i do something to get it work? > thanks in advance. > > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Sven Nierlein Sven.Nierlein at consol.de ConSol* GmbH http://www.consol.de Franziskanerstrasse 38 Tel.:089/45841-439 81669 Muenchen Fax.:089/45841-111 ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b2 at playtime.bg Mon Aug 19 13:16:07 2013 From: b2 at playtime.bg (b2) Date: Mon, 19 Aug 2013 14:16:07 +0300 Subject: nagios3 over fcgid+apache2? In-Reply-To: <5211F628.2040407@consol.de> References: <1376906257.3878.2.camel@valio> <5211F628.2040407@consol.de> Message-ID: <1376910967.3878.3.camel@valio> On Mon, 2013-08-19 at 12:40 +0200, Sven Nierlein wrote: > Hi, > > No, thats not possible and it makes no sense to run the nagios cgis with fastcgi > or fcgid. You would need to rewrite tons of code in the nagios cgis and would gain > almost no performance improvements. > > Regards, > Sven Thanks a lot for your answer. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Muhamad.Faiz at Asia.Xchanging.com Wed Aug 21 04:38:43 2013 From: Muhamad.Faiz at Asia.Xchanging.com (Muhamad Faiz) Date: Wed, 21 Aug 2013 02:38:43 +0000 Subject: Nagios check latency In-Reply-To: <5209F7D9.20005@op5.se> References: <5209F7D9.20005@op5.se> Message-ID: Hi Andreas Ericsson, Until it is in Stable release, we will not update it. I guess misconfiguration was done somewhere. Regards, Faiz -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Tuesday, August 13, 2013 5:10 PM To: Nagios Users List Cc: Muhamad Faiz Subject: Re: [Nagios-users] Nagios check latency On 2013-08-13 05:49, Muhamad Faiz wrote: > Hi guys, > > My Nagios setup are having high service check latency. > > Check nagios latency result is 240 seconds! > > ./check_nagios_latency.sh -w 30 -c 60 > CRITICAL: Latency at 240.183 seconds! > Change to Nagios 4 and your latency will most likely go away. -- 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. "CONFIDENTIALITY NOTICE: This message and any attachment are confidential and may also be privileged. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you are not the intended recipient please telephone or e-mail the sender and delete this message and any attachment from your system." ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Muhamad.Faiz at Asia.Xchanging.com Wed Aug 21 04:40:25 2013 From: Muhamad.Faiz at Asia.Xchanging.com (Muhamad Faiz) Date: Wed, 21 Aug 2013 02:40:25 +0000 Subject: Nagios check latency In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B8541A9CC1C@HC-EXMBX04.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B8541A9CC1C@HC-EXMBX04.herefordshire.gov.uk> Message-ID: Hi Phil, check_result_reaper_frequency=10 max_check_result_reaper_time=30 Regards, Faiz Monitoring From: Randal, Phil [mailto:phil.randal at hoopleltd.co.uk] Sent: Tuesday, August 13, 2013 5:17 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios check latency What are your check_result_reaper_frequency and max_check_result_reaper_time set to? I use 3 and 15 respectively here. Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: Muhamad Faiz [mailto:Muhamad.Faiz at Asia.Xchanging.com] Sent: 13 August 2013 04:49 To: Nagios Users List Subject: [Nagios-users] Nagios check latency Hi guys, My Nagios setup are having high service check latency. Check nagios latency result is 240 seconds! ./check_nagios_latency.sh -w 30 -c 60 CRITICAL: Latency at 240.183 seconds! Modification in my Nagios.cfg file is only as below. Other than this, is default. # MODIFIED admin_email=muhamad.faiz at asia.xchanging.com admin_pager=muhamad.faiz at asia.xchanging.com translate_passive_host_checks=1 log_event_handlers=0 use_large_installation_tweaks=1 enable_environment_macros=0 enable_embedded_perl=0 use_embedded_perl_implicitly=0 max_concurrent_checks=1600 service_perfdata_file_processing_command=process-service-perfdata-file-pnp-bulk host_perfdata_file_processing_command=process-host-perfdata-file-pnp-bulk service_perfdata_file_processing_interval=60 host_perfdata_file_processing_interval=60 status_update_interval=40 # /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg Nagios Core 3.5.0 Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 03-15-2013 License: GPL Website: http://www.nagios.org Timing information on object configuration processing is listed below. You can use this information to see if precaching your object configuration would be useful. Object Config Source: Config files (uncached) OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) ---------------------------------- Read: 0.415803 sec Resolve: 0.006900 sec * Recomb Contactgroups: 0.001862 sec * Recomb Hostgroups: 3.819786 sec * Dup Services: 0.637380 sec * Recomb Servicegroups: 3.419804 sec * Duplicate: 0.000417 sec * Inherit: 0.013748 sec * Recomb Contacts: 0.000000 sec * Sort: 0.000000 sec * Register: 0.616385 sec Free: 0.029930 sec ============ TOTAL: 8.962015 sec * = 7.899897 sec (88.15%) estimated savings RETENTION DATA TIMES ---------------------------------- Read and Process: 0.863815 sec ============ TOTAL: 0.863815 sec Timing information on configuration verification is listed below. CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) ---------------------------------- Object Relationships: 0.080360 sec Circular Paths: 0.001152 sec * Misc: 0.011244 sec ============ TOTAL: 0.092756 sec * = 0.001152 sec (1.2%) estimated savings EVENT SCHEDULING TIMES ------------------------------------- Get service info: 0.051265 sec Get host info info: 0.032301 sec Get service params: 0.000010 sec Schedule service times: 0.002476 sec Schedule service events: 0.002514 sec Get host params: 0.000000 sec Schedule host times: 0.000937 sec Schedule host events: 0.001287 sec ============ TOTAL: 0.090790 sec Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 11753 Total scheduled hosts: 7 Host inter-check delay method: SMART Average host check interval: 300.00 sec Host inter-check delay: 42.86 sec Max host check spread: 30 min First scheduled check: Tue Aug 13 11:43:54 2013 Last scheduled check: Tue Aug 13 11:43:54 2013 SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 18662 Total scheduled services: 170 Service inter-check delay method: SMART Average service check interval: 535.76 sec Inter-check delay: 3.15 sec Interleave factor method: SMART Average services per host: 1.59 Service interleave factor: 1 Max service check spread: 30 min First scheduled check: Tue Aug 13 11:52:49 2013 Last scheduled check: Tue Aug 13 11:58:39 2013 CHECK PROCESSING INFORMATION ---------------------------- Check result reaper interval: 10 sec Max concurrent service checks: 1600 PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. Any advice will be much appreciated. Regards, Faiz "CONFIDENTIALITY NOTICE: This message and any attachment are confidential and may also be privileged. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you are not the intended recipient please telephone or e-mail the sender and delete this message and any attachment from your system." Hoople Ltd, Registered in England and Wales No. 7556595 Registered office: Plough Lane, Hereford, HR4 0LE "Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Muhamad.Faiz at Asia.Xchanging.com Wed Aug 21 04:42:50 2013 From: Muhamad.Faiz at Asia.Xchanging.com (Muhamad Faiz) Date: Wed, 21 Aug 2013 02:42:50 +0000 Subject: Nagios check latency In-Reply-To: References: Message-ID: Hi Jim Avery, I do a lot of configuration recently so starting and stopping was done quite a lot as well. I guess two Nagios instance was running. Regards, Faiz From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Tuesday, August 13, 2013 9:14 PM To: nagios List Subject: Re: [Nagios-users] Nagios check latency On 13 Aug 2013 05:22, "Muhamad Faiz" > wrote: > My Nagios setup are having high service check latency. > > > > Check nagios latency result is 240 seconds! ... > Any advice will be much appreciated. If you haven't stopped / started the nagios daemon lately, then do that ("/etc/init.d/nagios stop" then "/etc/init.d/nagios start" , NOT "/etc/init.d/nagios reload"). I find that after a couple of weeks the service check latency starts creeping up, and stopping/starting the nagios daemon sorts it. I hope that helps. Jim "CONFIDENTIALITY NOTICE: This message and any attachment are confidential and may also be privileged. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you are not the intended recipient please telephone or e-mail the sender and delete this message and any attachment from your system." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Muhamad.Faiz at Asia.Xchanging.com Wed Aug 21 04:49:27 2013 From: Muhamad.Faiz at Asia.Xchanging.com (Muhamad Faiz) Date: Wed, 21 Aug 2013 02:49:27 +0000 Subject: Nagios check latency In-Reply-To: <20130813135129.GA7778@norchemlab.com> References: <20130813135129.GA7778@norchemlab.com> Message-ID: Hi Justin, Is this the right way to check this? I have stop and start back only one line exist now. I'm watching the latency now. [root at nagios ~]# ps faux | grep nagios.cfg root 21594 0.0 0.0 103244 832 pts/0 S+ 10:42 0:00 \_ grep nagios.cfg nagios 29669 52.4 13.6 1677324 1095904 ? Rsl Aug13 6014:30 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21086 0.3 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21291 0.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21293 0.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21295 0.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21296 0.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21338 0.6 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21346 0.4 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21453 1.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21519 1.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21521 2.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21530 2.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21538 2.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21547 2.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21555 1.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21579 4.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21586 4.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21589 4.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21591 2.0 13.6 1677324 1094328 ? R 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg Regards, Faiz Monitoring -----Original Message----- From: Justin Pryzby [mailto:justinp at norchemlab.com] Sent: Tuesday, August 13, 2013 9:51 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios check latency Could you check that you're not accidentally running 2 nagios daemons? On Tue, Aug 13, 2013 at 03:49:19AM +0000, Muhamad Faiz wrote: > Hi guys, > > My Nagios setup are having high service check latency. > > Check nagios latency result is 240 seconds! > > ./check_nagios_latency.sh -w 30 -c 60 > CRITICAL: Latency at 240.183 seconds! > > Modification in my Nagios.cfg file is only as below. Other than this, is default. > > # MODIFIED > admin_email=muhamad.faiz at asia.xchanging.com > admin_pager=muhamad.faiz at asia.xchanging.com > translate_passive_host_checks=1 > log_event_handlers=0 > use_large_installation_tweaks=1 > enable_environment_macros=0 > enable_embedded_perl=0 > use_embedded_perl_implicitly=0 > max_concurrent_checks=1600 > service_perfdata_file_processing_command=process-service-perfdata-file > -pnp-bulk > host_perfdata_file_processing_command=process-host-perfdata-file-pnp-b > ulk > service_perfdata_file_processing_interval=60 > host_perfdata_file_processing_interval=60 > status_update_interval=40 > > > # /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg > > Nagios Core 3.5.0 > Copyright (c) 2009-2011 Nagios Core Development Team and Community > Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: > 03-15-2013 > License: GPL > > Website: http://www.nagios.org > Timing information on object configuration processing is listed below. > You can use this information to see if precaching your object > configuration would be useful. > > Object Config Source: Config files (uncached) > > OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) > ---------------------------------- > Read: 0.415803 sec > Resolve: 0.006900 sec * > Recomb Contactgroups: 0.001862 sec * > Recomb Hostgroups: 3.819786 sec * > Dup Services: 0.637380 sec * > Recomb Servicegroups: 3.419804 sec * > Duplicate: 0.000417 sec * > Inherit: 0.013748 sec * > Recomb Contacts: 0.000000 sec * > Sort: 0.000000 sec * > Register: 0.616385 sec > Free: 0.029930 sec > ============ > TOTAL: 8.962015 sec * = 7.899897 sec (88.15%) estimated savings > > > RETENTION DATA TIMES > ---------------------------------- > Read and Process: 0.863815 sec > ============ > TOTAL: 0.863815 sec > > > Timing information on configuration verification is listed below. > > CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) > ---------------------------------- > Object Relationships: 0.080360 sec > Circular Paths: 0.001152 sec * > Misc: 0.011244 sec > ============ > TOTAL: 0.092756 sec * = 0.001152 sec (1.2%) estimated savings > > > EVENT SCHEDULING TIMES > ------------------------------------- > Get service info: 0.051265 sec > Get host info info: 0.032301 sec > Get service params: 0.000010 sec > Schedule service times: 0.002476 sec > Schedule service events: 0.002514 sec > Get host params: 0.000000 sec > Schedule host times: 0.000937 sec > Schedule host events: 0.001287 sec > ============ > TOTAL: 0.090790 sec > > > Projected scheduling information for host and service checks is listed > below. This information assumes that you are going to start running > Nagios with your current config files. > > HOST SCHEDULING INFORMATION > --------------------------- > Total hosts: 11753 > Total scheduled hosts: 7 > Host inter-check delay method: SMART > Average host check interval: 300.00 sec > Host inter-check delay: 42.86 sec > Max host check spread: 30 min > First scheduled check: Tue Aug 13 11:43:54 2013 > Last scheduled check: Tue Aug 13 11:43:54 2013 > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 18662 > Total scheduled services: 170 > Service inter-check delay method: SMART > Average service check interval: 535.76 sec > Inter-check delay: 3.15 sec > Interleave factor method: SMART > Average services per host: 1.59 > Service interleave factor: 1 > Max service check spread: 30 min > First scheduled check: Tue Aug 13 11:52:49 2013 > Last scheduled check: Tue Aug 13 11:58:39 2013 > > > CHECK PROCESSING INFORMATION > ---------------------------- > Check result reaper interval: 10 sec > Max concurrent service checks: 1600 > > > PERFORMANCE SUGGESTIONS > ----------------------- > I have no suggestions - things look okay. > > Any advice will be much appreciated. > > Regards, > Faiz > "CONFIDENTIALITY NOTICE: This message and any attachment are confidential and may also be privileged. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you are not the intended recipient please telephone or e-mail the sender and delete this message and any attachment from your system." > BEGIN:VCARD > VERSION:2.1 > X-MS-SIGNATURE:YES > N;LANGUAGE=en-us:Faiz > FN:Faiz > ORG:YTLC Network Operations Monitoring Team > TEL;WORK;VOICE:+60 192260176 > ADR;WORK;PREF:;;;;;;United States of America > X-MS-OL-DEFAULT-POSTAL-ADDRESS:2 > EMAIL;PREF;INTERNET:Muhamad.Faiz at Asia.Xchanging.com > X-MS-IMADDRESS:Skype: me.faiz > X-MS-CARDPICTURE;TYPE=JPEG;ENCODING=BASE64: > > /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAcFBQYFBAcGBQYIBwcIChELCgkJChUPEAwRGB > Ua > GRgVGBcbHichGx0lHRcYIi4iJSgpKywrGiAvMy8qMicqKyr/2wBDAQcICAoJChQLCxQqHB > gc > KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKir/wA > AR > CAAVADYDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtR > AA > AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2Jygg > kK > FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhI > WG > h4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+ > Tl > 5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtR > EA > AgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRCh > Yk > NOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6go > OE > hYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4u > Pk > 5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD2/wAWnWYNI+1aDciKSAlpUKBg6dyPkY > 5H > > oBzzXK6d8SW07SpB4hVp7zf+5EcboZV753RoBj8c5rf+IXjOHwV4Ye7ba95NmO0hP8b46k > f3 > R1P4DvXinhexuPFE51rU7YLbo5QFIwkckmMkDBXGMg8GvUwdCFWF6i0/F+R5OPxE6WlJ6/ > gv > M9w0HxhDrWmz6hPbNYWcLBfOncbWJOPyGRz71uw3ttPGksE8ciO7RqysMMwJBA9SNp/I1h > xx > 6VP4HazgdrOxeL7PIIwGdAxww78nJ55POa5+HQfCyqInvnuYY12KkkCuUULsVd2zdtUYwP > UZ > > OSa5XTjKUuVNK/qdFKrKNOPPJNtb7Ho2ajEqGQxhxvABK55APfH4GvP4/DfhoTvdSajNKZ > B8 > knlDcGDlt+4JkuCSNx5xiqmn+HtAtoWa/wBSWSZzmMQwhVj2qFDj5Bhh13ccn8SvYLu/uZ > bx > CXb7z0/rRXL+B9Ni03SrlIbmO5SW437o49mMRogzwMkhQScdSaKwlCzsbxqXVzo5LeKfBm > iS > THTeoOKq32lWl/YNazR7Ys5AjO0qfUEdKKKUZNPQc4xcWmiHSdCtdIaQ2jTESYDLJKWGfX > nv > WoEVSSABk5PHWiinKTlK7JpwjGNooasSRghFVQTkgDGSe9SYHoKKKk0sgooooGf/2Q== > > X-MS-OL-DESIGN;CHARSET=utf-8: xmlns="http://schemas.microsoft.com/office/outlook/12/electronicbusine > sscards" ver="1.0" layout="right" bgcolor="ffffff"> align="midright" area="50" use="cardpicture"/> prop="name" align="left" dir="ltr" style="b" color="000000" > size="10"/> color="000000" size="8"/> dir="ltr" color="000000" size="8"/> align="left" dir="ltr" color="000000" size="8"/> prop="blank" size="8"/> dir="ltr" color="000000" size="8"/> align="left" dir="ltr" color="000000" size="8"/> prop="addrwork" align="left" dir="ltr" color="000000" size="8"/> xmlns="" prop="blank" size="8"/> dir="ltr" color="000000" size="8"/> size="8"/> prop="blank" size="8"/> xmlns="" prop="blank" size="8"/> size="8"/> REV:20121031T020436Z END:VCARD > ---------------------------------------------------------------------- > -------- Get 100% visibility into Java/.NET code with AppDynamics > Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.c > lktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at norchemlab.com Wed Aug 21 05:30:02 2013 From: justinp at norchemlab.com (Justin Pryzby) Date: Tue, 20 Aug 2013 20:30:02 -0700 Subject: Nagios check latency In-Reply-To: References: <20130813135129.GA7778@norchemlab.com> Message-ID: <20130821033002.GB24839@norchemlab.com> I would have written: ps -fC nagios3 (but I guess your daemon is called "nagios"). Note that all the "2ndary" lines are commands being run (checks, notifications). This will show only the parent "scheduler" processes: ps -O ppid -C nagios3 |awk '$2==1' Justin On Wed, Aug 21, 2013 at 02:49:27AM +0000, Muhamad Faiz wrote: > Hi Justin, > > Is this the right way to check this? I have stop and start back only one line exist now. I'm watching the latency now. > > [root at nagios ~]# ps faux | grep nagios.cfg > root 21594 0.0 0.0 103244 832 pts/0 S+ 10:42 0:00 \_ grep nagios.cfg > nagios 29669 52.4 13.6 1677324 1095904 ? Rsl Aug13 6014:30 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21086 0.3 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21291 0.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21293 0.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21295 0.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21296 0.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21338 0.6 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21346 0.4 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21453 1.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21519 1.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21521 2.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21530 2.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21538 2.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21547 2.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21555 1.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21579 4.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21586 4.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21589 4.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21591 2.0 13.6 1677324 1094328 ? R 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > Regards, > > Faiz > Monitoring > > > -----Original Message----- > From: Justin Pryzby [mailto:justinp at norchemlab.com] > Sent: Tuesday, August 13, 2013 9:51 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios check latency > > Could you check that you're not accidentally running 2 nagios daemons? > > On Tue, Aug 13, 2013 at 03:49:19AM +0000, Muhamad Faiz wrote: > > Hi guys, > > > > My Nagios setup are having high service check latency. > > > > Check nagios latency result is 240 seconds! > > > > ./check_nagios_latency.sh -w 30 -c 60 > > CRITICAL: Latency at 240.183 seconds! > > > > Modification in my Nagios.cfg file is only as below. Other than this, is default. > > > > # MODIFIED > > admin_email=muhamad.faiz at asia.xchanging.com > > admin_pager=muhamad.faiz at asia.xchanging.com > > translate_passive_host_checks=1 > > log_event_handlers=0 > > use_large_installation_tweaks=1 > > enable_environment_macros=0 > > enable_embedded_perl=0 > > use_embedded_perl_implicitly=0 > > max_concurrent_checks=1600 > > service_perfdata_file_processing_command=process-service-perfdata-file > > -pnp-bulk > > host_perfdata_file_processing_command=process-host-perfdata-file-pnp-b > > ulk > > service_perfdata_file_processing_interval=60 > > host_perfdata_file_processing_interval=60 > > status_update_interval=40 > > > > > > # /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg > > > > Nagios Core 3.5.0 > > Copyright (c) 2009-2011 Nagios Core Development Team and Community > > Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: > > 03-15-2013 > > License: GPL > > > > Website: http://www.nagios.org > > Timing information on object configuration processing is listed below. > > You can use this information to see if precaching your object > > configuration would be useful. > > > > Object Config Source: Config files (uncached) > > > > OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) > > ---------------------------------- > > Read: 0.415803 sec > > Resolve: 0.006900 sec * > > Recomb Contactgroups: 0.001862 sec * > > Recomb Hostgroups: 3.819786 sec * > > Dup Services: 0.637380 sec * > > Recomb Servicegroups: 3.419804 sec * > > Duplicate: 0.000417 sec * > > Inherit: 0.013748 sec * > > Recomb Contacts: 0.000000 sec * > > Sort: 0.000000 sec * > > Register: 0.616385 sec > > Free: 0.029930 sec > > ============ > > TOTAL: 8.962015 sec * = 7.899897 sec (88.15%) estimated savings > > > > > > RETENTION DATA TIMES > > ---------------------------------- > > Read and Process: 0.863815 sec > > ============ > > TOTAL: 0.863815 sec > > > > > > Timing information on configuration verification is listed below. > > > > CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) > > ---------------------------------- > > Object Relationships: 0.080360 sec > > Circular Paths: 0.001152 sec * > > Misc: 0.011244 sec > > ============ > > TOTAL: 0.092756 sec * = 0.001152 sec (1.2%) estimated savings > > > > > > EVENT SCHEDULING TIMES > > ------------------------------------- > > Get service info: 0.051265 sec > > Get host info info: 0.032301 sec > > Get service params: 0.000010 sec > > Schedule service times: 0.002476 sec > > Schedule service events: 0.002514 sec > > Get host params: 0.000000 sec > > Schedule host times: 0.000937 sec > > Schedule host events: 0.001287 sec > > ============ > > TOTAL: 0.090790 sec > > > > > > Projected scheduling information for host and service checks is listed > > below. This information assumes that you are going to start running > > Nagios with your current config files. > > > > HOST SCHEDULING INFORMATION > > --------------------------- > > Total hosts: 11753 > > Total scheduled hosts: 7 > > Host inter-check delay method: SMART > > Average host check interval: 300.00 sec > > Host inter-check delay: 42.86 sec > > Max host check spread: 30 min > > First scheduled check: Tue Aug 13 11:43:54 2013 > > Last scheduled check: Tue Aug 13 11:43:54 2013 > > > > > > SERVICE SCHEDULING INFORMATION > > ------------------------------- > > Total services: 18662 > > Total scheduled services: 170 > > Service inter-check delay method: SMART > > Average service check interval: 535.76 sec > > Inter-check delay: 3.15 sec > > Interleave factor method: SMART > > Average services per host: 1.59 > > Service interleave factor: 1 > > Max service check spread: 30 min > > First scheduled check: Tue Aug 13 11:52:49 2013 > > Last scheduled check: Tue Aug 13 11:58:39 2013 > > > > > > CHECK PROCESSING INFORMATION > > ---------------------------- > > Check result reaper interval: 10 sec > > Max concurrent service checks: 1600 > > > > > > PERFORMANCE SUGGESTIONS > > ----------------------- > > I have no suggestions - things look okay. > > > > Any advice will be much appreciated. > > > > Regards, > > Faiz > > "CONFIDENTIALITY NOTICE: This message and any attachment are confidential and may also be privileged. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you are not the intended recipient please telephone or e-mail the sender and delete this message and any attachment from your system." > > > BEGIN:VCARD > > VERSION:2.1 > > X-MS-SIGNATURE:YES > > N;LANGUAGE=en-us:Faiz > > FN:Faiz > > ORG:YTLC Network Operations Monitoring Team > > TEL;WORK;VOICE:+60 192260176 > > ADR;WORK;PREF:;;;;;;United States of America > > X-MS-OL-DEFAULT-POSTAL-ADDRESS:2 > > EMAIL;PREF;INTERNET:Muhamad.Faiz at Asia.Xchanging.com > > X-MS-IMADDRESS:Skype: me.faiz > > X-MS-CARDPICTURE;TYPE=JPEG;ENCODING=BASE64: > > > > /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAcFBQYFBAcGBQYIBwcIChELCgkJChUPEAwRGB > > Ua > > GRgVGBcbHichGx0lHRcYIi4iJSgpKywrGiAvMy8qMicqKyr/2wBDAQcICAoJChQLCxQqHB > > gc > > KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKir/wA > > AR > > CAAVADYDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtR > > AA > > AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2Jygg > > kK > > FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhI > > WG > > h4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+ > > Tl > > 5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtR > > EA > > AgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRCh > > Yk > > NOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6go > > OE > > hYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4u > > Pk > > 5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD2/wAWnWYNI+1aDciKSAlpUKBg6dyPkY > > 5H > > > > oBzzXK6d8SW07SpB4hVp7zf+5EcboZV753RoBj8c5rf+IXjOHwV4Ye7ba95NmO0hP8b46k > > f3 > > R1P4DvXinhexuPFE51rU7YLbo5QFIwkckmMkDBXGMg8GvUwdCFWF6i0/F+R5OPxE6WlJ6/ > > gv > > M9w0HxhDrWmz6hPbNYWcLBfOncbWJOPyGRz71uw3ttPGksE8ciO7RqysMMwJBA9SNp/I1h > > xx > > 6VP4HazgdrOxeL7PIIwGdAxww78nJ55POa5+HQfCyqInvnuYY12KkkCuUULsVd2zdtUYwP > > UZ > > > > OSa5XTjKUuVNK/qdFKrKNOPPJNtb7Ho2ajEqGQxhxvABK55APfH4GvP4/DfhoTvdSajNKZ > > B8 > > knlDcGDlt+4JkuCSNx5xiqmn+HtAtoWa/wBSWSZzmMQwhVj2qFDj5Bhh13ccn8SvYLu/uZ > > bx > > CXb7z0/rRXL+B9Ni03SrlIbmO5SW437o49mMRogzwMkhQScdSaKwlCzsbxqXVzo5LeKfBm > > iS > > THTeoOKq32lWl/YNazR7Ys5AjO0qfUEdKKKUZNPQc4xcWmiHSdCtdIaQ2jTESYDLJKWGfX > > nv > > WoEVSSABk5PHWiinKTlK7JpwjGNooasSRghFVQTkgDGSe9SYHoKKKk0sgooooGf/2Q== > > > > X-MS-OL-DESIGN;CHARSET=utf-8: > xmlns="http://schemas.microsoft.com/office/outlook/12/electronicbusine > > sscards" ver="1.0" layout="right" bgcolor="ffffff"> > align="midright" area="50" use="cardpicture"/> > prop="name" align="left" dir="ltr" style="b" color="000000" > > size="10"/> > color="000000" size="8"/> > dir="ltr" color="000000" size="8"/> > align="left" dir="ltr" color="000000" size="8"/> > prop="blank" size="8"/> > dir="ltr" color="000000" size="8"/> > align="left" dir="ltr" color="000000" size="8"/> > prop="addrwork" align="left" dir="ltr" color="000000" size="8"/> > xmlns="" prop="blank" size="8"/> > dir="ltr" color="000000" size="8"/> > size="8"/> > prop="blank" size="8"/> > xmlns="" prop="blank" size="8"/> > size="8"/> REV:20121031T020436Z END:VCARD > > > ---------------------------------------------------------------------- > > -------- Get 100% visibility into Java/.NET code with AppDynamics > > Lite! > > It's a free troubleshooting tool designed for production. > > Get down to code-level detail for bottlenecks, with <2% overhead. > > Download for free and get started troubleshooting in minutes. > > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.c > > lktrk > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Muhamad.Faiz at Asia.Xchanging.com Wed Aug 21 05:53:58 2013 From: Muhamad.Faiz at Asia.Xchanging.com (Muhamad Faiz) Date: Wed, 21 Aug 2013 03:53:58 +0000 Subject: Nagios check latency In-Reply-To: <20130821033002.GB24839@norchemlab.com> References: <20130813135129.GA7778@norchemlab.com> <20130821033002.GB24839@norchemlab.com> Message-ID: One line, # ps -O ppid -C nagios | awk '$2==1' 22561 1 R ? 00:07:02 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg Latency is OK now! # ./check_nagios_latency.sh -w 30 -c 60 OK: Latency at 3.388 seconds. | latency=3.388;30;60 Regards, Faiz -----Original Message----- From: Justin Pryzby [mailto:justinp at norchemlab.com] Sent: Wednesday, August 21, 2013 11:30 AM To: Nagios Users List Subject: Re: [Nagios-users] Nagios check latency I would have written: ps -fC nagios3 (but I guess your daemon is called "nagios"). Note that all the "2ndary" lines are commands being run (checks, notifications). This will show only the parent "scheduler" processes: ps -O ppid -C nagios3 |awk '$2==1' Justin On Wed, Aug 21, 2013 at 02:49:27AM +0000, Muhamad Faiz wrote: > Hi Justin, > > Is this the right way to check this? I have stop and start back only one line exist now. I'm watching the latency now. > > [root at nagios ~]# ps faux | grep nagios.cfg > root 21594 0.0 0.0 103244 832 pts/0 S+ 10:42 0:00 \_ grep nagios.cfg > nagios 29669 52.4 13.6 1677324 1095904 ? Rsl Aug13 6014:30 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21086 0.3 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21291 0.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21293 0.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21295 0.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21296 0.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21338 0.6 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21346 0.4 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21453 1.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21519 1.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21521 2.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21530 2.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21538 2.5 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21547 2.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21555 1.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21579 4.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21586 4.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21589 4.0 13.6 1677328 1094340 ? S 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 21591 2.0 13.6 1677324 1094328 ? R 10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > Regards, > > Faiz > Monitoring > > > -----Original Message----- > From: Justin Pryzby [mailto:justinp at norchemlab.com] > Sent: Tuesday, August 13, 2013 9:51 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios check latency > > Could you check that you're not accidentally running 2 nagios daemons? > > On Tue, Aug 13, 2013 at 03:49:19AM +0000, Muhamad Faiz wrote: > > Hi guys, > > > > My Nagios setup are having high service check latency. > > > > Check nagios latency result is 240 seconds! > > > > ./check_nagios_latency.sh -w 30 -c 60 > > CRITICAL: Latency at 240.183 seconds! > > > > Modification in my Nagios.cfg file is only as below. Other than this, is default. > > > > # MODIFIED > > admin_email=muhamad.faiz at asia.xchanging.com > > admin_pager=muhamad.faiz at asia.xchanging.com > > translate_passive_host_checks=1 > > log_event_handlers=0 > > use_large_installation_tweaks=1 > > enable_environment_macros=0 > > enable_embedded_perl=0 > > use_embedded_perl_implicitly=0 > > max_concurrent_checks=1600 > > service_perfdata_file_processing_command=process-service-perfdata-fi > > le > > -pnp-bulk > > host_perfdata_file_processing_command=process-host-perfdata-file-pnp > > -b > > ulk > > service_perfdata_file_processing_interval=60 > > host_perfdata_file_processing_interval=60 > > status_update_interval=40 > > > > > > # /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg > > > > Nagios Core 3.5.0 > > Copyright (c) 2009-2011 Nagios Core Development Team and Community > > Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: > > 03-15-2013 > > License: GPL > > > > Website: http://www.nagios.org > > Timing information on object configuration processing is listed below. > > You can use this information to see if precaching your object > > configuration would be useful. > > > > Object Config Source: Config files (uncached) > > > > OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) > > ---------------------------------- > > Read: 0.415803 sec > > Resolve: 0.006900 sec * > > Recomb Contactgroups: 0.001862 sec * > > Recomb Hostgroups: 3.819786 sec * > > Dup Services: 0.637380 sec * > > Recomb Servicegroups: 3.419804 sec * > > Duplicate: 0.000417 sec * > > Inherit: 0.013748 sec * > > Recomb Contacts: 0.000000 sec * > > Sort: 0.000000 sec * > > Register: 0.616385 sec > > Free: 0.029930 sec > > ============ > > TOTAL: 8.962015 sec * = 7.899897 sec (88.15%) estimated savings > > > > > > RETENTION DATA TIMES > > ---------------------------------- > > Read and Process: 0.863815 sec > > ============ > > TOTAL: 0.863815 sec > > > > > > Timing information on configuration verification is listed below. > > > > CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) > > ---------------------------------- > > Object Relationships: 0.080360 sec > > Circular Paths: 0.001152 sec * > > Misc: 0.011244 sec > > ============ > > TOTAL: 0.092756 sec * = 0.001152 sec (1.2%) estimated savings > > > > > > EVENT SCHEDULING TIMES > > ------------------------------------- > > Get service info: 0.051265 sec > > Get host info info: 0.032301 sec > > Get service params: 0.000010 sec > > Schedule service times: 0.002476 sec Schedule service events: > > 0.002514 sec > > Get host params: 0.000000 sec > > Schedule host times: 0.000937 sec > > Schedule host events: 0.001287 sec > > ============ > > TOTAL: 0.090790 sec > > > > > > Projected scheduling information for host and service checks is > > listed below. This information assumes that you are going to start > > running Nagios with your current config files. > > > > HOST SCHEDULING INFORMATION > > --------------------------- > > Total hosts: 11753 > > Total scheduled hosts: 7 > > Host inter-check delay method: SMART > > Average host check interval: 300.00 sec > > Host inter-check delay: 42.86 sec > > Max host check spread: 30 min > > First scheduled check: Tue Aug 13 11:43:54 2013 > > Last scheduled check: Tue Aug 13 11:43:54 2013 > > > > > > SERVICE SCHEDULING INFORMATION > > ------------------------------- > > Total services: 18662 > > Total scheduled services: 170 > > Service inter-check delay method: SMART > > Average service check interval: 535.76 sec > > Inter-check delay: 3.15 sec > > Interleave factor method: SMART > > Average services per host: 1.59 > > Service interleave factor: 1 > > Max service check spread: 30 min > > First scheduled check: Tue Aug 13 11:52:49 2013 > > Last scheduled check: Tue Aug 13 11:58:39 2013 > > > > > > CHECK PROCESSING INFORMATION > > ---------------------------- > > Check result reaper interval: 10 sec > > Max concurrent service checks: 1600 > > > > > > PERFORMANCE SUGGESTIONS > > ----------------------- > > I have no suggestions - things look okay. > > > > Any advice will be much appreciated. > > > > Regards, > > Faiz > > "CONFIDENTIALITY NOTICE: This message and any attachment are confidential and may also be privileged. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you are not the intended recipient please telephone or e-mail the sender and delete this message and any attachment from your system." > > > BEGIN:VCARD > > VERSION:2.1 > > X-MS-SIGNATURE:YES > > N;LANGUAGE=en-us:Faiz > > FN:Faiz > > ORG:YTLC Network Operations Monitoring Team > > TEL;WORK;VOICE:+60 192260176 > > ADR;WORK;PREF:;;;;;;United States of America > > X-MS-OL-DEFAULT-POSTAL-ADDRESS:2 > > EMAIL;PREF;INTERNET:Muhamad.Faiz at Asia.Xchanging.com > > X-MS-IMADDRESS:Skype: me.faiz > > X-MS-CARDPICTURE;TYPE=JPEG;ENCODING=BASE64: > > > > /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAcFBQYFBAcGBQYIBwcIChELCgkJChUPEAwR > > GB > > Ua > > GRgVGBcbHichGx0lHRcYIi4iJSgpKywrGiAvMy8qMicqKyr/2wBDAQcICAoJChQLCxQq > > HB > > gc > > KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKir/ > > wA > > AR > > CAAVADYDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QA > > tR > > AA > > AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2Jy > > gg > > kK > > FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqD > > hI > > WG > > h4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+ > > Tl > > 5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QA > > 5ufo6erx8vP09fb3+tR > > EA > > AgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLR > > Ch > > Yk > > NOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6 > > go > > OE > > hYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna > > 4u > > Pk > > 5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD2/wAWnWYNI+1aDciKSAlpUKBg6dyP > > 5ebn6Onq8vP09fb3+kY > > 5H > > > > oBzzXK6d8SW07SpB4hVp7zf+5EcboZV753RoBj8c5rf+IXjOHwV4Ye7ba95NmO0hP8b4 > > oBzzXK6d8SW07SpB4hVp7zf+5EcboZV753RoBj8c5rf+6k > > f3 > > R1P4DvXinhexuPFE51rU7YLbo5QFIwkckmMkDBXGMg8GvUwdCFWF6i0/F+R5OPxE6WlJ > > 6/ > > gv > > M9w0HxhDrWmz6hPbNYWcLBfOncbWJOPyGRz71uw3ttPGksE8ciO7RqysMMwJBA9SNp/I > > 1h > > xx > > 6VP4HazgdrOxeL7PIIwGdAxww78nJ55POa5+HQfCyqInvnuYY12KkkCuUULsVd2zdtUY > > 6VP4HazgdrOxeL7PIIwGdAxww78nJ55POa5+wP > > UZ > > > > OSa5XTjKUuVNK/qdFKrKNOPPJNtb7Ho2ajEqGQxhxvABK55APfH4GvP4/DfhoTvdSajN > > KZ > > B8 > > knlDcGDlt+4JkuCSNx5xiqmn+HtAtoWa/wBSWSZzmMQwhVj2qFDj5Bhh13ccn8SvYLu/ > > knlDcGDlt+4JkuCSNx5xiqmn+uZ > > bx > > CXb7z0/rRXL+B9Ni03SrlIbmO5SW437o49mMRogzwMkhQScdSaKwlCzsbxqXVzo5LeKf > > Bm > > iS > > THTeoOKq32lWl/YNazR7Ys5AjO0qfUEdKKKUZNPQc4xcWmiHSdCtdIaQ2jTESYDLJKWG > > fX > > nv > > WoEVSSABk5PHWiinKTlK7JpwjGNooasSRghFVQTkgDGSe9SYHoKKKk0sgooooGf/2Q== > > > > X-MS-OL-DESIGN;CHARSET=utf-8: > xmlns="http://schemas.microsoft.com/office/outlook/12/electronicbusi > > ne sscards" ver="1.0" layout="right" bgcolor="ffffff"> > align="midright" area="50" use="cardpicture"/> > prop="name" align="left" dir="ltr" style="b" color="000000" > > size="10"/> > color="000000" size="8"/> > dir="ltr" color="000000" size="8"/> > align="left" dir="ltr" color="000000" size="8"/> > prop="blank" size="8"/> > dir="ltr" color="000000" size="8"/> > align="left" dir="ltr" color="000000" size="8"/> > prop="addrwork" align="left" dir="ltr" color="000000" size="8"/> > xmlns="" prop="blank" size="8"/> > dir="ltr" color="000000" size="8"/> > size="8"/> > prop="blank" size="8"/> > xmlns="" prop="blank" size="8"/> > size="8"/> REV:20121031T020436Z END:VCARD > > > -------------------------------------------------------------------- > > -- > > -------- Get 100% visibility into Java/.NET code with AppDynamics > > Lite! > > It's a free troubleshooting tool designed for production. > > Get down to code-level detail for bottlenecks, with <2% overhead. > > Download for free and get started troubleshooting in minutes. > > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg > > .c > > lktrk > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to > > /dev/null > > > ---------------------------------------------------------------------- > -------- Get 100% visibility into Java/.NET code with AppDynamics > Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.c > lktrk _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ---------------------------------------------------------------------- > -------- Introducing Performance Central, a new site from SourceForge > and AppDynamics. Performance Central is your source for news, > insights, analysis and resources for efficient Application Performance > Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.c > lktrk _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Wed Aug 21 09:15:12 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Wed, 21 Aug 2013 12:45:12 +0530 Subject: OnCall Message-ID: Hi, We have a OnCall system in place starting Monday to Sunday. So what i do is send out email to the stakeholders keeping subject matter For example "Systems OnCall Person - > Mr John (Start Date and End Date)" is there a way to automate this as per http://nagios.sourceforge.net/docs/3_0/oncallrotation.html meaning send out emails automatically instead of composing and sending manually. Please suggest. Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dwittenberg2008 at gmail.com Wed Aug 21 12:21:36 2013 From: dwittenberg2008 at gmail.com (Daniel Wittenberg) Date: Wed, 21 Aug 2013 05:21:36 -0500 Subject: Nagios check latency In-Reply-To: References: <5209F7D9.20005@op5.se> Message-ID: I guess that depends on your definition of stable. I've been using it in large production environments for almost a year. Dan On Aug 20, 2013 9:43 PM, "Muhamad Faiz" wrote: > Hi Andreas Ericsson, > > Until it is in Stable release, we will not update it. I guess > misconfiguration was done somewhere. > > Regards, > > Faiz > > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Tuesday, August 13, 2013 5:10 PM > To: Nagios Users List > Cc: Muhamad Faiz > Subject: Re: [Nagios-users] Nagios check latency > > On 2013-08-13 05:49, Muhamad Faiz wrote: > > Hi guys, > > > > My Nagios setup are having high service check latency. > > > > Check nagios latency result is 240 seconds! > > > > ./check_nagios_latency.sh -w 30 -c 60 > > CRITICAL: Latency at 240.183 seconds! > > > > Change to Nagios 4 and your latency will most likely go away. > > -- > 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. > "CONFIDENTIALITY NOTICE: This message and any attachment are confidential > and may also be privileged. If you are not the intended recipient of this > e-mail you may not copy, forward, disclose or otherwise use it or any part > of it in any form whatsoever. If you are not the intended recipient please > telephone or e-mail the sender and delete this message and any attachment > from your system." > > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From varandani_bharat901 at yahoo.com Wed Aug 21 15:36:40 2013 From: varandani_bharat901 at yahoo.com (bharat Varandani) Date: Wed, 21 Aug 2013 06:36:40 -0700 (PDT) Subject: check_snmp_printer In-Reply-To: <15tpptrotns.fsf@tux.uio.no> References: <505F8C269645484F93E3C862A19CC01E15F6673D@OLBORS007.offlimits.local> <15tpptrotns.fsf@tux.uio.no> Message-ID: <1377092200.36221.YahooMailNeo@web161504.mail.bf1.yahoo.com> Dear All, ??? ??? Can you tell me how i can use and see printer consumables status. ??? Please response as soon as possible.. Thanks & Regards Bharat Varandani ??? ??? ________________________________ From: Trond Hasle Amundsen To: Nagios Users List Sent: Tuesday, August 6, 2013 5:06 PM Subject: Re: [Nagios-users] check_Openmanage trouble "Weberskirch, Timo" writes: > maybe one of you has the same problem with the check_openmanage plugin? > > Last week we installed two new Dell PowerEdge R720 with OMSA v 7.3.0 > (check_openmange version: 3.7.10). > > Everytime I try to check my Server I get this error message: > > ?SNMP ERROR [storage / pdisk]: Requested entries are empty or do not exist.? Hello Timo, There seems to be some sort of issue with the Openmanage installation on this server. First thing to do is double-check that everything is installed properly. On a RHEL6 system, the following storage related RPM packages should be installed: ? # rpm -qa|grep srvadmin-storage ? srvadmin-storageservices-7.3.0-4.4.1.el6.x86_64 ? srvadmin-storage-7.3.0-4.93.2.el6.x86_64 ? srvadmin-storage-cli-7.3.0-4.93.2.el6.x86_64 ? srvadmin-storageservices-snmp-7.3.0-4.4.1.el6.x86_64 ? srvadmin-storage-snmp-7.3.0-4.93.2.el6.x86_64 ? srvadmin-storageservices-cli-7.3.0-4.4.1.el6.x86_64 Do you see any physical disks in the Openmanage Web Console? (point your browser to https://:1311/ and log in as root) Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From varandani_bharat901 at yahoo.com Wed Aug 21 15:37:15 2013 From: varandani_bharat901 at yahoo.com (bharat Varandani) Date: Wed, 21 Aug 2013 06:37:15 -0700 (PDT) Subject: nagios check_snmp_printer status In-Reply-To: <5203BEB6.1000907@op5.se> References: <9CBED93D-110D-4303-9A21-D3AE2DEE2B67@opsview.com> <5201FC89.8060103@op5.se> <43A3B28F-D5A4-43D6-BAB9-9482FCE820D5@opsview.com> <5203BEB6.1000907@op5.se> Message-ID: <1377092235.34617.YahooMailNeo@web161502.mail.bf1.yahoo.com> Dear All, ??? ??? Can you tell me how i can use and see printer consumables status. ??? Please response as soon as possible.. Thanks & Regards Bharat Varandani ________________________________ From: Andreas Ericsson To: Ton Voon Cc: Nagios Developers List ; Nagios Users List Sent: Thursday, August 8, 2013 7:52 PM Subject: Re: [Nagios-users] [Nagios-devel] Patches for inclusion to Nagios 4 On 2013-08-08 15:17, Ton Voon wrote: > > On 7 Aug 2013, at 08:51, Andreas Ericsson wrote: > >> On 2013-08-06 19:16, Ton Voon wrote: >>> Hi! >>> >>> We've published a list of patches for Nagios 4: >>> http://www.opsview.com/whats-new/blog/opsview-patches-nagios-4 >>> >>> We'd be happy if you could review if these are acceptable for >>> future inclusion or if anyone else finds them useful. >>> >> >> I'd like to get patches with commit messages and proper author and >> signed-off-by info. Since we're using git for Nagios now, it'd go a >> long way in making sure everyone gets credit for the work they've >> done. >> >> The patches also need to apply cleanly to the latest master. >> >> You may want to clone the official Nagios repo, apply your patches >> on top of it and then send me a pull request for github or some >> such. >> >> git clone git://git.code.sf.net/p/nagios/nagios nagios-core >> >> should get you the very latest. If you apply your patches on top >> of 'master' and make sure to always do "git pull --rebase" when you >> want to get the latest and greatest you'll quickly see which >> patches either have been applied or which no longer *can* be >> applied. Then you can create a separate repository on github or >> some such and push the changes there. > > OK, we'll convert them into git changes based off master. > However.... > > I'd like an assurance that the changes will be merged before we > promise to convert. Style changes are fine, won't take much time and > will not require retesting, but if we need to refactor object changes > or make larger changes to logic, this will require retesting on our > side. I'd like a reassurance that the time invested will result in a > merge upstream, otherwise we're just wasting time for all of us. > > For instance, your assistance in the "environment macros per-command" > was greatly appreciated and we've coded to the design agreed in the > email conversations, but it hasn't been merged yet. > It has, but it hasn't. The original patch no longer applies, due to extensive remodeling of the worker code. I still have it hanging around though, and I'm fairly inclined towards using it for services and hosts as well, so that environment macros can be set on a service level as well as on a command level. I've also been investigating the chances of doing this without resorting to setenv() (in essence, building a one-off block of the load-time environment macros, and then extending that whenever we hit an environment variable). But yea, I've got that one already. > So I'd like to reverse the question and ask "which changes are most > likely to be accepted, based on the amount of changes required" and > we'll work through that list in order. > Thread-safe calls It's harmless, and I'd apply it straight away if I had a sensible commit message for it, but I don't know why you need this so I can't really write one. While we're on the topic; Please write commit messages in imperative form and present tense, as if you're giving orders to the code for how it should change. Also give a short rationale for why it should change that way. The rules about not commenting out code you want to get rid of still applies though. It just looks terribly hackish when patches meant for upstream contains things like that. Slice services within hosts So long as it's configurable from cgi.cfg and the default stays the same as it is today I'll apply it immediately. It has no impact on loadable modules or other headaches, so that's a nobrainer, really. Check command by time period I feel this is somewhat lacking in efficiency and flexibility, and a much cleaner solution would be to add a filtering functionality to NERD so that checkresults can be shipped off to a third-party addon which can transform checkresults and plugin output as much as it likes. Failing that (which would be enormously cool but also a lot of work), I think it would most likely be best off as a separate module, with custom variables or separate configuration to support it. Supporting patches to run events when a timeperiod becomes active or inactive would still be welcome, obviously. Escalation via notification levels This is best off written as a module, using custom variables to configure it. If core support is required to block notifications to a particular contact, then such patches will naturally be accepted. The normal NEBCALLBACK_CANCEL return code signalling should work just fine for that. Synchronising state data Pretty invasive for quite a small benefit, and with enormous complexities to deal with to make this work properly. How do you handle reading the synced file while checks are in-flight and awaiting being returned to the mothership? They may have been spawned as a result of a bad checkresult on one node, but if the sync status returns them to OK and the in-flight result sets them as bad again, would that mean starting over on the retry-attempts? I see nothing in the patch that handles situations like that, so I'm forced to believe you haven't considered it. Considering the fact that full reloads now take less than a second for your recommended 250 hosts per system, I'm inclined to drop this patch in favour of the regular retention data file unless you can persuade me otherwise. Dependency failure states The patch is a bit hackish in that it internally submits a passive check to make sure everything gets updated. That's not entirely accurate though, and will cause statistical errors. Rewrite it to just update the states as necessary and make sure notifications and whatnot are sent if they should be. That will also fix the problem of bugging out performance data handling routines that expect to always get the same kind of data from each check every time. It will have to be configurable though. I'm thinking "service_dependency_exec_fail_state=(warning,critical,unknown)" and "service_dependency_exec_fail_output=Dependency failure". I'd be all for changing the default, but for now the exec_fail_state thing will have to be -1, meaning "leave it as-is", and I'll make it default to UNKNOWN after 4.0 is released. The same should go for service parents, btw. Passive notifications respecting renotification interval I'm inclined to making this default. It's not documented anywhere which of those options take precedence. If notification_interval is 0, then every notification should be sent for is_volatile services, and if it's anything else we should respect the interval no matter how many notifications happen to arrive. Make those changes and I'll apply the patch and call it a bugfix. Reducing SQL queries part 1: No. Just no. This is a perfect place where you can use an array sized after num_objects.services *inside the module* and look up the latest version of the processed commandline there. Free it when you update it and you'll be sure to always have it handy. Anyone who doesn't use NDOUtils will otherwise be penalized for its shortcomings. Reducing SQL queries part 2: As above, but num_objects.hosts Conditional debugging: I'm more inclined towards making the debug-logging function a C99-style variadic macro (or a gcc style one), while falling back to using the current structure of a lot of unnecessary calls on too old compilers. All that iffing should really be kept at arms length from the coder, or debug-logging won't be used. I'm thinking ? dbg(DEBUGL_CHECKS, 0, "** Running async check of foo ... "); so we get it short and sweet while we're at it. FIFO processing of passive checkresults I have several objections to this patch. First off; You're sorting on alphanumerical name only, instead of mtime first and then name in case of a tiebreak. That's just plain dumb and has to be amended if this is to be anywhere near useful. Secondly; This doesn't scale. I spent the better part of last year removing everything that touches the filesystem on a scheduled and frequent basis for those precise reasons. Putting crap like that back in is not something I'll do without a very good reason. Thirdly; It builds on obsolete code which is designated for oblivion, so the code would be (relatively) shortlived anyway. Fourthly; *Nothing* can be built on top of such a patch that doesn't absolutely reek of hackishness and bad design. A much more useful patch would be adding support for external commands to the query handler, which doesn't have the limitations of the named pipe (and can give responses to your requests so you know if they were accepted or not) and use a secondary program to ship in passive results any old way you want to the clean, nice and responsive interface which is meant to be extended for things exactly like this. Tolerant time jumps I'm unsure how useful this is. How often does a system clock go backwards except for daylight savings time? I also worry slightly about the consequences. OTOH, most of the worry comes as a result from the very lax default for time_change_threshold (900 seconds). A time jump of 899 seconds wouldn't trigger a rescheduling, but would wreak serious havoc with the checks. Listing related contact groups The patch needs to be changed so that the (possibly very long) list of contactgroups isn't computed until it's requested instead of before we even start macro substitution. Otherwise we'll be computing that macro for each and every host and service check we execute, which stupid beyond belief. Particularly considering the fact that object config can't change during runtime (yet), so the list could just as well be cached if one would so desire. For bonus points, also add CONTACTLIST, which fetches contacts from both the object directly and the contactgroups assigned. Environment macros per-command I wish you'd stop talking BS on that site of yours. Removal of environment macros has very little to do with the speedups in Nagios 4. Those improvements are the result of good design and proper implementation of good design. Now to technical issues; I have the patch (as I've said) and I do intend to push it as soon as I've had time to polish it and bring it forward to the current "master". It's quite invasive though, and I've been trying to figure out what it is about it that feels wrong. Then I've also forgotten about it, so this reminder was pretty good. Thanks. Allowing semi-colons in commands Well, it's a neat idea, but the patch is so incredibly ugly that I just can't bring myself to accept it. If you did something to keep state and allowed semicolons in strings or as escaped creatures (with a backslash, pretty please; There's enough home-cooked escaping in Nagios already), I'd be willing to accept it. Tilde symbol in commands Absolutely out of the question. This patch deliberately breaks a library to exploit its caller's fallback, which happens to suit your particular needs in this case. No. Nonono. You can just configure your way around it by using ? ? command_line? /bin/sh -c '$USER1$/plugin --arg=lala' for the command in question, or implement it separately but making it configurable as "expand_tilde_in_commands=" in nagios.cfg and doing the replacement manually. It's not that hard, really. Fix max_concurrent_checks decrementing Obviously correct, although the patch is incomplete. In case we fail to launch a job, it will have no reference in the scheduling queue but will be marked as "is_executing" which will cause it to not even get freshness checked. I'll amend the patch with everything it needs and apply. Good catch though. Extra external commands This looks clean, correct and useful. I'll need a commit message, an author and a signed-off-by before I can accept it though. Thanks -- 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. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at onpointfc.com Wed Aug 21 16:11:13 2013 From: dyioulos at onpointfc.com (Dimitri Yioulos) Date: Wed, 21 Aug 2013 10:11:13 -0400 Subject: check_snmp_printer In-Reply-To: <1377092200.36221.YahooMailNeo@web161504.mail.bf1.yahoo.com> References: <505F8C269645484F93E3C862A19CC01E15F6673D@OLBORS007.offlimits.local> <15tpptrotns.fsf@tux.uio.no> <1377092200.36221.YahooMailNeo@web161504.mail.bf1.yahoo.com> Message-ID: <201308211011.14227.dyioulos@onpointfc.com> -x "CONSUM ALL" should do the trick. At the command line, locate check_snmp_printer plugin, the run "./check_snmp_printer --help" (w/o the quotes, which are added here for clarity). ?That will give you all the possible parameters for the plugin. Dimitri On Wednesday 21 August 2013 9:36:40 am bharat Varandani wrote: > Dear All, > > ??? ??? Can you tell me how i can use and see printer > consumables status. > > ??? Please response as soon as possible.. > > > Thanks & Regards > > > Bharat Varandani > > > ??? > ??? > > > > ________________________________ > From: Trond Hasle Amundsen > To: Nagios Users List > Sent: Tuesday, > August 6, 2013 5:06 PM > Subject: Re: [Nagios-users] check_Openmanage trouble > > "Weberskirch, Timo" writes: > > maybe one of you has the same problem with the > > check_openmanage plugin? > > > > Last week we installed two new Dell PowerEdge R720 with > > OMSA v 7.3.0 (check_openmange version: 3.7.10). > > > > Everytime I try to check my Server I get this error > > message: > > > > ?SNMP ERROR [storage / pdisk]: Requested entries are > > empty or do not exist.? > > Hello Timo, > > There seems to be some sort of issue with the Openmanage > installation on this server. First thing to do is > double-check that everything is installed properly. On a > RHEL6 system, the following storage related RPM packages > should be installed: > > ? # rpm -qa|grep srvadmin-storage > ? srvadmin-storageservices-7.3.0-4.4.1.el6.x86_64 > ? srvadmin-storage-7.3.0-4.93.2.el6.x86_64 > ? srvadmin-storage-cli-7.3.0-4.93.2.el6.x86_64 > ? srvadmin-storageservices-snmp-7.3.0-4.4.1.el6.x86_64 > ? srvadmin-storage-snmp-7.3.0-4.93.2.el6.x86_64 > ? srvadmin-storageservices-cli-7.3.0-4.4.1.el6.x86_64 > > Do you see any physical disks in the Openmanage Web > Console? (point your browser to https://:1311/ > and log in as root) > > Regards, > -- > Trond H. Amundsen > Center for Information Technology Services, University of > Oslo > > --------------------------------------------------------- >--------------------- Get your SQL database under version > control now! Version control is standard for application > code, but databases havent caught up. So what steps can > you take to put your SQL databases under version control? > Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu >=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) > ::: and OS when reporting any issue. Messages without > ::: supporting info will risk being sent to /dev/null -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From varandani_bharat901 at yahoo.com Wed Aug 21 16:49:04 2013 From: varandani_bharat901 at yahoo.com (bharat Varandani) Date: Wed, 21 Aug 2013 07:49:04 -0700 (PDT) Subject: check_snmp_printer In-Reply-To: <201308211011.14227.dyioulos@onpointfc.com> References: <505F8C269645484F93E3C862A19CC01E15F6673D@OLBORS007.offlimits.local> <15tpptrotns.fsf@tux.uio.no> <1377092200.36221.YahooMailNeo@web161504.mail.bf1.yahoo.com> <201308211011.14227.dyioulos@onpointfc.com> Message-ID: <1377096544.16772.YahooMailNeo@web161502.mail.bf1.yahoo.com> Dear Sir, Can you send me your full script with full configuration for print configuration. thanks & regards bharat varandani ________________________________ From: Dimitri Yioulos To: nagios-users at lists.sourceforge.net Sent: Wednesday, August 21, 2013 6:11 PM Subject: Re: [Nagios-users] check_snmp_printer -x "CONSUM ALL" should do the trick. At the command line, locate check_snmp_printer plugin, the run "./check_snmp_printer --help" (w/o the quotes, which are added here for clarity). ?That will give you all the possible parameters for the plugin. Dimitri On Wednesday 21 August 2013 9:36:40 am bharat Varandani wrote: > Dear All, > > ??? ??? Can you tell me how i can use and see printer > consumables status. > > ??? Please response as soon as possible.. > > > Thanks & Regards > > > Bharat Varandani > > > ??? > ??? > > > > ________________________________ >? From: Trond Hasle Amundsen > To: Nagios Users List > Sent: Tuesday, > August 6, 2013 5:06 PM > Subject: Re: [Nagios-users] check_Openmanage trouble > > "Weberskirch, Timo" writes: > > maybe one of you has the same problem with the > > check_openmanage plugin? > > > > Last week we installed two new Dell PowerEdge R720 with > > OMSA v 7.3.0 (check_openmange version: 3.7.10). > > > > Everytime I try to check my Server I get this error > > message: > > > > ?SNMP ERROR [storage / pdisk]: Requested entries are > > empty or do not exist.? > > Hello Timo, > > There seems to be some sort of issue with the Openmanage > installation on this server. First thing to do is > double-check that everything is installed properly. On a > RHEL6 system, the following storage related RPM packages > should be installed: > > ? # rpm -qa|grep srvadmin-storage > ? srvadmin-storageservices-7.3.0-4.4.1.el6.x86_64 > ? srvadmin-storage-7.3.0-4.93.2.el6.x86_64 > ? srvadmin-storage-cli-7.3.0-4.93.2.el6.x86_64 > ? srvadmin-storageservices-snmp-7.3.0-4.4.1.el6.x86_64 > ? srvadmin-storage-snmp-7.3.0-4.93.2.el6.x86_64 > ? srvadmin-storageservices-cli-7.3.0-4.4.1.el6.x86_64 > > Do you see any physical disks in the Openmanage Web > Console? (point your browser to https://:1311/ > and log in as root) > > Regards, > -- > Trond H. Amundsen > Center for Information Technology Services, University of > Oslo > > --------------------------------------------------------- >--------------------- Get your SQL database under version > control now! Version control is standard for application > code, but databases havent caught up. So what steps can > you take to put your SQL databases under version control? > Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu >=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) > ::: and OS when reporting any issue. Messages without > ::: supporting info will risk being sent to /dev/null -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at onpointfc.com Wed Aug 21 16:59:10 2013 From: dyioulos at onpointfc.com (Dimitri Yioulos) Date: Wed, 21 Aug 2013 10:59:10 -0400 Subject: check_snmp_printer In-Reply-To: <1377096544.16772.YahooMailNeo@web161502.mail.bf1.yahoo.com> References: <505F8C269645484F93E3C862A19CC01E15F6673D@OLBORS007.offlimits.local> <201308211011.14227.dyioulos@onpointfc.com> <1377096544.16772.YahooMailNeo@web161502.mail.bf1.yahoo.com> Message-ID: <201308211059.11357.dyioulos@onpointfc.com> Bharat, The "script" (plugin, in Nagios parlance) can be found on Nagios Exchange - http://exchange.nagios.org/index.php?option=com_mtree&task=search&Itemid=74&searchword=check_snmp_printer HTH Dimitri On Wednesday 21 August 2013 10:49:04 am bharat Varandani wrote: > Dear Sir, > > > Can you send me your full script with full configuration > for print configuration. > > thanks & regards > bharat varandani > > > ________________________________ > From: Dimitri Yioulos > To: nagios-users at lists.sourceforge.net > Sent: Wednesday, August 21, 2013 6:11 PM > Subject: Re: [Nagios-users] check_snmp_printer > > > -x "CONSUM ALL" should do the trick. > > At the command line, locate check_snmp_printer plugin, > the run "./check_snmp_printer --help" (w/o the quotes, > which are added here for clarity). ?That will give you > all the possible parameters for the plugin. > > Dimitri > > > On Wednesday 21 August 2013 9:36:40 am bharat Varandani > > wrote: > > Dear All, > > > > ??? ??? Can you tell me how i can use and see printer > > consumables status. > > > > ??? Please response as soon as possible.. > > > > > > Thanks & Regards > > > > > > Bharat Varandani > > > > > > ??? > > ??? > > > > > > > > ________________________________ > >? From: Trond Hasle Amundsen > > To: Nagios Users List > > Sent: Tuesday, > > August 6, 2013 5:06 PM > > Subject: Re: [Nagios-users] check_Openmanage trouble > > > > "Weberskirch, Timo" > > writes: > > > maybe one of you has the same problem with the > > > check_openmanage plugin? > > > > > > Last week we installed two new Dell PowerEdge R720 > > > with OMSA v 7.3.0 (check_openmange version: 3.7.10). > > > > > > Everytime I try to check my Server I get this error > > > message: > > > > > > ?SNMP ERROR [storage / pdisk]: Requested entries are > > > empty or do not exist.? > > > > Hello Timo, > > > > There seems to be some sort of issue with the > > Openmanage installation on this server. First thing to > > do is double-check that everything is installed > > properly. On a RHEL6 system, the following storage > > related RPM packages should be installed: > > > > ? # rpm -qa|grep srvadmin-storage > > ? srvadmin-storageservices-7.3.0-4.4.1.el6.x86_64 > > ? srvadmin-storage-7.3.0-4.93.2.el6.x86_64 > > ? srvadmin-storage-cli-7.3.0-4.93.2.el6.x86_64 > > ? srvadmin-storageservices-snmp-7.3.0-4.4.1.el6.x86_64 > > ? srvadmin-storage-snmp-7.3.0-4.93.2.el6.x86_64 > > ? srvadmin-storageservices-cli-7.3.0-4.4.1.el6.x86_64 > > > > Do you see any physical disks in the Openmanage Web > > Console? (point your browser to > > https://:1311/ and log in as root) > > > > Regards, > > -- > > Trond H. Amundsen > > Center for Information Technology Services, University > > of Oslo > > > > ------------------------------------------------------- > >-- --------------------- Get your SQL database under > > version control now! Version control is standard for > > application code, but databases havent caught up. So > > what steps can you take to put your SQL databases under > > version control? Why should you start doing it? Read > > more to find out. > > http://pubads.g.doubleclick.net/gampad/clk?id=48897031& > >iu =/4140/ostg.clktrk > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-use > >rs > > > > ::: Please include Nagios version, plugin version (-v) > > ::: and OS when reporting any issue. Messages without > > ::: supporting info will risk being sent to /dev/null > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > --------------------------------------------------------- >--------------------- Introducing Performance Central, a > new site from SourceForge and AppDynamics. Performance > Central is your source for news, insights, analysis and > resources for efficient Application Performance > Management. Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu >=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) > ::: and OS when reporting any issue. Messages without > ::: supporting info will risk being sent to /dev/null -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at onpointfc.com Wed Aug 21 15:54:56 2013 From: dyioulos at onpointfc.com (Dimitri Yioulos) Date: Wed, 21 Aug 2013 09:54:56 -0400 Subject: check_snmp_printer In-Reply-To: <1377092200.36221.YahooMailNeo@web161504.mail.bf1.yahoo.com> References: <505F8C269645484F93E3C862A19CC01E15F6673D@OLBORS007.offlimits.local> <15tpptrotns.fsf@tux.uio.no> <1377092200.36221.YahooMailNeo@web161504.mail.bf1.yahoo.com> Message-ID: <201308210954.56940.dyioulos@onpointfc.com> -x "CONSUM ALL" should do the trick. At the command line, locate check_snmp_printer plugin, the run "./check_snmp_printer --help" (w/o the quotes, which are added here for clarity). That will give you all the possible parameters for the plugin. Dimitri On Wednesday 21 August 2013 9:36:40 am bharat Varandani wrote: > Dear All, > > ??? ??? Can you tell me how i can use and see printer > consumables status. > > ??? Please response as soon as possible.. > > > Thanks & Regards > > > Bharat Varandani > > > ??? > ??? > > > > ________________________________ > From: Trond Hasle Amundsen > To: Nagios Users List > Sent: Tuesday, > August 6, 2013 5:06 PM > Subject: Re: [Nagios-users] check_Openmanage trouble > > "Weberskirch, Timo" writes: > > maybe one of you has the same problem with the > > check_openmanage plugin? > > > > Last week we installed two new Dell PowerEdge R720 with > > OMSA v 7.3.0 (check_openmange version: 3.7.10). > > > > Everytime I try to check my Server I get this error > > message: > > > > ?SNMP ERROR [storage / pdisk]: Requested entries are > > empty or do not exist.? > > Hello Timo, > > There seems to be some sort of issue with the Openmanage > installation on this server. First thing to do is > double-check that everything is installed properly. On a > RHEL6 system, the following storage related RPM packages > should be installed: > > ? # rpm -qa|grep srvadmin-storage > ? srvadmin-storageservices-7.3.0-4.4.1.el6.x86_64 > ? srvadmin-storage-7.3.0-4.93.2.el6.x86_64 > ? srvadmin-storage-cli-7.3.0-4.93.2.el6.x86_64 > ? srvadmin-storageservices-snmp-7.3.0-4.4.1.el6.x86_64 > ? srvadmin-storage-snmp-7.3.0-4.93.2.el6.x86_64 > ? srvadmin-storageservices-cli-7.3.0-4.4.1.el6.x86_64 > > Do you see any physical disks in the Openmanage Web > Console? (point your browser to https://:1311/ > and log in as root) > > Regards, > -- > Trond H. Amundsen > Center for Information Technology Services, University of > Oslo > > --------------------------------------------------------- >--------------------- Get your SQL database under version > control now! Version control is standard for application > code, but databases havent caught up. So what steps can > you take to put your SQL databases under version control? > Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu >=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) > ::: and OS when reporting any issue. Messages without > ::: supporting info will risk being sent to /dev/null -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlgibbs at utica.edu Thu Aug 22 00:19:20 2013 From: jlgibbs at utica.edu (Jeremy Gibbs) Date: Wed, 21 Aug 2013 18:19:20 -0400 Subject: Alerting Message-ID: Now, I know this can be done but here is the question. Say our core switch goes down, I obviously don't want to be alerted about every single device that has subsequently gone down as well. I know since the core is down, everything is down. How do I setup these types of relationships so alerting is dependent other another object being up. I would get alerts because we are using a SMS gateway and it would be able to send SMS messages to our cellphones. Thanks *-- Jeremy L. Gibbs* Systems Administrator / Network Engineer Utica College IITS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CRice at AKASSOCIATES911.COM Thu Aug 22 01:26:20 2013 From: CRice at AKASSOCIATES911.COM (Charles Rice) Date: Wed, 21 Aug 2013 19:26:20 -0400 Subject: Alerting In-Reply-To: References: Message-ID: <6BD9387C0441394E8E0EB52B9DF58A440251530BABDE@AKMAIL.AKASSOCIATES911.COM> you need to put in the config files of the nodes connected to the switch that the switch is a parent device. I do not have the syntax in front of me, but I think it is just parent Yours, Charles Rice 911 Specialist This message (and any files transmitted with it) is intended only for the use of the person or organization to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and delete the original message immediately. Thank you. ________________________________ From: Jeremy Gibbs [jlgibbs at utica.edu] Sent: Wednesday, August 21, 2013 6:19 PM To: nagios-users Subject: [Nagios-users] Alerting Now, I know this can be done but here is the question. Say our core switch goes down, I obviously don't want to be alerted about every single device that has subsequently gone down as well. I know since the core is down, everything is down. How do I setup these types of relationships so alerting is dependent other another object being up. I would get alerts because we are using a SMS gateway and it would be able to send SMS messages to our cellphones. Thanks -- Jeremy L. Gibbs Systems Administrator / Network Engineer Utica College IITS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From varandani_bharat901 at yahoo.com Thu Aug 22 07:21:49 2013 From: varandani_bharat901 at yahoo.com (bharat Varandani) Date: Wed, 21 Aug 2013 22:21:49 -0700 (PDT) Subject: check_snmp_printer In-Reply-To: <201308211059.11357.dyioulos@onpointfc.com> References: <505F8C269645484F93E3C862A19CC01E15F6673D@OLBORS007.offlimits.local> <201308211011.14227.dyioulos@onpointfc.com> <1377096544.16772.YahooMailNeo@web161502.mail.bf1.yahoo.com> <201308211059.11357.dyioulos@onpointfc.com> Message-ID: <1377148909.34061.YahooMailNeo@web161504.mail.bf1.yahoo.com> ?Dear Dimitri, Thanks For Reply.But here I am facing Same problem . Its Giving me Generic-service not define anywere in printer.cfg..That i want dear so please help me about that matter.. Thanks & Regards Bharat Varandani ________________________________ From: Dimitri Yioulos To: nagios-users at lists.sourceforge.net Sent: Wednesday, August 21, 2013 6:59 PM Subject: Re: [Nagios-users] check_snmp_printer Bharat, The "script" (plugin, in Nagios parlance) can be found on Nagios Exchange - http://exchange.nagios.org/index.php?option=com_mtree&task=search&Itemid=74&searchword=check_snmp_printer HTH Dimitri On Wednesday 21 August 2013 10:49:04 am bharat Varandani wrote: > Dear Sir, > > > Can you send me your full script with full configuration > for print configuration. > > thanks & regards > bharat varandani > > > ________________________________ >? From: Dimitri Yioulos > To: nagios-users at lists.sourceforge.net > Sent: Wednesday, August 21, 2013 6:11 PM > Subject: Re: [Nagios-users] check_snmp_printer > > > -x "CONSUM ALL" should do the trick. > > At the command line, locate check_snmp_printer plugin, > the run "./check_snmp_printer --help" (w/o the quotes, > which are added here for clarity). ?That will give you > all the possible parameters for the plugin. > > Dimitri > > > On Wednesday 21 August 2013 9:36:40 am bharat Varandani > > wrote: > > Dear All, > > > > ??? ??? Can you tell me how i can use and see printer > > consumables status. > > > > ??? Please response as soon as possible.. > > > > > > Thanks & Regards > > > > > > Bharat Varandani > > > > > > ??? > > ??? > > > > > > > > ________________________________ > >? From: Trond Hasle Amundsen > > To: Nagios Users List > > Sent: Tuesday, > > August 6, 2013 5:06 PM > > Subject: Re: [Nagios-users] check_Openmanage trouble > > > > "Weberskirch, Timo" > > writes: > > > maybe one of you has the same problem with the > > > check_openmanage plugin? > > > > > > Last week we installed two new Dell PowerEdge R720 > > > with OMSA v 7.3.0 (check_openmange version: 3.7.10). > > > > > > Everytime I try to check my Server I get this error > > > message: > > > > > > ?SNMP ERROR [storage / pdisk]: Requested entries are > > > empty or do not exist.? > > > > Hello Timo, > > > > There seems to be some sort of issue with the > > Openmanage installation on this server. First thing to > > do is double-check that everything is installed > > properly. On a RHEL6 system, the following storage > > related RPM packages should be installed: > > > > ? # rpm -qa|grep srvadmin-storage > > ? srvadmin-storageservices-7.3.0-4.4.1.el6.x86_64 > > ? srvadmin-storage-7.3.0-4.93.2.el6.x86_64 > > ? srvadmin-storage-cli-7.3.0-4.93.2.el6.x86_64 > > ? srvadmin-storageservices-snmp-7.3.0-4.4.1.el6.x86_64 > > ? srvadmin-storage-snmp-7.3.0-4.93.2.el6.x86_64 > > ? srvadmin-storageservices-cli-7.3.0-4.4.1.el6.x86_64 > > > > Do you see any physical disks in the Openmanage Web > > Console? (point your browser to > > https://:1311/ and log in as root) > > > > Regards, > > -- > > Trond H. Amundsen > > Center for Information Technology Services, University > > of Oslo > > > > ------------------------------------------------------- > >-- --------------------- Get your SQL database under > > version control now! Version control is standard for > > application code, but databases havent caught up. So > > what steps can you take to put your SQL databases under > > version control? Why should you start doing it? Read > > more to find out. > > http://pubads.g.doubleclick.net/gampad/clk?id=48897031& > >iu =/4140/ostg.clktrk > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-use > >rs > > > > ::: Please include Nagios version, plugin version (-v) > > ::: and OS when reporting any issue. Messages without > > ::: supporting info will risk being sent to /dev/null > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > --------------------------------------------------------- >--------------------- Introducing Performance Central, a > new site from SourceForge and AppDynamics. Performance > Central is your source for news, insights, analysis and > resources for efficient Application Performance > Management. Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu >=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) > ::: and OS when reporting any issue. Messages without > ::: supporting info will risk being sent to /dev/null -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Thu Aug 22 11:42:36 2013 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Thu, 22 Aug 2013 11:42:36 +0200 Subject: Alerting In-Reply-To: <6BD9387C0441394E8E0EB52B9DF58A440251530BABDE@AKMAIL.AKASSOCIATES911.COM> References: <6BD9387C0441394E8E0EB52B9DF58A440251530BABDE@AKMAIL.AKASSOCIATES911.COM> Message-ID: On Thu, Aug 22, 2013 at 1:26 AM, Charles Rice wrote: > you need to put in the config files of the nodes connected to the switch > that the switch is a parent device. I do not have the syntax in front of me, > but I think it is just > parent It's "parents", just for the sake of completeness. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 22 13:51:07 2013 From: benny at bennyvision.com (C. Bensend) Date: Thu, 22 Aug 2013 06:51:07 -0500 Subject: Distributed monitoring: central collector doesn't seem to be able to run active checks Message-ID: <8ae778d958ce7deb845d75bebed0558e.squirrel@webmail.stinkweasel.net> Hey folks, I'm continuing to iron out the wrinkles with 3.5.1 and distributed monitoring. I'm using mod_gearman to submit and receive events from two distributed pollers. Every now and again, I'll get something similar in the log on the centralized collecting machine: CRITICAL: Return code of 127 is out of bounds. Make sure the plugin youre trying to run actually exists. (worker: collector.domain.org) To me, that suggests that the collector system didn't get a result for a host or service in a timely manner from one of the polling systems, and so it attempted to run an active check itself. However, it doesn't seem to be able to, and I don't know why. The collector has the same value for $USER1$, and it has the same set of plugins installed on it: On the collector: grep USER1 etc/resource.cfg $USER1$=/usr/local/nagios/libexec On the two pollers: $USER1$=/usr/local/nagios/libexec $USER1$=/usr/local/nagios/libexec The plugins are installed in identical locations on all three systems, that's enforced via Puppet. The 'nagios' user can find and run them on the collector: /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 NRPE v2.13 Now, because this is a distributed setup, the collector system is not configured to run active checks: grep ^execute etc/nagios.cfg execute_service_checks=0 execute_host_checks=0 ... but *obviously* it's trying to. Is it failing because it's configured to not run them? If that's the case, the error message is not accurate and should be corrected. If that's *not* the case, why can't my collector server run an active check when it believes it needs to? I use NConf to generate my configurations, if that matters. There are a *lot* of hosts/services and quite a few configuration files, so I'm not going to paste a slew of information here. If I'm missing pertinent information, please let me know exactly what you want to see and I'll get it. I'd really appreciate a clue-by-four. Thanks, folks! :) Benny -- "No matter how tempted I am with the prospect of unlimited power, I will not consume any energy field bigger than my head." -- #22 on Peter Anspach's Evil Overlord list ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florin at andrei.myip.org Sat Aug 24 00:34:49 2013 From: florin at andrei.myip.org (Florin Andrei) Date: Fri, 23 Aug 2013 15:34:49 -0700 Subject: parent hosts, frequency of checks, and recovery messages Message-ID: <6b1776cea6e7bf129b06be992753c6a4@andrei.myip.org> Using Nagios 3.2.x Following the Network Reachability document... http://nagios.sourceforge.net/docs/3_0/networkreachability.html ...I've assigned the main routers on various networks as parent hosts to all hosts in their respective networks. When those networks go offline, I'm only notified that the parent router is offline. This is great. However, when the network recovers, the parent router is quickly marked online, whereas many services on that network are still unreachable. Then comes the time for them all to be checked again, and they recover - and I get a whole bunch of recovery messages. Is there a way to avoid this? Somehow silence the recovery messages if the cause was the parent router going offline? Thanks! -- Florin Andrei http://florin.myip.org/ ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florin at andrei.myip.org Sat Aug 24 01:02:49 2013 From: florin at andrei.myip.org (Florin Andrei) Date: Fri, 23 Aug 2013 16:02:49 -0700 Subject: parent hosts, frequency of checks, and recovery messages In-Reply-To: <6b1776cea6e7bf129b06be992753c6a4@andrei.myip.org> References: <6b1776cea6e7bf129b06be992753c6a4@andrei.myip.org> Message-ID: On 2013-08-23 15:34, Florin Andrei wrote: > > whereas many services on that network are still unreachable whereas many services on that network are still *marked* unreachable -- Florin Andrei http://florin.myip.org/ ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From varandani_bharat901 at yahoo.com Sat Aug 24 07:21:19 2013 From: varandani_bharat901 at yahoo.com (bharat Varandani) Date: Fri, 23 Aug 2013 22:21:19 -0700 (PDT) Subject: PluginIssue Message-ID: <1377321679.65169.YahooMailNeo@web161502.mail.bf1.yahoo.com> Dear All, Please Solve my This issue.Its very urgent and ?i am facing this issue from ?long ?time . I want to resolve this issue please all help me to resolve this issue as soon as possible.. Thanks & Regards Bharat Varandani? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: missingplugin.JPG Type: image/jpeg Size: 149051 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From varandani_bharat901 at yahoo.com Sat Aug 24 07:22:12 2013 From: varandani_bharat901 at yahoo.com (bharat Varandani) Date: Fri, 23 Aug 2013 22:22:12 -0700 (PDT) Subject: Plugin Issue In-Reply-To: <1377161672.58186.YahooMailNeo@web161502.mail.bf1.yahoo.com> References: <6BD9387C0441394E8E0EB52B9DF58A440251530BABDE@AKMAIL.AKASSOCIATES911.COM> <1377161672.58186.YahooMailNeo@web161502.mail.bf1.yahoo.com> Message-ID: <1377321732.91573.YahooMailNeo@web161506.mail.bf1.yahoo.com> ________________________________ From: bharat Varandani To: Nagios Users List Sent: Thursday, August 22, 2013 12:54 PM Subject: Plugin Issue Dear All, Please Solve my This issue.Its very urgent and ?i am facing this issue long ?time . i want to resolve this issue please all help me to resolve this issue as soon as possible.. Thanks & Regards Bharat Varandani? ________________________________ From: Charles Rice To: Nagios Users List Sent: Thursday, August 22, 2013 3:26 AM Subject: Re: [Nagios-users] Alerting you need to put in the config files of the nodes connected to the switch that the switch is a parent device. I do not have the syntax in front of me, but I think it is just ??? parent??????? ? Yours, ? Charles Rice 911 Specialist ? This message (and any files transmitted with it) is intended only for the use of the person or organization to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by email or telephone and delete the original message immediately. Thank you. ________________________________ From: Jeremy Gibbs [jlgibbs at utica.edu] Sent: Wednesday, August 21, 2013 6:19 PM To: nagios-users Subject: [Nagios-users] Alerting Now, I know this can be done but here is the question. Say our core switch goes down, I obviously don't want to be alerted about every single device that has subsequently gone down as well. ?I know since the core is down, everything is down. ?How do I setup these types of relationships so alerting is dependent other another object being up. I would get alerts because we are using a SMS gateway and it would be able to send SMS messages to our cellphones.? Thanks? -- Jeremy L. GibbsSystems Administrator / Network Engineer Utica College IITS ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: missingplugin.JPG Type: image/jpeg Size: 149051 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manikumar85 at gmail.com Sat Aug 24 08:52:30 2013 From: manikumar85 at gmail.com (Manish Kumar) Date: Sat, 24 Aug 2013 12:22:30 +0530 Subject: PluginIssue In-Reply-To: <1377321679.65169.YahooMailNeo@web161502.mail.bf1.yahoo.com> References: <1377321679.65169.YahooMailNeo@web161502.mail.bf1.yahoo.com> Message-ID: This is purely plugin issue, please check the service definition and the check plugin command by manually running from command line. On Sat, Aug 24, 2013 at 10:51 AM, bharat Varandani < varandani_bharat901 at yahoo.com> wrote: > Dear All, > > Please Solve my This issue.Its very urgent and i am facing this issue > from long time . I want to resolve this issue please all help me to > resolve this issue as soon as possible.. > > > Thanks & Regards > > Bharat Varandani > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks Manish Kumar www.manishkr.com http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From varandani_bharat901 at yahoo.com Sat Aug 24 12:37:37 2013 From: varandani_bharat901 at yahoo.com (bharat Varandani) Date: Sat, 24 Aug 2013 03:37:37 -0700 (PDT) Subject: warning Message-ID: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com> Dear All, I am Facing ?Some Warning in check_snmp. That i want to resolve so anybody please help to resolve this issue ASAP.. Thanks & Regards Bharat Varandani -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_snmp_printer.JPG Type: image/jpeg Size: 130887 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: warning.JPG Type: image/jpeg Size: 123955 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 jubileegroup.co.uk Sat Aug 24 12:19:18 2013 From: nagios at jubileegroup.co.uk (G.W. Haywood) Date: Sat, 24 Aug 2013 11:19:18 +0100 (BST) Subject: Where is the 'map' file or its equivalent on Debian? Message-ID: Hi there, First post to this list. Flames welcome. :) I've been using Nagios for a couple of years to monitor about two dozen hosts on our network at work. The machines are mostly Debian Squeeze/Wheezy, the Nagios server itself is Squeeze. Nagios was installed from the Debian package but the plugins were installed from source on both the Nagios server and the machines which it monitors. I've modified a couple of plugins to be able to monitor e.g. hard disc temperatures and sector remap counts, and that's all working fine. Yesterday I decided to install Nagiosgrapher from the Debian package to give a better overall picture of trends. So far it's been a total failure. Well, almost total. I have some nice graphs of the response time for HTTP requests on those machines that have Web servers running (Apache on port 80, and CUPS on port 631) but I have no use for these graphs as (a) I'm also running Smokeping and (b) the HTTP request response times are, at least on our LAN, of no interest anyway. I'd much prefer to see the clock drifts of my ntp servers, for example. So I set about trying to figure out how to make such graphs. The documentation that I can find talks about modifying a 'map file' (which I gather will be called 'map') so that Nagiosgrapher can graph arbitrary data. The problem is that the Debian package did not supply this file. ged at tornado:~$ atool -l /var/cache/apt/archives/nagiosgraph* | grep map -rw-r--r-- root/root 267 2012-06-08 17:22 \ ./usr/share/nagiosgrapher/debian/cfg/ngraph.d/standard/check_imap.ncfg Clearly there's something doing the bnecessary somewhere, because I can see the HTTP graphs, but I've no idea where to look amongst the morass of configuration files for anything resembling it. Where is the bit of magic that emulates the map file on Debian? -- 73, Ged. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 jubileegroup.co.uk Sat Aug 24 14:07:28 2013 From: nagios at jubileegroup.co.uk (G.W. Haywood) Date: Sat, 24 Aug 2013 13:07:28 +0100 (BST) Subject: Where is the 'map' file or its equivalent on Debian? Message-ID: Hi there, On Sat, 24 Aug 2013, G.W. Haywood wrote: > [snip] > The documentation that I can find talks about modifying a 'map file' > (which I gather will be called 'map') so that Nagiosgrapher can graph > arbitrary data. > > The problem is that the Debian package did not supply this file. > [snip] > Where is the bit of magic that emulates the map file on Debian? Never mind. I blew away Debian's brain-damaged config and installed from source, had it working in twenty minutes. -- 73, Ged. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From varandani_bharat901 at yahoo.com Sun Aug 25 16:59:18 2013 From: varandani_bharat901 at yahoo.com (bharat Varandani) Date: Sun, 25 Aug 2013 07:59:18 -0700 (PDT) Subject: Email Configuration Message-ID: <1377442758.14005.YahooMailNeo@web161503.mail.bf1.yahoo.com> Dear All, I want to Configure Email service in nagios. So I want tips to configure email in nagios..Hey Guyz help me to configure email services in nagios. Thanks & Regards Bharat Varandani -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niall at makalumedia.com Sun Aug 25 17:27:10 2013 From: niall at makalumedia.com (Niall O Broin) Date: Sun, 25 Aug 2013 16:27:10 +0100 Subject: Email Configuration In-Reply-To: <1377442758.14005.YahooMailNeo@web161503.mail.bf1.yahoo.com> References: <1377442758.14005.YahooMailNeo@web161503.mail.bf1.yahoo.com> Message-ID: <4CB38CEF-DA23-43B1-9486-2DED42949AD9@makalumedia.com> On 25 Aug 2013, at 15:59, bharat Varandani wrote: > I want to Configure Email service in nagios. So I want tips to configure email in nagios..Hey Guyz help me to configure email services in nagios. Here's a good tip - read the documentation. If you've got specific issues, this list is a good resource, but it's only good manners to have tried the basics yourself first. Kindest regards, Niall O Broin -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: Message signed with OpenPGP using GPGMail URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Sun Aug 25 19:46:09 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Sun, 25 Aug 2013 23:16:09 +0530 Subject: OnCall In-Reply-To: References: Message-ID: On Wed, Aug 21, 2013 at 12:45 PM, Kaushal Shriyan wrote: > Hi, > > We have a OnCall system in place starting Monday to Sunday. So what i do > is send out email to the stakeholders keeping subject matter For example > "Systems OnCall Person - > Mr John (Start Date and End Date)" is there a > way to automate this as per > http://nagios.sourceforge.net/docs/3_0/oncallrotation.html meaning send > out emails automatically instead of composing and sending manually. Please > suggest. > > Regards, > > Kaushal > > Hi Checking in again for my earlier post to this mailing list. Please suggest Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunil at sunil.cc Mon Aug 26 04:27:26 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Sun, 25 Aug 2013 19:27:26 -0700 Subject: OnCall In-Reply-To: References: Message-ID: For your case you may have to have a custom notify script .Somethis like this and then you may have to include this define command{ command_name service-notify-oncall command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info: $SERVICEOUTPUT$\n\n" | /bin/mail -s "On Call Person $CONTACTNAME$ $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } And then define define contact{ contact_name john host_notification_period john-oncall service_notification_period john-oncall host_notification_options d,u,r service_notification_options c,w,r host_notification_commands host-notify-oncall service_notification_commands service-notify-oncall register 0 } like this . Regards Sunil On Sun, Aug 25, 2013 at 10:46 AM, Kaushal Shriyan wrote: > > > > On Wed, Aug 21, 2013 at 12:45 PM, Kaushal Shriyan < > kaushalshriyan at gmail.com> wrote: > >> Hi, >> >> We have a OnCall system in place starting Monday to Sunday. So what i do >> is send out email to the stakeholders keeping subject matter For example >> "Systems OnCall Person - > Mr John (Start Date and End Date)" is there a >> way to automate this as per >> http://nagios.sourceforge.net/docs/3_0/oncallrotation.html meaning send >> out emails automatically instead of composing and sending manually. Please >> suggest. >> >> Regards, >> >> Kaushal >> >> > Hi > > Checking in again for my earlier post to this mailing list. Please suggest > > Regards > > Kaushal > > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunil at sunil.cc Mon Aug 26 04:43:02 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Sun, 25 Aug 2013 19:43:02 -0700 Subject: OnCall In-Reply-To: References: Message-ID: Note I have not included all the mandatory objects in the object definition .So please refer to this and include them http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html On Sun, Aug 25, 2013 at 7:27 PM, Sunil Sankar wrote: > For your case you may have to have a custom notify script .Somethis like > this and then you may have to include this > > define command{ > command_name service-notify-oncall > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info: > $SERVICEOUTPUT$\n\n" | /bin/mail -s "On Call Person $CONTACTNAME$ > $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > And then define > define contact{ > contact_name john > host_notification_period john-oncall > service_notification_period john-oncall > host_notification_options d,u,r > service_notification_options c,w,r > host_notification_commands host-notify-oncall > service_notification_commands service-notify-oncall > register 0 > } > > like this . > > Regards > Sunil > > > > On Sun, Aug 25, 2013 at 10:46 AM, Kaushal Shriyan < > kaushalshriyan at gmail.com> wrote: > >> >> >> >> On Wed, Aug 21, 2013 at 12:45 PM, Kaushal Shriyan < >> kaushalshriyan at gmail.com> wrote: >> >>> Hi, >>> >>> We have a OnCall system in place starting Monday to Sunday. So what i do >>> is send out email to the stakeholders keeping subject matter For example >>> "Systems OnCall Person - > Mr John (Start Date and End Date)" is there a >>> way to automate this as per >>> http://nagios.sourceforge.net/docs/3_0/oncallrotation.html meaning send >>> out emails automatically instead of composing and sending manually. Please >>> suggest. >>> >>> Regards, >>> >>> Kaushal >>> >>> >> Hi >> >> Checking in again for my earlier post to this mailing list. Please suggest >> >> Regards >> >> Kaushal >> >> >> >> ------------------------------------------------------------------------------ >> Introducing Performance Central, a new site from SourceForge and >> AppDynamics. Performance Central is your source for news, insights, >> analysis and resources for efficient Application Performance Management. >> Visit us today! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > Regards > Sunil Sankar > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ar at xlrs.de Mon Aug 26 08:30:29 2013 From: ar at xlrs.de (Axel) Date: Mon, 26 Aug 2013 08:30:29 +0200 Subject: warning In-Reply-To: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com> References: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com> Message-ID: <1657111.gcfKy4rkLd@lxrosenski.pag> What kind of help do you expect? It's all there. Just read the warning and fix it yourself... Regards Am Samstag, 24. August 2013, 03:37:37 schrieb bharat Varandani: > Dear All, > > > I am Facing Some Warning in check_snmp. That i want to resolve so anybody > please help to resolve this issue ASAP.. > > Thanks & Regards > > Bharat Varandani ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at onpointfc.com Mon Aug 26 16:03:58 2013 From: dyioulos at onpointfc.com (Dimitri Yioulos) Date: Mon, 26 Aug 2013 10:03:58 -0400 Subject: warning In-Reply-To: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com> References: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com> Message-ID: <201308261003.59401.dyioulos@onpointfc.com> On Saturday 24 August 2013 6:37:37 am bharat Varandani wrote: > Dear All, > > > I am Facing ?Some Warning in check_snmp. That i want to > resolve so anybody please help to resolve this issue > ASAP.. > > Thanks & Regards > > Bharat Varandani Have you set the warning levels (-c and -w) correctly? Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From varandani_bharat901 at yahoo.com Tue Aug 27 08:51:57 2013 From: varandani_bharat901 at yahoo.com (bharat Varandani) Date: Mon, 26 Aug 2013 23:51:57 -0700 (PDT) Subject: warning In-Reply-To: <201308261003.59401.dyioulos@onpointfc.com> References: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com> <201308261003.59401.dyioulos@onpointfc.com> Message-ID: <1377586317.16555.YahooMailNeo@web161502.mail.bf1.yahoo.com> Dear Dimitri, I am very thanks full for you because you help me lots of time..Now my Problem solved but again i facing new problem and i want help to all. So please help me and resolve my this issue also because i m new ?nagios and i want to perform good job for ?my company so please help me out from problems.? My new issue is i want to configure Email notification in nagios that very useful for me and my company..I want if any HOST, PRINTER,SWITCH ?is goes down i will get any notification in my email address..That is possible if yes so please help my configure this point ASAP. Thanks & Regards Bharat Varandani ________________________________ From: Dimitri Yioulos To: nagios-users at lists.sourceforge.net Sent: Monday, August 26, 2013 6:03 PM Subject: Re: [Nagios-users] warning On Saturday 24 August 2013 6:37:37 am bharat Varandani wrote: > Dear All, > > > I am Facing ?Some Warning in check_snmp. That i want to > resolve so anybody please help to resolve this issue > ASAP.. > > Thanks & Regards > > Bharat Varandani Have you set the warning levels (-c and -w) correctly? Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Aug 27 10:52:57 2013 From: giles at coochey.net (Giles Coochey) Date: Tue, 27 Aug 2013 09:52:57 +0100 Subject: warning In-Reply-To: <1377586317.16555.YahooMailNeo@web161502.mail.bf1.yahoo.com> References: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com> <201308261003.59401.dyioulos@onpointfc.com> <1377586317.16555.YahooMailNeo@web161502.mail.bf1.yahoo.com> Message-ID: <521C68E9.5060808@coochey.net> On 27/08/2013 07:51, bharat Varandani wrote: > > My new issue is i want to configure Email notification in nagios that > very useful for me and my company..I want if any HOST, PRINTER,SWITCH > is goes down i will get any notification in my email address..That is > possible if yes so please help my configure this point ASAP. > "ASAP" and "free community support" are not really compatible terms. If you had a contract with me, and I had an obligation to help you then "ASAP" might have a meaning here. -- Regards, Giles Coochey, CCNP, CCNA, CCNAS NetSecSpec Ltd +44 (0) 8444 780677 +44 (0) 7983 877438 http://www.coochey.net http://www.netsecspec.co.uk giles at coochey.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4755 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bruno at bmartins.eu Tue Aug 27 11:08:56 2013 From: bruno at bmartins.eu (Bruno Martins) Date: Tue, 27 Aug 2013 10:08:56 +0100 Subject: warning In-Reply-To: <1377586317.16555.YahooMailNeo@web161502.mail.bf1.yahoo.com> References: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com> <201308261003.59401.dyioulos@onpointfc.com> <1377586317.16555.YahooMailNeo@web161502.mail.bf1.yahoo.com> Message-ID: <521C6CA8.3040204@bmartins.eu> On 08/27/2013 07:51 AM, bharat Varandani wrote: > Dear Dimitri, > > I am very thanks full for you because you help me lots of time..Now my > Problem solved but again i facing new problem and i want help to all. > So please help me and resolve my this issue also because i m new > nagios and i want to perform good job for my company so please help > me out from problems. > > My new issue is i want to configure Email notification in nagios that > very useful for me and my company..I want if any HOST, PRINTER,SWITCH > is goes down i will get any notification in my email address..That is > possible if yes so please help my configure this point ASAP. > > Thanks & Regards > > Bharat Varandani > > ------------------------------------------------------------------------ > *From:* Dimitri Yioulos > *To:* nagios-users at lists.sourceforge.net > *Sent:* Monday, August 26, 2013 6:03 PM > *Subject:* Re: [Nagios-users] warning > > On Saturday 24 August 2013 6:37:37 am bharat Varandani > wrote: > > Dear All, > > > > > > I am Facing Some Warning in check_snmp. That i want to > > resolve so anybody please help to resolve this issue > > ASAP.. > > > > Thanks & Regards > > > > Bharat Varandani > > > Have you set the warning levels (-c and -w) correctly? > > Dimitri > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Hello Bharat, As some guys here on the list have told, you should not enforce your desire to get answers as soon as possible. We'll gladly help you, but we do this on our spare time. Please take a look on how to configure Postfix. Which SMTP server are you using for accomplishing the task of sending notifications via e-mail, from Nagios? Take in consideration that Nagios comes with two pre-built commands for sending notifications. Just configure Postfix and try running those commands from the CLI, for testing. Kindly, Bruno Martins -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Aug 27 13:00:39 2013 From: a31modela at hotmail.com (steve f) Date: Tue, 27 Aug 2013 07:00:39 -0400 Subject: warning In-Reply-To: <1377586317.16555.YahooMailNeo@web161502.mail.bf1.yahoo.com> References: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com>, <201308261003.59401.dyioulos@onpointfc.com>, <1377586317.16555.YahooMailNeo@web161502.mail.bf1.yahoo.com> Message-ID: Bharat, Everything you would need to set up your email notification for the host being down can be found here : http://nagios.sourceforge.net/docs/3_0/notifications.html Steve Date: Mon, 26 Aug 2013 23:51:57 -0700 From: varandani_bharat901 at yahoo.com To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] warning Dear Dimitri, I am very thanks full for you because you help me lots of time..Now my Problem solved but again i facing new problem and i want help to all.So please help me and resolve my this issue also because i m new nagios and i want to perform good job for my company so please help me out from problems. My new issue is i want to configure Email notification in nagios that very useful for me and my company..I want if any HOST, PRINTER,SWITCH is goes down i will get any notification in my email address..That is possible if yes so please help my configure this point ASAP. Thanks & Regards Bharat Varandani From: Dimitri Yioulos To: nagios-users at lists.sourceforge.net Sent: Monday, August 26, 2013 6:03 PM Subject: Re: [Nagios-users] warning On Saturday 24 August 2013 6:37:37 am bharat Varandani wrote: > Dear All, > > > I am Facing Some Warning in check_snmp. That i want to > resolve so anybody please help to resolve this issue > ASAP.. > > Thanks & Regards > > Bharat Varandani Have you set the warning levels (-c and -w) correctly? Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kkchn.in at gmail.com Tue Aug 27 13:27:10 2013 From: kkchn.in at gmail.com (KK CHN) Date: Tue, 27 Aug 2013 11:27:10 +0000 Subject: warning In-Reply-To: <521C6CA8.3040204@bmartins.eu> References: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com> <201308261003.59401.dyioulos@onpointfc.com> <1377586317.16555.YahooMailNeo@web161502.mail.bf1.yahoo.com> <521C6CA8.3040204@bmartins.eu> Message-ID: Bharat, Humble request Please don't scream out here! There is a way to ask help !! You are creating a bad impression about you and your organization. So be a smart system admin. Tips : Work hard, read, learn, implement and google issues first then politely ask help if you fail ! if you do all the tips I don't think you will be failing.. Don't think all others sitting here doesn't have any other tasks and only to offer help for nothing !! Don't make them hesitated and offer no help. So first of all read documentation, configure services by yourself and see the logs for any specific errors. google yourself first to fix specific issues and errors. No one here will offer you the configuration script for the x,y,z tasks you are asking.. If you done your part and if you fail and running out of options then ask here. Definitely all of them will listen to your problem. Good Luck, KK On 8/27/13, Bruno Martins wrote: > On 08/27/2013 07:51 AM, bharat Varandani wrote: >> Dear Dimitri, >> >> I am very thanks full for you because you help me lots of time..Now my >> Problem solved but again i facing new problem and i want help to all. >> So please help me and resolve my this issue also because i m new >> nagios and i want to perform good job for my company so please help >> me out from problems. >> >> My new issue is i want to configure Email notification in nagios that >> very useful for me and my company..I want if any HOST, PRINTER,SWITCH >> is goes down i will get any notification in my email address..That is >> possible if yes so please help my configure this point ASAP. >> >> Thanks & Regards >> >> Bharat Varandani >> >> ------------------------------------------------------------------------ >> *From:* Dimitri Yioulos >> *To:* nagios-users at lists.sourceforge.net >> *Sent:* Monday, August 26, 2013 6:03 PM >> *Subject:* Re: [Nagios-users] warning >> >> On Saturday 24 August 2013 6:37:37 am bharat Varandani >> wrote: >> > Dear All, >> > >> > >> > I am Facing Some Warning in check_snmp. That i want to >> > resolve so anybody please help to resolve this issue >> > ASAP.. >> > >> > Thanks & Regards >> > >> > Bharat Varandani >> >> >> Have you set the warning levels (-c and -w) correctly? >> >> Dimitri >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> >> >> ------------------------------------------------------------------------------ >> Introducing Performance Central, a new site from SourceForge and >> AppDynamics. Performance Central is your source for news, insights, >> analysis and resources for efficient Application Performance Management. >> Visit us today! >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> ------------------------------------------------------------------------------ >> Introducing Performance Central, a new site from SourceForge and >> AppDynamics. Performance Central is your source for news, insights, >> analysis and resources for efficient Application Performance Management. >> Visit us today! >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > Hello Bharat, > > As some guys here on the list have told, you should not enforce your > desire to get answers as soon as possible. > We'll gladly help you, but we do this on our spare time. > > Please take a look on how to configure Postfix. > Which SMTP server are you using for accomplishing the task of sending > notifications via e-mail, from Nagios? > > Take in consideration that Nagios comes with two pre-built commands for > sending notifications. Just configure Postfix and try running those > commands from the CLI, for testing. > > Kindly, > > Bruno Martins > ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From varandani_bharat901 at yahoo.com Tue Aug 27 15:09:35 2013 From: varandani_bharat901 at yahoo.com (bharat Varandani) Date: Tue, 27 Aug 2013 06:09:35 -0700 (PDT) Subject: warning In-Reply-To: References: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com> <201308261003.59401.dyioulos@onpointfc.com> <1377586317.16555.YahooMailNeo@web161502.mail.bf1.yahoo.com> <521C6CA8.3040204@bmartins.eu> Message-ID: <1377608975.24170.YahooMailNeo@web161505.mail.bf1.yahoo.com> Dear KKCHH, First Of you i want ?to say ?you ?i already done many things in nagios. And Second thing am not a network engineer and i don't have much idea about network . I am not system dba. Here I am working as oracle dba in my company. You don't have write to talk me like that.. And another thing nobody sending me any document and proper link. This All thing is done by me nobody is helping me in nagios user list.. And thanks for your advice sir. Thanks? Bharat Varandani ________________________________ From: KK CHN To: Nagios Users List Sent: Tuesday, August 27, 2013 3:27 PM Subject: Re: [Nagios-users] warning Bharat, Humble request Please don't scream out here! There is a way to ask help !! You are creating a bad impression about you and your organization. So be a smart system admin. Tips : Work hard,? read, learn, implement and google issues first then politely ask help if you fail ! if you do all the tips I don't think you will be failing.. Don't think all others sitting here doesn't have any other tasks and only to offer help for nothing !! Don't make them hesitated and offer no help. So first of all read documentation, configure services by yourself and see the logs for any specific errors.? google yourself? first to fix specific issues and errors. ? No one here will offer you the configuration script for the x,y,z tasks you are asking.. If you done your part and if you fail and running out of options then ask here. Definitely all of them will listen to? your problem. Good Luck, KK On 8/27/13, Bruno Martins wrote: > On 08/27/2013 07:51 AM, bharat Varandani wrote: >> Dear Dimitri, >> >> I am very thanks full for you because you help me lots of time..Now my >> Problem solved but again i facing new problem and i want help to all. >> So please help me and resolve my this issue also because i m new >>? nagios and i want to perform good job for? my company so please help >> me out from problems. >> >> My new issue is i want to configure Email notification in nagios that >> very useful for me and my company..I want if any HOST, PRINTER,SWITCH >>? is goes down i will get any notification in my email address..That is >> possible if yes so please help my configure this point ASAP. >> >> Thanks & Regards >> >> Bharat Varandani >> >> ------------------------------------------------------------------------ >> *From:* Dimitri Yioulos >> *To:* nagios-users at lists.sourceforge.net >> *Sent:* Monday, August 26, 2013 6:03 PM >> *Subject:* Re: [Nagios-users] warning >> >> On Saturday 24 August 2013 6:37:37 am bharat Varandani >> wrote: >> > Dear All, >> > >> > >> > I am Facing? Some Warning in check_snmp. That i want to >> > resolve so anybody please help to resolve this issue >> > ASAP.. >> > >> > Thanks & Regards >> > >> > Bharat Varandani >> >> >> Have you set the warning levels (-c and -w) correctly? >> >> Dimitri >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> >> >> ------------------------------------------------------------------------------ >> Introducing Performance Central, a new site from SourceForge and >> AppDynamics. Performance Central is your source for news, insights, >> analysis and resources for efficient Application Performance Management. >> Visit us today! >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> ------------------------------------------------------------------------------ >> Introducing Performance Central, a new site from SourceForge and >> AppDynamics. Performance Central is your source for news, insights, >> analysis and resources for efficient Application Performance Management. >> Visit us today! >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > Hello Bharat, > > As some guys here on the list have told, you should not enforce your > desire to get answers as soon as possible. > We'll gladly help you, but we do this on our spare time. > > Please take a look on how to configure Postfix. > Which SMTP server are you using for accomplishing the task of sending > notifications via e-mail, from Nagios? > > Take in consideration that Nagios comes with two pre-built commands for > sending notifications. Just configure Postfix and try running those > commands from the CLI, for testing. > > Kindly, > > Bruno Martins > ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at onpointfc.com Tue Aug 27 15:33:02 2013 From: dyioulos at onpointfc.com (Dimitri Yioulos) Date: Tue, 27 Aug 2013 09:33:02 -0400 Subject: warning In-Reply-To: <1377608975.24170.YahooMailNeo@web161505.mail.bf1.yahoo.com> References: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com> <1377608975.24170.YahooMailNeo@web161505.mail.bf1.yahoo.com> Message-ID: <201308270933.02784.dyioulos@onpointfc.com> Bharat, I don't think that KK was trying to be disparaging. He simply pointed out that using all capital letters in your previous posts is akin to shouting. Nextly, while we all understand (because we've all been there) that there's often great urgency in fixing issues, the mailing lists are populated by volunteers who are not always available in as timely a manner as you'd like. Finally, he suggests you RTFM. That's not an unreasonable request. Use the lists and forums (er, fora) after you've done as much as you can to rectify your situation. Kind regards, Dimitri On Tuesday 27 August 2013 9:09:35 am bharat Varandani wrote: > Dear KKCHH, > First Of you i want ?to say ?you ?i already done many > things in nagios. And Second thing am not a network > engineer and i don't have much idea about network . I am > not system dba. Here I am working as oracle dba in my > company. You don't have write to talk me like that.. And > another thing nobody sending me any document and proper > link. This All thing is done by me nobody is helping me > in nagios user list.. And thanks for your advice sir. > > > Thanks? > > Bharat Varandani > > > ________________________________ > From: KK CHN > To: Nagios Users List > Sent: Tuesday, > August 27, 2013 3:27 PM > Subject: Re: [Nagios-users] warning > > > Bharat, > > Humble request Please don't scream out here! There is a > way to ask help !! You are creating a bad impression > about you and your organization. > > So be a smart system admin. Tips : Work hard,? read, > learn, implement and google issues first then politely > ask help if you fail ! > > if you do all the tips I don't think you will be > failing.. > > Don't think all others sitting here doesn't have any > other tasks and only to offer help for nothing !! Don't > make them hesitated and offer no help. > > So first of all read documentation, configure services by > yourself and see the logs for any specific errors.? > google yourself? first to fix specific issues and errors. > > ? No one here will offer you the configuration script for > the x,y,z tasks you are asking.. > > If you done your part and if you fail and running out of > options then ask here. Definitely all of them will listen > to? your problem. > > Good Luck, > KK > > On 8/27/13, Bruno Martins wrote: > > On 08/27/2013 07:51 AM, bharat Varandani wrote: > >> Dear Dimitri, > >> > >> I am very thanks full for you because you help me lots > >> of time..Now my Problem solved but again i facing new > >> problem and i want help to all. So please help me and > >> resolve my this issue also because i m new nagios and > >> i want to perform good job for? my company so please > >> help me out from problems. > >> > >> My new issue is i want to configure Email notification > >> in nagios that very useful for me and my company..I > >> want if any HOST, PRINTER,SWITCH is goes down i will > >> get any notification in my email address..That is > >> possible if yes so please help my configure this point > >> ASAP. > >> > >> Thanks & Regards > >> > >> Bharat Varandani > >> > >> ------------------------------------------------------ > >>------------------ *From:* Dimitri Yioulos > >> *To:* > >> nagios-users at lists.sourceforge.net > >> *Sent:* Monday, August 26, 2013 6:03 PM > >> *Subject:* Re: [Nagios-users] warning > >> > >> On Saturday 24 August 2013 6:37:37 am bharat Varandani > >> > >> wrote: > >> > Dear All, > >> > > >> > > >> > I am Facing? Some Warning in check_snmp. That i want > >> > to resolve so anybody please help to resolve this > >> > issue ASAP.. > >> > > >> > Thanks & Regards > >> > > >> > Bharat Varandani > >> > >> Have you set the warning levels (-c and -w) correctly? > >> > >> Dimitri > >> > >> -- > >> This message has been scanned for viruses and > >> dangerous content by MailScanner, and is > >> believed to be clean. > >> > >> > >> ------------------------------------------------------ > >>------------------------ Introducing Performance > >> Central, a new site from SourceForge and AppDynamics. > >> Performance Central is your source for news, insights, > >> analysis and resources for efficient Application > >> Performance Management. Visit us today! > >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511 > >>&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> > >> https://lists.sourceforge.net/lists/listinfo/nagios-us > >>ers > >> > >> ::: Please include Nagios version, plugin version (-v) > >> ::: and OS when > >> > >> reporting any issue. > >> > >> ::: Messages without supporting info will risk being > >> ::: sent to /dev/null > >> > >> ------------------------------------------------------ > >>------------------------ Introducing Performance > >> Central, a new site from SourceForge and AppDynamics. > >> Performance Central is your source for news, insights, > >> analysis and resources for efficient Application > >> Performance Management. Visit us today! > >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511 > >>&iu=/4140/ostg.clktrk > >> > >> > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-us > >>ers > >> > >> ::: Please include Nagios version, plugin version (-v) > >> ::: and OS when > >> > >> reporting any issue. > >> > >> ::: Messages without supporting info will risk being > >> ::: sent to /dev/null > > > > Hello Bharat, > > > > As some guys here on the list have told, you should not > > enforce your desire to get answers as soon as possible. > > We'll gladly help you, but we do this on our spare > > time. > > > > Please take a look on how to configure Postfix. > > Which SMTP server are you using for accomplishing the > > task of sending notifications via e-mail, from Nagios? > > > > Take in consideration that Nagios comes with two > > pre-built commands for sending notifications. Just > > configure Postfix and try running those commands from > > the CLI, for testing. > > > > Kindly, > > > > Bruno Martins > > --------------------------------------------------------- >--------------------- Introducing Performance Central, a > new site from SourceForge and AppDynamics. Performance > Central is your source for news, insights, analysis and > resources for efficient Application Performance > Management. Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu >=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) > ::: and OS when reporting any issue. Messages without > ::: supporting info will risk being sent to /dev/null -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at onpointfc.com Tue Aug 27 15:51:04 2013 From: dyioulos at onpointfc.com (Dimitri Yioulos) Date: Tue, 27 Aug 2013 09:51:04 -0400 Subject: warning In-Reply-To: <1377608975.24170.YahooMailNeo@web161505.mail.bf1.yahoo.com> References: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com> <1377608975.24170.YahooMailNeo@web161505.mail.bf1.yahoo.com> Message-ID: <201308270951.05010.dyioulos@onpointfc.com> Bharat, I don't think that KK was trying to be disparaging. ?He simply pointed out that using all capital letters in your previous posts is akin to shouting. ?Nextly, while we all understand (because we've all been there) that there's often great urgency in fixing issues, the mailing lists are populated by volunteers who are not always available in as timely a manner as you'd like. ?Finally, he suggests you RTFM. ?That's not an unreasonable request. ?Use the lists and forums (er, fora) after you've done as much as you can to rectify your situation. Kind regards, Dimitri On Tuesday 27 August 2013 9:09:35 am bharat Varandani wrote: > Dear KKCHH, > First Of you i want ?to say ?you ?i already done many > things in nagios. And Second thing am not a network > engineer and i don't have much idea about network . I am > not system dba. Here I am working as oracle dba in my > company. You don't have write to talk me like that.. And > another thing nobody sending me any document and proper > link. This All thing is done by me nobody is helping me > in nagios user list.. And thanks for your advice sir. > > > Thanks? > > Bharat Varandani > > > ________________________________ > From: KK CHN > To: Nagios Users List > Sent: Tuesday, > August 27, 2013 3:27 PM > Subject: Re: [Nagios-users] warning > > > Bharat, > > Humble request Please don't scream out here! There is a > way to ask help !! You are creating a bad impression > about you and your organization. > > So be a smart system admin. Tips : Work hard,? read, > learn, implement and google issues first then politely > ask help if you fail ! > > if you do all the tips I don't think you will be > failing.. > > Don't think all others sitting here doesn't have any > other tasks and only to offer help for nothing !! Don't > make them hesitated and offer no help. > > So first of all read documentation, configure services by > yourself and see the logs for any specific errors.? > google yourself? first to fix specific issues and errors. > > ? No one here will offer you the configuration script for > the x,y,z tasks you are asking.. > > If you done your part and if you fail and running out of > options then ask here. Definitely all of them will listen > to? your problem. > > Good Luck, > KK > > On 8/27/13, Bruno Martins wrote: > > On 08/27/2013 07:51 AM, bharat Varandani wrote: > >> Dear Dimitri, > >> > >> I am very thanks full for you because you help me lots > >> of time..Now my Problem solved but again i facing new > >> problem and i want help to all. So please help me and > >> resolve my this issue also because i m new nagios and > >> i want to perform good job for? my company so please > >> help me out from problems. > >> > >> My new issue is i want to configure Email notification > >> in nagios that very useful for me and my company..I > >> want if any HOST, PRINTER,SWITCH is goes down i will > >> get any notification in my email address..That is > >> possible if yes so please help my configure this point > >> ASAP. > >> > >> Thanks & Regards > >> > >> Bharat Varandani > >> > >> ------------------------------------------------------ > >>------------------ *From:* Dimitri Yioulos > >> *To:* > >> nagios-users at lists.sourceforge.net > >> *Sent:* Monday, August 26, 2013 6:03 PM > >> *Subject:* Re: [Nagios-users] warning > >> > >> On Saturday 24 August 2013 6:37:37 am bharat Varandani > >> > >> wrote: > >> > Dear All, > >> > > >> > > >> > I am Facing? Some Warning in check_snmp. That i want > >> > to resolve so anybody please help to resolve this > >> > issue ASAP.. > >> > > >> > Thanks & Regards > >> > > >> > Bharat Varandani > >> > >> Have you set the warning levels (-c and -w) correctly? > >> > >> Dimitri > >> > >> -- > >> This message has been scanned for viruses and > >> dangerous content by MailScanner, and is > >> believed to be clean. > >> > >> > >> ------------------------------------------------------ > >>------------------------ Introducing Performance > >> Central, a new site from SourceForge and AppDynamics. > >> Performance Central is your source for news, insights, > >> analysis and resources for efficient Application > >> Performance Management. Visit us today! > >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511 > >>&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> > >> https://lists.sourceforge.net/lists/listinfo/nagios-us > >>ers > >> > >> ::: Please include Nagios version, plugin version (-v) > >> ::: and OS when > >> > >> reporting any issue. > >> > >> ::: Messages without supporting info will risk being > >> ::: sent to /dev/null > >> > >> ------------------------------------------------------ > >>------------------------ Introducing Performance > >> Central, a new site from SourceForge and AppDynamics. > >> Performance Central is your source for news, insights, > >> analysis and resources for efficient Application > >> Performance Management. Visit us today! > >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511 > >>&iu=/4140/ostg.clktrk > >> > >> > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-us > >>ers > >> > >> ::: Please include Nagios version, plugin version (-v) > >> ::: and OS when > >> > >> reporting any issue. > >> > >> ::: Messages without supporting info will risk being > >> ::: sent to /dev/null > > > > Hello Bharat, > > > > As some guys here on the list have told, you should not > > enforce your desire to get answers as soon as possible. > > We'll gladly help you, but we do this on our spare > > time. > > > > Please take a look on how to configure Postfix. > > Which SMTP server are you using for accomplishing the > > task of sending notifications via e-mail, from Nagios? > > > > Take in consideration that Nagios comes with two > > pre-built commands for sending notifications. Just > > configure Postfix and try running those commands from > > the CLI, for testing. > > > > Kindly, > > > > Bruno Martins > > --------------------------------------------------------- >--------------------- Introducing Performance Central, a > new site from SourceForge and AppDynamics. Performance > Central is your source for news, insights, analysis and > resources for efficient Application Performance > Management. Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu >=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) > ::: and OS when reporting any issue. Messages without > ::: supporting info will risk being sent to /dev/null -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at onpointfc.com Tue Aug 27 20:20:32 2013 From: dyioulos at onpointfc.com (Dimitri Yioulos) Date: Tue, 27 Aug 2013 14:20:32 -0400 Subject: warning Message-ID: <201308271420.32843.dyioulos@onpointfc.com> Bharat, I don't think that KK was trying to be disparaging. ?He simply pointed out that using all capital letters in your previous posts is akin to shouting. ?Nextly, while we all understand (because we've all been there) that there's often great urgency in fixing issues, the mailing lists are populated by volunteers who are not always available in as timely a manner as you'd like. ?Finally, he suggests you RTFM. ?That's not an unreasonable request. ?Use the lists and forums (er, fora) after you've done as much as you can to rectify your situation. Kind regards, Dimitri On Tuesday 27 August 2013 9:09:35 am bharat Varandani wrote: > Dear KKCHH, > First Of you i want ?to say ?you ?i already done many > things in nagios. And Second thing am not a network > engineer and i don't have much idea about network . I am > not system dba. Here I am working as oracle dba in my > company. You don't have write to talk me like that.. And > another thing nobody sending me any document and proper > link. This All thing is done by me nobody is helping me > in nagios user list.. And thanks for your advice sir. > > > Thanks? > > Bharat Varandani > > > ________________________________ > ?From: KK CHN > To: Nagios Users List > Sent: Tuesday, > August 27, 2013 3:27 PM > Subject: Re: [Nagios-users] warning > > > Bharat, > > Humble request Please don't scream out here! There is a > way to ask help !! You are creating a bad impression > about you and your organization. > > So be a smart system admin. Tips : Work hard,? read, > learn, implement and google issues first then politely > ask help if you fail ! > > if you do all the tips I don't think you will be > failing.. > > Don't think all others sitting here doesn't have any > other tasks and only to offer help for nothing !! Don't > make them hesitated and offer no help. > > So first of all read documentation, configure services by > yourself and see the logs for any specific errors.? > google yourself? first to fix specific issues and errors. > > ? No one here will offer you the configuration script for > the x,y,z tasks you are asking.. > > If you done your part and if you fail and running out of > options then ask here. Definitely all of them will listen > to? your problem. > > Good Luck, > KK > > On 8/27/13, Bruno Martins wrote: > > On 08/27/2013 07:51 AM, bharat Varandani wrote: > >> Dear Dimitri, > >> > >> I am very thanks full for you because you help me lots > >> of time..Now my Problem solved but again i facing new > >> problem and i want help to all. So please help me and > >> resolve my this issue also because i m new nagios and > >> i want to perform good job for? my company so please > >> help me out from problems. > >> > >> My new issue is i want to configure Email notification > >> in nagios that very useful for me and my company..I > >> want if any HOST, PRINTER,SWITCH is goes down i will > >> get any notification in my email address..That is > >> possible if yes so please help my configure this point > >> ASAP. > >> > >> Thanks & Regards > >> > >> Bharat Varandani > >> > >> ------------------------------------------------------ > >>------------------ *From:* Dimitri Yioulos > >> *To:* > >> nagios-users at lists.sourceforge.net > >> *Sent:* Monday, August 26, 2013 6:03 PM > >> *Subject:* Re: [Nagios-users] warning > >> > >> On Saturday 24 August 2013 6:37:37 am bharat Varandani > >> > >> wrote: > >> > Dear All, > >> > > >> > > >> > I am Facing? Some Warning in check_snmp. That i want > >> > to resolve so anybody please help to resolve this > >> > issue ASAP.. > >> > > >> > Thanks & Regards > >> > > >> > Bharat Varandani > >> > >> Have you set the warning levels (-c and -w) correctly? > >> > >> Dimitri > >> > >> -- > >> This message has been scanned for viruses and > >> dangerous content by MailScanner, and is > >> believed to be clean. > >> > >> > >> ------------------------------------------------------ > >>------------------------ Introducing Performance > >> Central, a new site from SourceForge and AppDynamics. > >> Performance Central is your source for news, insights, > >> analysis and resources for efficient Application > >> Performance Management. Visit us today! > >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511 > >>&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> > >> https://lists.sourceforge.net/lists/listinfo/nagios-us > >>ers > >> > >> ::: Please include Nagios version, plugin version (-v) > >> ::: and OS when > >> > >> reporting any issue. > >> > >> ::: Messages without supporting info will risk being > >> ::: sent to /dev/null > >> > >> ------------------------------------------------------ > >>------------------------ Introducing Performance > >> Central, a new site from SourceForge and AppDynamics. > >> Performance Central is your source for news, insights, > >> analysis and resources for efficient Application > >> Performance Management. Visit us today! > >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511 > >>&iu=/4140/ostg.clktrk > >> > >> > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-us > >>ers > >> > >> ::: Please include Nagios version, plugin version (-v) > >> ::: and OS when > >> > >> reporting any issue. > >> > >> ::: Messages without supporting info will risk being > >> ::: sent to /dev/null > > > > Hello Bharat, > > > > As some guys here on the list have told, you should not > > enforce your desire to get answers as soon as possible. > > We'll gladly help you, but we do this on our spare > > time. > > > > Please take a look on how to configure Postfix. > > Which SMTP server are you using for accomplishing the > > task of sending notifications via e-mail, from Nagios? > > > > Take in consideration that Nagios comes with two > > pre-built commands for sending notifications. Just > > configure Postfix and try running those commands from > > the CLI, for testing. > > > > Kindly, > > > > Bruno Martins > > --------------------------------------------------------- >--------------------- Introducing Performance Central, a > new site from SourceForge and AppDynamics. Performance > Central is your source for news, insights, analysis and > resources for efficient Application Performance > Management. Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu >=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) > ::: and OS when reporting any issue. Messages without > ::: supporting info will risk being sent to /dev/null -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From varandani_bharat901 at yahoo.com Wed Aug 28 12:59:37 2013 From: varandani_bharat901 at yahoo.com (bharat Varandani) Date: Wed, 28 Aug 2013 03:59:37 -0700 (PDT) Subject: Thanks In-Reply-To: <201308261003.59401.dyioulos@onpointfc.com> References: <1377340657.30020.YahooMailNeo@web161506.mail.bf1.yahoo.com> <201308261003.59401.dyioulos@onpointfc.com> Message-ID: <1377687577.39802.YahooMailNeo@web161502.mail.bf1.yahoo.com> Dear All, Thanks For Support in nagios..Thanks Bharat varandani ________________________________ From: Dimitri Yioulos To: nagios-users at lists.sourceforge.net Sent: Monday, August 26, 2013 6:03 PM Subject: Re: [Nagios-users] warning On Saturday 24 August 2013 6:37:37 am bharat Varandani wrote: > Dear All, > > > I am Facing ?Some Warning in check_snmp. That i want to > resolve so anybody please help to resolve this issue > ASAP.. > > Thanks & Regards > > Bharat Varandani Have you set the warning levels (-c and -w) correctly? Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Aug 28 13:48:09 2013 From: benny at bennyvision.com (C. Bensend) Date: Wed, 28 Aug 2013 06:48:09 -0500 Subject: Distributed monitoring: central collector doesn't seem to be able to run active checks In-Reply-To: <8ae778d958ce7deb845d75bebed0558e.squirrel@webmail.stinkweasel.net> References: <8ae778d958ce7deb845d75bebed0558e.squirrel@webmail.stinkweasel.net> Message-ID: > I'm continuing to iron out the wrinkles with 3.5.1 and distributed > monitoring. I'm using mod_gearman to submit and receive events from > two distributed pollers. > > Every now and again, I'll get something similar in the log on the > centralized collecting machine: > > CRITICAL: Return code of 127 is out of bounds. Make sure the plugin > youre trying to run actually exists. (worker: collector.domain.org) > > To me, that suggests that the collector system didn't get a result > for a host or service in a timely manner from one of the polling > systems, and so it attempted to run an active check itself. However, > it doesn't seem to be able to, and I don't know why. > > The collector has the same value for $USER1$, and it has the same > set of plugins installed on it: > > On the collector: > > grep USER1 etc/resource.cfg > $USER1$=/usr/local/nagios/libexec > > On the two pollers: > > $USER1$=/usr/local/nagios/libexec > $USER1$=/usr/local/nagios/libexec > > The plugins are installed in identical locations on all three systems, > that's enforced via Puppet. The 'nagios' user can find and run them on > the collector: > > /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 > NRPE v2.13 > > Now, because this is a distributed setup, the collector system is > not configured to run active checks: > > grep ^execute etc/nagios.cfg > execute_service_checks=0 > execute_host_checks=0 > > ... but *obviously* it's trying to. Is it failing because it's > configured to not run them? If that's the case, the error message is > not accurate and should be corrected. If that's *not* the case, why > can't my collector server run an active check when it believes it needs > to? > > I use NConf to generate my configurations, if that matters. There are > a *lot* of hosts/services and quite a few configuration files, so I'm not > going to paste a slew of information here. If I'm missing pertinent > information, please let me know exactly what you want to see and I'll > get it. No one has an idea about this? And no, Andreas, I can't move to 4.0 yet. ;) Thanks! Benny -- "No matter how tempted I am with the prospect of unlimited power, I will not consume any energy field bigger than my head." -- #22 on Peter Anspach's Evil Overlord list ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at norchemlab.com Wed Aug 28 13:54:03 2013 From: justinp at norchemlab.com (Justin Pryzby) Date: Wed, 28 Aug 2013 04:54:03 -0700 Subject: Distributed monitoring: central collector doesn't seem to be able to run active checks In-Reply-To: References: <8ae778d958ce7deb845d75bebed0558e.squirrel@webmail.stinkweasel.net> Message-ID: <20130828115403.GA5599@norchemlab.com> Do you get many of those error messages in the logs at once, or just one at a time? Only one thought: what are the permissions on your $USER$ variables? Nagios on my systems setuid() to nonroot after startup, and if it gets SIGHUP to reload config, but can't read the file defining $USER*$, will act strangely. Justin On Wed, Aug 28, 2013 at 06:48:09AM -0500, C. Bensend wrote: > > > I'm continuing to iron out the wrinkles with 3.5.1 and distributed > > monitoring. I'm using mod_gearman to submit and receive events from > > two distributed pollers. > > > > Every now and again, I'll get something similar in the log on the > > centralized collecting machine: > > > > CRITICAL: Return code of 127 is out of bounds. Make sure the plugin > > youre trying to run actually exists. (worker: collector.domain.org) > > > > To me, that suggests that the collector system didn't get a result > > for a host or service in a timely manner from one of the polling > > systems, and so it attempted to run an active check itself. However, > > it doesn't seem to be able to, and I don't know why. > > > > The collector has the same value for $USER1$, and it has the same > > set of plugins installed on it: > > > > On the collector: > > > > grep USER1 etc/resource.cfg > > $USER1$=/usr/local/nagios/libexec > > > > On the two pollers: > > > > $USER1$=/usr/local/nagios/libexec > > $USER1$=/usr/local/nagios/libexec > > > > The plugins are installed in identical locations on all three systems, > > that's enforced via Puppet. The 'nagios' user can find and run them on > > the collector: > > > > /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 > > NRPE v2.13 > > > > Now, because this is a distributed setup, the collector system is > > not configured to run active checks: > > > > grep ^execute etc/nagios.cfg > > execute_service_checks=0 > > execute_host_checks=0 > > > > ... but *obviously* it's trying to. Is it failing because it's > > configured to not run them? If that's the case, the error message is > > not accurate and should be corrected. If that's *not* the case, why > > can't my collector server run an active check when it believes it needs > > to? > > > > I use NConf to generate my configurations, if that matters. There are > > a *lot* of hosts/services and quite a few configuration files, so I'm not > > going to paste a slew of information here. If I'm missing pertinent > > information, please let me know exactly what you want to see and I'll > > get it. > > No one has an idea about this? And no, Andreas, I can't move to > 4.0 yet. ;) > > Thanks! > > Benny > > > -- > "No matter how tempted I am with the prospect of unlimited power, I > will not consume any energy field bigger than my head." > -- #22 on Peter Anspach's Evil > Overlord list > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Aug 28 14:08:52 2013 From: benny at bennyvision.com (C. Bensend) Date: Wed, 28 Aug 2013 07:08:52 -0500 Subject: Distributed monitoring: central collector doesn't seem to be able to run active checks In-Reply-To: <20130828115403.GA5599@norchemlab.com> References: <8ae778d958ce7deb845d75bebed0558e.squirrel@webmail.stinkweasel.net> <20130828115403.GA5599@norchemlab.com> Message-ID: <7b7e427b370f87bf0b46e9f4884fd0f3.squirrel@webmail.stinkweasel.net> > Do you get many of those error messages in the logs at once, or just > one at a time? > > Only one thought: what are the permissions on your $USER$ variables? > Nagios on my systems setuid() to nonroot after startup, and if it gets > SIGHUP to reload config, but can't read the file defining $USER*$, > will act strangely. Just one at a time, seemingly randomly. A host here, a service there, several times a day. They always almost immediately recover, but I don't understand why my centralized collector seems to have this issue. Nagios runs as the nagios user, which can read the resource.cfg file fine: ls -ld . ; ls -l nagios-hostname.cfg resource.cfg drwxrwx--- 6 root nagios 4096 Aug 27 16:02 . -rw-r--r-- 1 root root 47606 Jul 1 11:18 nagios-hostname.cfg -rw-r----- 1 root nagios 2400 Mar 19 11:25 resource.cfg Thanks! -- "No matter how tempted I am with the prospect of unlimited power, I will not consume any energy field bigger than my head." -- #22 on Peter Anspach's Evil Overlord list ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at Consol.de Wed Aug 28 14:26:24 2013 From: Sven.Nierlein at Consol.de (Sven Nierlein) Date: Wed, 28 Aug 2013 14:26:24 +0200 Subject: Distributed monitoring: central collector doesn't seem to be able to run active checks In-Reply-To: <8ae778d958ce7deb845d75bebed0558e.squirrel@webmail.stinkweasel.net> References: <8ae778d958ce7deb845d75bebed0558e.squirrel@webmail.stinkweasel.net> Message-ID: <521DEC70.6030502@consol.de> On 8/22/13 13:51, C. Bensend wrote: > CRITICAL: Return code of 127 is out of bounds. Make sure the plugin > youre trying to run actually exists. (worker: collector.domain.org) Hi, if this is the collector host, why does it have a mod-gearman worker installed? If nagios would have run the check by itself, there would be no hint about the worker in the error. So it seems like there is a worker started on your collector host which then grabs some checks but isn't able to execute them. Regards, Sven -- Sven Nierlein Sven.Nierlein at consol.de ConSol* GmbH http://www.consol.de Franziskanerstrasse 38 Tel.:089/45841-439 81669 Muenchen Fax.:089/45841-111 ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Aug 28 14:43:28 2013 From: benny at bennyvision.com (C. Bensend) Date: Wed, 28 Aug 2013 07:43:28 -0500 Subject: Distributed monitoring: central collector doesn't seem to be able to run active checks In-Reply-To: <521DEC70.6030502@consol.de> References: <8ae778d958ce7deb845d75bebed0558e.squirrel@webmail.stinkweasel.net> <521DEC70.6030502@consol.de> Message-ID: <56dff705695b2608232898c295a0f722.squirrel@webmail.stinkweasel.net> > On 8/22/13 13:51, C. Bensend wrote: >> CRITICAL: Return code of 127 is out of bounds. Make sure the plugin >> youre trying to run actually exists. (worker: collector.domain.org) > > Hi, > > if this is the collector host, why does it have a mod-gearman worker > installed? If nagios would have > run the check by itself, there would be no hint about the worker in the > error. So it seems like there > is a worker started on your collector host which then grabs some checks > but isn't able to execute them. Oh ho! I have multiple *gearman* processes running: ps axuwwwwww | grep gearman gearmand 5662 0.7 0.1 404672 2496 ? Ssl Aug17 118:29 /usr/sbin/gearmand -d -l /var/log/gearmand/gearmand.log nagios 5712 0.0 0.0 38024 640 ? Ss Aug17 1:03 /usr/bin/mod_gearman_worker -d --config=/etc/mod_gearman/mod_gearman_worker.conf --pidfile=/var/mod_gearman/mod_gearman_worker.pid nagios 25919 0.0 0.1 137492 3016 ? S 07:38 0:00 /usr/bin/mod_gearman_worker -d --config=/etc/mod_gearman/mod_gearman_worker.conf --pidfile=/var/mod_gearman/mod_gearman_worker.pid .. etc .. Are you saying I just need gearmand running on the collector? I'm quite new to gearman, so I might have misunderstood which parts are necessary where. I can easily shut down the mod_gearman_worker service, I just need to understand the consequences. I assumed that this was a Nagios error - perhaps I just have my gearman setup configured wrong. Benny -- "No matter how tempted I am with the prospect of unlimited power, I will not consume any energy field bigger than my head." -- #22 on Peter Anspach's Evil Overlord list ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at Consol.de Wed Aug 28 15:07:37 2013 From: Sven.Nierlein at Consol.de (Sven Nierlein) Date: Wed, 28 Aug 2013 15:07:37 +0200 Subject: Distributed monitoring: central collector doesn't seem to be able to run active checks In-Reply-To: <56dff705695b2608232898c295a0f722.squirrel@webmail.stinkweasel.net> References: <8ae778d958ce7deb845d75bebed0558e.squirrel@webmail.stinkweasel.net> <521DEC70.6030502@consol.de> <56dff705695b2608232898c295a0f722.squirrel@webmail.stinkweasel.net> Message-ID: <521DF619.6080707@consol.de> On 8/28/13 14:43, C. Bensend wrote: > Are you saying I just need gearmand running on the collector? Well, i assumed it. You are the only one which really can tell that. You will need a worker on each host which should run checks. If your collector should not run any checks, than no worker is necessary. See http://labs.consol.de/nagios/mod-gearman/#_common_scenarios for a list of common setups. Sven ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Aug 28 15:34:24 2013 From: benny at bennyvision.com (C. Bensend) Date: Wed, 28 Aug 2013 08:34:24 -0500 Subject: Distributed monitoring: central collector doesn't seem to be able to run active checks In-Reply-To: <521DF619.6080707@consol.de> References: <8ae778d958ce7deb845d75bebed0558e.squirrel@webmail.stinkweasel.net> <521DEC70.6030502@consol.de> <56dff705695b2608232898c295a0f722.squirrel@webmail.stinkweasel.net> <521DF619.6080707@consol.de> Message-ID: <438f23bdbd1055d7ee08e025e96e2e07.squirrel@webmail.stinkweasel.net> > On 8/28/13 14:43, C. Bensend wrote: >> Are you saying I just need gearmand running on the collector? > > Well, i assumed it. You are the only one which really can tell that. > You will need a worker on each host which should run checks. If your > collector should not run any checks, than no worker is necessary. > > See http://labs.consol.de/nagios/mod-gearman/#_common_scenarios for a list > of common setups. OK, yes, I grok that. I guess I would want the collector to be *able* to run checks, if it doesn't get timely information from the pollers. I'm assuming that's why it's even trying in the first place - it doesn't see a result in a timely manner, so it thinks it should run one. Which circles back to my original question - why can't it run the check? Why isn't it finding what it needs to find? The workers are running as the nagios user, and I don't see anything that appears pertinent in the mod_gearman_worker.conf file... What am I missing? Neither the gearmand.log nor the mod_gearman_worker.log files seem to have any complaints (but I haven't bumped up the debug on them yet). Thanks so much for your help! Benny -- "No matter how tempted I am with the prospect of unlimited power, I will not consume any energy field bigger than my head." -- #22 on Peter Anspach's Evil Overlord list ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Thu Aug 29 02:41:28 2013 From: yu.watanabe at jp.fujitsu.com (Watanabe, Yu) Date: Thu, 29 Aug 2013 00:41:28 +0000 Subject: Webtransaction monitoring Message-ID: <5949DE25CF2DA84E8E56CC97139D377E02F2597A@g01jpexmbyt24> Hi all! I would like to share ideas for web transaction monitoring for nagios. I believe that there are couple of ways to implement this on nagios. http://jon.netdork.net/2011/03/19/using-nagios-to-monitor-webpages/ We use check_website.pl because its simple. What does everyone else use for this specific monitoring? Thanks, Yu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcc171 at psu.edu Thu Aug 29 03:27:53 2013 From: mcc171 at psu.edu (Mark Campbell) Date: Wed, 28 Aug 2013 21:27:53 -0400 Subject: check snmp logic Message-ID: <521EA399.3010201@psu.edu> So I need to utilize some logic in my service checks. I have a chiller that if it is not running the discharge temp is not of concern. However if it is running the discharge temp needs to be lower than 50 degrees. Is there a way to have the check snmp utilize some logic that says if running = 0 then ignore discharge temp. If running = 1 then discharge temp must be <50 degrees? THe other option I thought of was using dependencies. Anyone have suggestions on that? ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ben.sykes at transpire.com.au Thu Aug 29 04:02:32 2013 From: ben.sykes at transpire.com.au (Ben Sykes) Date: Thu, 29 Aug 2013 12:02:32 +1000 Subject: check snmp logic In-Reply-To: <521EA399.3010201@psu.edu> References: <521EA399.3010201@psu.edu> Message-ID: Do you mean you want to check the result of one OID and make that treat another OID's values differently? Personally if I faced that problem - I would probably code a custom check in Bash using snmpget from snmputils that did some nested If statements, or use Net::SNMP from Perl and check it that way. Quite simple to write a Nagios plugin - it's all about the exit values - 0 is OK, 1 is Warning, 2 is Critical, 3 is Unknown. You may be able to use warning states generated by the first to define a dependency on the second but it will be complicated to change the thresholds dynamically via that method, at best you'd be able to suppress a warning or other state from the 2nd but you couldn't have differential thresholds between the two states of the first service without some work or hackery (e.g. having an event trigger fire off that changes the configuration file and reloads nagios) I would just code it into a plugin (assuming you or someone on your team can code) Something like this perl pseudo code... use Net::SNMP; $snmp = Net::SNMP->session(-hostname => $ipaddress, -community => "public", -version => 'snmpv2c'); @oids = qw/1.2.3.4 1.2.3.5/; $res = $snmp->get_request(-varbindlist => \@oids); unless(defined($res)) { print "UNKNOWN - no response\n"; exit(3); } $firstoidval = $res->{$oids[0]}; $secondoidval = $res->{$oids[1]}; if ($firstoidval == 1) #running? { if ($secondoidval > 50) { print "CRITICAL - running and temp above critical threshold"; exit(2); } if ($secondoidval > 45) { print "WARNING"; exit(1); } else { print "OK"; exit(0): } } elsif ($firstoidval == 0) #notrunning? { if ($secondoidval > 40) { print "CRITICAL"; exit(2); } if ($secondoidval > 35) { print "WARNING"; exit(1); } else { print "OK"; exit(0): } } Logic probably differs a bit, but you get the gist... Cheers Ben ben sykes consultant m. +61 404 308 201 e. ben.sykes at transpire.com.auimage: On Thu, Aug 29, 2013 at 11:27 AM, Mark Campbell wrote: > So I need to utilize some logic in my service checks. > > I have a chiller that if it is not running the discharge temp is not of > concern. However if it is running the discharge temp needs to be lower > than 50 degrees. > > Is there a way to have the check snmp utilize some logic that says if > running = 0 then ignore discharge temp. If running = 1 then discharge > temp must be <50 degrees? > > THe other option I thought of was using dependencies. Anyone have > suggestions on that? > > > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > legal disclaimer: This email, including any attachments, may be confidential or privileged, and is sent for the personal attention of the intended recipient. If you have received this email in error, please delete it immediately. The views expressed are not necessarily those of Transpire Pty Ltd. Transpire is not liable for the effects of any virus which may be contained in this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: RSImage.png Type: image/png Size: 8044 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: RSImage.png Type: image/png Size: 2554 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: RSImage.png Type: image/png Size: 6690 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 29 18:30:44 2013 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 29 Aug 2013 17:30:44 +0100 Subject: check snmp logic In-Reply-To: <521EA399.3010201@psu.edu> References: <521EA399.3010201@psu.edu> Message-ID: On 29 Aug 2013 02:46, "Mark Campbell" wrote: > > So I need to utilize some logic in my service checks. > > I have a chiller that if it is not running the discharge temp is not of > concern. However if it is running the discharge temp needs to be lower > than 50 degrees. > > Is there a way to have the check snmp utilize some logic that says if > running = 0 then ignore discharge temp. If running = 1 then discharge > temp must be <50 degrees? Yes, I did something similar recently where I wanted to check for existence of an orphaned file only if ftp failed on another server. The command definition looked like this: define command { command_name check-for-orphan command_line if $USER1$/check_ftp -H $ARG1$ $ARG2$ $USER10$ then $USER1$/check_multi -s $HOSTADDRESS$ $ARG3$ $USER10$ else exit 0 $USER10$ fi register 1 } Obviously you won't be using check_ftp and check_multi (probably check_snmp or your own custom plugins instead) but hopefully you can see now how you can do something similar to run the second check only if the first returns an ok state (I'm presuming your first check will return an ok state if running=1 and the second returns ok if temperature < 50 degrees). Where you see $USER10$ here, that refers to a macro in your /usr/local/nagios/etc/resource.cfg file that gives you a semi-colon like so: $USER10$=; It's a bit of a kludge to allow you to have a multi-line command in a Nagios command definition. Note that during the time that the first check returns a non-ok state, the service check will be in an OK state (the exit 0) but will have null output. I guess you could put another line with echo "something" in there if you want it to say something meaningful. I hope that makes some sense... By the way, please don't blame me if this method breaks in some future version of Nagios - I'm using 3.3.1 on this one. Cheers, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 29 19:18:53 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Thu, 29 Aug 2013 13:18:53 -0400 Subject: Webtransaction monitoring In-Reply-To: <5949DE25CF2DA84E8E56CC97139D377E02F2597A@g01jpexmbyt24> References: <5949DE25CF2DA84E8E56CC97139D377E02F2597A@g01jpexmbyt24> Message-ID: <521F827D.2040900@paul.dubuc.org> Watanabe, Yu wrote: > Hi all! > > I would like to share ideas for web transaction monitoring for nagios. > > I believe that there are couple of ways to implement this on nagios. > > http://jon.netdork.net/2011/03/19/using-nagios-to-monitor-webpages/ > > We use check_website.pl because its simple. > > What does everyone else use for this specific monitoring? > > Thanks, > > Yu > I've used the check_webinject plugin with good results. The best place to get it is here: http://labs.consol.de/lang/en/nagios/check_webinject/ ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smartesthari at gmail.com Tue Aug 27 23:38:05 2013 From: smartesthari at gmail.com (Hariharan Vittal) Date: Tue, 27 Aug 2013 22:38:05 +0100 Subject: warning In-Reply-To: <1377586317.16555.YahooMailNeo@web161502.mail.bf1.yahoo.com> References: <1377586317.16555.YahooMailNeo@web161502.mail.bf1.yahoo.com> Message-ID: I think it's a language barrier? well, I hope! Agree with other comments, make sure you read docs and if you are not a sysadmin or a network admin or any sort of admin ? why are you even trying to install this by yourself? What sort of company hands their monitoring requirement to someone who has nothing to do with it? Get someone who knows what they are doing? your local sysadmins could set this up in less than an hour. If Nagios Core is too much for you try Centreon or Nagios XI ? both are GUI driven and easier to setup for newbies. From: bharat Varandani Reply-To: bharat Varandani , Nagios Users List Date: Tuesday, 27 August 2013 07:51 To: Nagios Users List Subject: Re: [Nagios-users] warning Dear Dimitri, I am very thanks full for you because you help me lots of time..Now my Problem solved but again i facing new problem and i want help to all. So please help me and resolve my this issue also because i m new nagios and i want to perform good job for my company so please help me out from problems. My new issue is i want to configure Email notification in nagios that very useful for me and my company..I want if any HOST, PRINTER,SWITCH is goes down i will get any notification in my email address..That is possible if yes so please help my configure this point ASAP. Thanks & Regards Bharat Varandani From: Dimitri Yioulos To: nagios-users at lists.sourceforge.net Sent: Monday, August 26, 2013 6:03 PM Subject: Re: [Nagios-users] warning On Saturday 24 August 2013 6:37:37 am bharat Varandani wrote: > Dear All, > > > I am Facing Some Warning in check_snmp. That i want to > resolve so anybody please help to resolve this issue > ASAP.. > > Thanks & Regards > > Bharat Varandani Have you set the warning levels (-c and -w) correctly? Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ---------------------------------------------------------------------------- -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.prado at experian.com Fri Aug 30 00:00:17 2013 From: david.prado at experian.com (Prado, David) Date: Thu, 29 Aug 2013 22:00:17 +0000 Subject: check_openmanage whitelist feature request Message-ID: Hello Trond, First of all, I want to thank you for the excellent plugin and continued support and development. The purpose of this is to suggest including a whitelist option to do the opposite of the blacklist option. This will allow anyone to create checks with higher granularity. For example, something like # check_openmanage -s -H myhost --only storage --whitelist vdisk=0:1 would allow me to check status of an individual vdisk. Thanks, --- David Prado -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwiese at beit.de Fri Aug 30 04:01:44 2013 From: mwiese at beit.de (mwiese at beit.de) Date: Fri, 30 Aug 2013 04:01:44 +0200 Subject: =?iso-8859-1?q?AUTO=3A_Marco_Wiese/BEIT_GmbH_ist_a?= =?iso-8859-1?q?u=DFer_Haus=2E_=28R=FCckkehr_am_16=2E09=2E2013=29?= Message-ID: Ich kehre zur?ck am 16.09.2013. Ich werde Ihre Nachricht nach meiner R?ckkehr schnellstm?glich beantworten. Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht "[Nagios-users] check_openmanage whitelist feature request" gesendet am 30.08.2013 00:00:17. Diese ist die einzige Benachrichtigung, die Sie empfangen werden, w?hrend diese Person abwesend ist. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aflexzor at gmail.com Sat Aug 31 22:17:19 2013 From: aflexzor at gmail.com (Alex Flex) Date: Sat, 31 Aug 2013 14:17:19 -0600 Subject: Is it possible to recieve a single global notification for all checks? Message-ID: <52224F4F.6020107@gmail.com> Hello Nginx, I have a single host, and dozens of services of the same type (http check) monitored. When a service goes down it is normal for others to report CRITICAL at the same time. Intead of generating a notification for each independant service can I have a SINGLE email consolidate the report on whats on CRITICAL? Perhaps using a global handler, however how would this work with the part of one email per minute if my understanding is that the global event handler runs independtly for each service? Anything creative is welcome. Alex ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Aug 31 23:41:31 2013 From: a31modela at hotmail.com (steve f) Date: Sat, 31 Aug 2013 17:41:31 -0400 Subject: Is it possible to recieve a single global notification for all checks? In-Reply-To: <52224F4F.6020107@gmail.com> References: <52224F4F.6020107@gmail.com> Message-ID: I've built a few checks that monitor say 5 partitions or ping 5 ip addresses and will report back if one or more are down. results line says 1 is ok, 2 is ok, 3 is down,,, etc. Is that what you are looking for? I could send the check to you on Tues when I am back in work > Date: Sat, 31 Aug 2013 14:17:19 -0600 > From: aflexzor at gmail.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Is it possible to recieve a single global notification for all checks? > > Hello Nginx, > > I have a single host, and dozens of services of the same type (http > check) monitored. > > When a service goes down it is normal for others to report CRITICAL at > the same time. Intead of generating a notification for each independant > service can I have a SINGLE email consolidate the report on whats on > CRITICAL? > > Perhaps using a global handler, however how would this work with the > part of one email per minute if my understanding is that the global > event handler runs independtly for each service? > > Anything creative is welcome. > > Alex > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null