From yu.watanabe at jp.fujitsu.com Mon Mar 1 13:53:30 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 01 Mar 2010 21:53:30 +0900 Subject: About retry intervals of Host Check Message-ID: <201003011253.AA01561@S2007337.jp.fujitsu.com> Hello all. I would like to get an advice with the host check retry interval. When you are using on demand host check, what would be the interval between the host check retry? I thoght that host check retry intervals are 1 minute but in some cases they are not. [12-22-2009 08:22:11] HOST ALERT: test;UP;SOFT;2;OK - 192.168.131.53: rta 0.545ms, lost 0% [12-22-2009 08:21:51] HOST ALERT: test;DOWN;SOFT;1;CRITICAL - 192.168.131.53: rta nan, lost 100% Could someone help us out? Thank you Yu Watanabe ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Mon Mar 1 13:32:07 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 01 Mar 2010 21:32:07 +0900 Subject: About Notifications after commit Message-ID: <201003011232.AA01560@S2007337.jp.fujitsu.com> Hello all. I have a question about the notifications after the commit. I am wondering whether nagios refreshes the notification history event though the state retention option is specified. Could someone help us out? I am using the Nagios v3.0.6 and following is the situation: 1. Service Notification interval is set as 24h 2. Host status is UP at that time 3. Normal check interval is set 24h Following is the history from the nagios.log: * HARD status change had occured at Jan 11 08:35 . Notification has been sent at 08:35 * Notification was sent at Jan 12 08:35 * Notification was sent at Jan 13 08:35 * Commit was executed at Jan 13 22:24 * Notification was not sent at Jan 14 08:35 <--** This is the problem *** * Recovery status change had occured from CRITICAL -> OK at Jan 15 08:35. Notification has been sent at 08:35. I thought that Nagios inherits the last notification time when it restarts using the nagiostatus.sav. But it seems to be not the case for this time. Could someone give us an advice? Thank you. Yu Watanabe ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Mon Mar 1 14:01:05 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 01 Mar 2010 13:01:05 +0000 Subject: A bit OT Apache- nagios refresh issue Message-ID: <4B8BBA91.7040807@flatto.net> Hello List I am having an annoying issue with the refresh option with nagios 3.2 . When ever i go to a page (cgi) and press the F5 or CTRL-R to reload the page , the apache sends me to the "home page" and not to the same CGI with new data. The URL in the browser is http://nagios/nagios/ and it works fine with nagios 3.0.6 . I compared the Apache conf and could not find the difference . below is a section of my apache log showing the my access and doing a refresh . demo [01/Mar/2010:12:41:39 +0000] "GET /nagios/cgi-bin/status.cgi?hostgroup=all&style=summary HTTP/1.1" 200 27177 "http://nagios/nagios/side.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021501 Ubuntu/8.04 (hardy) Firefox/3.0.18" demo [01/Mar/2010:12:41:51 +0000] "GET /nagios/ HTTP/1.1" 200 718 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021501 Ubuntu/8.04 (hardy) Firefox/3.0.18" demo [01/Mar/2010:12:41:51 +0000] "GET /nagios/side.php HTTP/1.1" 200 5013 "http://nagios/nagios/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021501 Ubuntu/8.04 (hardy) Firefox/3.0.18" demo [01/Mar/2010:12:41:51 +0000] "GET /nagios/main.php HTTP/1.1" 200 2382 "http://nagios/nagios/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021501 Ubuntu/8.04 (hardy) Firefox/3.0.18" Has anyone encountered this issue and know how I can solve this ? Thanks ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Mon Mar 1 14:04:12 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 01 Mar 2010 22:04:12 +0900 Subject: Re-send: Notificaitons after the commit Message-ID: <201003011304.AA01562@S2007337.jp.fujitsu.com> Hello all. I am re-sending the message again. Message seems to be not sent properly. I apologize if this becomes duplicate message. ----------------------------------------------------------------------------------- I have a question about the notifications after the commit. I am wondering whether nagios refreshes the notification history event though the state retention option is specified. Could someone help us out? I am using the Nagios v3.0.6 and following is the situation: 1. Service Notification interval is set as 24h 2. Host status is UP at that time 3. Normal check interval is set 24h Following is the history from the nagios.log: * HARD status change had occured at Jan 11 08:35 . Notification has been sent at 08:35 * Notification was sent at Jan 12 08:35 * Notification was sent at Jan 13 08:35 * Commit was executed at Jan 13 22:24 * Notification was not sent at Jan 14 08:35 <--** This is the problem *** * Recovery status change had occured from CRITICAL -> OK at Jan 15 08:35. Notification has been sent at 08:35. I thought that Nagios inherits the last notification time when it restarts using the nagiostatus.sav. But it seems to be not the case for this time. Could someone give us an advice? Thank you. Yu Watanabe ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Mon Mar 1 15:13:29 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 01 Mar 2010 14:13:29 +0000 Subject: Re-send: Notificaitons after the commit In-Reply-To: <201003011304.AA01562@S2007337.jp.fujitsu.com> References: <201003011304.AA01562@S2007337.jp.fujitsu.com> Message-ID: <4B8BCB89.9020505@flatto.net> Yu Watanabe wrote: > Hello all. > > I am re-sending the message again. Message seems to be not sent properly. > I apologize if this becomes duplicate message. > ----------------------------------------------------------------------------------- > > I have a question about the notifications after the commit. > I am wondering whether nagios refreshes the notification history event though the state retention option > is specified. > > Could someone help us out? > > I am using the Nagios v3.0.6 and following is the situation: > > 1. Service Notification interval is set as 24h > 2. Host status is UP at that time > 3. Normal check interval is set 24h > > Following is the history from the nagios.log: > > * HARD status change had occured at Jan 11 08:35 . Notification has been sent at 08:35 > * Notification was sent at Jan 12 08:35 > * Notification was sent at Jan 13 08:35 > * Commit was executed at Jan 13 22:24 > * Notification was not sent at Jan 14 08:35 <--** This is the problem *** > * Recovery status change had occured from CRITICAL -> OK at Jan 15 08:35. Notification has been sent at 08:35. > > I thought that Nagios inherits the last notification time when it restarts using the nagiostatus.sav. > But it seems to be not the case for this time. > > Could someone give us an advice? > > Thank you. > Yu Watanabe > When you say commit ? what exactly do you mean ? are you committing code upstream of nagios and then testing it on your system ? are you performing some action and then the alerts are not generated ? Please provide more information - or clarify what you mean. Assaf ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Mon Mar 1 14:29:38 2010 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Mon, 1 Mar 2010 08:29:38 -0500 Subject: A bit OT Apache- nagios refresh issue In-Reply-To: <4B8BBA91.7040807@flatto.net> References: <4B8BBA91.7040807@flatto.net> Message-ID: I too have encountered this issue and also find it quite annoying. I did refreshes a lot with 3.0.6 and find them useless now that I'm redirected to the home page. (I was just going to post something about this). Did the backend web code change with 3.2.0? Mark ________________________________________ From: Assaf Flatto [nagios at flatto.net] Sent: Monday, March 01, 2010 8:01 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] A bit OT Apache- nagios refresh issue Hello List I am having an annoying issue with the refresh option with nagios 3.2 . When ever i go to a page (cgi) and press the F5 or CTRL-R to reload the page , the apache sends me to the "home page" and not to the same CGI with new data. The URL in the browser is http://nagios/nagios/ and it works fine with nagios 3.0.6 . I compared the Apache conf and could not find the difference . below is a section of my apache log showing the my access and doing a refresh . demo [01/Mar/2010:12:41:39 +0000] "GET /nagios/cgi-bin/status.cgi?hostgroup=all&style=summary HTTP/1.1" 200 27177 "http://nagios/nagios/side.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021501 Ubuntu/8.04 (hardy) Firefox/3.0.18" demo [01/Mar/2010:12:41:51 +0000] "GET /nagios/ HTTP/1.1" 200 718 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021501 Ubuntu/8.04 (hardy) Firefox/3.0.18" demo [01/Mar/2010:12:41:51 +0000] "GET /nagios/side.php HTTP/1.1" 200 5013 "http://nagios/nagios/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021501 Ubuntu/8.04 (hardy) Firefox/3.0.18" demo [01/Mar/2010:12:41:51 +0000] "GET /nagios/main.php HTTP/1.1" 200 2382 "http://nagios/nagios/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021501 Ubuntu/8.04 (hardy) Firefox/3.0.18" Has anyone encountered this issue and know how I can solve this ? Thanks ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Mon Mar 1 15:23:32 2010 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 01 Mar 2010 15:23:32 +0100 Subject: A bit OT Apache- nagios refresh issue In-Reply-To: <4B8BBA91.7040807@flatto.net> References: <4B8BBA91.7040807@flatto.net> Message-ID: <4B8BCDE4.2090406@ederdrom.de> Am 01.03.10 14:01, schrieb Assaf Flatto: > Hello List > > I am having an annoying issue with the refresh option with nagios 3.2 . > When ever i go to a page (cgi) and press the F5 or CTRL-R to reload the > page , the apache sends me to the "home page" and not to the same CGI > with new data. > > The URL in the browser is http://nagios/nagios/ and it works fine with > nagios 3.0.6 . > I compared the Apache conf and could not find the difference . > below is a section of my apache log showing the my access and doing a > refresh . Just add a header line to share/index.php This must be the first line in this file. Or just rename index.php to index.html Joerg ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Mon Mar 1 15:26:13 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 01 Mar 2010 14:26:13 +0000 Subject: A bit OT Apache- nagios refresh issue In-Reply-To: <4B8BCDE4.2090406@ederdrom.de> References: <4B8BBA91.7040807@flatto.net> <4B8BCDE4.2090406@ederdrom.de> Message-ID: <4B8BCE85.7@flatto.net> Joerg Linge wrote: > Am 01.03.10 14:01, schrieb Assaf Flatto: > >> Hello List >> >> I am having an annoying issue with the refresh option with nagios 3.2 . >> When ever i go to a page (cgi) and press the F5 or CTRL-R to reload the >> page , the apache sends me to the "home page" and not to the same CGI >> with new data. >> >> The URL in the browser is http://nagios/nagios/ and it works fine with >> nagios 3.0.6 . >> I compared the Apache conf and could not find the difference . >> below is a section of my apache log showing the my access and doing a >> refresh . >> > > Just add a header line to share/index.php > > > > This must be the first line in this file. > > Or just rename index.php to index.html > > Joerg > > Thanks , that sorted the issue . Can't this go in to the source bundle to make sure the issue does not reoccur ? Assaf ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 1 15:31:35 2010 From: marc at ena.com (Marc Powell) Date: Mon, 1 Mar 2010 08:31:35 -0600 Subject: A bit OT Apache- nagios refresh issue In-Reply-To: References: <4B8BBA91.7040807@flatto.net> Message-ID: <966EFB08-E7BE-4AE6-B43F-8747436CBEFA@ena.com> On Mar 1, 2010, at 7:29 AM, Frost, Mark {PBG} wrote: > > I too have encountered this issue and also find it quite annoying. I did refreshes a lot with 3.0.6 and find them useless now that I'm redirected to the home page. (I was just going to post something about this). > > Did the backend web code change with 3.2.0? A bit. index.html is now index.php. Because there's no actual PHP in there yet, you can rename share/index.php to share/index.html to regain the old behavior. You can do this now but you may not be able to in future releases. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asraikhn at gmail.com Mon Mar 1 16:07:37 2010 From: asraikhn at gmail.com (Asrai khn) Date: Mon, 1 Mar 2010 20:07:37 +0500 Subject: A bit OT Apache- nagios refresh issue In-Reply-To: <4B8BCDE4.2090406@ederdrom.de> References: <4B8BBA91.7040807@flatto.net> <4B8BCDE4.2090406@ederdrom.de> Message-ID: <5f0f8dba1003010707q1999f6fbx6673a8253046a927@mail.gmail.com> On Mon, Mar 1, 2010 at 7:23 PM, Joerg Linge wrote: > > Just add a header line to share/index.php > > > > This must be the first line in this file. > > Or just rename index.php to index.html > > > Thanks adding to index.php also works for me -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Mon Mar 1 16:45:26 2010 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 01 Mar 2010 16:45:26 +0100 Subject: A bit OT Apache- nagios refresh issue In-Reply-To: <966EFB08-E7BE-4AE6-B43F-8747436CBEFA@ena.com> References: <4B8BBA91.7040807@flatto.net> <966EFB08-E7BE-4AE6-B43F-8747436CBEFA@ena.com> Message-ID: <4B8BE116.3010109@ederdrom.de> Am 01.03.10 15:31, schrieb Marc Powell: > > On Mar 1, 2010, at 7:29 AM, Frost, Mark {PBG} wrote: > >> >> I too have encountered this issue and also find it quite annoying. I did refreshes a lot with 3.0.6 and find them useless now that I'm redirected to the home page. (I was just going to post something about this). >> >> Did the backend web code change with 3.2.0? > > A bit. index.html is now index.php. Because there's no actual PHP in there yet, you can rename share/index.php to share/index.html to regain the old behavior. You can do this now but you may not be able to in future releases. Where is the need for PHP to build a static HTML frameset? Just my 2 cent ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Mar 1 17:40:36 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 01 Mar 2010 08:40:36 -0800 Subject: A bit OT Apache- nagios refresh issue In-Reply-To: <4B8BE116.3010109@ederdrom.de> References: <4B8BBA91.7040807@flatto.net> <966EFB08-E7BE-4AE6-B43F-8747436CBEFA@ena.com> <4B8BE116.3010109@ederdrom.de> Message-ID: <4B8BEE04.90609@hp.com> Joerg Linge wrote: > Am 01.03.10 15:31, schrieb Marc Powell: > >> On Mar 1, 2010, at 7:29 AM, Frost, Mark {PBG} wrote: >> >> >>> I too have encountered this issue and also find it quite annoying. I did refreshes a lot with 3.0.6 and find them useless now that I'm redirected to the home page. (I was just going to post something about this). >>> >>> Did the backend web code change with 3.2.0? >>> >> A bit. index.html is now index.php. Because there's no actual PHP in there yet, you can rename share/index.php to share/index.html to regain the old behavior. You can do this now but you may not be able to in future releases. >> > > Where is the need for PHP to build a static HTML frameset? > No, there isn't. There is no PHP code in that page. Rename it to index.html and the refresh problem goes away. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Mon Mar 1 20:47:20 2010 From: shadhin71 at gmail.com (shadih rahman) Date: Mon, 1 Mar 2010 14:47:20 -0500 Subject: multiple check_interval with single service check Message-ID: <6db4a4201003011147x74a51287y86c47e482d04dd7f@mail.gmail.com> All, Is it possible to use multiple check_interval based on the hours of the day for a single check? For example during day time service should be executed every 15 minutes and during night it will get executed every 2 hours. Can someone please show me how its done. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 1 22:41:50 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 1 Mar 2010 21:41:50 +0000 Subject: multiple check_interval with single service check In-Reply-To: <6db4a4201003011147x74a51287y86c47e482d04dd7f@mail.gmail.com> References: <6db4a4201003011147x74a51287y86c47e482d04dd7f@mail.gmail.com> Message-ID: <765d77c81003011341j311cdc47yd6eaa60510fe8aa1@mail.gmail.com> On 1 March 2010 19:47, shadih rahman wrote: > All, > ?? Is it possible to use multiple check_interval based on the hours of the > day for a single check?? For example during day time service should be > executed every 15 minutes and during night it will get executed every 2 > hours.? Can someone please show me how its done.? Thanks I don't think you can do such a thing in Nagios itself. If I really had to do such a thing, I would set up a script on the monitored server to send the check result to Nagios using send_nsca. If you run this script at intervals from cron, it is easy in the crontab to have it run more frequently during the day and less frequently at night. In fact you could have the crontab on the Nagios server and still submit the check result either via the command interface or via send_nsca again. I'm not saying I recommend doing this, as it would be a bit of a pain to maintain, but if you really must it's one way of achieving what you describe. I would say "hth" but that probably doesn't! Out of interest, why do you need to set things up that way? Cheers, Jim ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at zarzax.com Tue Mar 2 03:16:56 2010 From: mark at zarzax.com (Mark Young) Date: Mon, 1 Mar 2010 20:16:56 -0600 Subject: multiple check_interval with single service check In-Reply-To: <6db4a4201003011147x74a51287y86c47e482d04dd7f@mail.gmail.com> References: <6db4a4201003011147x74a51287y86c47e482d04dd7f@mail.gmail.com> Message-ID: On Mar 1, 2010, at 1:47 PM, shadih rahman wrote: > Is it possible to use multiple check_interval based on the hours of the day for a single check? For example during day time service should be executed every 15 minutes and during night it will get executed every 2 hours. Can someone please show me how its done. Thanks You can do this in a few different ways. The easiest may be to define multiple hosts/services for one 'real' host/service. That would allow you to define two time periods and two different check_intervals. You would have to have the names slightly different but notifications could be made to look like they are the same host/service. Best Regards, Mark Young ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Tue Mar 2 12:26:32 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 02 Mar 2010 16:56:32 +0530 Subject: Monitor Java Process Message-ID: <4B8CF5E8.7000206@cisco.com> Hi I want to know how i can monitor the java process running on remote box , basically i want to keep monitoring it and raise an email alert if it has re-started or stopped functioning. Please let me know how this can be achieved using nagios. Thanks Jatin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 2 14:35:28 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 2 Mar 2010 13:35:28 +0000 Subject: Monitor Java Process In-Reply-To: <4B8CF5E8.7000206@cisco.com> References: <4B8CF5E8.7000206@cisco.com> Message-ID: <765d77c81003020535v7b38fde4i12306b5b15d82fe8@mail.gmail.com> On 2 March 2010 11:26, Jatin Davey wrote: > Hi > > I want to know how i can monitor the java process running on remote box > , basically i want to keep monitoring it and raise an email alert if it > has re-started or stopped functioning. Please let me know how this can > be achieved using nagios. > > Thanks > Jatin Someone hereabouts recently mentioned you can use jmx4perl http://labs.consol.de/lang/de/jmx4perl/ I can't say I've tried it myself yet. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asraikhn at gmail.com Tue Mar 2 15:10:24 2010 From: asraikhn at gmail.com (Asrai khn) Date: Tue, 2 Mar 2010 19:10:24 +0500 Subject: Monitor Java Process In-Reply-To: <4B8CF5E8.7000206@cisco.com> References: <4B8CF5E8.7000206@cisco.com> Message-ID: <5f0f8dba1003020610n53fd810fgff37b8a1b497b3@mail.gmail.com> On Tue, Mar 2, 2010 at 4:26 PM, Jatin Davey wrote: > Hi > > I want to know how i can monitor the java process running on remote box > , basically i want to keep monitoring it and raise an email alert if it > has re-started or stopped functioning. Please let me know how this can > be achieved using nagios. > > You can monitor process on remote box using nrpe + check_procs 1. you have to install nrpe on remote box 2. and then have to configure command in nrpe.cfg eg check_procs for more infor ./check_procs -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Tue Mar 2 15:41:39 2010 From: shadhin71 at gmail.com (shadih rahman) Date: Tue, 2 Mar 2010 09:41:39 -0500 Subject: on call rotation with check Message-ID: <6db4a4201003020641m45019b65mf725346172ff5359@mail.gmail.com> Is it possible to maintain a on call rotation via a service check? Also possibly pass in a nagios username to update the on call rotation? Please advise on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Tue Mar 2 15:12:05 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 02 Mar 2010 23:12:05 +0900 Subject: Re-send: Notificaitons after the commit In-Reply-To: <4B8BCB89.9020505@flatto.net> References: <4B8BCB89.9020505@flatto.net> Message-ID: <201003021412.AA01570@S2007337.jp.fujitsu.com> Hello Assaf Sorry, for ambiguous expression. Word "Commit", I used in the meaning of executing the following command, /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios restart And yes. After the above command, the notification that was been occuring every 24hours before then suddenly stopped. So, I doubted the restart procedure if this is doing something wrond. Thank you Yu Watanabe Assaf Flatto ????????: >Yu Watanabe wrote: >> Hello all. >> >> I am re-sending the message again. Message seems to be not sent properly. >> I apologize if this becomes duplicate message. >> ----------------------------------------------------------------------------------- >> >> I have a question about the notifications after the commit. >> I am wondering whether nagios refreshes the notification history event though the state retention option >> is specified. >> >> Could someone help us out? >> >> I am using the Nagios v3.0.6 and following is the situation: >> >> 1. Service Notification interval is set as 24h >> 2. Host status is UP at that time >> 3. Normal check interval is set 24h >> >> Following is the history from the nagios.log: >> >> * HARD status change had occured at Jan 11 08:35 . Notification has been sent at 08:35 >> * Notification was sent at Jan 12 08:35 >> * Notification was sent at Jan 13 08:35 >> * Commit was executed at Jan 13 22:24 >> * Notification was not sent at Jan 14 08:35 <--** This is the problem *** >> * Recovery status change had occured from CRITICAL -> OK at Jan 15 08:35. Notification has been sent at 08:35. >> >> I thought that Nagios inherits the last notification time when it restarts using the nagiostatus.sav. >> But it seems to be not the case for this time. >> >> Could someone give us an advice? >> >> Thank you. >> Yu Watanabe >> >When you say commit ? what exactly do you mean ? >are you committing code upstream of nagios and then testing it on your >system ? >are you performing some action and then the alerts are not generated ? > >Please provide more information - or clarify what you mean. > >Assaf > >------------------------------------------------------------------------------ >Download Intel® Parallel Studio Eval >Try the new software tools for yourself. Speed compiling, find bugs >proactively, and fine-tune applications for parallel performance. >See why Intel Parallel Studio got high marks during beta. >http://p.sf.net/sfu/intel-sw-dev >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Tue Mar 2 15:40:40 2010 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Tue, 2 Mar 2010 08:40:40 -0600 Subject: Monitor Java Process In-Reply-To: <765d77c81003020535v7b38fde4i12306b5b15d82fe8@mail.gmail.com> References: <4B8CF5E8.7000206@cisco.com> <765d77c81003020535v7b38fde4i12306b5b15d82fe8@mail.gmail.com> Message-ID: We monitor the port number assigned to the process. -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Tuesday, March 02, 2010 7:35 AM To: Jatin Davey Cc: Nagios Mailinglist Subject: Re: [Nagios-users] Monitor Java Process On 2 March 2010 11:26, Jatin Davey wrote: > Hi > > I want to know how i can monitor the java process running on remote > box , basically i want to keep monitoring it and raise an email alert > if it has re-started or stopped functioning. Please let me know how > this can be achieved using nagios. > > Thanks > Jatin Someone hereabouts recently mentioned you can use jmx4perl http://labs.consol.de/lang/de/jmx4perl/ I can't say I've tried it myself yet. ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Tue Mar 2 16:11:43 2010 From: perldork at webwizarddesign.com (Max) Date: Tue, 2 Mar 2010 10:11:43 -0500 Subject: Monitor Java Process In-Reply-To: <4B8CF5E8.7000206@cisco.com> References: <4B8CF5E8.7000206@cisco.com> Message-ID: You could use check_proc via NRPE or al custom SNMP base check SNMP agent (HR MIB or an agent specific MIB). A number of SnMP agents can be configured to send SnMP trpas when monitored processes exit. The Sun JVM also has a built in SNMP agent that exposes thread count, heap size and some other base JVM metrics. This agent can easily be proxied through an agent like Net-SNMP so you don't have multiple agent ports to work with. If you are using weblogic, it's built in SNMP agent can be configured to send a variety of SNMP traps, including starting up and shutting down traps. Max On 3/2/10, Jatin Davey wrote: > Hi > > I want to know how i can monitor the java process running on remote box > , basically i want to keep monitoring it and raise an email alert if it > has re-started or stopped functioning. Please let me know how this can > be achieved using nagios. > > Thanks > Jatin > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at i-evolve.com Tue Mar 2 16:10:00 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Tue, 2 Mar 2010 10:10:00 -0500 Subject: Re-send: Notificaitons after the commit In-Reply-To: <201003021412.AA01570@S2007337.jp.fujitsu.com> References: <4B8BCB89.9020505@flatto.net> <201003021412.AA01570@S2007337.jp.fujitsu.com> Message-ID: <33C7BE4CE80D504E8907FDC31F8A083047BC3F801D@iexchange.I-EVOLVE.com> I am curious here... If all you are doing is restarting Nagios, why not just use: /etc/init.d/nagios restart Instead of all the other commands and parameters? -----Original Message----- From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] Sent: Tuesday, March 02, 2010 9:12 AM To: Assaf Flatto Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re-send: Notificaitons after the commit Hello Assaf Sorry, for ambiguous expression. Word "Commit", I used in the meaning of executing the following command, /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios restart And yes. After the above command, the notification that was been occuring every 24hours before then suddenly stopped. So, I doubted the restart procedure if this is doing something wrond. Thank you Yu Watanabe Assaf Flatto ????????: >Yu Watanabe wrote: >> Hello all. >> >> I am re-sending the message again. Message seems to be not sent properly. >> I apologize if this becomes duplicate message. >> ----------------------------------------------------------------------------------- >> >> I have a question about the notifications after the commit. >> I am wondering whether nagios refreshes the notification history event though the state retention option >> is specified. >> >> Could someone help us out? >> >> I am using the Nagios v3.0.6 and following is the situation: >> >> 1. Service Notification interval is set as 24h >> 2. Host status is UP at that time >> 3. Normal check interval is set 24h >> >> Following is the history from the nagios.log: >> >> * HARD status change had occured at Jan 11 08:35 . Notification has been sent at 08:35 >> * Notification was sent at Jan 12 08:35 >> * Notification was sent at Jan 13 08:35 >> * Commit was executed at Jan 13 22:24 >> * Notification was not sent at Jan 14 08:35 <--** This is the problem *** >> * Recovery status change had occured from CRITICAL -> OK at Jan 15 08:35. Notification has been sent at 08:35. >> >> I thought that Nagios inherits the last notification time when it restarts using the nagiostatus.sav. >> But it seems to be not the case for this time. >> >> Could someone give us an advice? >> >> Thank you. >> Yu Watanabe >> >When you say commit ? what exactly do you mean ? >are you committing code upstream of nagios and then testing it on your >system ? >are you performing some action and then the alerts are not generated ? > >Please provide more information - or clarify what you mean. > >Assaf > >------------------------------------------------------------------------------ >Download Intel® Parallel Studio Eval >Try the new software tools for yourself. Speed compiling, find bugs >proactively, and fine-tune applications for parallel performance. >See why Intel Parallel Studio got high marks during beta. >http://p.sf.net/sfu/intel-sw-dev >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinm at op5.org Tue Mar 2 18:35:29 2010 From: martinm at op5.org (Martin Melin) Date: Tue, 2 Mar 2010 18:35:29 +0100 Subject: Re-send: Notificaitons after the commit In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A083047BC3F801D@iexchange.I-EVOLVE.com> References: <4B8BCB89.9020505@flatto.net> <201003021412.AA01570@S2007337.jp.fujitsu.com> <33C7BE4CE80D504E8907FDC31F8A083047BC3F801D@iexchange.I-EVOLVE.com> Message-ID: <5f0bcb7c1003020935m39b617dg47494f0c18e4ef75@mail.gmail.com> 2010/3/2 Robert Wolfe > I am curious here... > > If all you are doing is restarting Nagios, why not just use: > > /etc/init.d/nagios restart > > Instead of all the other commands and parameters? > Running nagios -v nagios.cfg haves Nagios verify the configuration, this is best practice because otherwise you risk a typo stopping your monitoring for the time it takes for you to correct the configuration :-) > > -----Original Message----- > From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] > Sent: Tuesday, March 02, 2010 9:12 AM > To: Assaf Flatto > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re-send: Notificaitons after the commit > > Hello Assaf > > Sorry, for ambiguous expression. > > Word "Commit", I used in the meaning of executing the following command, > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > /etc/init.d/nagios restart > Tip: don't use restart when you just want Nagios to load new configuration.Your init script should handle reload instead, which will send a HUP signal to Nagios. This means that Nagios doesn't stop and start back up, it only re-reads the configuration files. So, for your specific problem, I think you'd be fine by simply using this instead: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios reload > > And yes. After the above command, the notification that was been occuring > every 24hours before then > suddenly stopped. So, I doubted the restart procedure if this is doing > something wrond. > Check your retention settings in nagios.cfg, especially retention_update_interval and retain_state_information. -- Martin Melin ____________________________ op5 AB http://www.op5.com http://www.op5.org/ http://www.op5.com/op5/products/network-monitor/nagios/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kxs322 at yahoo.com Tue Mar 2 20:03:36 2010 From: kxs322 at yahoo.com (ahmad) Date: Tue, 2 Mar 2010 11:03:36 -0800 (PST) Subject: rrd is empty. ca Message-ID: <960429.19261.qm@web50708.mail.re2.yahoo.com> Nagios version:????????????? Nagios Core 3.2.0 Nagiosgraph Version:??? nagiosgraph-1.1.2 OS????????????????????????????????? RHEL 5.3???? 64bit #####################nagios.cfg log_file=/usr/local/nagios/var/nagios.log???????????????????????????????????????????????????? cfg_file=/usr/local/nagios/etc/objects/commands.cfg?????????????????????????????????????????? cfg_file=/usr/local/nagios/etc/objects/contacts.cfg?????????????????????????????????????????? cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg??????????????????????????????????????? cfg_file=/usr/local/nagios/etc/objects/templates.cfg????????????????????????????????????????? cfg_file=/usr/local/nagios/etc/objects/hostgroups.cfg???????????????????????????????????????? cfg_file=/usr/local/nagios/etc/objects/localhost.cfg????????????????????????????????????????? cfg_dir=/usr/local/nagios/etc/servers???????????????????????????????????????????????????????? cfg_dir=/usr/local/nagios/etc/switches??????????????????????????????????????????????????????? object_cache_file=/usr/local/nagios/var/objects.cache???????????????????????????????????????? precached_object_file=/usr/local/nagios/var/objects.precache????????????????????????????????? resource_file=/usr/local/nagios/etc/resource.cfg????????????????????????????????????????????? status_file=/usr/local/nagios/var/status.dat????????????????????????????????????????????????? status_update_interval=10???????????????????????????????????????????????????????????????????? nagios_user=nagios??????????????????????????????????????????????????????????????????????????? nagios_group=nagios?????????????????????????????????????????????????????????????????????????? check_external_commands=1???????????????????????????????????????????????????????????????????? command_check_interval=300s?????????????????????????????????????????????????????????????????? command_file=/usr/local/nagios/var/rw/nagios.cmd????????????????????????????????????????????? external_command_buffer_slots=4096??????????????????????????????????????????????????????????? lock_file=/usr/local/nagios/var/nagios.lock?????????????????????????????????????????????????? temp_file=/usr/local/nagios/var/nagios.tmp??????????????????????????????????????????????????? temp_path=/tmp??????????????????????????????????????????????????????????????????????????????? event_broker_options=-1?????????????????????????????????????????????????????????????????????? broker_module=/usr/local/nagios/bin/ndomod-3x.o?? config_file=/usr/local/nagios/etc/ndomod.cfg log_rotation_method=d???????????????????????????????????????????????????????????????????????? log_archive_path=/usr/local/nagios/var/archives?????????????????????????????????????????????? use_syslog=1????????????????????????????????????????????????????????????????????????????????? log_notifications=1?????????????????????????????????????????????????????????????????????????? log_service_retries=1???????????????????????????????????????????????????????????????????????? log_host_retries=1??????????????????????????????????????????????????????????????????????????? log_event_handlers=1????????????????????????????????????????????????????????????????????????? log_initial_states=0????????????????????????????????????????????????????????????????????????? log_external_commands=1?????????????????????????????????????????????????????????????????????? log_passive_checks=1????????????????????????????????????????????????????????????????????????? service_inter_check_delay_method=s??????????????????????????????????????????????????????????? max_service_check_spread=30?????????????????????????????????????????????????????????????????? service_interleave_factor=s?????????????????????????????????????????????????????????????????? host_inter_check_delay_method=s?????????????????????????????????????????????????????????????? max_host_check_spread=30????????????????????????????????????????????????????????????????????? max_concurrent_checks=0?????????????????????????????????????????????????????????????????????? check_result_reaper_frequency=10????????????????????????????????????????????????????????????? max_check_result_reaper_time=30?????????????????????????????????????????????????????????????? check_result_path=/usr/local/nagios/var/spool/checkresults??????????????????????????????????? max_check_result_file_age=3600??????????????????????????????????????????????????????????????? cached_host_check_horizon=15????????????????????????????????????????????????????????????????? cached_service_check_horizon=15?????????????????????????????????????????????????????????????? enable_predictive_host_dependency_checks=1??????????????????????????????????????????????????? enable_predictive_service_dependency_checks=1???????????????????????????????????????????????? soft_state_dependencies=0???????????????????????????????????????????????????????????????????? auto_reschedule_checks=0????????????????????????????????????????????????????????????????????? auto_rescheduling_interval=30???????????????????????????????????????????????????????????????? auto_rescheduling_window=180????????????????????????????????????????????????????????????????? sleep_time=0.25?????????????????????????????????????????????????????????????????????????????? service_check_timeout=60????????????????????????????????????????????????????????????????????? host_check_timeout=30???????????????????????????????????????????????????????????????????????? event_handler_timeout=30????????????????????????????????????????????????????????????????????? notification_timeout=30?????????????????????????????????????????????????????????????????????? ocsp_timeout=5??????????????????????????????????????????????????????????????????????????????? perfdata_timeout=5??????????????????????????????????????????????????????????????????????????? retain_state_information=1??????????????????????????????????????????????????????????????????? state_retention_file=/usr/local/nagios/var/retention.dat????????????????????????????????????? retention_update_interval=60????????????????????????????????????????????????????????????????? use_retained_program_state=1????????????????????????????????????????????????????????????????? use_retained_scheduling_info=1??????????????????????????????????????????????????????????????? retained_host_attribute_mask=0??????????????????????????????????????????????????????????????? retained_service_attribute_mask=0???????????????????????????????????????????????????????????? retained_process_host_attribute_mask=0??????????????????????????????????????????????????????? retained_process_service_attribute_mask=0???????????????????????????????????????????????????? retained_contact_host_attribute_mask=0??????????????????????????????????????????????????????? retained_contact_service_attribute_mask=0???????????????????????????????????????????????????? interval_length=60??????????????????????????????????????????????????????????????????????????? check_for_updates=1?????????????????????????????????????????????????????????????????????????? bare_update_check=0?????????????????????????????????????????????????????????????????????????? use_aggressive_host_checking=0??????????????????????????????????????????????????????????????? execute_service_checks=1????????????????????????????????????????????????????????????????????? accept_passive_service_checks=1?????????????????????????????????????????????????????????????? execute_host_checks=1???????????????????????????????????????????????????????????????????????? accept_passive_host_checks=1????????????????????????????????????????????????????????????????? enable_notifications=1??????????????????????????????????????????????????????????????????????? enable_event_handlers=1?????????????????????????????????????????????????????????????????????? process_performance_data=0??????????????????????????????????????????????????????????????????? obsess_over_services=0??????????????????????????????????????????????????????????????????????? obsess_over_hosts=0 translate_passive_host_checks=0 passive_host_checks_are_soft=0 check_for_orphaned_services=1 check_for_orphaned_hosts=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us p1_file=/usr/local/nagios/bin/p1.pl enable_embedded_perl=1 use_embedded_perl_implicitly=1 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios at localhost admin_pager=pagenagios at localhost daemon_dumps_core=0 use_large_installation_tweaks=0 enable_environment_macros=1 debug_level=0 debug_verbosity=1 debug_file=/usr/local/nagios/var/nagios.debug max_debug_file_size=1000000 ?process_performance_data=1 ???? service_perfdata_file=/var/spool/nagios/perfdata.log ???? service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ ???? service_perfdata_file_mode=a ???? service_perfdata_file_processing_interval=30 ???? service_perfdata_file_processing_command=process-service-perfdata ################nagiosgraph.cfg debug = 5???????????????????????????????????????????????????????????????????????????????? logfile = /var/log/nagiosgraph.log??????????????????????????????????????????????????????? rrddir =? /usr/local/nagios/nagiosgraph/rrd?????????????????????????????????????????????? mapfile = /usr/local/nagios/nagiosgraph/map?????????????????????????????????????????????? colorscheme = 1?????????????????????????????????????????????????????????????????????????? heartbeat = 600?????????????????????????????????????????????????????????????????????????? stylesheet = /nagios/stylesheets/nagiosgraph.css????????????????????????????????????????? dbseparator = subdir????????????????????????????????????????????????????????????????????? plotas = LINE2??????????????????????????????????????????????????????????????????????????? maximums = Current Load,PLW,Procs: total,Procs: zombie,User Count???????????????????????? minimums = APCUPSD,Mem: free,Mem: swap??????????????????????????????????????????????????? hostdb = /usr/local/nagios/etc/hostdb.conf??????????????????????????????????????????????? servdb = /usr/local/nagios/etc/servdb.conf??????????????????????????????????????????????? nagioscgiurl = https://nagiosserver/nagios/cgi-bin??????????????????????????????????????? selecthost = Select server??????????????????????????????????????????????????????????????? selectserv = Select service?????????????????????????????????????????????????????????????? fixedscale = Fixed Scale????????????????????????????????????????????????????????????????? submit = Update Graphs perfforhost = Performance data for host perfforserv = Performance data for service service = service asof = as of dai = Today daily = Daily day = Today week = This Week weekly = Weekly month = This Month monthly = Monthly year = This Year yearly = Yearly configerror = Configuration Error (email Alan). noservicegiven = Bad URL for showservice.cgi; no service given apcupsd = Uninterruptible Power Supply Status (Battery Charge, Tempurature, Load Percentage, Time Left) bps = Bits Per Second clamdb = Clam Database diskgb = Disk Usage http = Bits Per Second load = Load Average losspct = Loss Percentage mailq = Pending Output E-mail Messages memory = RAM Usage Mem%3A%20swap = Swap Utilization ping = Ping Loss Percentage and Round Trip Average PLW = Perl Log Watcher Events procs = Processes qsize = Messages in Outbound Queue rta = Round Trip Average smtp = E-mail Status testcolor = Show Colors typesome = Type some space seperated nagiosgraph line names here graph = Graph previous = previous next = next createdby = Created by #################################command.cfg ????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? notify-host-by-email????????????????????????????????????????????????? ??????? command_line??? /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$????????????????????????????????????????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? notify-service-by-email?????????????????????????????????????????????? ??????? command_line??? /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$??????????????????????????????????????????????????????????????????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check-host-alive????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_local_disk????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_local_load????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_load -w $ARG1$ -c $ARG2$??????????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_local_procs???????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$???????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_local_users???????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_users -w $ARG1$ -c $ARG2$?????????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_local_swap????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_swap -w $ARG1$ -c $ARG2$??????????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_local_mrtgtraf????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -e $ARG5$??????????????????????????????????????????????????????????????????????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_ftp???????????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$???????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_hpjd??????????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$??????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_snmp??????????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$??????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_http??????????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_http -I $HOSTADDRESS$ $ARG1$??????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_ssh???????????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_ssh $ARG1$ $HOSTADDRESS$??????????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_dhcp??????????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_dhcp $ARG1$???????????????????????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_ping??????????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_pop???????????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_pop -H $HOSTADDRESS$ $ARG1$???????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_imap??????????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_imap -H $HOSTADDRESS$ $ARG1$??????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_smtp??????????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_smtp -H $HOSTADDRESS$ $ARG1$??????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define command{?????????????????????????????????????????????????????????????????????????????? ??????? command_name??? check_tcp???????????????????????????????????????????????????????????? ??????? command_line??? $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$ ??????? } define command{ ??????? command_name??? check_udp ??????? command_line??? $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$ ??????? } define command{ ??????? command_name??? check_nt ??????? command_line??? $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ ??????? } define command{ ??????? command_name check_nrpe ??????? command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ ??????? } define command{ ??????? command_name????? check_LOAD2 ??????? command_line /usr/local/nagios/libexec/check_snmp_load.pl -H $HOSTADDRESS$ -C very4portan7! -w 70,70,70 -c 90,90,90 -T cisco ??????? } define command{ ??????? command_name????? check_fan_power ??????? command_line /usr/local/nagios/libexec/check_snmp_env.pl -H? $HOSTADDRESS$ -C very4portan7!? -T cisco ??????? } define command{ ??????? command_name????? Check_Link ??????? command_line /usr/local/nagios/libexec/check_snmp_int.pl?? -H? $HOSTADDRESS$? -C very4portan7! -n $ARG1$? -r ??????? } define command { ?command_name process-service-perfdata ?command_line?? /usr/local/nagios/lib/nagios/insert.pl? "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" } define command{ ??????? command_name????? Echo ??????? command_line /bin/echo?? $HOSTADDRESS$?? $ARG1$ ??????? } ##############################localhost.cfg define host{????????????????????????????????????????????????????????????????????????????????? ??????? use???????????????????? linux-server??????????? ; Name of host template to use??????? ??????????????????????????????????????????????????????? ; This host definition will inherit all variables that are defined????????????????????????????????????????????????????????????????? ??????? host_name?????????????? localhost???????????????????????????????????????????????????? ??????? alias?????????????????? localhost???????????????????????????????????????????????????? ??????? address???????????????? 127.0.0.1???????????????????????????????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define hostgroup{???????????????????????????????????????????????????????????????????????????? ??????? hostgroup_name? linux-servers ; The name of the hostgroup???????????????????????????? ??????? alias?????????? Linux Servers ; Long name of the group??????????????????????????????? ??????? members???????? localhost???? ; Comma separated list of hosts that belong to this group???????????????????????????????????????????????????????????????????????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define service{?????????????????????????????????????????????????????????????????????????????? ??????? use???????????????????????????? local-service???????? ; Name of service template to use???????????????????????????????????????????????????????????????????????????????????????????? ??????? host_name?????????????????????? localhost???????????????????????????????????????????? ??????? service_description???????????? PING????????????????????????????????????????????????? ??????? check_command?????????????????? check_ping!100.0,20%!500.0,60%??????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define service{?????????????????????????????????????????????????????????????????????????????? ??????? use???????????????????????????? local-service???????? ; Name of service template to use???????????????????????????????????????????????????????????????????????????????????????????? ??????? host_name?????????????????????? localhost???????????????????????????????????????????? ??????? service_description???????????? Root Partition??????????????????????????????????????? ??????? check_command?????????????????? check_local_disk!20%!10%!/??????????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define service{?????????????????????????????????????????????????????????????????????????????? ??????? use???????????????????????????? local-service???????? ; Name of service template to use???????????????????????????????????????????????????????????????????????????????????????????? ??????? host_name?????????????????????? localhost???????????????????????????????????????????? ??????? service_description???????????? Total Processes?????????????????????????????????????? ??????? check_command?????????????????? check_local_procs!250!400!RSZDT?????????????????????? ??????? }???????????????????????????????????????????????????????????????????????????????????? define serviceextinfo {?????????????????????????????????????????????????????????????????????? ?service_description Current Load???????????????????????????????????????????????????????????? ?host_name?????????? localhost??????????????????????????????????????????????????????????????? ?notes_url?????? /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ ?????? icon_image????? graph.gif ?????? icon_image_alt? View graphs } define service{ ??????? use???????????????????????????? local-service???????? ; Name of service template to use ??????? host_name?????????????????????? localhost ??????? service_description???????????? Current Load ??????? check_command?????????????????? check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 ??????? } define service{ ??????? use???????????????????????????? local-service???????? ; Name of service template to use ??????? host_name?????????????????????? localhost ??????? service_description???????????? Swap Usage ??????? check_command?????????????????? check_local_swap!20!10 ??????? } define service{ ??????? use???????????????????????????? local-service???????? ; Name of service template to use ??????? host_name?????????????????????? localhost ??????? service_description???????????? Echo ??????? check_command?????????????????? Echo ??????? notifications_enabled?????????? 0 ??????? } define service{ ??????? use???????????????????????????? local-service???????? ; Name of service template to use ??????? host_name?????????????????????? localhost ??????? service_description???????????? Current Users ??????? check_command?????????????????? check_local_users!20!50 ??????? } define serviceextinfo { ?service_description Current Users ?host_name?????????? localhost ?notes_url?????? /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ Thanks, Aladin __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlitwin at stubhub.com Tue Mar 2 19:40:42 2010 From: mlitwin at stubhub.com (Litwin, Matthew) Date: Tue, 2 Mar 2010 11:40:42 -0700 Subject: Help with nagiosgraph? Message-ID: <6B517B8F-8C4D-4525-AC05-5B2C4E829084@stubhub.com> I thought I might try posting this here in case someone has lots of experience with nagiosgraph. I am setting up nagiosgraph-1.4.1 on a nagos 3.0.6 installation on CentOS 5.2 and I have this peculiar problem where only some of the hosts and services are having their rrd data populating. It seems totally random as to which hosts are being selected, like one or two hosts from most of my hostgroups. Also, which services that are being collected is also spotty. What is even weirder is that the service data that is being collected is getting updated and goes back to when I set everything up, but other hosts don't even have it's host directory under the rrd data root. I have nagiosgraph running in debug mode and I don't see anything particularly offensive, but it does seem to hit an empty perfdata.log that I would expect. I feel data is simply getting missed in the churn or something. Any ideas? Here is a chuck of nagiosgraph.log: Tue Mar 2 18:26:42 2010 insert.pl debug inputdata() Tue Mar 2 18:26:42 2010 insert.pl debug inputdata empty /usr/local/nagios/var/perfdata.log Tue Mar 2 18:26:42 2010 insert.pl debug insert.pl exited Tue Mar 2 18:26:50 2010 insert.pl debug getrules(/usr/local/nagios/nagiosgraph/map) Tue Mar 2 18:26:50 2010 insert.pl debug inputdata() Tue Mar 2 18:26:50 2010 insert.pl debug inputdata empty /usr/local/nagios/var/perfdata.log Tue Mar 2 18:26:50 2010 insert.pl debug insert.pl exited Tue Mar 2 18:26:50 2010 insert.pl debug getrules(/usr/local/nagios/nagiosgraph/map) Tue Mar 2 18:26:50 2010 insert.pl debug inputdata() Tue Mar 2 18:26:50 2010 insert.pl debug inputdata empty /usr/local/nagios/var/perfdata.log Tue Mar 2 18:26:50 2010 insert.pl debug insert.pl exited Tue Mar 2 18:26:50 2010 insert.pl debug getrules(/usr/local/nagios/nagiosgraph/map) Tue Mar 2 18:26:50 2010 insert.pl debug inputdata() Tue Mar 2 18:26:50 2010 insert.pl debug processdata(1) Tue Mar 2 18:26:50 2010 insert.pl debug getdebug(insert, srwc01cca002, CPU Utilization) Tue Mar 2 18:26:50 2010 insert.pl debug getdebug found debug_insert Tue Mar 2 18:26:50 2010 insert.pl debug getdebug found debug_insert_host Tue Mar 2 18:26:50 2010 insert.pl debug processdata data = [ '1267554396', 'srwc01cca002', 'CPU Utilization', 'CPU USAGE OK - 1% (usr=0 sys=0 idle=99)', 'usage=1 usr=0 sys=0 idle=99 ' ]; Tue Mar 2 18:26:50 2010 insert.pl warn perfdata not recognized: servicedescr:CPU Utilization output:CPU USAGE OK - 1% (usr=0 sys=0 idle=99) perfdata:usage=1 usr=0 sys=0 idle=99 Tue Mar 2 18:26:50 2010 insert.pl debug insert.pl exited Tue Mar 2 18:26:50 2010 insert.pl debug getrules(/usr/local/nagios/nagiosgraph/map) Tue Mar 2 18:26:50 2010 insert.pl debug inputdata() Tue Mar 2 18:26:50 2010 insert.pl debug inputdata empty /usr/local/nagios/var/perfdata.log Tue Mar 2 18:26:50 2010 insert.pl debug insert.pl exited Tue Mar 2 18:26:50 2010 insert.pl debug getrules(/usr/local/nagios/nagiosgraph/map) Tue Mar 2 18:26:50 2010 insert.pl debug inputdata() Tue Mar 2 18:26:50 2010 insert.pl debug inputdata empty /usr/local/nagios/var/perfdata.log Tue Mar 2 18:26:50 2010 insert.pl debug insert.pl exited Tue Mar 2 18:26:50 2010 insert.pl debug getrules(/usr/local/nagios/nagiosgraph/map) Tue Mar 2 18:26:50 2010 insert.pl debug inputdata() Tue Mar 2 18:26:50 2010 insert.pl debug inputdata empty /usr/local/nagios/var/perfdata.log Tue Mar 2 18:26:50 2010 insert.pl debug insert.pl exited Tue Mar 2 18:26:50 2010 insert.pl debug getrules(/usr/local/nagios/nagiosgraph/map) Tue Mar 2 18:26:50 2010 insert.pl debug inputdata() Tue Mar 2 18:26:50 2010 insert.pl debug inputdata empty /usr/local/nagios/var/perfdata.log Tue Mar 2 18:26:50 2010 insert.pl debug insert.pl exited Tue Mar 2 18:27:00 2010 insert.pl debug getrules(/usr/local/nagios/nagiosgraph/map) Tue Mar 2 18:27:00 2010 insert.pl debug inputdata() Tue Mar 2 18:27:00 2010 insert.pl debug inputdata empty /usr/local/nagios/var/perfdata.log Tue Mar 2 18:27:00 2010 insert.pl debug insert.pl exited Tue Mar 2 18:27:00 2010 insert.pl debug getrules(/usr/local/nagios/nagiosgraph/map) Tue Mar 2 18:27:00 2010 insert.pl debug inputdata() Thanks, Matthew Litwin mlitwin at stubhub.com 415.222.8475 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From standalone.sysadmin at gmail.com Tue Mar 2 20:34:39 2010 From: standalone.sysadmin at gmail.com (Matt Simmons) Date: Tue, 2 Mar 2010 14:34:39 -0500 Subject: multiple check_interval with single service check In-Reply-To: <6db4a4201003011147x74a51287y86c47e482d04dd7f@mail.gmail.com> References: <6db4a4201003011147x74a51287y86c47e482d04dd7f@mail.gmail.com> Message-ID: <5bcb62b61003021134k4c73fd88wdcc90b8223a44abf@mail.gmail.com> You could write a wrapper around the plugin to check the time of day and execute it as needed. On Mon, Mar 1, 2010 at 2:47 PM, shadih rahman wrote: > All, > ?? Is it possible to use multiple check_interval based on the hours of the > day for a single check?? For example during day time service should be > executed every 15 minutes and during night it will get executed every 2 > hours.? Can someone please show me how its done.? Thanks > > -- > Cordially, > Shadhin Rahman > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Mar 2 20:21:32 2010 From: benny at bennyvision.com (C. Bensend) Date: Tue, 2 Mar 2010 13:21:32 -0600 Subject: Re-send: Notificaitons after the commit In-Reply-To: <5f0bcb7c1003020935m39b617dg47494f0c18e4ef75@mail.gmail.com> References: <4B8BCB89.9020505@flatto.net> <201003021412.AA01570@S2007337.jp.fujitsu.com> <33C7BE4CE80D504E8907FDC31F8A083047BC3F801D@iexchange.I-EVOLVE.com> <5f0bcb7c1003020935m39b617dg47494f0c18e4ef75@mail.gmail.com> Message-ID: > Running nagios -v nagios.cfg haves Nagios verify the configuration, this > is > best practice because otherwise you risk a typo stopping your monitoring > for > the time it takes for you to correct the configuration :-) ... > Tip: don't use restart when you just want Nagios to load new > configuration.Your init script should handle reload instead, which will > send > a HUP signal to Nagios. This means that Nagios doesn't stop and start back > up, it only re-reads the configuration files. > > So, for your specific problem, I think you'd be fine by simply using this > instead: > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > /etc/init.d/nagios reload For exactly this reason, I have had two command aliases for years: preflight (which does a -v against the configuration file to check the sanity of my Nagios configuration) reload (which sends the Nagios process a SIGHUP) I *always* do a preflight before the reload, just to be sure my configuration is sane, no matter how minor a change I made. It's a good habit to be in. Benny -- "Show me on the doll where the marketing touched you." -- "Mally" on Fazed.net ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.wolfe at robertwolfe.org Tue Mar 2 20:44:27 2010 From: robert.wolfe at robertwolfe.org (Wolfe, Robert) Date: Tue, 2 Mar 2010 19:44:27 +0000 Subject: Re-send: Notificaitons after the commit In-Reply-To: References: <4B8BCB89.9020505@flatto.net> <201003021412.AA01570@S2007337.jp.fujitsu.com> <33C7BE4CE80D504E8907FDC31F8A083047BC3F801D@iexchange.I-EVOLVE.com> <5f0bcb7c1003020935m39b617dg47494f0c18e4ef75@mail.gmail.com>, Message-ID: <2ABB2025AF94C94B96CC504384A83438C45FFE@exchange2010.wolfe.local> This is funny because I have script called 'sanity_check' that runs Nagios with the -v switch to check my configs :) ________________________________________ From: C. Bensend [benny at bennyvision.com] Sent: Tuesday, March 02, 2010 2:21 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re-send: Notificaitons after the commit > Running nagios -v nagios.cfg haves Nagios verify the configuration, this > is > best practice because otherwise you risk a typo stopping your monitoring > for > the time it takes for you to correct the configuration :-) ... > Tip: don't use restart when you just want Nagios to load new > configuration.Your init script should handle reload instead, which will > send > a HUP signal to Nagios. This means that Nagios doesn't stop and start back > up, it only re-reads the configuration files. > > So, for your specific problem, I think you'd be fine by simply using this > instead: > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > /etc/init.d/nagios reload For exactly this reason, I have had two command aliases for years: preflight (which does a -v against the configuration file to check the sanity of my Nagios configuration) reload (which sends the Nagios process a SIGHUP) I *always* do a preflight before the reload, just to be sure my configuration is sane, no matter how minor a change I made. It's a good habit to be in. Benny -- "Show me on the doll where the marketing touched you." -- "Mally" on Fazed.net ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.wolfe at robertwolfe.org Tue Mar 2 19:19:03 2010 From: robert.wolfe at robertwolfe.org (Wolfe, Robert) Date: Tue, 2 Mar 2010 18:19:03 +0000 Subject: Re-send: Notificaitons after the commit In-Reply-To: <5f0bcb7c1003020935m39b617dg47494f0c18e4ef75@mail.gmail.com> References: <4B8BCB89.9020505@flatto.net> <201003021412.AA01570@S2007337.jp.fujitsu.com> <33C7BE4CE80D504E8907FDC31F8A083047BC3F801D@iexchange.I-EVOLVE.com>, <5f0bcb7c1003020935m39b617dg47494f0c18e4ef75@mail.gmail.com> Message-ID: <2ABB2025AF94C94B96CC504384A83438C45FC7@exchange2010.wolfe.local> I know that. However, I always run the command with the -v immediately after making changes. After I have verified the changes work, then I restart Nagios. But, I guess the old adage "There is more than one way to skin a cat" can apply here, yes? :) ________________________________ From: Martin Melin [martinm at op5.org] Sent: Tuesday, March 02, 2010 12:35 PM To: Robert Wolfe Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re-send: Notificaitons after the commit 2010/3/2 Robert Wolfe > I am curious here... If all you are doing is restarting Nagios, why not just use: /etc/init.d/nagios restart Instead of all the other commands and parameters? Running nagios -v nagios.cfg haves Nagios verify the configuration, this is best practice because otherwise you risk a typo stopping your monitoring for the time it takes for you to correct the configuration :-) -----Original Message----- From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] Sent: Tuesday, March 02, 2010 9:12 AM To: Assaf Flatto Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re-send: Notificaitons after the commit Hello Assaf Sorry, for ambiguous expression. Word "Commit", I used in the meaning of executing the following command, /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios restart Tip: don't use restart when you just want Nagios to load new configuration.Your init script should handle reload instead, which will send a HUP signal to Nagios. This means that Nagios doesn't stop and start back up, it only re-reads the configuration files. So, for your specific problem, I think you'd be fine by simply using this instead: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios reload And yes. After the above command, the notification that was been occuring every 24hours before then suddenly stopped. So, I doubted the restart procedure if this is doing something wrond. Check your retention settings in nagios.cfg, especially retention_update_interval and retain_state_information. -- Martin Melin ____________________________ op5 AB http://www.op5.com http://www.op5.org/ http://www.op5.com/op5/products/network-monitor/nagios/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 2 20:43:09 2010 From: marc at ena.com (Marc Powell) Date: Tue, 2 Mar 2010 13:43:09 -0600 Subject: Re-send: Notificaitons after the commit In-Reply-To: <5f0bcb7c1003020935m39b617dg47494f0c18e4ef75@mail.gmail.com> References: <4B8BCB89.9020505@flatto.net> <201003021412.AA01570@S2007337.jp.fujitsu.com> <33C7BE4CE80D504E8907FDC31F8A083047BC3F801D@iexchange.I-EVOLVE.com> <5f0bcb7c1003020935m39b617dg47494f0c18e4ef75@mail.gmail.com> Message-ID: On Mar 2, 2010, at 11:35 AM, Martin Melin wrote: > 2010/3/2 Robert Wolfe > I am curious here... > > If all you are doing is restarting Nagios, why not just use: > > /etc/init.d/nagios restart > > Instead of all the other commands and parameters? > > Running nagios -v nagios.cfg haves Nagios verify the configuration, this is best practice because otherwise you risk a typo stopping your monitoring for the time it takes for you to correct the configuration :-) The init script already does this and doesn't restart if verification fails. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.wolfe at robertwolfe.org Tue Mar 2 23:01:57 2010 From: robert.wolfe at robertwolfe.org (Wolfe, Robert) Date: Tue, 2 Mar 2010 22:01:57 +0000 Subject: Re-send: Notificaitons after the commit In-Reply-To: References: <4B8BCB89.9020505@flatto.net> <201003021412.AA01570@S2007337.jp.fujitsu.com> <33C7BE4CE80D504E8907FDC31F8A083047BC3F801D@iexchange.I-EVOLVE.com> <5f0bcb7c1003020935m39b617dg47494f0c18e4ef75@mail.gmail.com>, Message-ID: <2ABB2025AF94C94B96CC504384A83438C46038@exchange2010.wolfe.local> So consider me a little more educated :) ________________________________________ From: Marc Powell [marc at ena.com] Sent: Tuesday, March 02, 2010 2:43 PM To: nagios-users Mailinglist Subject: Re: [Nagios-users] Re-send: Notificaitons after the commit On Mar 2, 2010, at 11:35 AM, Martin Melin wrote: > 2010/3/2 Robert Wolfe > I am curious here... > > If all you are doing is restarting Nagios, why not just use: > > /etc/init.d/nagios restart > > Instead of all the other commands and parameters? > > Running nagios -v nagios.cfg haves Nagios verify the configuration, this is best practice because otherwise you risk a typo stopping your monitoring for the time it takes for you to correct the configuration :-) The init script already does this and doesn't restart if verification fails. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andres at photoplankton.com Tue Mar 2 22:07:14 2010 From: andres at photoplankton.com (Andres L. Figari) Date: Tue, 2 Mar 2010 13:07:14 -0800 Subject: cgi_base_url - change in latest build? Message-ID: Hello, Recently my monitor server crashed and I decided to go with a the latest version of Nagios rather than backups. I did not really notice the automatic update feature - though I may have opted for it anyhow. Suddenly my cgis are not working: The requested URL /nagios/cgi-bin/status.cgi was not found on this server. I had my cgi.cnf set up like this... url_html_path=/ Anyone know what it was that changed that I cannot configure this anymore via the cgi.cnf? I read the update notes and could not tell any mention of the cgi_base_url nor url_html_path Thanks for any help! Regards, Andres -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andres at photoplankton.com Tue Mar 2 23:13:37 2010 From: andres at photoplankton.com (Andres L. Figari) Date: Tue, 2 Mar 2010 14:13:37 -0800 Subject: cgi_base_url - change in latest build? References: Message-ID: <2BD59FC5990E4A5BB219A3A64E02852B@netbookito> BTW - i got a work around by editing my httpd.conf file - but still curios as to how I can have control of this... Thanks! Andres ----- Original Message ----- From: Andres L. Figari To: nagios-users at lists.sourceforge.net Sent: Tuesday, March 02, 2010 1:07 PM Subject: [Nagios-users] cgi_base_url - change in latest build? Hello, Recently my monitor server crashed and I decided to go with a the latest version of Nagios rather than backups. I did not really notice the automatic update feature - though I may have opted for it anyhow. Suddenly my cgis are not working: The requested URL /nagios/cgi-bin/status.cgi was not found on this server. I had my cgi.cnf set up like this... url_html_path=/ Anyone know what it was that changed that I cannot configure this anymore via the cgi.cnf? I read the update notes and could not tell any mention of the cgi_base_url nor url_html_path Thanks for any help! Regards, Andres ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.733 / Virus Database: 271.1.1/2718 - Release Date: 03/01/10 23:34:00 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 2 23:54:54 2010 From: marc at ena.com (Marc Powell) Date: Tue, 2 Mar 2010 16:54:54 -0600 Subject: cgi_base_url - change in latest build? In-Reply-To: References: Message-ID: On Mar 2, 2010, at 3:07 PM, Andres L. Figari wrote: > Hello, > > Recently my monitor server crashed and I decided to go with a the latest version of Nagios rather than backups. I did not really notice the automatic update feature - though I may have opted for it anyhow. Suddenly my cgis are not working: > > The requested URL /nagios/cgi-bin/status.cgi was not found on this server. > > I had my cgi.cnf set up like this... > > url_html_path=/ > Anyone know what it was that changed that I cannot configure this anymore via the cgi.cnf It's a compile-time option -- $ ./configure --help `configure' configures this package to adapt to many kinds of systems. Usage: ./configure [OPTION]... [VAR=VALUE]... {snip} --with-cgiurl= sets URL for cgi programs (do not use a trailing slash) --with-htmurl= sets URL for public html I expect you previously used '--with-htmurl= --with-cgiurl=/cgi-bin' for your old install. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andres at photoplankton.com Wed Mar 3 00:39:46 2010 From: andres at photoplankton.com (Andres L. Figari) Date: Tue, 2 Mar 2010 15:39:46 -0800 Subject: cgi_base_url - change in latest build? References: Message-ID: <1AC6B24958FD4A809A098F6FA68A3F94@netbookito> Thanks - no I did not set anything in my configure out of the ordinary, I did the whole install with defaults and then edited the cgi.cnf and it worked. I just changed my httpd.conf file and it fixed itself anyhow - thanks again! Andres ----- Original Message ----- From: "Marc Powell" To: "nagios-users Mailinglist" Sent: Tuesday, March 02, 2010 2:54 PM Subject: Re: [Nagios-users] cgi_base_url - change in latest build? > > On Mar 2, 2010, at 3:07 PM, Andres L. Figari wrote: > >> Hello, >> >> Recently my monitor server crashed and I decided to go with a the latest >> version of Nagios rather than backups. I did not really notice the >> automatic update feature - though I may have opted for it anyhow. >> Suddenly my cgis are not working: >> >> The requested URL /nagios/cgi-bin/status.cgi was not found on this >> server. >> >> I had my cgi.cnf set up like this... >> >> url_html_path=/ >> Anyone know what it was that changed that I cannot configure this anymore >> via the cgi.cnf > > > It's a compile-time option -- > > $ ./configure --help > `configure' configures this package to adapt to many kinds of systems. > > Usage: ./configure [OPTION]... [VAR=VALUE]... > > {snip} > > --with-cgiurl= sets URL for cgi programs (do not use a trailing > slash) > --with-htmurl= sets URL for public html > > > I expect you previously used '--with-htmurl= --with-cgiurl=/cgi-bin' for > your old install. > > -- > Marc > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.733 / Virus Database: 271.1.1/2718 - Release Date: 03/01/10 23:34:00 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at baerconsult.com Wed Mar 3 01:07:04 2010 From: matt at baerconsult.com (Matt Baer) Date: Tue, 2 Mar 2010 18:07:04 -0600 (CST) Subject: Getting Notifications Outside of Defined Time Periods Message-ID: <30703051.403.1267574824110.JavaMail.root@mail> I'm having an issue with Nagios sending me notifications during time periods that are not included within the designated period. I've tested this by setting the time period to 'never', restarting Nagios and I STILL get notifications. I have a backup that runs on my Mail Server 3-4 times a week. In order to do the backup process, I have to down my mail server. So you can imagine that I'm getting dozens of emails at very early times in the morning. Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinm at op5.org Wed Mar 3 02:07:50 2010 From: martinm at op5.org (Martin Melin) Date: Wed, 3 Mar 2010 02:07:50 +0100 Subject: Getting Notifications Outside of Defined Time Periods In-Reply-To: <30703051.403.1267574824110.JavaMail.root@mail> References: <30703051.403.1267574824110.JavaMail.root@mail> Message-ID: <5f0bcb7c1003021707t3ec7d67eq607d36276d96aca2@mail.gmail.com> It sounds like the check_time_period of your checks is not being set to what you think it is. I suggest that you use config.cgi (View Config in the sidebar menu) to check what Nagios is actually using as the running configuration. Go to Services, check the Check Period value. Then go to Time Periods and verify what the definition of that Check Period alias is ("never" is not a magic word, it is just an alias so it could conceivably be something else than never). On Wed, Mar 3, 2010 at 1:07 AM, Matt Baer wrote: > I'm having an issue with Nagios sending me notifications during time > periods that are not included within the designated period. I've tested > this by setting the time period to 'never', restarting Nagios and I STILL > get notifications. > > I have a backup that runs on my Mail Server 3-4 times a week. In order to > do the backup process, I have to down my mail server. So you can imagine > that I'm getting dozens of emails at very early times in the morning. Any > ideas? > > -- Martin Melin May your delusions be benign and your compulsions have utility ____________________________ op5 AB http://www.op5.com http://www.op5.org/ http://www.op5.com/op5/products/network-monitor/nagios/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at baerconsult.com Wed Mar 3 04:28:34 2010 From: matt at baerconsult.com (Matt Baer) Date: Tue, 2 Mar 2010 21:28:34 -0600 (CST) Subject: Getting Notifications Outside of Defined Time Periods In-Reply-To: <20612836.421.1267584759985.JavaMail.root@mail> References: <20612836.421.1267584759985.JavaMail.root@mail> Message-ID: <25548103.424.1267586914247.JavaMail.root@mail> SImply genious . That appears to be the issue, but I haven't a clue how to fix it, as it appears to be a formatting error. Here's what the cfg file shows: # Mail Server Downtime define timeperiod{ timeperiod_name MailServ alias Monitored 24x7 Except During A Backup sunday 00:00-02:45,03:30-24:00 monday 00:00-02:45,03:30-24:00 tuesday 00:00-02:45,03:30-24:00 wednesday 00:00-02:45,03:30-24:00 thursday 00:00-02:45,03:30-24:00 friday 00:00-02:45,03:30-24:00 saturday 00:00-02:45,03:30-24:00 } And here's what's given with the method you described: MailServ Monitored 24x7 Except During A Backup sunday 03:30:00 - 24:00:00, 00:00:00 - 02:45:00 monday 03:30:00 - 24:00:00, 00:00:00 - 02:45:00 tuesday 03:30:00 - 24:00:00, 00:00:00 - 02:45:00 wednesday 03:30:00 - 24:00:00, 00:00:00 - 02:45:00 thursday 03:30:00 - 24:00:00, 00:00:00 - 02:45:00 friday 03:30:00 - 24:00:00, 00:00:00 - 02:45:00 saturday 03:30:00 - 24:00:00, 00:00:00 - 02:45:00 Is the formatting an issue? define host{ use generic-host host_name Mail alias Mail_Server address 10.0.0.10 check_command check-host-alive max_check_attempts 10 notification_interval 10 notification_period MailServ notification_options d,u,r } ----- Original Message ----- From: "Martin Melin" To: "Matt Baer" Cc: "nagios-users" Sent: Tuesday, March 2, 2010 7:07:50 PM Subject: Re: [Nagios-users] Getting Notifications Outside of Defined Time Periods It sounds like the check_time_period of your checks is not being set to what you think it is. I suggest that you use config.cgi (View Config in the sidebar menu) to check what Nagios is actually using as the running configuration. Go to Services, check the Check Period value. Then go to Time Periods and verify what the definition of that Check Period alias is ("never" is not a magic word, it is just an alias so it could conceivably be something else than never). On Wed, Mar 3, 2010 at 1:07 AM, Matt Baer < matt at baerconsult.com > wrote: I'm having an issue with Nagios sending me notifications during time periods that are not included within the designated period. I've tested this by setting the time period to 'never', restarting Nagios and I STILL get notifications. I have a backup that runs on my Mail Server 3-4 times a week. In order to do the backup process, I have to down my mail server. So you can imagine that I'm getting dozens of emails at very early times in the morning. Any ideas? -- Martin Melin May your delusions be benign and your compulsions have utility ____________________________ op5 AB http://www.op5.com http://www.op5.org/ http://www.op5.com/op5/products/network-monitor/nagios/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Wed Mar 3 05:30:42 2010 From: jashokda at cisco.com (Jatin Davey) Date: Wed, 03 Mar 2010 10:00:42 +0530 Subject: Monitor Java Process In-Reply-To: <5f0f8dba1003020610n53fd810fgff37b8a1b497b3@mail.gmail.com> References: <4B8CF5E8.7000206@cisco.com> <5f0f8dba1003020610n53fd810fgff37b8a1b497b3@mail.gmail.com> Message-ID: <4B8DE5F2.7050707@cisco.com> my remote box where i need to monitor the java process is a windows box , googled on how to monitor windows boxes i found that i needed to install nsclient++ i want to know whether i can now use the check_procs plugin now to monitor the remotely running java process using the check_procs plugin in nagios. Please let me know about it. Thanks Jatin On 3/2/2010 7:40 PM, Asrai khn wrote: > > > On Tue, Mar 2, 2010 at 4:26 PM, Jatin Davey > wrote: > > Hi > > I want to know how i can monitor the java process running on > remote box > , basically i want to keep monitoring it and raise an email alert > if it > has re-started or stopped functioning. Please let me know how this can > be achieved using nagios. > > > You can monitor process on remote box using nrpe + check_procs > > 1. you have to install nrpe on remote box > 2. and then have to configure command in nrpe.cfg eg check_procs > > for more infor > > ./check_procs -h > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 3 09:00:43 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 3 Mar 2010 08:00:43 +0000 Subject: Getting Notifications Outside of Defined Time Periods In-Reply-To: <30703051.403.1267574824110.JavaMail.root@mail> References: <30703051.403.1267574824110.JavaMail.root@mail> Message-ID: <765d77c81003030000t56ab59f4mf5921c0cfec4f0d2@mail.gmail.com> On 3 March 2010 00:07, Matt Baer wrote: > I'm having an issue with Nagios sending me notifications during time periods > that are not included within the designated period.? I've tested this by > setting the time period to 'never', restarting Nagios and I STILL get > notifications. > > I have a backup that runs on my Mail Server 3-4 times a week.? In order to > do the backup process, I have to down my mail server.? So you can imagine > that I'm getting dozens of emails at very early times in the morning.? Any > ideas? There were some problems with timeperiod processing in earlier versions of Nagios 3. If you haven't already, I'd recommend upgrading to the latest stable release. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Wed Mar 3 09:19:55 2010 From: jashokda at cisco.com (Jatin Davey) Date: Wed, 03 Mar 2010 13:49:55 +0530 Subject: Monitor Java Process In-Reply-To: References: <4B8CF5E8.7000206@cisco.com> <765d77c81003020535v7b38fde4i12306b5b15d82fe8@mail.gmail.com> Message-ID: <4B8E1BAB.2070809@cisco.com> Hi Edwin Did you mean that you are using the Process ID of the process running on the remote box to monitor its status ? Thanks Jatin On 3/2/2010 8:10 PM, Edwin Zoeller wrote: > We monitor the port number assigned to the process. > > -----Original Message----- > From: Jim Avery [mailto:jim at jimavery.me.uk] > Sent: Tuesday, March 02, 2010 7:35 AM > To: Jatin Davey > Cc: Nagios Mailinglist > Subject: Re: [Nagios-users] Monitor Java Process > > On 2 March 2010 11:26, Jatin Davey wrote: > >> Hi >> >> I want to know how i can monitor the java process running on remote >> box , basically i want to keep monitoring it and raise an email alert >> if it has re-started or stopped functioning. Please let me know how >> this can be achieved using nagios. >> >> Thanks >> Jatin >> > > Someone hereabouts recently mentioned you can use jmx4perl > http://labs.consol.de/lang/de/jmx4perl/ > > I can't say I've tried it myself yet. > > ------------------------------------------------------------------------ > ------ > Download Intel® Parallel Studio Eval Try the new software tools for > yourself. Speed compiling, find bugs proactively, and fine-tune > applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wadud.miah at stfc.ac.uk Wed Mar 3 11:43:50 2010 From: wadud.miah at stfc.ac.uk (wadud.miah at stfc.ac.uk) Date: Wed, 3 Mar 2010 10:43:50 -0000 Subject: notifications for a passive Nagios check Message-ID: I have a Nagios passive check which doesn't send out any alerts when it's in a critical status: define service{ name hpcsg-service register 0 max_check_attempts 3 normal_check_interval 30 retry_check_interval 1 active_checks_enabled 0 passive_checks_enabled 1 check_period 24x7 check_freshness 0 obsess_over_service 0 notification_interval 0 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups hpcsg } define service{ use hpcsg-service name r89-service register 0 contact_groups r89 check_freshness 0 active_checks_enabled 0 passive_checks_enabled 1 notifications_enabled 1 } define service{ use r89-service host_name r89-trap.esc.rl.ac.uk service_description hpd-crac-07 check_command none } define command{ command_name none command_line /bin/true } The GCI shows that the hpd-crac-07 check has notifications enabled, but when I "view notifications for this service", it hasn't sent any. We have similar checks in place that do send notifications, but the key difference here is that the above check is a purely passive one, i.e. it only receives check results. Thanks in advance. ------------ Wadud Miah Scientific Computing Systems Support, eScience Rutherford Appleton Laboratory, STFC ------------ -- Scanned by iCritical. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 3 13:13:12 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 3 Mar 2010 12:13:12 +0000 Subject: notifications for a passive Nagios check In-Reply-To: References: Message-ID: <765d77c81003030413n9e7c0fag9a2beb3393e073f6@mail.gmail.com> On 3 March 2010 10:43, wrote: > I have a Nagios passive check which doesn't send out any alerts when > it's in a critical status: > > define service{ > ?name ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?hpcsg-service > ?register ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?0 > > ?max_check_attempts ? ? ? ? ? ? ? ? ? ?3 > ?normal_check_interval ? ? ? ? ? ? ? ? 30 > ?retry_check_interval ? ? ? ? ? ? ? ? ?1 > ?active_checks_enabled ? ? ? ? ? ? ? ? 0 > ?passive_checks_enabled ? ? ? ? ? ? ? ?1 > ?check_period ? ? ? ? ? ? ? ? ? ? ? ? ?24x7 > ?check_freshness ? ? ? ? ? ? ? ? ? ? ? 0 > ?obsess_over_service ? ? ? ? ? ? ? ? ? 0 > ?notification_interval ? ? ? ? ? ? ? ? 0 > ?notification_period ? ? ? ? ? ? ? ? ? 24x7 > ?notification_options ? ? ? ? ? ? ? ? ?w,u,c,r > ?notifications_enabled ? ? ? ? ? ? ? ? 1 > ?contact_groups ? ? ? ? ? ? ? ? ? ? ? ?hpcsg > } > > define service{ > ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? hpcsg-service > > ?name ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?r89-service > ?register ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?0 > ?contact_groups ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?r89 > > ?check_freshness ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0 > ?active_checks_enabled ? ? ? ? ? ? ? ? ? ? ? ? 0 > ?passive_checks_enabled ? ? ? ? ? ? ? ? ? ? ? ?1 > ?notifications_enabled ? ? ? ? ? ? ? ? ? ? ? ? 1 > } > > define service{ > ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? r89-service > > ?host_name ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? r89-trap.esc.rl.ac.uk > ?service_description ? ? ? ? ? ? ? ? ? ? ? ? ? hpd-crac-07 > ?check_command ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? none > } > > define command{ > ? ? ? ?command_name ? ?none > ? ? ? ?command_line ? ?/bin/true > } > > The GCI shows that the hpd-crac-07 check has notifications enabled, but > when I "view notifications for this service", it hasn't sent any. We > have similar checks in place that do send notifications, but the key > difference here is that the above check is a purely passive one, i.e. it > only receives check results. Is the service still in a soft state? Notifications are only usually sent when the service goes in to a hard state. If the passive check is only sent once to indicate a critital or warning state, I believe you will need to set max_check_attempts to 1. To make sure your templates are being applied correctly, take a look at what does the service definition looks like in your objects.cache file. hth, Jim ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wadud.miah at stfc.ac.uk Wed Mar 3 12:58:56 2010 From: wadud.miah at stfc.ac.uk (wadud.miah at stfc.ac.uk) Date: Wed, 3 Mar 2010 11:58:56 -0000 Subject: notifications for a passive Nagios check In-Reply-To: References: Message-ID: I've found the "fault". It was the max_check_attempts, which I should have set to unity! -----Original Message----- From: wadud.miah at stfc.ac.uk [mailto:wadud.miah at stfc.ac.uk] Sent: 03 March 2010 10:44 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] notifications for a passive Nagios check I have a Nagios passive check which doesn't send out any alerts when it's in a critical status: define service{ name hpcsg-service register 0 max_check_attempts 3 normal_check_interval 30 retry_check_interval 1 active_checks_enabled 0 passive_checks_enabled 1 check_period 24x7 check_freshness 0 obsess_over_service 0 notification_interval 0 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups hpcsg } define service{ use hpcsg-service name r89-service register 0 contact_groups r89 check_freshness 0 active_checks_enabled 0 passive_checks_enabled 1 notifications_enabled 1 } define service{ use r89-service host_name r89-trap.esc.rl.ac.uk service_description hpd-crac-07 check_command none } define command{ command_name none command_line /bin/true } The GCI shows that the hpd-crac-07 check has notifications enabled, but when I "view notifications for this service", it hasn't sent any. We have similar checks in place that do send notifications, but the key difference here is that the above check is a purely passive one, i.e. it only receives check results. Thanks in advance. ------------ Wadud Miah Scientific Computing Systems Support, eScience Rutherford Appleton Laboratory, STFC ------------ -- Scanned by iCritical. ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Scanned by iCritical. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marty at supine.com Wed Mar 3 13:20:29 2010 From: marty at supine.com (Martin Barry) Date: Wed, 3 Mar 2010 23:20:29 +1100 Subject: on call rotation with check In-Reply-To: <6db4a4201003020641m45019b65mf725346172ff5359@mail.gmail.com> References: <6db4a4201003020641m45019b65mf725346172ff5359@mail.gmail.com> Message-ID: <20100303122029.GD7102@tigger.mamista.net> $quoted_author = "shadih rahman" ; > > Is it possible to maintain a on call rotation via a service check? Also > possibly pass in a nagios username to update the on call rotation? Please > advise on this. Thanks At $JOB[-1] we had a custom notification which understood our oncall system. It was a simple Perl script with a text configuration file but it would be straightforward to query a DB or some other data source. cheers Marty ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Wed Mar 3 13:59:04 2010 From: jashokda at cisco.com (Jatin Davey) Date: Wed, 03 Mar 2010 18:29:04 +0530 Subject: Sending email notifications Message-ID: <4B8E5D18.8080104@cisco.com> I had a requirement to monitor Java process on my windows server and send an email if it goes down. I have achieved adding the monitoring of java process on my nagios setup , i have no clue what to do get nagios send notifications. Anyone knows please let me know the steps involved. Thanks Jatin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From APereira at rha.ca Wed Mar 3 14:30:31 2010 From: APereira at rha.ca (Antonio Pereira) Date: Wed, 3 Mar 2010 08:30:31 -0500 Subject: VMware Appliance Message-ID: <939A24AB672E21498A735FC3CB10DBCAFC07B50A4D@rha-exchange1.rha-dc.mtl.rha.ca> Hello All, I was looking around for VMware nagios appliance and I see a couple but they are old and I can't find any to download. Is there anymore of these around? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From georgyboy at gmail.com Wed Mar 3 17:32:25 2010 From: georgyboy at gmail.com (Jorge Gil) Date: Wed, 3 Mar 2010 17:32:25 +0100 Subject: perl scripts (check_squid.pl) Message-ID: <605203aa1003030832m208f2867u23de15f98d78ef55@mail.gmail.com> Hi everyone! First of all, thank you for your help to everyone, since I am learning a lot from the "cases" that get solved in this mailing list. I am quite new to Nagios, but it s already watching my network and showing it greenly beautiful.. the thing that makes me write you is that I downloaded check_squid.pl and it looks fine from the command line. I read from some of you that this is not the way to test it, but the first check_squid.pl that I got didnt even work from the command line. Anyway, I tried to call the command like that, like sudo, like the perl interpreter, googled quite a bit, and still nagios gets "null" as output (very differently from the OK command line) Is any of you using check_squid.pl? How did you make it work from the nagios.cfg, please? Thank you so much! Warm regards, Jorge -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgargiullo at pivotpointsecurity.com Wed Mar 3 16:41:58 2010 From: mgargiullo at pivotpointsecurity.com (Michael Gargiullo) Date: Wed, 3 Mar 2010 10:41:58 -0500 Subject: Monitor Java Process In-Reply-To: <4B8E1BAB.2070809@cisco.com> References: <4B8CF5E8.7000206@cisco.com><765d77c81003020535v7b38fde4i12306b5b15d82fe8@mail.gmail.com> <4B8E1BAB.2070809@cisco.com> Message-ID: -----Original Message----- From: Jatin Davey [mailto:jashokda at cisco.com] Sent: Wednesday, March 03, 2010 3:20 AM To: Edwin Zoeller Cc: Nagios Mailinglist Subject: Re: [Nagios-users] Monitor Java Process Hi Edwin Did you mean that you are using the Process ID of the process running on the remote box to monitor its status ? Thanks Jatin On 3/2/2010 8:10 PM, Edwin Zoeller wrote: > We monitor the port number assigned to the process. > > -----Original Message----- > From: Jim Avery [mailto:jim at jimavery.me.uk] > Sent: Tuesday, March 02, 2010 7:35 AM > To: Jatin Davey > Cc: Nagios Mailinglist > Subject: Re: [Nagios-users] Monitor Java Process > > On 2 March 2010 11:26, Jatin Davey wrote: > >> Hi >> >> I want to know how i can monitor the java process running on remote >> box , basically i want to keep monitoring it and raise an email alert >> if it has re-started or stopped functioning. Please let me know how >> this can be achieved using nagios. >> >> Thanks >> Jatin >> > > Someone hereabouts recently mentioned you can use jmx4perl > http://labs.consol.de/lang/de/jmx4perl/ > > I can't say I've tried it myself yet. > > ------------------------------------------------------------------------ If I understand this, you have a java process that you want to monitor. To see if the process is 'running' your best bet is using check_proc, however, if you want to see if the process is still functioning and not hung, you'll need to interact with the process. As Edwin stated, if your process opens a port, you can connect to it and check for a default response using check_tcp (or udp). If you wrote the java process (or have access to the developers) you can ask that they build in monitoring responses. I have a java listener that I added a hook for a specific string. If I send a specific string to its UDP port, it returns it's PID and Timestamp. What does the Java process do? If it doesn't open a port, does it write to its log that you can check modification times on? If you can interact with the process you can monitor it. If it just runs and doesn't interact with others, you can at least monitor that the process is still running. In general if you can check its health manually, you can write something for Nagios to use. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From standalone.sysadmin at gmail.com Wed Mar 3 18:12:34 2010 From: standalone.sysadmin at gmail.com (Matt Simmons) Date: Wed, 3 Mar 2010 12:12:34 -0500 Subject: Sending email notifications In-Reply-To: <4B8E5D18.8080104@cisco.com> References: <4B8E5D18.8080104@cisco.com> Message-ID: <5bcb62b61003030912v39011251h998783bbdb7fffae@mail.gmail.com> By default, at the top of your commands.cfg file, you'll see things like "notify-host-by-email" and "notify-service-by-email". Those are commands that work in conjunction with the configuration specified in contacts.cfg. Essentially, all of your services and hosts have or inherit a "contact_groups" setting. That group name should be in contacts.cfg, and it should have all of the appropriate contacts listed in it. (see Nagios Object Definitions for more info: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html ) Assuming this is the case, and Nagios starts correctly without a configuration error, there's probably an issue with your mail. Check the email address that you have for your contacts. Is it correct? Assuming so, can you send an email from the command line? Try echo "test 1" | mail -s "test 1" contactemail at whatever If you receive the email, but Nagios still doesn't send it, make sure that you are able to run 'sendmail' as the nagios user (aside: people who know more than me: does Nagios invoke sendmail as the default MTA?). I'm going to guess that you can't send mail from the command line either, and that's probably because your MTA isn't setup correctly. Check your /var/log/maillog and your Sendmail (or postfix if you're lucky) configuration. For better advice, I'd need more info on what was going wrong, according to the results of the test and the log output. Good Luck. --Matt On Wed, Mar 3, 2010 at 7:59 AM, Jatin Davey wrote: > I had a requirement to monitor Java process on my windows server and > send an email if it goes down. > I have achieved adding the monitoring of java process on my nagios setup > , i have no clue what to do get nagios send notifications. > Anyone knows please let me know the steps involved. > > Thanks > Jatin > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 3 18:33:32 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 3 Mar 2010 17:33:32 +0000 Subject: VMware Appliance In-Reply-To: <939A24AB672E21498A735FC3CB10DBCAFC07B50A4D@rha-exchange1.rha-dc.mtl.rha.ca> References: <939A24AB672E21498A735FC3CB10DBCAFC07B50A4D@rha-exchange1.rha-dc.mtl.rha.ca> Message-ID: <765d77c81003030933i7505203v7bbca95f736ba782@mail.gmail.com> On 3 March 2010 13:30, Antonio Pereira wrote: > I was looking around for VMware nagios appliance and I see a couple but they > are old and I can't find any to download. Is there anymore of these around? Correct me if I'm wrong, but isn't Nagios XI supplied as a VMWare appliance? http://www.nagios.com/products/nagiosxi ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Wed Mar 3 18:47:11 2010 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Wed, 3 Mar 2010 11:47:11 -0600 Subject: Monitor Java Process In-Reply-To: References: <4B8CF5E8.7000206@cisco.com><765d77c81003020535v7b38fde4i12306b5b15d82fe8@mail.gmail.com><4B8E1BAB.2070809@cisco.com> Message-ID: No not the PID since that changes but the actual port assigned to the WAS application. A port is assigned when the WAS java application is created. -----Original Message----- From: Michael Gargiullo [mailto:mgargiullo at pivotpointsecurity.com] Sent: Wednesday, March 03, 2010 9:42 AM To: Nagios Mailinglist Subject: Re: [Nagios-users] Monitor Java Process -----Original Message----- From: Jatin Davey [mailto:jashokda at cisco.com] Sent: Wednesday, March 03, 2010 3:20 AM To: Edwin Zoeller Cc: Nagios Mailinglist Subject: Re: [Nagios-users] Monitor Java Process Hi Edwin Did you mean that you are using the Process ID of the process running on the remote box to monitor its status ? Thanks Jatin On 3/2/2010 8:10 PM, Edwin Zoeller wrote: > We monitor the port number assigned to the process. > > -----Original Message----- > From: Jim Avery [mailto:jim at jimavery.me.uk] > Sent: Tuesday, March 02, 2010 7:35 AM > To: Jatin Davey > Cc: Nagios Mailinglist > Subject: Re: [Nagios-users] Monitor Java Process > > On 2 March 2010 11:26, Jatin Davey wrote: > >> Hi >> >> I want to know how i can monitor the java process running on remote >> box , basically i want to keep monitoring it and raise an email alert >> if it has re-started or stopped functioning. Please let me know how >> this can be achieved using nagios. >> >> Thanks >> Jatin >> > > Someone hereabouts recently mentioned you can use jmx4perl > http://labs.consol.de/lang/de/jmx4perl/ > > I can't say I've tried it myself yet. > > ------------------------------------------------------------------------ If I understand this, you have a java process that you want to monitor. To see if the process is 'running' your best bet is using check_proc, however, if you want to see if the process is still functioning and not hung, you'll need to interact with the process. As Edwin stated, if your process opens a port, you can connect to it and check for a default response using check_tcp (or udp). If you wrote the java process (or have access to the developers) you can ask that they build in monitoring responses. I have a java listener that I added a hook for a specific string. If I send a specific string to its UDP port, it returns it's PID and Timestamp. What does the Java process do? If it doesn't open a port, does it write to its log that you can check modification times on? If you can interact with the process you can monitor it. If it just runs and doesn't interact with others, you can at least monitor that the process is still running. In general if you can check its health manually, you can write something for Nagios to use. ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at i-evolve.com Wed Mar 3 22:33:39 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Wed, 3 Mar 2010 16:33:39 -0500 Subject: VMware Appliance In-Reply-To: <765d77c81003030933i7505203v7bbca95f736ba782@mail.gmail.com> References: <939A24AB672E21498A735FC3CB10DBCAFC07B50A4D@rha-exchange1.rha-dc.mtl.rha.ca> <765d77c81003030933i7505203v7bbca95f736ba782@mail.gmail.com> Message-ID: <33C7BE4CE80D504E8907FDC31F8A083047BC3F8037@iexchange.I-EVOLVE.com> I believe so, but I believe the XI version is a commercial version of Nagios. -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Wednesday, March 03, 2010 12:34 PM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] VMware Appliance On 3 March 2010 13:30, Antonio Pereira wrote: > I was looking around for VMware nagios appliance and I see a couple but they > are old and I can't find any to download. Is there anymore of these around? Correct me if I'm wrong, but isn't Nagios XI supplied as a VMWare appliance? http://www.nagios.com/products/nagiosxi ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyarusso at nagios.com Wed Mar 3 23:00:30 2010 From: tyarusso at nagios.com (Tony Yarusso) Date: Wed, 03 Mar 2010 16:00:30 -0600 Subject: VMware Appliance In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A083047BC3F8037@iexchange.I-EVOLVE.com> References: <939A24AB672E21498A735FC3CB10DBCAFC07B50A4D@rha-exchange1.rha-dc.mtl.rha.ca> <765d77c81003030933i7505203v7bbca95f736ba782@mail.gmail.com> <33C7BE4CE80D504E8907FDC31F8A083047BC3F8037@iexchange.I-EVOLVE.com> Message-ID: <4B8EDBFE.3030202@nagios.com> On 3/3/2010 3:33 PM, Robert Wolfe wrote: > I believe so, but I believe the XI version is a commercial version of Nagios. > That is correct. >> I was looking around for VMware nagios appliance and I see a couple but they >> are old and I can't find any to download. Is there anymore of these around? >> > Correct me if I'm wrong, but isn't Nagios XI supplied as a VMWare appliance? > > http://www.nagios.com/products/nagiosxi > After a quick glance around, it does seem to be the case that the available appliances are generally either old or various commercial/derivative builds. I did find one that looks close, although I haven't actually tried it myself yet: http://www.eluted.net/vmimages/nenm3-vm.zip (mentioned on http://www.nagios3book.com/) However, it is prominently noted that this image is intended for learning purpose, not production use, so if you were looking for the latter it would probably be more work to modify it properly than to install from scratch. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From standalone.sysadmin at gmail.com Thu Mar 4 00:14:41 2010 From: standalone.sysadmin at gmail.com (Matt Simmons) Date: Wed, 3 Mar 2010 18:14:41 -0500 Subject: VMware Appliance In-Reply-To: <939A24AB672E21498A735FC3CB10DBCAFC07B50A4D@rha-exchange1.rha-dc.mtl.rha.ca> References: <939A24AB672E21498A735FC3CB10DBCAFC07B50A4D@rha-exchange1.rha-dc.mtl.rha.ca> Message-ID: <5bcb62b61003031514w4dbf16d0p45610bc18a285d84@mail.gmail.com> It strikes me that if there isn't one available and relatively up to date, it would be a good endeavor for the Nagios community to work on. I don't have a lot of time, but I'd be willing to work with people to get an image prepared. Anyone want to help, or have suggestions? --Matt On Wed, Mar 3, 2010 at 8:30 AM, Antonio Pereira wrote: > Hello All, > > > > I was looking around for VMware nagios appliance and I see a couple but they > are old and I can't find any to download. Is there anymore of these around? > > > > Thanks > > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.wolfe at robertwolfe.org Thu Mar 4 00:31:50 2010 From: robert.wolfe at robertwolfe.org (Wolfe, Robert) Date: Wed, 3 Mar 2010 23:31:50 +0000 Subject: VMware Appliance In-Reply-To: <5bcb62b61003031514w4dbf16d0p45610bc18a285d84@mail.gmail.com> References: <939A24AB672E21498A735FC3CB10DBCAFC07B50A4D@rha-exchange1.rha-dc.mtl.rha.ca>, <5bcb62b61003031514w4dbf16d0p45610bc18a285d84@mail.gmail.com> Message-ID: <2ABB2025AF94C94B96CC504384A83438C4618C@exchange2010.wolfe.local> I could probably put together a very basic 'out of the box' Nagios installation in a VMWare appliance that would definitely allow for tons of room for customization and configuration :) ________________________________________ From: Matt Simmons [standalone.sysadmin at gmail.com] Sent: Wednesday, March 03, 2010 6:14 PM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] VMware Appliance It strikes me that if there isn't one available and relatively up to date, it would be a good endeavor for the Nagios community to work on. I don't have a lot of time, but I'd be willing to work with people to get an image prepared. Anyone want to help, or have suggestions? --Matt On Wed, Mar 3, 2010 at 8:30 AM, Antonio Pereira wrote: > Hello All, > > > > I was looking around for VMware nagios appliance and I see a couple but they > are old and I can't find any to download. Is there anymore of these around? > > > > Thanks > > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ron at tvnz.co.nz Thu Mar 4 02:27:03 2010 From: ron at tvnz.co.nz (Ron Wilson) Date: Thu, 4 Mar 2010 14:27:03 +1300 Subject: Using NSClient with NRPE Message-ID: <7D85034F6BBBD540AF52C59CED3AA1E801C712FB@AKVXCH02.tvnzad.tvnz.co.nz> I have NSclient on my servers and use NRPE to access client. On the whole it works fine but I have great difficulty detecting if a windows process is running or stopped. I have a java.exe that has to run in a cmd window. I need to know if that process stops for any reason. Using command line from Nagios and with Wordpad.exe as a test I have tried using this ./check_nrpe -H server01 -p 5666 -c CheckProcState -a wordpad.exe=running I get All processes running regardless if Wordpad is open or not. I have read the manual and tried the various combinations mentioned in there and it does not help. Can anyone please supply a command line for NRPE that will tell me when a windows process is running and when it is stopped I want it to return critical Thanks ________________________________ -- Ron Wilson Systems Engineer Television New Zealand P.O. Box 3819 Auckland, New Zealand Phone 649-916-7560 Evolution is a harsh mistress. ________________________________ ========================================================== For more information on the Television New Zealand Group, visit us online at tvnz.co.nz ========================================================== CAUTION: This e-mail and any attachment(s) contain information that is intended to be read only by the named recipient(s). This information is not to be used or stored by any other person and/or organisation. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From APereira at rha.ca Thu Mar 4 04:40:18 2010 From: APereira at rha.ca (Antonio Pereira) Date: Wed, 3 Mar 2010 22:40:18 -0500 Subject: VMware Appliance Message-ID: <939A24AB672E21498A735FC3CB10DBCAFC07BB813F@rha-exchange1.rha-dc.mtl.rha.ca> I would definitely participate any way I can. I haven't used Nagios in a couple of years. That's why I was looking for a VMware appliance to kind of getting me started. But hey I will definitely join in. ----- Original Message ----- From: Wolfe, Robert To: Matt Simmons ; Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Sent: Wed Mar 03 18:31:50 2010 Subject: RE: [Nagios-users] VMware Appliance I could probably put together a very basic 'out of the box' Nagios installation in a VMWare appliance that would definitely allow for tons of room for customization and configuration :) ________________________________________ From: Matt Simmons [standalone.sysadmin at gmail.com] Sent: Wednesday, March 03, 2010 6:14 PM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] VMware Appliance It strikes me that if there isn't one available and relatively up to date, it would be a good endeavor for the Nagios community to work on. I don't have a lot of time, but I'd be willing to work with people to get an image prepared. Anyone want to help, or have suggestions? --Matt On Wed, Mar 3, 2010 at 8:30 AM, Antonio Pereira wrote: > Hello All, > > > > I was looking around for VMware nagios appliance and I see a couple but they > are old and I can't find any to download. Is there anymore of these around? > > > > Thanks > > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Thu Mar 4 05:34:36 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 04 Mar 2010 10:04:36 +0530 Subject: Using NSClient with NRPE In-Reply-To: <7D85034F6BBBD540AF52C59CED3AA1E801C712FB@AKVXCH02.tvnzad.tvnz.co.nz> References: <7D85034F6BBBD540AF52C59CED3AA1E801C712FB@AKVXCH02.tvnzad.tvnz.co.nz> Message-ID: <4B8F385B.3080904@cisco.com> Hi Ron I just tried this yesterday , I had a requirment to monitor a java process on a windows box and return a critical alert if it has stopped working. I used the following on as the nagios configuration , this should be added to the object configuration file: define service{ use generic-service host_name service_description Java check_command check_nt!PROCSTATE!-d SHOWALL -l java.exe } This is working perfectly fine for me , Next step i am trying is to set up a notification email if the process stops functioning. Hope this helps. Thanks Jatin On 3/4/2010 6:57 AM, Ron Wilson wrote: > > I have NSclient on my servers and use NRPE to access client. On the > whole it works fine but I have great difficulty detecting if a windows > process is running or stopped. I have a java.exe that has to run in a > cmd window. > > I need to know if that process stops for any reason. > > Using command line from Nagios and with Wordpad.exe as a test I have > tried using this > > ./check_nrpe -H server01 -p 5666 -c CheckProcState -a > wordpad.exe=running > > I get All processes running regardless if Wordpad is open or not. > > I have read the manual and tried the various combinations mentioned in > there and it does not help. > > Can anyone please supply a command line for NRPE that will tell me > when a windows process is running and when it is stopped I want it to > return critical > > Thanks > > ------------------------------------------------------------------------ > > -- > > Ron Wilson > > Systems Engineer > > Television New Zealand > > P.O. Box 3819 > > Auckland, New Zealand > > Phone 649-916-7560 > > /Evolution is a harsh mistress./ > > ------------------------------------------------------------------------ > ========================================================== > For more information on the Television New Zealand Group, visit us > online at tvnz.co.nz > ========================================================== > CAUTION: This e-mail and any attachment(s) contain information that > is intended to be read only by the named recipient(s). This information > is not to be used or stored by any other person and/or organisation. > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Thu Mar 4 06:07:51 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 04 Mar 2010 10:37:51 +0530 Subject: Sending email notifications In-Reply-To: <5bcb62b61003030912v39011251h998783bbdb7fffae@mail.gmail.com> References: <4B8E5D18.8080104@cisco.com> <5bcb62b61003030912v39011251h998783bbdb7fffae@mail.gmail.com> Message-ID: <4B8F4027.2000907@cisco.com> Hi Matt I tried the following from the command line: echo "test 1" | mail -s "test 1" contactemail at whatever I tried giving my email address but i am not receiving any mail. Let me know what else i need to provide to make it work. Thanks Jatin On 3/3/2010 10:42 PM, Matt Simmons wrote: > By default, at the top of your commands.cfg file, you'll see things > like "notify-host-by-email" and "notify-service-by-email". Those are > commands that work in conjunction with the configuration specified in > contacts.cfg. > > Essentially, all of your services and hosts have or inherit a > "contact_groups" setting. That group name should be in contacts.cfg, > and it should have all of the appropriate contacts listed in it. > (see Nagios Object Definitions for more info: > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html ) > > Assuming this is the case, and Nagios starts correctly without a > configuration error, there's probably an issue with your mail. Check > the email address that you have for your contacts. Is it correct? > > Assuming so, can you send an email from the command line? Try > > echo "test 1" | mail -s "test 1" contactemail at whatever > > If you receive the email, but Nagios still doesn't send it, make sure > that you are able to run 'sendmail' as the nagios user (aside: people > who know more than me: does Nagios invoke sendmail as the default > MTA?). > > I'm going to guess that you can't send mail from the command line > either, and that's probably because your MTA isn't setup correctly. > Check your /var/log/maillog and your Sendmail (or postfix if you're > lucky) configuration. > > For better advice, I'd need more info on what was going wrong, > according to the results of the test and the log output. > > Good Luck. > > --Matt > > > On Wed, Mar 3, 2010 at 7:59 AM, Jatin Davey wrote: > >> I had a requirement to monitor Java process on my windows server and >> send an email if it goes down. >> I have achieved adding the monitoring of java process on my nagios setup >> , i have no clue what to do get nagios send notifications. >> Anyone knows please let me know the steps involved. >> >> Thanks >> Jatin >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Thu Mar 4 07:14:05 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 04 Mar 2010 11:44:05 +0530 Subject: Sending email notifications In-Reply-To: <4B8F4027.2000907@cisco.com> References: <4B8E5D18.8080104@cisco.com> <5bcb62b61003030912v39011251h998783bbdb7fffae@mail.gmail.com> <4B8F4027.2000907@cisco.com> Message-ID: <4B8F4FAD.6070801@cisco.com> Ok , i figured out using an external email server to send mails to my mailbox using the configuration as below : change your /etc/mail/sendmail.cf to read # "Smart" relay host (may be null) DSsmtp:your-mailer.external-host.net now i receive the mails for any alerts that nagios raises. Thanks Jatin On 3/4/2010 10:37 AM, Jatin Davey wrote: > Hi Matt > > I tried the following from the command line: > > echo "test 1" | mail -s "test 1" contactemail at whatever > > I tried giving my email address but i am not receiving any mail. Let me > know what else i need to provide to make it work. > > Thanks > Jatin > > On 3/3/2010 10:42 PM, Matt Simmons wrote: > >> By default, at the top of your commands.cfg file, you'll see things >> like "notify-host-by-email" and "notify-service-by-email". Those are >> commands that work in conjunction with the configuration specified in >> contacts.cfg. >> >> Essentially, all of your services and hosts have or inherit a >> "contact_groups" setting. That group name should be in contacts.cfg, >> and it should have all of the appropriate contacts listed in it. >> (see Nagios Object Definitions for more info: >> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html ) >> >> Assuming this is the case, and Nagios starts correctly without a >> configuration error, there's probably an issue with your mail. Check >> the email address that you have for your contacts. Is it correct? >> >> Assuming so, can you send an email from the command line? Try >> >> echo "test 1" | mail -s "test 1" contactemail at whatever >> >> If you receive the email, but Nagios still doesn't send it, make sure >> that you are able to run 'sendmail' as the nagios user (aside: people >> who know more than me: does Nagios invoke sendmail as the default >> MTA?). >> >> I'm going to guess that you can't send mail from the command line >> either, and that's probably because your MTA isn't setup correctly. >> Check your /var/log/maillog and your Sendmail (or postfix if you're >> lucky) configuration. >> >> For better advice, I'd need more info on what was going wrong, >> according to the results of the test and the log output. >> >> Good Luck. >> >> --Matt >> >> >> On Wed, Mar 3, 2010 at 7:59 AM, Jatin Davey wrote: >> >> >>> I had a requirement to monitor Java process on my windows server and >>> send an email if it goes down. >>> I have achieved adding the monitoring of java process on my nagios setup >>> , i have no clue what to do get nagios send notifications. >>> Anyone knows please let me know the steps involved. >>> >>> Thanks >>> Jatin >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >> >> >> > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Thu Mar 4 07:34:24 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 04 Mar 2010 12:04:24 +0530 Subject: Using Check_nt to monitor 4 java.exe processes Message-ID: <4B8F5470.2070507@cisco.com> Hi I used the following check_nt command to get the running status of a process on remote windows machine, check_nt!PROCSTATE!-d SHOWALL -l java.exe The process above is java.exe , i have a situation where in i need to make sure that i have 4 java.exe running on a windows box if the number of java.exe falls below 4 or increases above 4 i need to get notifications. Please let me know what command to use in this scenario. Thanks Jatin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhavalt at skillnetinc.com Thu Mar 4 07:55:32 2010 From: dhavalt at skillnetinc.com (Dhaval Thakar) Date: Thu, 04 Mar 2010 12:25:32 +0530 Subject: monitor xenserver Message-ID: <4B8F5964.5010607@skillnetinc.com> hi, I am using xenserver 5.5 looking for way to monitor host cpu & memory utilization. is there any plugin available to monitor cpu & ram utilization? -- Regards Dhaval Thakar -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wertyy.w at gmail.com Thu Mar 4 10:20:29 2010 From: wertyy.w at gmail.com (wale Ajayi) Date: Thu, 4 Mar 2010 10:20:29 +0100 Subject: nagios web configurator Message-ID: <2c69816a1003040120x34463465q8f42c3a86aae3d7a@mail.gmail.com> Hello every one, i need a very good web interface configurator for my nagios3.0.6 can anybody help me to get one , thanks very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gtj at addicks.org Thu Mar 4 12:33:22 2010 From: gtj at addicks.org (Glynne Jones) Date: Thu, 4 Mar 2010 11:33:22 +0000 Subject: Availability Reports From Database Message-ID: <20100304113322.GA17335@valley.addicks.org> I can't believe I'm the first person to ask this, but I can't find anything on Google... I have a number of monthly reports that need to be generatesd and using the cgi's is just taking too long. It seems to me to make more sense to pull this info straight from the NDO database. Has anyone tried doing this? Thanks, Glynne ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From badreddinem at gmail.com Thu Mar 4 13:07:32 2010 From: badreddinem at gmail.com (badreddine meherzi) Date: Thu, 4 Mar 2010 13:07:32 +0100 Subject: [Launching a perl script from nagios ] Message-ID: Hi, I'm trying to make nagios execute a perl script as host problem notification instead of sending a mail and this doesn't work. so I've done the following configurations: The Perl script is for RT ticket creation. The Perl script "create_ticket.pl" works fine and a ticket is created when executed with the perl command in shell by the nagios user. I tried also to put the shell command for ticket creation directly on the command_line field of the command.cfg file and still don't work. It works fine for the default notify-host-by-mail command from the command file and also when executed manually on bash. COMMAND.CFG #'notify-host-by-create-ticket' command definition define command { command_name notify-create-ticket command_line /home/himilco/perlscript/create_ticket.pl # I tried also to put : command_line /opt/rt3/bin/rt create -t ticket set subject='ticket_from _nagios ' priority=10 queue=General } CONTACT.CFG #contact definition define contact{ contact_name nagiosadmin use generic-contact alias Nagios Admin host_notification_commands notify-create-ticket ; Create RT ticket email root at localhost } I have the right information on the nagios web interface concerning the hos_notifiction the nagios log show this line: ************ Mar 4 12:01:25 localhost nagios: HOST NOTIFICATION: nagiosadmin;pc-yacine;DOWN;notify-create-ticket;CRITICAL - Host Unreachable (172.16.125.140) ************* I can provide further configuration information, I hope that someone can tell me what's wrong , thnks -- Cordialement, Badreddine MEHERZI -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 4 14:27:40 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 4 Mar 2010 13:27:40 +0000 Subject: Using NSClient with NRPE In-Reply-To: <7D85034F6BBBD540AF52C59CED3AA1E801C712FB@AKVXCH02.tvnzad.tvnz.co.nz> References: <7D85034F6BBBD540AF52C59CED3AA1E801C712FB@AKVXCH02.tvnzad.tvnz.co.nz> Message-ID: <765d77c81003040527ma23bb78mf716f6378f5f781e@mail.gmail.com> On 4 March 2010 01:27, Ron Wilson wrote: > I have NSclient on my servers and use NRPE to access client. On the whole it > works fine but I have great difficulty detecting if a windows process is > running or stopped. I have a java.exe that has to run in a cmd window. > > I need to know if that process stops for any reason. > > Using command line from Nagios and with Wordpad.exe as a test I have tried > using this > > ./check_nrpe -H ?server01 -p 5666 -c ?CheckProcState -a wordpad.exe=running > > > > I get All processes running regardless if Wordpad is open or not. The one I use is... ./check_nrpe -H $HOSTADDRESS$ -u -c CheckProcState -a ShowAll binaryname.exe=started hth, Jim ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 4 14:33:51 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 4 Mar 2010 13:33:51 +0000 Subject: Using Check_nt to monitor 4 java.exe processes In-Reply-To: <4B8F5470.2070507@cisco.com> References: <4B8F5470.2070507@cisco.com> Message-ID: <765d77c81003040533s21c2da28mbacb1243d078784f@mail.gmail.com> On 4 March 2010 06:34, Jatin Davey wrote: > Hi > > I used the following check_nt command to get the running status of a > process on remote windows machine, > > check_nt!PROCSTATE!-d SHOWALL -l java.exe > > The process above is java.exe , i have a situation where in i need to make sure that i have 4 java.exe running on a windows box > if the number of java.exe falls below 4 or increases above 4 i need to get notifications. > > Please let me know what command to use in this scenario. > > Thanks > Jatin If you are using the NSClient++ Nagios agent, you can query using NRPE instead to get that kind of alert based on the number of processes. See: http://nsclient.org/nscp/wiki/CheckProcState ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 4 14:40:20 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 4 Mar 2010 13:40:20 +0000 Subject: nagios web configurator In-Reply-To: <2c69816a1003040120x34463465q8f42c3a86aae3d7a@mail.gmail.com> References: <2c69816a1003040120x34463465q8f42c3a86aae3d7a@mail.gmail.com> Message-ID: <765d77c81003040540j6ab25063r62cc2c49b2a506b3@mail.gmail.com> On 4 March 2010 09:20, wale Ajayi wrote: > Hello every one, i need a very good web interface configurator for my > nagios3.0.6 can anybody help me to get one , thanks very much. Nagios XI of course includes web configuration. I haven't tried it yet, so can't say whether it is "very good" or not. http://www.nagios.com/products/nagiosxi ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 4 14:40:42 2010 From: marc at ena.com (Marc Powell) Date: Thu, 4 Mar 2010 07:40:42 -0600 Subject: [Launching a perl script from nagios ] In-Reply-To: References: Message-ID: On Mar 4, 2010, at 6:07 AM, badreddine meherzi wrote: > Hi, > > I'm trying to make nagios execute a perl script as host problem notification instead of sending a mail and this doesn't work. > so I've done the following configurations: > The Perl script is for RT ticket creation. > The Perl script "create_ticket.pl" works fine and a ticket is created when executed with the perl command in shell by the nagios user. Can you post an example run? Is it different than your command_line below in any way? > #'notify-host-by-create-ticket' command definition > define command { > command_name notify-create-ticket > command_line /home/himilco/perlscript/create_ticket.pl You don't pass any arguments to this command. How does it know what it's supposed to create a ticket for? Does it use environment variables or is it hard coded internally for testing? Also, it's very unusual for another user to have access to someone else's homedir. Did you modify permissions to grant extra access to /home/himilco? > # I tried also to put : command_line /opt/rt3/bin/rt create -t ticket set subject='ticket_from _nagios ' priority=10 queue=General This looks like it should work. Is the command 'rt' a perl script as well? I haven't used Request Tracker before. > the nagios log show this line: > ************ > Mar 4 12:01:25 localhost nagios: HOST NOTIFICATION: nagiosadmin;pc-yacine;DOWN;notify-create-ticket;CRITICAL - Host Unreachable (172.16.125.140) > ************* Yes, that's a good sign. Nagios is trying to execute your script. Do you have the embedded perl interpreter enabled? If so, is create_ticket.pl written to it's standards? If it's enabled, try disabling it globally or for this script in particular. The documentation for Enabling the Embedded Perl Interpreter can help you answer these questions. Additionally, I'd just try adding a couple lines at the top of create_ticket.pl to write some text to a file in /tmp. Just something to show that it ran. Finally, you might try modifying the command_line to capture any output from the script to a file for inspection -- > command_line /home/himilco/perlscript/create_ticket.pl >/tmp/ticket.out 2>&1 -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.wolfe at robertwolfe.org Thu Mar 4 15:10:29 2010 From: robert.wolfe at robertwolfe.org (Wolfe, Robert) Date: Thu, 4 Mar 2010 14:10:29 +0000 Subject: VMware Appliance In-Reply-To: <939A24AB672E21498A735FC3CB10DBCAFC07BB813F@rha-exchange1.rha-dc.mtl.rha.ca> References: <939A24AB672E21498A735FC3CB10DBCAFC07BB813F@rha-exchange1.rha-dc.mtl.rha.ca> Message-ID: <2ABB2025AF94C94B96CC504384A83438C4622A@exchange2010.wolfe.local> What distros are you familiar with? I have VMWare Workstation and Server here so I can build one for the community and make it available to the community. ________________________________________ From: Antonio Pereira [APereira at rha.ca] Sent: Wednesday, March 03, 2010 10:40 PM To: Wolfe, Robert; 'standalone.sysadmin at gmail.com' Cc: 'Nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] VMware Appliance I would definitely participate any way I can. I haven't used Nagios in a couple of years. That's why I was looking for a VMware appliance to kind of getting me started. But hey I will definitely join in. ----- Original Message ----- From: Wolfe, Robert To: Matt Simmons ; Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Sent: Wed Mar 03 18:31:50 2010 Subject: RE: [Nagios-users] VMware Appliance I could probably put together a very basic 'out of the box' Nagios installation in a VMWare appliance that would definitely allow for tons of room for customization and configuration :) ________________________________________ From: Matt Simmons [standalone.sysadmin at gmail.com] Sent: Wednesday, March 03, 2010 6:14 PM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] VMware Appliance It strikes me that if there isn't one available and relatively up to date, it would be a good endeavor for the Nagios community to work on. I don't have a lot of time, but I'd be willing to work with people to get an image prepared. Anyone want to help, or have suggestions? --Matt On Wed, Mar 3, 2010 at 8:30 AM, Antonio Pereira wrote: > Hello All, > > > > I was looking around for VMware nagios appliance and I see a couple but they > are old and I can't find any to download. Is there anymore of these around? > > > > Thanks > > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zorg at probesys.com Thu Mar 4 15:24:52 2010 From: zorg at probesys.com (zorg) Date: Thu, 04 Mar 2010 15:24:52 +0100 Subject: nagios web configurator In-Reply-To: <765d77c81003040540j6ab25063r62cc2c49b2a506b3@mail.gmail.com> References: <2c69816a1003040120x34463465q8f42c3a86aae3d7a@mail.gmail.com> <765d77c81003040540j6ab25063r62cc2c49b2a506b3@mail.gmail.com> Message-ID: <4B8FC2B4.1020901@probesys.com> Maybe you should explain that nagios XI is not open source there is other web gui "open source" http://sourceforge.net/projects/nconf/ http://sourceforge.net/projects/nagiosconfig/ http://www.lilacplatform.com/ Jim Avery a ?crit : > On 4 March 2010 09:20, wale Ajayi wrote: > >> Hello every one, i need a very good web interface configurator for my >> nagios3.0.6 can anybody help me to get one , thanks very much. >> > > Nagios XI of course includes web configuration. I haven't tried it > yet, so can't say whether it is "very good" or not. > > http://www.nagios.com/products/nagiosxi > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ctemple at merethis.com Thu Mar 4 15:33:43 2010 From: ctemple at merethis.com (Cedric Temple) Date: Thu, 4 Mar 2010 15:33:43 +0100 Subject: nagios web configurator In-Reply-To: <4B8FC2B4.1020901@probesys.com> References: <2c69816a1003040120x34463465q8f42c3a86aae3d7a@mail.gmail.com> <765d77c81003040540j6ab25063r62cc2c49b2a506b3@mail.gmail.com> <4B8FC2B4.1020901@probesys.com> Message-ID: <960a54cc1003040633i3a38a3ccq190406ad65e0be92@mail.gmail.com> 2010/3/4 zorg : > Maybe you should explain that nagios XI is not open source > there is other web gui "open source" > > http://sourceforge.net/projects/nconf/ > http://sourceforge.net/projects/nagiosconfig/ > http://www.lilacplatform.com/ http://www.centreon.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dario.bestetti at opservices.com.br Thu Mar 4 15:46:20 2010 From: dario.bestetti at opservices.com.br (Dario B. Bestetti (OpServices)) Date: Thu, 4 Mar 2010 11:46:20 -0300 (BRT) Subject: nagios web configurator In-Reply-To: <4B8FC2B4.1020901@probesys.com> References: <4B8FC2B4.1020901@probesys.com> Message-ID: <31683123.5583.1267713980308.JavaMail.root@mail.opservices.com.br> http://www.opmon.org _________________________________________________ Dario B. Bestetti OpServices R. F?lix da Cunha, 1009 - Sala 501 Porto Alegre, RS - CEP 90570-001 Fone 55(51)32753588 Mobile 55(51)81518218 Fax 55(51)32753588 Email dario.bestetti at opservices.com.br "In God we trust, the rest we monitor ..." _________________________________________________ ----- "zorg" escreveu: > Maybe you should explain that nagios XI is not open source > there is other web gui "open source" > > http://sourceforge.net/projects/nconf/ > http://sourceforge.net/projects/nagiosconfig/ > http://www.lilacplatform.com/ > > Jim Avery a ?crit : > > On 4 March 2010 09:20, wale Ajayi wrote: > > > >> Hello every one, i need a very good web interface configurator for > my > >> nagios3.0.6 can anybody help me to get one , thanks very much. > >> > > > > Nagios XI of course includes web configuration. I haven't tried it > > yet, so can't say whether it is "very good" or not. > > > > http://www.nagios.com/products/nagiosxi > > > > > ------------------------------------------------------------------------------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyarusso at nagios.com Thu Mar 4 16:28:36 2010 From: tyarusso at nagios.com (Tony Yarusso) Date: Thu, 04 Mar 2010 09:28:36 -0600 Subject: VMware Appliance In-Reply-To: <2ABB2025AF94C94B96CC504384A83438C4622A@exchange2010.wolfe.local> References: <939A24AB672E21498A735FC3CB10DBCAFC07BB813F@rha-exchange1.rha-dc.mtl.rha.ca> <2ABB2025AF94C94B96CC504384A83438C4622A@exchange2010.wolfe.local> Message-ID: <4B8FD1A4.5040405@nagios.com> On 3/4/2010 8:10 AM, Wolfe, Robert wrote: > What distros are you familiar with? I have VMWare Workstation and Server here so I can build one for the community and make it available to the community. I would suggest having one of Fedora or CentOS (since that's what the XI image is, so it could be handy for people to be able to work between the two easily), and one of Ubuntu (for my personal preference and general popularity). It would be interesting to see if anyone knows statistics of OS/distro use with Nagios globally, although I doubt that could be gathered in any reasonable fashion. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.wolfe at robertwolfe.org Thu Mar 4 16:50:17 2010 From: robert.wolfe at robertwolfe.org (Wolfe, Robert) Date: Thu, 4 Mar 2010 15:50:17 +0000 Subject: VMware Appliance In-Reply-To: <4B8FD1A4.5040405@nagios.com> References: <939A24AB672E21498A735FC3CB10DBCAFC07BB813F@rha-exchange1.rha-dc.mtl.rha.ca> <2ABB2025AF94C94B96CC504384A83438C4622A@exchange2010.wolfe.local>, <4B8FD1A4.5040405@nagios.com> Message-ID: <2ABB2025AF94C94B96CC504384A83438C465A1@exchange2010.wolfe.local> At work, I've got it set up on a XenServer 5.5 VM running CentOS 5.4 with custom scripts (written in PHP of all things ). So far we've been very pleased with it in that environment. At this stage, I've gotten approval to further enhance our setup with custom trend analysis and reporting, etc, so our setup is basically an ongoing project. Gotta love phpAGI :) ________________________________________ From: Tony Yarusso [tyarusso at nagios.com] Sent: Thursday, March 04, 2010 10:28 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] VMware Appliance On 3/4/2010 8:10 AM, Wolfe, Robert wrote: > What distros are you familiar with? I have VMWare Workstation and Server here so I can build one for the community and make it available to the community. I would suggest having one of Fedora or CentOS (since that's what the XI image is, so it could be handy for people to be able to work between the two easily), and one of Ubuntu (for my personal preference and general popularity). It would be interesting to see if anyone knows statistics of OS/distro use with Nagios globally, although I doubt that could be gathered in any reasonable fashion. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.wolfe at robertwolfe.org Thu Mar 4 17:30:13 2010 From: robert.wolfe at robertwolfe.org (Wolfe, Robert) Date: Thu, 4 Mar 2010 16:30:13 +0000 Subject: VMware Appliance In-Reply-To: <939A24AB672E21498A735FC3CB10DBCAFC07B50ACF@rha-exchange1.rha-dc.mtl.rha.ca> References: <939A24AB672E21498A735FC3CB10DBCAFC07BB813F@rha-exchange1.rha-dc.mtl.rha.ca> <2ABB2025AF94C94B96CC504384A83438C4622A@exchange2010.wolfe.local>, <939A24AB672E21498A735FC3CB10DBCAFC07B50ACF@rha-exchange1.rha-dc.mtl.rha.ca> Message-ID: <2ABB2025AF94C94B96CC504384A83438C465BB@exchange2010.wolfe.local> IMO, basically the same as CentOS :) ________________________________________ From: Antonio Pereira [APereira at rha.ca] Sent: Thursday, March 04, 2010 11:25 AM To: Wolfe, Robert; 'standalone.sysadmin at gmail.com' Cc: 'Nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] VMware Appliance I am mainly familiar with redhat fedora -----Original Message----- From: Wolfe, Robert [mailto:robert.wolfe at robertwolfe.org] Sent: March-04-10 9:10 AM To: Antonio Pereira; 'standalone.sysadmin at gmail.com' Cc: 'Nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] VMware Appliance What distros are you familiar with? I have VMWare Workstation and Server here so I can build one for the community and make it available to the community. ________________________________________ From: Antonio Pereira [APereira at rha.ca] Sent: Wednesday, March 03, 2010 10:40 PM To: Wolfe, Robert; 'standalone.sysadmin at gmail.com' Cc: 'Nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] VMware Appliance I would definitely participate any way I can. I haven't used Nagios in a couple of years. That's why I was looking for a VMware appliance to kind of getting me started. But hey I will definitely join in. ----- Original Message ----- From: Wolfe, Robert To: Matt Simmons ; Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Sent: Wed Mar 03 18:31:50 2010 Subject: RE: [Nagios-users] VMware Appliance I could probably put together a very basic 'out of the box' Nagios installation in a VMWare appliance that would definitely allow for tons of room for customization and configuration :) ________________________________________ From: Matt Simmons [standalone.sysadmin at gmail.com] Sent: Wednesday, March 03, 2010 6:14 PM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] VMware Appliance It strikes me that if there isn't one available and relatively up to date, it would be a good endeavor for the Nagios community to work on. I don't have a lot of time, but I'd be willing to work with people to get an image prepared. Anyone want to help, or have suggestions? --Matt On Wed, Mar 3, 2010 at 8:30 AM, Antonio Pereira wrote: > Hello All, > > > > I was looking around for VMware nagios appliance and I see a couple but they > are old and I can't find any to download. Is there anymore of these around? > > > > Thanks > > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From APereira at rha.ca Thu Mar 4 17:25:01 2010 From: APereira at rha.ca (Antonio Pereira) Date: Thu, 4 Mar 2010 11:25:01 -0500 Subject: VMware Appliance In-Reply-To: <2ABB2025AF94C94B96CC504384A83438C4622A@exchange2010.wolfe.local> References: <939A24AB672E21498A735FC3CB10DBCAFC07BB813F@rha-exchange1.rha-dc.mtl.rha.ca> <2ABB2025AF94C94B96CC504384A83438C4622A@exchange2010.wolfe.local> Message-ID: <939A24AB672E21498A735FC3CB10DBCAFC07B50ACF@rha-exchange1.rha-dc.mtl.rha.ca> I am mainly familiar with redhat fedora -----Original Message----- From: Wolfe, Robert [mailto:robert.wolfe at robertwolfe.org] Sent: March-04-10 9:10 AM To: Antonio Pereira; 'standalone.sysadmin at gmail.com' Cc: 'Nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] VMware Appliance What distros are you familiar with? I have VMWare Workstation and Server here so I can build one for the community and make it available to the community. ________________________________________ From: Antonio Pereira [APereira at rha.ca] Sent: Wednesday, March 03, 2010 10:40 PM To: Wolfe, Robert; 'standalone.sysadmin at gmail.com' Cc: 'Nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] VMware Appliance I would definitely participate any way I can. I haven't used Nagios in a couple of years. That's why I was looking for a VMware appliance to kind of getting me started. But hey I will definitely join in. ----- Original Message ----- From: Wolfe, Robert To: Matt Simmons ; Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Sent: Wed Mar 03 18:31:50 2010 Subject: RE: [Nagios-users] VMware Appliance I could probably put together a very basic 'out of the box' Nagios installation in a VMWare appliance that would definitely allow for tons of room for customization and configuration :) ________________________________________ From: Matt Simmons [standalone.sysadmin at gmail.com] Sent: Wednesday, March 03, 2010 6:14 PM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] VMware Appliance It strikes me that if there isn't one available and relatively up to date, it would be a good endeavor for the Nagios community to work on. I don't have a lot of time, but I'd be willing to work with people to get an image prepared. Anyone want to help, or have suggestions? --Matt On Wed, Mar 3, 2010 at 8:30 AM, Antonio Pereira wrote: > Hello All, > > > > I was looking around for VMware nagios appliance and I see a couple but they > are old and I can't find any to download. Is there anymore of these around? > > > > Thanks > > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 opsera.com Thu Mar 4 17:53:54 2010 From: ton.voon at opsera.com (Ton Voon) Date: Thu, 4 Mar 2010 16:53:54 +0000 Subject: nagios web configurator In-Reply-To: <2c69816a1003040120x34463465q8f42c3a86aae3d7a@mail.gmail.com> References: <2c69816a1003040120x34463465q8f42c3a86aae3d7a@mail.gmail.com> Message-ID: On 4 Mar 2010, at 09:20, wale Ajayi wrote: > Hello every one, i need a very good web interface configurator for > my nagios3.0.6 can anybody help me to get one , thanks very much. And since everyone else seems to be linking to theirs, Opsera produce Opsview: http://opsview.org Ton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Thu Mar 4 17:16:04 2010 From: rperezm at uci.cu (ReynierPM) Date: Thu, 04 Mar 2010 11:16:04 -0500 Subject: OT: NagiosQL site problems Message-ID: <4B8FDCC4.8030903@uci.cu> Hi every: Sorry for this OT but someone needs to know this in order to fix the issue. Today I try to login in NagiosQL site (http://www.nagiosql.org/component/comprofiler/login.html) and with wrong user or password I can't say right now wich one I get this errors: Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/administrator/components/com_comprofiler/plugin.class.php on line 663 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/administrator/components/com_comprofiler/plugin.class.php on line 672 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/administrator/components/com_comprofiler/plugin.class.php on line 679 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/administrator/components/com_comprofiler/plugin.class.php on line 689 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/administrator/components/com_comprofiler/plugin.class.php on line 1956 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/administrator/components/com_comprofiler/plugin.class.php on line 2105 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/administrator/components/com_comprofiler/plugin.class.php on line 2133 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/administrator/components/com_comprofiler/plugin.class.php on line 2556 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/administrator/components/com_comprofiler/library/cb/cb.database.php on line 459 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/administrator/components/com_comprofiler/comprofiler.class.php on line 1419 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/administrator/components/com_comprofiler/comprofiler.class.php on line 4902 Warning: call_user_func_array() expects parameter 2 to be array, string given in /var/www/nagiosql/administrator/components/com_comprofiler/plugin.foundation.php on line 1523 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /var/www/nagiosql/administrator/components/com_comprofiler/plugin.foundation.php on line 420 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 1609 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 1627 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/nagiosql/components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 3583 Incorrect username or password. Please try again. I've uploaded a image to this URL for further information: http://yfrog.com/8b55383424j -- Cheers ReynierPM ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan at u13.net Fri Mar 5 00:53:06 2010 From: ryan at u13.net (Ryan Rawdon) Date: Thu, 04 Mar 2010 18:53:06 -0500 Subject: =?utf-8?q?Can_NRPE_listen_on_IPv6=3F?= Message-ID: <7b500318d64ee00c40d98390f59e783b@192.168.152.50> Hey all, Can NRPE listen on IPv6 addresses? If so, how? I have some hosts which are not accessible from my Nagios box over v4 due to firewall, NAT and other constraints, but they're accessible via v6 which most other active checks/plugins seem to be able to use 100% fine. I don't know if check_nrpe supports v6, but I can say for sure that I don't have any hosts successfully listening on [::]:5666 yet. Thanks, Ryan ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyleodonnell at gmail.com Fri Mar 5 01:15:41 2010 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Thu, 4 Mar 2010 19:15:41 -0500 Subject: Circular Service Dependencies: Better ways? In-Reply-To: <23193A17705DD246AFFFDF09B779F56F25157DA262@EX-IAD6-B.ant.amazon.com> References: <23193A17705DD246AFFFDF09B779F56F25157DA262@EX-IAD6-B.ant.amazon.com> Message-ID: <2274b9c31003041615j2f9fe525l58ecd23e6392b94a@mail.gmail.com> check_cluster it will check the current status of one or more services and send alerts based on one or both being down On Thu, Mar 4, 2010 at 6:18 PM, Gius, Mark wrote: > I have a problem that pretty much the same as this one from a couple > years back: > > > > http://thread.gmane.org/gmane.network.nagios.devel/4167/focus=4168 > > > > Basically, I want to only send notifications when both of these services > are in the red: > > > > > define servicedependency{ > > > host_name server0 > > > dependent_host_name server1 > > > dependent_service_description service0 > > > service_description service0 > > > inherits_parent 0 > > > execution_failure_criteria n > > > notification_failure_criteria o > > > } > > > define servicedependency{ > > > host_name server1 > > > dependent_host_name server0 > > > dependent_service_description service0 > > > service_description service0 > > > inherits_parent 0 > > > execution_failure_criteria n > > > notification_failure_criteria o > > > } > > > > Nagios throws an error with the above configuration (which can be > overridden with ?x). > > > > The thread I reference above talks about using ?check_cluster?, although > the documentation on that is a little sparse, and it specifically references > Nagios 2, so it may not have been updated in quite some time. > > > > Is there any better way to achieve this behavior, or is the solution from > two years ago still the way to go? > > > > -Gius > > > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgius at createspace.com Fri Mar 5 00:18:25 2010 From: mgius at createspace.com (Gius, Mark) Date: Thu, 4 Mar 2010 18:18:25 -0500 Subject: Circular Service Dependencies: Better ways? Message-ID: <23193A17705DD246AFFFDF09B779F56F25157DA262@EX-IAD6-B.ant.amazon.com> I have a problem that pretty much the same as this one from a couple years back: http://thread.gmane.org/gmane.network.nagios.devel/4167/focus=4168 Basically, I want to only send notifications when both of these services are in the red: > define servicedependency{ > host_name server0 > dependent_host_name server1 > dependent_service_description service0 > service_description service0 > inherits_parent 0 > execution_failure_criteria n > notification_failure_criteria o > } > define servicedependency{ > host_name server1 > dependent_host_name server0 > dependent_service_description service0 > service_description service0 > inherits_parent 0 > execution_failure_criteria n > notification_failure_criteria o > } Nagios throws an error with the above configuration (which can be overridden with -x). The thread I reference above talks about using "check_cluster", although the documentation on that is a little sparse, and it specifically references Nagios 2, so it may not have been updated in quite some time. Is there any better way to achieve this behavior, or is the solution from two years ago still the way to go? -Gius -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Fri Mar 5 11:16:33 2010 From: jashokda at cisco.com (Jatin Davey) Date: Fri, 05 Mar 2010 15:46:33 +0530 Subject: Notification Interval set to 0 not working as per doc Message-ID: <4B90DA01.9010707@cisco.com> Hi The Nagios documentation says that when you set the "Notification Interval" to 0 , it will notify with an email alert only once when the service state goes to "down" from "up" , it will then again notify when the service comes back to "up" state , correct me if am wrong. But when i set this to 0 , i am still getting email notifications every 10 mins for the service which is in "down" state for more than one day. Is this is a bug or am i missing something here , Please let me know. Thanks Jatin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Fri Mar 5 12:40:20 2010 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 05 Mar 2010 11:40:20 +0000 Subject: Can NRPE listen on IPv6? In-Reply-To: <7b500318d64ee00c40d98390f59e783b@192.168.152.50> References: <7b500318d64ee00c40d98390f59e783b@192.168.152.50> Message-ID: <4B90EDA4.6060903@flatto.net> Ryan Rawdon wrote: > Hey all, > > Can NRPE listen on IPv6 addresses? If so, how? I have some hosts which > are not accessible from my Nagios box over v4 due to firewall, NAT and > other constraints, but they're accessible via v6 which most other active > checks/plugins seem to be able to use 100% fine. I don't know if > check_nrpe supports v6, but I can say for sure that I don't have any hosts > successfully listening on [::]:5666 yet. > > Thanks, > Ryan > > From reading the conf file of nrpe and going over it's documentation , unless you specify the "server_address" parameter , nrpe will listen on all NIC and addresses . I would like to believe that means it will take the V6 address and use it too . I have never done this myself , best way is to try and share with us how it went. Assaf ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Fri Mar 5 12:49:21 2010 From: jashokda at cisco.com (Jatin Davey) Date: Fri, 05 Mar 2010 17:19:21 +0530 Subject: Monitoring JVM Attributes using Nagios Message-ID: <4B90EFC1.80106@cisco.com> Hi I am new to nagios and have been learning it since the last couple of days. I still doing some basic monitoring on my servers in the lab. I would like to know if there is a plugin available for nagios that can get the remotely running JVM's operational parameters such as: CPU , Heap memory used , Threads etc. Please suggest me if there is a good plugin available for such a requirment. Thanks Jatin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at quux.de Fri Mar 5 13:13:55 2010 From: lists at quux.de (Jens Link) Date: Fri, 05 Mar 2010 13:13:55 +0100 Subject: Can NRPE listen on IPv6? In-Reply-To: <7b500318d64ee00c40d98390f59e783b@192.168.152.50> (Ryan Rawdon's message of "Thu, 04 Mar 2010 18:53:06 -0500") References: <7b500318d64ee00c40d98390f59e783b@192.168.152.50> Message-ID: <87635bj798.fsf@laphroiag.quux.de> Ryan Rawdon writes: > Hey all, > > Can NRPE listen on IPv6 addresses? No, it can't. Unless there is a new version I don't know about. I asked the same question month ago and got absolutely no feedback. :-( Jens -- ------------------------------------------------------------------------- | Foelderichstr. 40 | 13595 Berlin, Germany | +49-151-18721264 | | http://www.quux.de | http://blog.quux.de | jabber: jenslink at guug.de | ------------------------------------------------------------------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Christian.Mies at it-novum.com Fri Mar 5 13:46:58 2010 From: Christian.Mies at it-novum.com (Mies, Christian) Date: Fri, 5 Mar 2010 13:46:58 +0100 Subject: Monitoring JVM Attributes using Nagios In-Reply-To: <4B90EFC1.80106@cisco.com> References: <4B90EFC1.80106@cisco.com> Message-ID: Hi Jatin, have a look at jmx::jmx4perl in CPAN. Here is a nice Plugin included check_jmx4nagios I'm using it in several customer projects with success. Regards Christian i.A. Christian Mies Senior Consultant Tel: +49 (661) 103-874 (-333) Fax: +49 (661) 103-17874 (-334) mailto:Christian.Mies at it-novum.com it-novum GmbH . Edelzeller Strasse 44 . 36043 Fulda . http://www.it-novum.com Handelsregister Amtsgericht Fulda, HRB 1934 . Gesch?ftsf?hrer: Michael Kienle . Sitz der Gesellschaft: Fulda Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfaenger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaeltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. -----Urspr?ngliche Nachricht----- Von: Jatin Davey [mailto:jashokda at cisco.com] Gesendet: Freitag, 5. M?rz 2010 12:49 An: Nagios Mailinglist Betreff: [Nagios-users] Monitoring JVM Attributes using Nagios Hi I am new to nagios and have been learning it since the last couple of days. I still doing some basic monitoring on my servers in the lab. I would like to know if there is a plugin available for nagios that can get the remotely running JVM's operational parameters such as: CPU , Heap memory used , Threads etc. Please suggest me if there is a good plugin available for such a requirment. Thanks Jatin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Eingehende eMail ist virenfrei. Von AVG ?berpr?ft - www.avg.de Version: 9.0.733 / Virendatenbank: 271.1.1/2722 - Ausgabedatum: 03/04/10 20:34:00 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 5 14:13:14 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Fri, 05 Mar 2010 22:13:14 +0900 Subject: Re-send: Notificaitons after the commit In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A083047BC3F801D@iexchange.I-EVOLVE.com> References: <33C7BE4CE80D504E8907FDC31F8A083047BC3F801D@iexchange.I-EVOLVE.com> Message-ID: <201003051313.AA01584@S2007337.jp.fujitsu.com> Hello Robert. I would use that instead... Would you please give us an advice to my question? Whenever nagios restarts, is there any affection to the service notification sequence that has been occuring every 24hours on a certain service? For example, If notification is occuring every 8:00 a.m. remaining the same CRITICAL status, and if a restart occurs like 10:00 p.m. [2010/01/13 22:24:06] Caught SIGTERM, shutting down... [2010/01/13 22:24:06] Successfully shutdown... (PID=31954) would the notification stops for a next day and be sent on the next , next day? Thank you, Yu Watanabe Robert Wolfe ????????: >I am curious here... > >If all you are doing is restarting Nagios, why not just use: > > /etc/init.d/nagios restart > >Instead of all the other commands and parameters? > >-----Original Message----- >From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] >Sent: Tuesday, March 02, 2010 9:12 AM >To: Assaf Flatto >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Re-send: Notificaitons after the commit > >Hello Assaf > >Sorry, for ambiguous expression. > >Word "Commit", I used in the meaning of executing the following command, > >/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg >/etc/init.d/nagios restart > >And yes. After the above command, the notification that was been occuring every 24hours before then >suddenly stopped. So, I doubted the restart procedure if this is doing something wrond. > >Thank you >Yu Watanabe > >Assaf Flatto ????????: >>Yu Watanabe wrote: >>> Hello all. >>> >>> I am re-sending the message again. Message seems to be not sent properly. >>> I apologize if this becomes duplicate message. >>> ----------------------------------------------------------------------------------- >>> >>> I have a question about the notifications after the commit. >>> I am wondering whether nagios refreshes the notification history event though the state retention option >>> is specified. >>> >>> Could someone help us out? >>> >>> I am using the Nagios v3.0.6 and following is the situation: >>> >>> 1. Service Notification interval is set as 24h >>> 2. Host status is UP at that time >>> 3. Normal check interval is set 24h >>> >>> Following is the history from the nagios.log: >>> >>> * HARD status change had occured at Jan 11 08:35 . Notification has been sent at 08:35 >>> * Notification was sent at Jan 12 08:35 >>> * Notification was sent at Jan 13 08:35 >>> * Commit was executed at Jan 13 22:24 >>> * Notification was not sent at Jan 14 08:35 <--** This is the problem *** >>> * Recovery status change had occured from CRITICAL -> OK at Jan 15 08:35. Notification has been sent at 08:35. >>> >>> I thought that Nagios inherits the last notification time when it restarts using the nagiostatus.sav. >>> But it seems to be not the case for this time. >>> >>> Could someone give us an advice? >>> >>> Thank you. >>> Yu Watanabe >>> >>When you say commit ? what exactly do you mean ? >>are you committing code upstream of nagios and then testing it on your >>system ? >>are you performing some action and then the alerts are not generated ? >> >>Please provide more information - or clarify what you mean. >> >>Assaf >> >>------------------------------------------------------------------------------ >>Download Intel® Parallel Studio Eval >>Try the new software tools for yourself. Speed compiling, find bugs >>proactively, and fine-tune applications for parallel performance. >>See why Intel Parallel Studio got high marks during beta. >>http://p.sf.net/sfu/intel-sw-dev >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > >------------------------------------------------------------------------------ >Download Intel® Parallel Studio Eval >Try the new software tools for yourself. Speed compiling, find bugs >proactively, and fine-tune applications for parallel performance. >See why Intel Parallel Studio got high marks during beta. >http://p.sf.net/sfu/intel-sw-dev >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ********************************************************************** FUJITSU SOCIAL SCIENCE LABORATORY LIMITED(FUJITSU SSL) System Infrastructure Development Department Telecom Sstems Business Group 2 Yu Watanabe E-Mail : yu.watanabe at jp.fujitsu.com Phone : 044-739-1427 +5283 ********************************************************************** ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Mar 5 14:46:15 2010 From: ae at op5.se (Andreas Ericsson) Date: Fri, 05 Mar 2010 14:46:15 +0100 Subject: nagios web configurator In-Reply-To: <2c69816a1003040120x34463465q8f42c3a86aae3d7a@mail.gmail.com> References: <2c69816a1003040120x34463465q8f42c3a86aae3d7a@mail.gmail.com> Message-ID: <4B910B27.8050607@op5.se> On 03/04/2010 10:20 AM, wale Ajayi wrote: > Hello every one, i need a very good web interface configurator for my > nagios3.0.6 can anybody help me to get one , thanks very much. > http://www.op5.org/community/projects/nacoma -- 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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey at hyves.nl Fri Mar 5 14:41:25 2010 From: jeffrey at hyves.nl (Jeffrey Lensen) Date: Fri, 5 Mar 2010 14:41:25 +0100 Subject: Nagios 3.1.2 gives (Return code of 127 is out of bounds - plugin may be missing) when MACRO is too long Message-ID: <971e75ae1003050541w639b5409tbaae7b70877e65ad@mail.gmail.com> Hey, Yesterday I added a servicegroup (called NRPEchecks) which contains 23.660 host-service entries to our configuration. After restarting the Nagios server, our Central Nagios server started complaining when it had to perform (forced) NRPE checks and/or send notifications. Everything responded with "(Return code of 127 is out of bounds - plugin may be missing)". Oddly enough, this only seemed to happen with NRPE checks (and notification commands) which call upon a (bash) script. NRPE checks which do nothing more than '/usr/bin/nrpe --help | grep "Version"' were performed without any problems what so ever. SNMP check scripts and TCP checks (which run on the Nagios hosts) worked perfectly fine aswel. Checks performed by the distributed servers we're still being processed without issues by the Central Nagios server. Performing the NRPE check command by hand as user Nagios works perfectly fine. So the file exists and is executable for Nagios. When I remove the servicegroup from the configs, everything runs smoothly again.. Some background information of our distributed setup: - Nagios Version 3.1.2 - Central servers: 1 - Distributed servers: 8 - Total Hosts: 2.798 - Total Services: 49.579 - Service groups: 10 - NRPEchecks servicegroup: 23.660 entries Sizes of the objects.cache file on the Central Nagios server: - Lines: 2.083.738 - Words: 4.079.205 - Characters: 51.916.032 - Size: 50M Here is the some logfile output: Mar 5 10:11:05 src at nagioshost nagios: Warning: Return code of 127 for check of service 'Disk' on host 'testhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Mar 5 10:21:07 src at nagioshost nagios: Warning: Return code of 127 for check of service 'Disk' on host 'testhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Mar 5 10:11:05 src at nagioshost nagios: SERVICE ALERT: testhost;Disk;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) Mar 5 10:21:07 src at nagioshost nagios: SERVICE ALERT: testhost;Disk;CRITICAL;SOFT;2;(Return code of 127 is out of bounds - plugin may be missing) The relevant parts of the configuration look like this: - NRPE.cfg: command[check_disk]=sh /usr/nagios/scripts/check_disk.sh - Nagios cfgs: define host{ use generic-host host_name testhost alias testhost address testhost.server } define service{ use Disks-check hostgroup_name testhosts service_description Disks } define service{ use generic-service name Disks-check check_command check_nrpe_disk servicegroups NRPEchecks contact_groups admins register 0 } define servicegroup{ servicegroup_name NRPEchecks alias NRPEchecks } define command{ command_name check_nrpe_disk command_line $USER1$/check_nrpe -t 30 -H $HOSTADDRESS$ -c check_disk } - resource.cfg: $USER1$=/usr/lib/nagios/plugins When forcing a check on the Central Nagios server the Nagios debugging output showed this: [1267785907.716681] [008.0] [pid=24083] ** Timed Event ** Type: 0, Run Time: Fri Mar 5 11:37:31 2010 [1267785907.716686] [008.0] [pid=24083] ** Service Check Event ==> Host: 'testhost', Service: 'Disk', Options: 1, Latency: 456.716000 sec [1267785907.716697] [001.0] [pid=24083] run_scheduled_service_check() start [1267785907.716701] [016.0] [pid=24083] Attempting to run scheduled check of service 'Disk' on host 'testhost': check options=1, latency=456.716000 [1267785907.716708] [001.0] [pid=24083] run_async_service_check() [1267785907.716712] [001.0] [pid=24083] check_service_check_viability() [1267785907.716716] [016.0] [pid=24083] Checking service 'Disk' on host 'testhost'... [1267785907.716732] [001.0] [pid=24083] get_raw_command_line() [1267785907.716738] [2320.2] [pid=24083] Raw Command Input: $USER1$/check_nrpe -t 30 -H $HOSTADDRESS$ -c check_disk [1267785907.716744] [2320.2] [pid=24083] Expanded Command Output: $USER1$/check_nrpe -t 30 -H $HOSTADDRESS$ -c check_disk [1267785907.716748] [001.0] [pid=24083] process_macros() [1267785907.716753] [2048.1] [pid=24083] **** BEGIN MACRO PROCESSING *********** [1267785907.716756] [2048.1] [pid=24083] Processing: '$USER1$/check_nrpe -t 30 -H $HOSTADDRESS$ -c check_disk' [1267785907.716760] [2048.2] [pid=24083] Processing part: '' [1267785907.716766] [2048.2] [pid=24083] Not currently in macro. Running output (0): '' [1267785907.716785] [2048.2] [pid=24083] Processing part: 'USER1' [1267785907.716794] [2048.2] [pid=24083] Processed 'USER1', Clean Options: 0, Free: 0 [1267785907.716798] [2048.2] [pid=24083] Processed 'USER1', Clean Options: 0, Free: 0 [1267785907.716802] [2048.2] [pid=24083] Cleaning options: global=0, local=0, effective=0 [1267785907.716806] [2048.2] [pid=24083] Uncleaned macro. Running output (23): '/usr/lib/nagios/plugins' [1267785907.716810] [2048.2] [pid=24083] Just finished macro. Running output (23): '/usr/lib/nagios/plugins' [1267785907.716814] [2048.2] [pid=24083] Processing part: '/check_nrpe -t 30 -H ' [1267785907.716818] [2048.2] [pid=24083] Not currently in macro. Running output (44): '/usr/lib/nagios/plugins/check_nrpe -t 30 -H ' [1267785907.716821] [2048.2] [pid=24083] Processing part: 'HOSTADDRESS' [1267785907.716825] [2048.2] [pid=24083] macro_x[2] (HOSTADDRESS) match. [1267785907.716831] [2048.2] [pid=24083] Processed 'HOSTADDRESS', Clean Options: 0, Free: 1 [1267785907.716834] [2048.2] [pid=24083] Processed 'HOSTADDRESS', Clean Options: 0, Free: 1 [1267785907.716838] [2048.2] [pid=24083] Cleaning options: global=0, local=0, effective=0 [1267785907.716843] [2048.2] [pid=24083] Uncleaned macro. Running output (64): '/usr/lib/nagios/plugins/check_nrpe -t 30 -H testhost.server' [1267785907.716847] [2048.2] [pid=24083] Just finished macro. Running output (64): '/usr/lib/nagios/plugins/check_nrpe -t 30 -H testhost.server' [1267785907.716851] [2048.2] [pid=24083] Processing part: ' -c check_disk' [1267785907.716856] [2048.2] [pid=24083] Not currently in macro. Running output (91): '/usr/lib/nagios/plugins/check_nrpe -t 30 -H testhost.server -c check_disk' [1267785907.716860] [2048.1] [pid=24083] Done. Final output: '/usr/lib/nagios/plugins/check_nrpe -t 30 -H testhost.server -c check_disk' [1267785907.716863] [2048.1] [pid=24083] **** END MACRO PROCESSING ************* [1267785907.716896] [016.1] [pid=24083] Check result output will be written to '/var/nagios/spool/checkresults/checkbmXvnd' (fd=8) [1267785907.722094] [016.2] [pid=24083] Service check is executing in child process (pid=26053) [1267785907.722949] [001.0] [pid=26053] process_macros() [1267785907.722988] [001.0] [pid=26053] process_macros() [1267785907.722996] [001.0] [pid=26053] process_macros() [1267785907.723003] [001.0] [pid=26053] process_macros() [1267785907.723010] [001.0] [pid=26053] process_macros() [1267785907.723017] [001.0] [pid=26053] process_macros() [1267785907.738768] [001.0] [pid=26053] process_macros() [1267785907.738803] [001.0] [pid=26053] process_macros() [1267785907.738817] [001.0] [pid=26053] process_macros() [1267785907.738827] [001.0] [pid=26053] process_macros() [1267785907.738855] [001.0] [pid=26053] process_macros() [1267785907.738865] [001.0] [pid=26053] process_macros() [1267785912.044580] [016.2] [pid=26056] Moving temp check result file '/var/nagios/spool/checkresults/checkbmXvnd' to queue file '/var/nagios/spool/checkresults/cvxmTpo'... [1267785912.274671] [001.0] [pid=24083] handle_timed_event() end [1267785912.274709] [008.1] [pid=24083] ** Event Check Loop [1267785912.274743] [008.1] [pid=24083] Next High Priority Event Time: Fri Mar 5 11:45:08 2010 [1267785912.274753] [008.1] [pid=24083] Next Low Priority Event Time: Fri Mar 5 11:42:29 2010 [1267785912.274757] [008.1] [pid=24083] Current/Max Service Checks: 1/0 [1267785912.274763] [001.0] [pid=24083] handle_timed_event() start [1267785912.274771] [008.0] [pid=24083] ** Timed Event ** Type: 5, Run Time: Fri Mar 5 11:45:08 2010 [1267785912.274776] [008.0] [pid=24083] ** Check Result Reaper [1267785912.274780] [001.0] [pid=24083] reap_check_results() start [1267785912.274783] [016.0] [pid=24083] Starting to reap check results. [1267785912.274807] [016.1] [pid=24083] Starting to read check result queue '/var/nagios/spool/checkresults'... [1267785912.274836] [016.1] [pid=24083] Processing check result file: '/var/nagios/spool/checkresults/cvxmTpo' [1267785912.274961] [016.2] [pid=24083] Found a check result (#1) to handle... [1267785912.274978] [016.1] [pid=24083] Handling check result for service 'Disk' on host 'testhost'... [1267785912.274983] [001.0] [pid=24083] handle_async_service_check_result() [1267785912.274986] [016.0] [pid=24083] ** Handling check result for service 'Disk' on host 'testhost'... [1267785912.274990] [016.1] [pid=24083] HOST: testhost, SERVICE: Disk, CHECK TYPE: Active, OPTIONS: 1, SCHEDULED: Yes, RESCHEDULE: Yes, EXITED OK: Yes, RETURN CODE: 127, OUTPUT: (null) [1267785912.275056] [016.2] [pid=24083] ST: SOFT CA: 3 MA: 3 CS: 2 LS: 2 LHS: 0 [1267785912.275062] [016.2] [pid=24083] Service had a HARD STATE CHANGE!! [1267785912.275066] [016.1] [pid=24083] Service is in a non-OK state! [1267785912.275070] [016.1] [pid=24083] Host is currently UP, so we'll recheck its state to make sure... [1267785912.275074] [016.1] [pid=24083] * Using last known host state: 0 [1267785912.275078] [016.1] [pid=24083] Current/Max Attempt(s): 3/3 [1267785912.275082] [016.1] [pid=24083] Service has reached max number of rechecks, so we'll handle the error... [1267785912.275093] [001.0] [pid=24083] process_macros() [1267785912.275097] [2048.1] [pid=24083] **** BEGIN MACRO PROCESSING *********** [1267785912.275101] [2048.1] [pid=24083] Processing: 'SERVICE ALERT: testhost;Disk;$SERVICESTATE$;$SERVICESTATETYPE$;$SERVICEATTEMPT$;(Return code of 127 is out of bounds - plugin may be missing) ' [1267785912.275105] [2048.2] [pid=24083] Processing part: 'SERVICE ALERT: testhost;Disk;' [1267785912.275109] [2048.2] [pid=24083] Not currently in macro. Running output (40): 'SERVICE ALERT: testhost;Disk;' [1267785912.275114] [2048.2] [pid=24083] Processing part: 'SERVICESTATE' [1267785912.275118] [2048.2] [pid=24083] macro_x[4] (SERVICESTATE) match. [1267785912.275124] [2048.2] [pid=24083] Processed 'SERVICESTATE', Clean Options: 0, Free: 1 [1267785912.275128] [2048.2] [pid=24083] Processed 'SERVICESTATE', Clean Options: 0, Free: 1 [1267785912.275131] [2048.2] [pid=24083] Cleaning options: global=0, local=0, effective=0 [1267785912.275136] [2048.2] [pid=24083] Uncleaned macro. Running output (48): 'SERVICE ALERT: testhost;Disk;CRITICAL' [1267785912.275140] [2048.2] [pid=24083] Just finished macro. Running output (48): 'SERVICE ALERT: testhost;Disk;CRITICAL' [1267785912.275144] [2048.2] [pid=24083] Processing part: ';' [1267785912.275148] [2048.2] [pid=24083] Not currently in macro. Running output (49): 'SERVICE ALERT: testhost;Disk;CRITICAL;' [1267785912.275152] [2048.2] [pid=24083] Processing part: 'SERVICESTATETYPE' [1267785912.275156] [2048.2] [pid=24083] macro_x[42] (SERVICESTATETYPE) match. [1267785912.275160] [2048.2] [pid=24083] Processed 'SERVICESTATETYPE', Clean Options: 0, Free: 1 [1267785912.275165] [2048.2] [pid=24083] Processed 'SERVICESTATETYPE', Clean Options: 0, Free: 1 [1267785912.275168] [2048.2] [pid=24083] Cleaning options: global=0, local=0, effective=0 [1267785912.275172] [2048.2] [pid=24083] Uncleaned macro. Running output (53): 'SERVICE ALERT: testhost;Disk;CRITICAL;HARD' [1267785912.275176] [2048.2] [pid=24083] Just finished macro. Running output (53): 'SERVICE ALERT: testhost;Disk;CRITICAL;HARD' [1267785912.275180] [2048.2] [pid=24083] Processing part: ';' [1267785912.275183] [2048.2] [pid=24083] Not currently in macro. Running output (54): 'SERVICE ALERT: testhost;Disk;CRITICAL;HARD;' [1267785912.275187] [2048.2] [pid=24083] Processing part: 'SERVICEATTEMPT' [1267785912.275191] [2048.2] [pid=24083] macro_x[6] (SERVICEATTEMPT) match. [1267785912.275196] [2048.2] [pid=24083] Processed 'SERVICEATTEMPT', Clean Options: 0, Free: 1 [1267785912.275200] [2048.2] [pid=24083] Processed 'SERVICEATTEMPT', Clean Options: 0, Free: 1 [1267785912.275204] [2048.2] [pid=24083] Cleaning options: global=0, local=0, effective=0 [1267785912.275208] [2048.2] [pid=24083] Uncleaned macro. Running output (55): 'SERVICE ALERT: testhost;Disk;CRITICAL;HARD;3' [1267785912.275221] [2048.2] [pid=24083] Just finished macro. Running output (55): 'SERVICE ALERT: testhost;Disk;CRITICAL;HARD;3' [1267785912.275226] [2048.2] [pid=24083] Processing part: ';(Return code of 127 is out of bounds - plugin may be missing) ' [1267785912.275230] [2048.2] [pid=24083] Not currently in macro. Running output (118): 'SERVICE ALERT: testhost;Disk;CRITICAL;HARD;3;(Return code of 127 is out of bounds - plugin may be missing) ' [1267785912.275234] [2048.1] [pid=24083] Done. Final output: 'SERVICE ALERT: testhost;Disk;CRITICAL;HARD;3;(Return code of 127 is out of bounds - plugin may be missing) ' [1267785912.275237] [2048.1] [pid=24083] **** END MACRO PROCESSING ************* We also ran an stace on the Nagios process while forcing a check: [pid 16879] clone(Process 16880 attached child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fd49a633780) = 16880 [pid 16880] rt_sigaction(SIGPIPE, {SIG_DFL, [PIPE], SA_RESTORER|SA_RESTART, 0x7fd499ef03c0}, [pid 16880] <... rt_sigaction resumed> NULL, 8) = 0 [pid 16880] close(5 [pid 16880] <... close resumed> ) = 0 [pid 16880] dup2(8, 1 [pid 16880] <... dup2 resumed> ) = 1 [pid 16880] close(8) = 0 [pid 16880] execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_nrpe -t 30 -H testhost.server -c check_disk"], [/* 197 vars */]) = -1 E2BIG (Argument list too long) [pid 16880] exit_group(127) = ? Process 16880 detached [pid 16879] wait4(16880, [{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 16880 The problem seems to be related/similar to this one: https://sourceforge.net/mailarchive/message.php?msg_id=1234329173.3569.70.camel at localhost.localdomain My guess is that the "Argument list too long" is the $SERVICEGROUPMEMBERS$ macro... Cheers, Jeffrey Lensen Hyves ? System Engineering jeffrey at hyves.nl ? skyler.hyves.nl ? www.hyves.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 5 15:31:54 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 5 Mar 2010 14:31:54 +0000 Subject: Using NSClient with NRPE In-Reply-To: <7D85034F6BBBD540AF52C59CED3AA1E801C71301@AKVXCH02.tvnzad.tvnz.co.nz> References: <7D85034F6BBBD540AF52C59CED3AA1E801C712FB@AKVXCH02.tvnzad.tvnz.co.nz> <765d77c81003040527ma23bb78mf716f6378f5f781e@mail.gmail.com> <7D85034F6BBBD540AF52C59CED3AA1E801C71301@AKVXCH02.tvnzad.tvnz.co.nz> Message-ID: <765d77c81003050631n74aa6059k67fdd6dcb198e8b@mail.gmail.com> On 4 March 2010 19:37, Ron Wilson wrote: > It does not work. Here is my output Wordpad was running > libexec]# ./check_nrpe -H aks4mpp02 -u -c CheckProcState -a ShowAll wordpad.exe=started > CRITICAL: wordpad.exe: stopped (critical) > > Wordpad is not running > libexec]# ./check_nrpe -H aks4mpp02 -u -c CheckProcState -a ShowAll wordpad.exe=started > CRITICAL: wordpad.exe: stopped (critical) > > So regardless of running or not it gives same answer. > > What am I missing That's a bit bizarre. I just tested by actually running wordpad on one of my test servers: $ /usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -u -c CheckProcState -a ShowAll wordpad.exe=running OK: wordpad.exe: 1 And running two instances of Wordpad: $ /usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -u -c CheckProcState -a ShowAll wordpad.exe=started OK: wordpad.exe: 2 And after stopping wordpad: $ /usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -u -c CheckProcState -a ShowAll wordpad.exe=started CRITICAL: wordpad.exe: stopped (critical) I would go in to task manager on the system which is running wordpard, look in the processes tab and make absolutely sure the process which is running is called "wordpard.exe". If it isn't it may be that a virus has renamed the binary to something else. For the record, for that test I was using NSClient++ version 0.3.5.2 32-bit. The other version I commonly use is 0.3.5.1 . I would also check the nsclient.log file. If still no joy, set debug=1 in the [log] section of nsc.ini and see if debug will throw any more light on it. Make sure on your Nagios server that "aks4mpp02" resolves to the correct IP address for the server you are interested in. Also do an "ipconfig /all" on the Windows server to make sure it has the correct IP address. Personally I always specify IP addresses rather than names for hosts in my Nagios config so my monitoring won't break if DNS goes to pot, but I digress... hth, Jim ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 5 15:34:37 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 5 Mar 2010 14:34:37 +0000 Subject: Notification Interval set to 0 not working as per doc In-Reply-To: <4B90DA01.9010707@cisco.com> References: <4B90DA01.9010707@cisco.com> Message-ID: <765d77c81003050634w182c9e3fm9be12bdf86e9eaf2@mail.gmail.com> On 5 March 2010 10:16, Jatin Davey wrote: > Hi > > The Nagios documentation says that when you set the "Notification > Interval" to 0 , it will notify with an email alert only once when the > service state goes to "down" from "up" , it will then again notify when > the service comes back to "up" state , correct me if am wrong. > > But when i set this to 0 , i am still getting email notifications every > 10 mins for the service which is in "down" state for more than one day. > > Is this is a bug or am i missing something here , Please let me know. Bit of a long shot, but do you have any escalations defined? Also, check what the service or host definition looks like in your objects.cache file and post it here if you would like it checked-over. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 5 15:41:21 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 5 Mar 2010 14:41:21 +0000 Subject: nagios web configurator In-Reply-To: <2c69816a1003050425w4c126c2wf572dfd3adfa7ff3@mail.gmail.com> References: <2c69816a1003040120x34463465q8f42c3a86aae3d7a@mail.gmail.com> <765d77c81003040540j6ab25063r62cc2c49b2a506b3@mail.gmail.com> <2c69816a1003050425w4c126c2wf572dfd3adfa7ff3@mail.gmail.com> Message-ID: <765d77c81003050641v2d10b18cj94bac804d082828a@mail.gmail.com> On 5 March 2010 12:25, wale Ajayi wrote: > Hello jimmy, thanks for your quick response, please how can i remove > this "Nagios? Core? 3.2.0" from the header of the Nagios. Append "&noheader" to the URL in side.php . This removes the rest of the header too of course. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Fri Mar 5 16:34:28 2010 From: shadhin71 at gmail.com (shadih rahman) Date: Fri, 5 Mar 2010 10:34:28 -0500 Subject: on call rotation change on the fly Message-ID: <6db4a4201003050734m71617649j7c0ad70bbc61eeed@mail.gmail.com> Lets say I have an on-call rotation pre-defined with a list of names. Now, one of the operations member can not make it. Is it possible to change on-call rotation on the fly. Please advise on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Fri Mar 5 16:55:20 2010 From: mirde at oppy.com (Mirza Dedic) Date: Fri, 5 Mar 2010 07:55:20 -0800 Subject: How to update Merlin 0.6.4p2 and Ninja <1.x ? Message-ID: I have Merlin, Ninja, and NagVis installed.. Wanting to update the products to their latest version, does anyone out there have a tutorial on doing so? Ideally, do not want to lose ? a year of nagvis graphs and trends. Thanks. The Oppenheimer Group ---- CONFIDENTIAL This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Fri Mar 5 19:55:21 2010 From: cyruspy at gmail.com (Ciro Iriarte) Date: Fri, 5 Mar 2010 15:55:21 -0300 Subject: nagios web configurator In-Reply-To: <2c69816a1003040120x34463465q8f42c3a86aae3d7a@mail.gmail.com> References: <2c69816a1003040120x34463465q8f42c3a86aae3d7a@mail.gmail.com> Message-ID: 2010/3/4 wale Ajayi : > Hello every one, i need a very good web interface configurator for my > nagios3.0.6 can anybody help me to get one , thanks very much. > NagiosQL? -- Ciro Iriarte http://cyruspy.wordpress.com -- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From standalone.sysadmin at gmail.com Fri Mar 5 22:17:54 2010 From: standalone.sysadmin at gmail.com (Matt Simmons) Date: Fri, 5 Mar 2010 16:17:54 -0500 Subject: Failure Prediction: Are we there yet? Message-ID: <5bcb62b61003051317w5e59e624yb08ceccb1d627a7b@mail.gmail.com> Alright, so going through all of the things in my generic-services definition that I never ever look at (event_handler_enabled? who would set that to 0?), I came across "failure_prediction_enabled 1". I couldn't recall memorizing that particular line from the object definitions. I checked, and sure enough, that directive isn't listed (http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service). I did some more research. I found out that in July of 2002, Ethan hoped it would be out in 2003 or 2004. (http://support.nagios.com/knowledgebase/faqs/index.php?option=com_content&view=article&id=52&catid=35&faq_id=25&expand=false&showdesc=true). It's 6 years later, and for some reason, it's still in my config file. I'll admit...my config file isn't the most...ahem..chaste, of configs. It's been around the block, and is no spring chicken. I guess what I am asking is, since it isn't in the object definitions, and no official noise has been made about it in nearly a decade, I can safely assume that it no longer matters. Anyone have a recent copy of the source code lying around that they could grep? I just want to make sure that it isn't set to More Magic (http://catb.org/jargon/html/magic-story.html) --Matt -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at i-evolve.com Fri Mar 5 22:31:24 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Fri, 5 Mar 2010 16:31:24 -0500 Subject: Failure Prediction: Are we there yet? In-Reply-To: <5bcb62b61003051317w5e59e624yb08ceccb1d627a7b@mail.gmail.com> References: <5bcb62b61003051317w5e59e624yb08ceccb1d627a7b@mail.gmail.com> Message-ID: <33C7BE4CE80D504E8907FDC31F8A083047BC3F8047@iexchange.I-EVOLVE.com> Heh yeah, gotta love configuration cleanup days :) -----Original Message----- From: Matt Simmons [mailto:standalone.sysadmin at gmail.com] Sent: Friday, March 05, 2010 4:18 PM To: Nagios-Users List Subject: [Nagios-users] Failure Prediction: Are we there yet? Alright, so going through all of the things in my generic-services definition that I never ever look at (event_handler_enabled? who would set that to 0?), I came across "failure_prediction_enabled 1". I couldn't recall memorizing that particular line from the object definitions. I checked, and sure enough, that directive isn't listed (http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service). I did some more research. I found out that in July of 2002, Ethan hoped it would be out in 2003 or 2004. (http://support.nagios.com/knowledgebase/faqs/index.php?option=com_content&view=article&id=52&catid=35&faq_id=25&expand=false&showdesc=true). It's 6 years later, and for some reason, it's still in my config file. I'll admit...my config file isn't the most...ahem..chaste, of configs. It's been around the block, and is no spring chicken. I guess what I am asking is, since it isn't in the object definitions, and no official noise has been made about it in nearly a decade, I can safely assume that it no longer matters. Anyone have a recent copy of the source code lying around that they could grep? I just want to make sure that it isn't set to More Magic (http://catb.org/jargon/html/magic-story.html) --Matt -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 5 23:01:31 2010 From: marc at ena.com (Marc Powell) Date: Fri, 5 Mar 2010 16:01:31 -0600 Subject: Notification Interval set to 0 not working as per doc In-Reply-To: <4B90DA01.9010707@cisco.com> References: <4B90DA01.9010707@cisco.com> Message-ID: On Mar 5, 2010, at 4:16 AM, Jatin Davey wrote: > But when i set this to 0 , i am still getting email notifications every > 10 mins for the service which is in "down" state for more than one day. > > Is this is a bug or am i missing something here , Please let me know. Make sure that you restarted/reloaded nagios and that you don't have multiple nagios daemons running at the same time (one that knows the old config, one with the new). -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlitwin at stubhub.com Sat Mar 6 02:04:56 2010 From: mlitwin at stubhub.com (Litwin, Matthew) Date: Fri, 5 Mar 2010 18:04:56 -0700 Subject: Patterns in serviceextinfo.conf? Message-ID: <959742F1-ED4C-4135-9D3E-D05DE31AAFFE@stubhub.com> Is it possible to set up entries in serviceextinfo.conf to match a pattern to avoid having to re-enter similarly named services with the exact same notes_url definition? For instance, can entries like this: define serviceextinfo { service_description Oracle Tablespace - STSPDB - STREAMS_TBS hostgroup SRWC-solaris-siebel-db notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ } define serviceextinfo { service_description Oracle Tablespace - SBLDB - USERS hostgroup SRWC-solaris-siebel-db notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ } define serviceextinfo { service_description Oracle Tablespace - SBLDB - STUB_DATA01 hostgroup SRWC-solaris-siebel-db notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ } .... which all have a service_description that starts with "Oracle Tablespace" be defined in a singular definition somehow? Thanks, Matthew Litwin mlitwin at stubhub.com 415.222.8475 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Sat Mar 6 15:01:02 2010 From: jperrin at gmail.com (Jim Perrin) Date: Sat, 6 Mar 2010 09:01:02 -0500 Subject: Apache HTTP Server mod_deflate Remote Denial Of Service Vulnerability In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA0870F862@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA0870F862@PNE-HJN-MBX02.wipro.com> Message-ID: <302ce8b51003060601u3ed683d9gef80a1e0752efaa9@mail.gmail.com> On Sat, Mar 6, 2010 at 8:16 AM, wrote: > Hi, > ??? I am using Nagios 3.2.4 with Nagios-Plugins-1.4.14 and on Red Hat Fedora > Linux ver 10.1. > My security team has identified the following vulnerability and they have > given a action item for me. > Apache HTTP Server mod_deflate Remote Denial Of Service Vulnerability > Please someone help me what action can be taken on this. This is an apache issue and not really a nagios issue. You should check with your vendor (aka Fedora) for an updated apache fix that addresses the vulnerability your security team identified. On a personal note I'd recommend not using fedora for a server if you want to have any sense of long-term usage of the system. Fedora tends to go through releases rather quickly, where distros more targeted to the enterprise have several years of support for a release. For example: RHEL, CentOS and Scientific Linux all support their releases for 7 years. Fedora supports a release for around 12-18 months. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlitwin at stubhub.com Sat Mar 6 21:17:15 2010 From: mlitwin at stubhub.com (Litwin, Matthew) Date: Sat, 6 Mar 2010 13:17:15 -0700 Subject: Patterns in serviceextinfo.conf? In-Reply-To: <765d77c81003060338t49ff5fband296b7db8c5c49e@mail.gmail.com> References: <959742F1-ED4C-4135-9D3E-D05DE31AAFFE@stubhub.com> <765d77c81003060338t49ff5fband296b7db8c5c49e@mail.gmail.com> Message-ID: <1524ED40-9D38-43B9-A87D-08243E063612@stubhub.com> On Mar 6, 2010, at 3:38 AM, Jim Avery wrote: > On 6 March 2010 01:04, Litwin, Matthew wrote: >> Is it possible to set up entries in serviceextinfo.conf to match a pattern to avoid having to re-enter similarly named services with the exact same notes_url definition? >> >> For instance, can entries like this: >> >> define serviceextinfo { >> service_description Oracle Tablespace - STSPDB - STREAMS_TBS >> hostgroup SRWC-solaris-siebel-db >> notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ >> } >> define serviceextinfo { >> service_description Oracle Tablespace - SBLDB - USERS >> hostgroup SRWC-solaris-siebel-db >> notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ >> } >> define serviceextinfo { >> service_description Oracle Tablespace - SBLDB - STUB_DATA01 >> hostgroup SRWC-solaris-siebel-db >> notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ >> } >> .... >> >> which all have a service_description that starts with "Oracle Tablespace" be defined in a singular definition somehow? > > > Which release of Nagios are you using? > > In Nagios 3 serviceextinfo definitions are deprecated. You can now > put the notes_url directive in the service definition itself. You can > set up a service template which just contains the notes_url directive > and apply that template only to your Oracle Tablespace service > definitions. > > hth, > > Jim I am running 3.0.6. I guess I should have read the updated docs. :-) I really just should put this in my templates if that is the case. Thanks, Matthew Litwin mlitwin at stubhub.com 415.222.8475 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Sat Mar 6 22:59:02 2010 From: jperrin at gmail.com (Jim Perrin) Date: Sat, 6 Mar 2010 16:59:02 -0500 Subject: Apache HTTP Server mod_deflate Remote Denial Of Service Vulnerability In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA0870F871@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA0870F862@PNE-HJN-MBX02.wipro.com> <302ce8b51003060601u3ed683d9gef80a1e0752efaa9@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA0870F871@PNE-HJN-MBX02.wipro.com> Message-ID: <302ce8b51003061359s5e1e0d24nc149f06aea9e6386@mail.gmail.com> On Sat, Mar 6, 2010 at 9:33 AM, wrote: > Hi , > > I have below mentioned action items on me which my security team identified . You'll have to de-prioritize your current workload and make these your primary action items until your security team advises a status upgrade. > Please let me know whether the solution you have provided earlier is same for these? Yes. The advice 'Seek help from your OS vendor channel is still appropriate because this doesn't appear to have anything to do with nagios. > > Can anyone let me know the procedure for this... I did already. You left the answer below when you top posted. Here it is again: > This is an apache issue and not really a nagios issue. You should > check with your vendor (aka Fedora) for an updated apache fix that > addresses the vulnerability your security team identified. > > On a personal note I'd recommend not using fedora for a server if you > want to have any sense of long-term usage of the system. Fedora tends > to go through releases rather quickly, where distros more targeted to > the enterprise have several years of support for a release. For > example: RHEL, CentOS and Scientific Linux all support their releases > for 7 years. ?Fedora supports a release for around 12-18 months. > > -- > During times of universal deceit, telling the truth becomes a revolutionary act. > George Orwell > > Please do not print this email unless it is absolutely necessary. > > The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. This disclaimer is pretty useless when you're sending the message to a mailing list. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Sat Mar 6 15:33:43 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sat, 6 Mar 2010 20:03:43 +0530 Subject: Apache HTTP Server mod_deflate Remote Denial Of Service Vulnerability In-Reply-To: <302ce8b51003060601u3ed683d9gef80a1e0752efaa9@mail.gmail.com> References: <39C5D75C6A5D3440A833E1C014384BAA0870F862@PNE-HJN-MBX02.wipro.com> <302ce8b51003060601u3ed683d9gef80a1e0752efaa9@mail.gmail.com> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA0870F871@PNE-HJN-MBX02.wipro.com> Hi , I have below mentioned action items on me which my security team identified . Please let me know whether the solution you have provided earlier is same for these? Can anyone let me know the procedure for this... 1)Apache mod_proxy_ftp Module NULL Pointer Dereference Denial Of Service Vulnerability 2)Apache HTTP Server mod_proxy stream_reqbody_cl Function Denial of Service Vulnerability 3)Apache HTTP Server mod_deflate Remote Denial Of Service Vulnerability 4)Apache APR and APR-util Multiple Integer Overflow Vulnerabilities Thanks & Regards, Ravi G Wipro Technologies - India ? please consider the environment - do you really need to print this email? -----Original Message----- From: Jim Perrin [mailto:jperrin at gmail.com] Sent: Saturday, March 06, 2010 7:31 PM To: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Apache HTTP Server mod_deflate Remote Denial Of Service Vulnerability On Sat, Mar 6, 2010 at 8:16 AM, wrote: > Hi, > ??? I am using Nagios 3.2.4 with Nagios-Plugins-1.4.14 and on Red Hat Fedora > Linux ver 10.1. > My security team has identified the following vulnerability and they have > given a action item for me. > Apache HTTP Server mod_deflate Remote Denial Of Service Vulnerability > Please someone help me what action can be taken on this. This is an apache issue and not really a nagios issue. You should check with your vendor (aka Fedora) for an updated apache fix that addresses the vulnerability your security team identified. On a personal note I'd recommend not using fedora for a server if you want to have any sense of long-term usage of the system. Fedora tends to go through releases rather quickly, where distros more targeted to the enterprise have several years of support for a release. For example: RHEL, CentOS and Scientific Linux all support their releases for 7 years. Fedora supports a release for around 12-18 months. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.wolfe at robertwolfe.org Sat Mar 6 23:34:27 2010 From: robert.wolfe at robertwolfe.org (Wolfe, Robert) Date: Sat, 6 Mar 2010 22:34:27 +0000 Subject: Apache HTTP Server mod_deflate Remote Denial Of Service Vulnerability In-Reply-To: <302ce8b51003061359s5e1e0d24nc149f06aea9e6386@mail.gmail.com> References: <39C5D75C6A5D3440A833E1C014384BAA0870F862@PNE-HJN-MBX02.wipro.com> <302ce8b51003060601u3ed683d9gef80a1e0752efaa9@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA0870F871@PNE-HJN-MBX02.wipro.com>, <302ce8b51003061359s5e1e0d24nc149f06aea9e6386@mail.gmail.com> Message-ID: <2ABB2025AF94C94B96CC504384A83438C48BDB@exchange2010.wolfe.local> Then again even Ubuntu Server LTS would be a good choice, I think, as far as support goes. ________________________________________ From: Jim Perrin [jperrin at gmail.com] Sent: Saturday, March 06, 2010 4:59 PM To: ravishankar.gundlapali at wipro.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Apache HTTP Server mod_deflate Remote Denial Of Service Vulnerability On Sat, Mar 6, 2010 at 9:33 AM, wrote: > Hi , > > I have below mentioned action items on me which my security team identified . You'll have to de-prioritize your current workload and make these your primary action items until your security team advises a status upgrade. > Please let me know whether the solution you have provided earlier is same for these? Yes. The advice 'Seek help from your OS vendor channel is still appropriate because this doesn't appear to have anything to do with nagios. > > Can anyone let me know the procedure for this... I did already. You left the answer below when you top posted. Here it is again: > This is an apache issue and not really a nagios issue. You should > check with your vendor (aka Fedora) for an updated apache fix that > addresses the vulnerability your security team identified. > > On a personal note I'd recommend not using fedora for a server if you > want to have any sense of long-term usage of the system. Fedora tends > to go through releases rather quickly, where distros more targeted to > the enterprise have several years of support for a release. For > example: RHEL, CentOS and Scientific Linux all support their releases > for 7 years. Fedora supports a release for around 12-18 months. > > -- > During times of universal deceit, telling the truth becomes a revolutionary act. > George Orwell > > Please do not print this email unless it is absolutely necessary. > > The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. This disclaimer is pretty useless when you're sending the message to a mailing list. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pepper at reppep.com Sun Mar 7 04:17:41 2010 From: pepper at reppep.com (Chris Pepper) Date: Sat, 06 Mar 2010 22:17:41 -0500 Subject: RFE: Assign serviceescalation from service definition Message-ID: <4B931AD5.9070901@reppep.com> I'd like to be able to enable escalation from service definitions (including templates). This way we could tag all the services which should be escalated directly, rather than having the escalation managed separately. Chris -- Chris Pepper: ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Mar 6 16:34:51 2010 From: marc at ena.com (Marc Powell) Date: Sat, 6 Mar 2010 09:34:51 -0600 Subject: Apache HTTP Server mod_deflate Remote Denial Of Service Vulnerability In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA0870F871@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA0870F862@PNE-HJN-MBX02.wipro.com> <302ce8b51003060601u3ed683d9gef80a1e0752efaa9@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA0870F871@PNE-HJN-MBX02.wipro.com> Message-ID: <2E658828-0569-4FEF-9CD2-CF77A9826219@ena.com> On Mar 6, 2010, at 8:33 AM, wrote: > Hi , > > I have below mentioned action items on me which my security team identified . > > Please let me know whether the solution you have provided earlier is same for these? > > Can anyone let me know the procedure for this... > > > 1)Apache mod_proxy_ftp Module NULL Pointer Dereference Denial Of Service Vulnerability > > 2)Apache HTTP Server mod_proxy stream_reqbody_cl Function Denial of Service Vulnerability > > 3)Apache HTTP Server mod_deflate Remote Denial Of Service Vulnerability > > 4)Apache APR and APR-util Multiple Integer Overflow Vulnerabilities Hi Ravishankar, I don't know what your 'action items' are related to these but they don't seem to have anything to do with Nagios. If there is some relation to Nagios, you probably want to clarify that connection if you want better help. It seems to me that you should be using Google to find out how to correct these vulnerabilities or asking on the Apache users support listserv. It almost certainly involves upgrading Apache or the modules in question or disabling them entirely if you don't use them. While many of us may use Apache, it's not appropriate to ask here for Apache support unrelated to Nagios and you'll definitely get more relevant/accurate/timely answers from a forum that provides that support. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wertyy.w at gmail.com Sun Mar 7 23:05:30 2010 From: wertyy.w at gmail.com (wale Ajayi) Date: Sun, 7 Mar 2010 23:05:30 +0100 Subject: Fwd: The results of your email commands In-Reply-To: References: Message-ID: <2c69816a1003071405t7785b942vb71771df02a9d8b9@mail.gmail.com> ---------- Forwarded message ---------- From: Date: Sun, Mar 7, 2010 at 10:58 PM Subject: The results of your email commands To: wertyy.w at gmail.com The results of your email command are provided below. Attached is your original message. - Results: Ignoring non-text/plain MIME parts - Unprocessed: important, how can I change the Nagios at T.M 3.2.0 www.nagios.org on the header please for customization sake. - Done. ---------- Forwarded message ---------- From: wale Ajayi To: nagios-users-request at lists.sourceforge.net Date: Sun, 7 Mar 2010 22:58:35 +0100 Subject: Customization Thanks for all your contributions. Please i need your help here is important, how can I change the Nagios at T.M 3.2.0 www.nagios.org on the header please for customization sake. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhavalt at skillnetinc.com Mon Mar 8 04:27:41 2010 From: dhavalt at skillnetinc.com (Dhaval Thakar) Date: Mon, 08 Mar 2010 08:57:41 +0530 Subject: Fwd: Re: monitor xenserver Message-ID: <4B946EAD.4050703@skillnetinc.com> -------- Original Message -------- Subject: Re: [Nagios-users] monitor xenserver From: Wolfe, Robert To: Dhaval Thakar Date: 03/04/2010 07:39 PM > Of the actual Xen server itself or of the VMs within the server (we run 5.0 and 5.5 at work). > ________________________________________ > From: Dhaval Thakar [dhavalt at skillnetinc.com] > Sent: Thursday, March 04, 2010 1:55 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] monitor xenserver > > hi, > > I am using xenserver 5.5 > looking for way to monitor host cpu& memory utilization. > > is there any plugin available to monitor cpu& ram utilization? > want to monitor both. I am already monitoring VMs. need to monitor Xen server for CPU& Memory. so that in future I can upgrade hardware if required. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Mon Mar 8 05:16:50 2010 From: jashokda at cisco.com (Jatin Davey) Date: Mon, 08 Mar 2010 09:46:50 +0530 Subject: Monitor Java Process In-Reply-To: References: <4B8CF5E8.7000206@cisco.com><765d77c81003020535v7b38fde4i12306b5b15d82fe8@mail.gmail.com> <4B8E1BAB.2070809@cisco.com> Message-ID: <4B947A32.3090308@cisco.com> Thanks Micheal , I got some clue on how i can monitor the java procs running on remote PC's , i found check_jmx other jmx related plugins that i can use with nagios to monitor them. Thanks for your inputs. Thanks Jatin On 3/3/2010 9:11 PM, Michael Gargiullo wrote: > > -----Original Message----- > From: Jatin Davey [mailto:jashokda at cisco.com] > Sent: Wednesday, March 03, 2010 3:20 AM > To: Edwin Zoeller > Cc: Nagios Mailinglist > Subject: Re: [Nagios-users] Monitor Java Process > > Hi Edwin > > Did you mean that you are using the Process ID of the process running on > > the remote box to monitor its status ? > > Thanks > Jatin > > On 3/2/2010 8:10 PM, Edwin Zoeller wrote: > >> We monitor the port number assigned to the process. >> >> -----Original Message----- >> From: Jim Avery [mailto:jim at jimavery.me.uk] >> Sent: Tuesday, March 02, 2010 7:35 AM >> To: Jatin Davey >> Cc: Nagios Mailinglist >> Subject: Re: [Nagios-users] Monitor Java Process >> >> On 2 March 2010 11:26, Jatin Davey wrote: >> >> >>> Hi >>> >>> I want to know how i can monitor the java process running on remote >>> box , basically i want to keep monitoring it and raise an email alert >>> if it has re-started or stopped functioning. Please let me know how >>> this can be achieved using nagios. >>> >>> Thanks >>> Jatin >>> >>> >> Someone hereabouts recently mentioned you can use jmx4perl >> http://labs.consol.de/lang/de/jmx4perl/ >> >> I can't say I've tried it myself yet. >> >> >> > ------------------------------------------------------------------------ > > If I understand this, you have a java process that you want to monitor. > To see if the process is 'running' your best bet is using check_proc, > however, if you want to see if the process is still functioning and not > hung, you'll need to interact with the process. > > As Edwin stated, if your process opens a port, you can connect to it and > check for a default response using check_tcp (or udp). > > If you wrote the java process (or have access to the developers) you can > ask that they build in monitoring responses. I have a java listener > that I added a hook for a specific string. If I send a specific string > to its UDP port, it returns it's PID and Timestamp. > > What does the Java process do? If it doesn't open a port, does it write > to its log that you can check modification times on? > > If you can interact with the process you can monitor it. If it just > runs and doesn't interact with others, you can at least monitor that the > process is still running. In general if you can check its health > manually, you can write something for Nagios to use. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Mon Mar 8 05:17:41 2010 From: jashokda at cisco.com (Jatin Davey) Date: Mon, 08 Mar 2010 09:47:41 +0530 Subject: Monitor Java Process In-Reply-To: References: <4B8CF5E8.7000206@cisco.com><765d77c81003020535v7b38fde4i12306b5b15d82fe8@mail.gmail.com><4B8E1BAB.2070809@cisco.com> Message-ID: <4B947A65.5050602@cisco.com> Thanks Edwin, Thanks for your inputs. Thanks Jatin On 3/3/2010 11:17 PM, Edwin Zoeller wrote: > No not the PID since that changes but the actual port assigned to the > WAS application. A port is assigned when the WAS java application is > created. > > -----Original Message----- > From: Michael Gargiullo [mailto:mgargiullo at pivotpointsecurity.com] > Sent: Wednesday, March 03, 2010 9:42 AM > To: Nagios Mailinglist > Subject: Re: [Nagios-users] Monitor Java Process > > > > -----Original Message----- > From: Jatin Davey [mailto:jashokda at cisco.com] > Sent: Wednesday, March 03, 2010 3:20 AM > To: Edwin Zoeller > Cc: Nagios Mailinglist > Subject: Re: [Nagios-users] Monitor Java Process > > Hi Edwin > > Did you mean that you are using the Process ID of the process running on > > the remote box to monitor its status ? > > Thanks > Jatin > > On 3/2/2010 8:10 PM, Edwin Zoeller wrote: > >> We monitor the port number assigned to the process. >> >> -----Original Message----- >> From: Jim Avery [mailto:jim at jimavery.me.uk] >> Sent: Tuesday, March 02, 2010 7:35 AM >> To: Jatin Davey >> Cc: Nagios Mailinglist >> Subject: Re: [Nagios-users] Monitor Java Process >> >> On 2 March 2010 11:26, Jatin Davey wrote: >> >> >>> Hi >>> >>> I want to know how i can monitor the java process running on remote >>> box , basically i want to keep monitoring it and raise an email alert >>> > >>> if it has re-started or stopped functioning. Please let me know how >>> this can be achieved using nagios. >>> >>> Thanks >>> Jatin >>> >>> >> Someone hereabouts recently mentioned you can use jmx4perl >> http://labs.consol.de/lang/de/jmx4perl/ >> >> I can't say I've tried it myself yet. >> >> >> > ------------------------------------------------------------------------ > > If I understand this, you have a java process that you want to monitor. > To see if the process is 'running' your best bet is using check_proc, > however, if you want to see if the process is still functioning and not > hung, you'll need to interact with the process. > > As Edwin stated, if your process opens a port, you can connect to it and > check for a default response using check_tcp (or udp). > > If you wrote the java process (or have access to the developers) you can > ask that they build in monitoring responses. I have a java listener > that I added a hook for a specific string. If I send a specific string > to its UDP port, it returns it's PID and Timestamp. > > What does the Java process do? If it doesn't open a port, does it write > to its log that you can check modification times on? > > If you can interact with the process you can monitor it. If it just > runs and doesn't interact with others, you can at least monitor that the > process is still running. In general if you can check its health > manually, you can write something for Nagios to use. > > ------------------------------------------------------------------------ > ------ > Download Intel® Parallel Studio Eval Try the new software tools for > yourself. Speed compiling, find bugs proactively, and fine-tune > applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Mon Mar 8 05:26:18 2010 From: jashokda at cisco.com (Jatin Davey) Date: Mon, 08 Mar 2010 09:56:18 +0530 Subject: Notification Interval set to 0 not working as per doc In-Reply-To: References: <4B90DA01.9010707@cisco.com> Message-ID: <4B947C6A.9070701@cisco.com> I did make sure to re-start nagios and also made sure that multiple instances of it are not running. Thanks Jatin On 3/6/2010 3:31 AM, Marc Powell wrote: > On Mar 5, 2010, at 4:16 AM, Jatin Davey wrote: > > >> But when i set this to 0 , i am still getting email notifications every >> 10 mins for the service which is in "down" state for more than one day. >> >> Is this is a bug or am i missing something here , Please let me know. >> > Make sure that you restarted/reloaded nagios and that you don't have multiple nagios daemons running at the same time (one that knows the old config, one with the new). > > -- > Marc > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Mon Mar 8 05:24:40 2010 From: jashokda at cisco.com (Jatin Davey) Date: Mon, 08 Mar 2010 09:54:40 +0530 Subject: Notification Interval set to 0 not working as per doc In-Reply-To: <765d77c81003050634w182c9e3fm9be12bdf86e9eaf2@mail.gmail.com> References: <4B90DA01.9010707@cisco.com> <765d77c81003050634w182c9e3fm9be12bdf86e9eaf2@mail.gmail.com> Message-ID: <4B947C08.2060701@cisco.com> Hi Jim Replies to the questions that you had asked about the issue: 1. I do not have any escalations defined. 2. Given below is the output from one of the host as found in the object.cache file: define host { host_name Windows-xxxx alias Windows XP PC address x.x.x.x check_period 24x7 check_command check-host-alive contact_groups xxxx notification_period 24x7 initial_state o check_interval 2.000000 retry_interval 1.000000 max_check_attempts 2 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_host 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,d,u freshness_threshold 0 check_freshness 0 notification_options d,r,f,s notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } Please let me know if any further inputs are needed. Thanks Jatin On 3/5/2010 8:04 PM, Jim Avery wrote: > On 5 March 2010 10:16, Jatin Davey wrote: > >> Hi >> >> The Nagios documentation says that when you set the "Notification >> Interval" to 0 , it will notify with an email alert only once when the >> service state goes to "down" from "up" , it will then again notify when >> the service comes back to "up" state , correct me if am wrong. >> >> But when i set this to 0 , i am still getting email notifications every >> 10 mins for the service which is in "down" state for more than one day. >> >> Is this is a bug or am i missing something here , Please let me know. >> > Bit of a long shot, but do you have any escalations defined? > > Also, check what the service or host definition looks like in your > objects.cache file and post it here if you would like it checked-over. > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Mon Mar 8 08:10:11 2010 From: jashokda at cisco.com (Jatin Davey) Date: Mon, 08 Mar 2010 12:40:11 +0530 Subject: Monitoring JVM Attributes using Nagios In-Reply-To: References: <4B90EFC1.80106@cisco.com> Message-ID: <4B94A2D3.2000205@cisco.com> Hi Christian Could you let me know how i can install the plugin on the server that i need to monitor. As far as its deployment on the nagios server is concerned i know that i need to compile this plugin and then install it and i could start using it on the nagios server. But i am not getting a clue as to what i need to do on the remote box whose JVM parameters i need to monitor. Appreciate your help in this regard. Thanks Jatin On 3/5/2010 6:16 PM, Mies, Christian wrote: > Hi Jatin, > have a look at jmx::jmx4perl in CPAN. > Here is a nice Plugin included check_jmx4nagios > > I'm using it in several customer projects with success. > > Regards > Christian > > > i.A. Christian Mies > Senior Consultant > > Tel: +49 (661) 103-874 (-333) > Fax: +49 (661) 103-17874 (-334) > mailto:Christian.Mies at it-novum.com > > > > it-novum GmbH . Edelzeller Strasse 44 . 36043 Fulda . http://www.it-novum.com > Handelsregister Amtsgericht Fulda, HRB 1934 . Gesch?ftsf?hrer: Michael Kienle . Sitz der Gesellschaft: Fulda > > > Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfaenger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaeltigung oder Weiterleitung dieser Mail ist strengstens verboten. > This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. > > > -----Urspr?ngliche Nachricht----- > Von: Jatin Davey [mailto:jashokda at cisco.com] > Gesendet: Freitag, 5. M?rz 2010 12:49 > An: Nagios Mailinglist > Betreff: [Nagios-users] Monitoring JVM Attributes using Nagios > > Hi > > I am new to nagios and have been learning it since the last couple of > days. I still doing some basic monitoring on my servers in the lab. I > would like to know if there is a plugin available for nagios that can > get the remotely running JVM's operational parameters such as: CPU , > Heap memory used , Threads etc. > > Please suggest me if there is a good plugin available for such a requirment. > > Thanks > Jatin > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > Eingehende eMail ist virenfrei. > Von AVG ?berpr?ft - www.avg.de > Version: 9.0.733 / Virendatenbank: 271.1.1/2722 - Ausgabedatum: 03/04/10 20:34:00 > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Mon Mar 8 13:11:34 2010 From: jashokda at cisco.com (Jatin Davey) Date: Mon, 08 Mar 2010 17:41:34 +0530 Subject: Monitoring a process with its pid Message-ID: <4B94E976.2070202@cisco.com> Hi All Do we have a plugin that can monitor process id (pid) on a target machine , the target machine could be anything such as windows , linux , solaris etc and alert with an email notification when the process id changes. Appreciate your responses. Thanks Jatin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Mon Mar 8 14:10:00 2010 From: jashokda at cisco.com (Jatin Davey) Date: Mon, 08 Mar 2010 18:40:00 +0530 Subject: Monitoring a process with its pid In-Reply-To: <4B94E976.2070202@cisco.com> References: <4B94E976.2070202@cisco.com> Message-ID: <4B94F728.5060803@cisco.com> Let me re-phrase it a little , Basically what i want is to give the process id as the input and make sure on that target machine i have the process with the given id running , once it stops there might not be the process running with that id and hence i need to raise an email notification alert. Thanks Jatin On 3/8/2010 5:41 PM, Jatin Davey wrote: > Hi All > > Do we have a plugin that can monitor process id (pid) on a target > machine , the target machine could be anything such as windows , linux , > solaris etc and alert with an email notification when the process id > changes. > > Appreciate your responses. > > Thanks > Jatin > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.wolfe at robertwolfe.org Mon Mar 8 14:36:39 2010 From: robert.wolfe at robertwolfe.org (Wolfe, Robert) Date: Mon, 8 Mar 2010 13:36:39 +0000 Subject: Monitoring a process with its pid In-Reply-To: <4B94F728.5060803@cisco.com> References: <4B94E976.2070202@cisco.com>,<4B94F728.5060803@cisco.com> Message-ID: <2ABB2025AF94C94B96CC504384A83438C48D0A@exchange2010.wolfe.local> Forgive me, but I am not quite understanding why you are wanting to do this? Don't PIDs change from program startup to program startup? ________________________________________ From: Jatin Davey [jashokda at cisco.com] Sent: Monday, March 08, 2010 8:10 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring a process with its pid Let me re-phrase it a little , Basically what i want is to give the process id as the input and make sure on that target machine i have the process with the given id running , once it stops there might not be the process running with that id and hence i need to raise an email notification alert. Thanks Jatin On 3/8/2010 5:41 PM, Jatin Davey wrote: > Hi All > > Do we have a plugin that can monitor process id (pid) on a target > machine , the target machine could be anything such as windows , linux , > solaris etc and alert with an email notification when the process id > changes. > > Appreciate your responses. > > Thanks > Jatin > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.maraschini at opservices.com.br Mon Mar 8 14:07:52 2010 From: ricardo.maraschini at opservices.com.br (Ricardo Maraschini) Date: Mon, 8 Mar 2010 10:07:52 -0300 (BRT) Subject: Monitoring JVM Attributes using Nagios In-Reply-To: <4B94A2D3.2000205@cisco.com> References: <4B94A2D3.2000205@cisco.com> Message-ID: <18573265.7305.1268053672139.JavaMail.root@mail.opservices.com.br> ----- "Jatin Davey" escreveu: > Could you let me know how i can install the plugin on the server that > i > need to monitor. AFAIK you must install the script on the Nagios Server, not on the JVM Server. If I'm wrong, let me know. > But i am not getting > a > clue as to what i need to do on the remote box whose JVM parameters i > need to monitor. I truly believe you must enable JMX on JVM. Please refer to [1]. Once you enabled JMX, you can configure the plugin to connect in a remote way. HTH -rm [1] http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wertyy.w at gmail.com Mon Mar 8 15:17:43 2010 From: wertyy.w at gmail.com (wale Ajayi) Date: Mon, 8 Mar 2010 15:17:43 +0100 Subject: Customization Message-ID: <2c69816a1003080617r4bf109fewa10c9ef9da659f66@mail.gmail.com> Hello all, good job by every one of you, i just want to know how can i remove the Nagios at 3.0.6 in the headers of this application cos i'm newbee to this application and the documentation that talks about this after trying it, it does not work. Thanks for your response with time. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 8 16:04:27 2010 From: a31modela at hotmail.com (steve f) Date: Mon, 8 Mar 2010 10:04:27 -0500 Subject: Customization In-Reply-To: <2c69816a1003080617r4bf109fewa10c9ef9da659f66@mail.gmail.com> References: <2c69816a1003080617r4bf109fewa10c9ef9da659f66@mail.gmail.com> Message-ID: Are you referring to the main page for the Nagios web console? I have modified both the main page & the side bar by editing either side.php or main.php Steve Date: Mon, 8 Mar 2010 15:17:43 +0100 From: wertyy.w at gmail.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Customization Hello all, good job by every one of you, i just want to know how can i remove the Nagios at 3.0.6 in the headers of this application cos i'm newbee to this application and the documentation that talks about this after trying it, it does not work. Thanks for your response with time. _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/201469229/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hsjang at gmail.com Mon Mar 8 16:17:31 2010 From: hsjang at gmail.com (HyunSung Jang) Date: Tue, 9 Mar 2010 00:17:31 +0900 Subject: how many hosts or services can hold in one nagios? Message-ID: hello. I am think about setting up distributed monitoring but i just wanna know about how many hosts or services can hold in one nagios server. I have about 1000 hosts in my environment, and 3-5 services for each hosts. this makes maximum 5000 services check which i need to setup. can I make one nagios server to check all this hosts and services? and do you guys think that it is possible? if not, how many hosts or services should hold in one nagios servers? at this moment i adjusted interval_length to 1 in nagios.cfg and i am using 10 sec to check_interval in objects.cfg. Any comments or recommends are appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From standalone.sysadmin at gmail.com Mon Mar 8 16:31:22 2010 From: standalone.sysadmin at gmail.com (Matt Simmons) Date: Mon, 8 Mar 2010 10:31:22 -0500 Subject: Monitoring a process with its pid In-Reply-To: <4B94F728.5060803@cisco.com> References: <4B94E976.2070202@cisco.com> <4B94F728.5060803@cisco.com> Message-ID: <5bcb62b61003080731y4d209337v644650b715414ae7@mail.gmail.com> If you have snmp enabled on the hosts, you can pull that information out: ~$ snmpwalk -v 2c -c COMMUNITY myhost.mydomain.com HOST-RESOURCES-MIB::hrSWRunName.3309 HOST-RESOURCES-MIB::hrSWRunName.3309 = STRING: "crond" On Mon, Mar 8, 2010 at 8:10 AM, Jatin Davey wrote: > Let me re-phrase it a little , > > Basically what i want is to give the process id as the input and make > sure on that target machine i have the process with the given id running > , once it stops there might not be the process running with that id and > hence i need to raise an email notification alert. > > Thanks > Jatin > > On 3/8/2010 5:41 PM, Jatin Davey wrote: >> Hi All >> >> Do we have a plugin that can monitor process id (pid) on a target >> machine , the target machine could be anything such as windows , linux , >> solaris etc and alert with an email notification when the process id >> changes. >> >> Appreciate your responses. >> >> Thanks >> Jatin >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daveyjatin at gmail.com Mon Mar 8 16:34:42 2010 From: daveyjatin at gmail.com (Jatin) Date: Mon, 08 Mar 2010 21:04:42 +0530 Subject: Monitoring a process with its pid In-Reply-To: <2ABB2025AF94C94B96CC504384A83438C48D0A@exchange2010.wolfe.local> References: <4B94E976.2070202@cisco.com>, <4B94F728.5060803@cisco.com> <2ABB2025AF94C94B96CC504384A83438C48D0A@exchange2010.wolfe.local> Message-ID: <4B951912.6080506@gmail.com> You are correct , pid's change from to startup to startup but the reason for doing so is that i want to make sure that a process if it starts with some id it stays working as a long as possible and i need to monitor it. The moment it changes the pid then it means that it has either crashed of re-started with some other pid. I could also monitor for the process status using its name , example having to monitor an explorer.exe process instead of its pid but in my test environment i have multiple instances of the same process and i need to make sure all of them keep running. For example i hava 4 java.exe processes that i need to monitor and make sure i have not more or less than 4 java.exe being running at any given time in my server. Thanks Jatin Wolfe, Robert wrote: > Forgive me, but I am not quite understanding why you are wanting to do this? Don't PIDs change from program startup to program startup? > > ________________________________________ > From: Jatin Davey [jashokda at cisco.com] > Sent: Monday, March 08, 2010 8:10 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring a process with its pid > > Let me re-phrase it a little , > > Basically what i want is to give the process id as the input and make > sure on that target machine i have the process with the given id running > , once it stops there might not be the process running with that id and > hence i need to raise an email notification alert. > > Thanks > Jatin > > On 3/8/2010 5:41 PM, Jatin Davey wrote: > >> Hi All >> >> Do we have a plugin that can monitor process id (pid) on a target >> machine , the target machine could be anything such as windows , linux , >> solaris etc and alert with an email notification when the process id >> changes. >> >> Appreciate your responses. >> >> Thanks >> Jatin >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 8 17:47:26 2010 From: marc at ena.com (Marc Powell) Date: Mon, 8 Mar 2010 10:47:26 -0600 Subject: how many hosts or services can hold in one nagios? In-Reply-To: References: Message-ID: On Mar 8, 2010, at 9:17 AM, HyunSung Jang wrote: > hello. > I am think about setting up distributed monitoring but i just wanna know about how many > hosts or services can hold in one nagios server. There's no simple answer to this question because there are too many variables. An equivalent question is 'How far will a car go on a liter of gas?" > I have about 1000 hosts in my environment, and 3-5 services for each hosts. > this makes maximum 5000 services check which i need to setup. Are these simple checks or complex checks? Are you performing them once a second or once every 24 hours? Are you checking things on a fast LAN or slow WAN? Answering these questions won't get you a definitive answer but does illustrate some of the factors that can affect how many things you can check in a given interval. > can I make one nagios server to check all this hosts and services? > and do you guys think that it is possible? I expect that if you have a mix of simple (like ping) and complex (like check_http) checks, performed every 5 minutes or so on modern hardware and a decent network, you should be fine. I have single machines checking ~4000 services with 5 minute interval (complex and simple checks) and I appear to have plenty of room to grow. > if not, how many hosts or services should hold in one nagios servers? > > at this moment i adjusted interval_length to 1 in nagios.cfg and i am using > 10 sec to check_interval in objects.cfg. I'd be surprised if you could run 5000 checks every 10 seconds, even if they were just ping (unless just a single ping). It may be possible but you'll have several thousand processes running concurrently all the time. > Any comments or recommends are appreciated. I think the best answer anyone can give you is Try And Find Out, given your environment, the checks you want to perform and the frequency you want to perform them. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Mon Mar 8 19:06:06 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Mon, 8 Mar 2010 23:36:06 +0530 Subject: Want to Install nagios Message-ID: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> Hi, I have Linux box with Red Hat Fedora 10 installed on it. I want to install Nagios core 3.2 and Nagios-Plugins-1.4.14 Please can someone guide me how can I do this. Thanks & Regards, Ravi G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Mon Mar 8 19:11:37 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 08 Mar 2010 18:11:37 +0000 Subject: Want to Install nagios In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> Message-ID: <4B953DD9.3060409@flatto.net> start here http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html ravishankar.gundlapali at wipro.com wrote: > > Hi, > > > > I have Linux box with Red Hat Fedora 10 installed on it. > > > > I want to install Nagios core 3.2 and Nagios-Plugins-1.4.14 > > > > Please can someone guide me how can I do this. > > > > Thanks & Regards, > > *Ravi G* > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Mon Mar 8 19:16:31 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Mon, 8 Mar 2010 18:16:31 +0000 Subject: You do not have permission to access /nagios on this server Message-ID: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> Hi all, I have looked at all the questions so far, and nothing that brings any comfort. I followed the Fedore QuickStart even though I am on RHEL 4 (2.6.9-5.EL) I have all the following installed: Apache PHP GCC compiler GD development libraries I have nagios and nagcmd defined I have installed nagios and the plugins I have a passwd in htpasswd, and it is read acces for all. SELinux is disabled In terms of my nagios.conf, this is it? ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" # SSLRequireSSL Options FollowSymLinks ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios "/usr/local/nagios/share" # SSLRequireSSL Options FollowSymLinks DirectoryIndex index.html AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user The contents of my /share is the following: drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images -rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html drwxr-xr-x 4 root root 4096 mrt 8 11:39 locale -rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media -rw-rw-r-- 1 nagios nagcmd 26 mrt 5 12:23 robots.txt -rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets The errors I am getting is the following: Forbidden You don't have permission to access /nagios on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80 I am making the assumption that the 403 is less serious, and that it is actually the permissions that needs fixing? Thanks in advance for your willingness to look at this with me. Regards Gezina -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Mon Mar 8 19:19:12 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 08 Mar 2010 18:19:12 +0000 Subject: You do not have permission to access /nagios on this server In-Reply-To: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> Message-ID: <4B953FA0.6080805@flatto.net> Gezina Dekker wrote: > > Hi all, > > I have looked at all the questions so far, and nothing that brings any > comfort. > > I followed the Fedore QuickStart even though I am on RHEL 4 (2.6.9-5.EL) > > I have all the following installed: > Apache > PHP > GCC compiler > GD development libraries > > I have nagios and nagcmd defined > > I have installed nagios and the plugins > > I have a passwd in htpasswd, and it is read acces for all. > > SELinux is disabled > > In terms of my nagios.conf, this is it? > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > > # SSLRequireSSL > Options FollowSymLinks ExecCGI > AllowOverride AuthConfig > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > Alias /nagios "/usr/local/nagios/share" > > > # SSLRequireSSL > Options FollowSymLinks > DirectoryIndex index.html > AllowOverride AuthConfig > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > > The contents of my /share is the following: > drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . > drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. > drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp > drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs > drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images > -rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html > drwxr-xr-x 4 root root 4096 mrt 8 11:39 locale > -rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html > drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media > -rw-rw-r-- 1 nagios nagcmd 26 mrt 5 12:23 robots.txt > -rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html > drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi > drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets > > > The errors I am getting is the following: > > Forbidden > You don't have permission to access /nagios on this server. > Additionally, a 403 Forbidden error was encountered while trying to > use an ErrorDocument to handle the request. > > > > Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80 > > > I am making the assumption that the 403 is less serious, and that it > is actually the permissions that needs fixing? > > Thanks in advance for your willingness to look at this with me. Did you restart the apache after the change to the configuration ? Assaf ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at i-evolve.com Mon Mar 8 19:19:48 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Mon, 8 Mar 2010 13:19:48 -0500 Subject: You do not have permission to access /nagios on this server In-Reply-To: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> Message-ID: <33C7BE4CE80D504E8907FDC31F8A083047BCE083E1@iexchange.I-EVOLVE.com> Try setting ownership of these files to user nagios, group nagios. From: Gezina Dekker [mailto:gezinker at gmail.com] Sent: Monday, March 08, 2010 1:17 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] You do not have permission to access /nagios on this server Hi all, I have looked at all the questions so far, and nothing that brings any comfort. I followed the Fedore QuickStart even though I am on RHEL 4 (2.6.9-5.EL) I have all the following installed: Apache PHP GCC compiler GD development libraries I have nagios and nagcmd defined I have installed nagios and the plugins I have a passwd in htpasswd, and it is read acces for all. SELinux is disabled In terms of my nagios.conf, this is it... ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" # SSLRequireSSL Options FollowSymLinks ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios "/usr/local/nagios/share" # SSLRequireSSL Options FollowSymLinks DirectoryIndex index.html AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user The contents of my /share is the following: drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images -rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html drwxr-xr-x 4 root root 4096 mrt 8 11:39 locale -rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media -rw-rw-r-- 1 nagios nagcmd 26 mrt 5 12:23 robots.txt -rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets The errors I am getting is the following: Forbidden You don't have permission to access /nagios on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80 I am making the assumption that the 403 is less serious, and that it is actually the permissions that needs fixing... Thanks in advance for your willingness to look at this with me. Regards Gezina -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Mon Mar 8 19:23:09 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Mon, 8 Mar 2010 23:53:09 +0530 Subject: Want to Install nagios In-Reply-To: <4B953DD9.3060409@flatto.net> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> <4B953DD9.3060409@flatto.net> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA087A3B0E@PNE-HJN-MBX02.wipro.com> Hi, When I have given the following command ,the below error occurred. Please suggest. Loaded plugins: refresh-packagekit Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 error was [Errno 4] IOError: Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again Thanks & Regards, Ravi G -----Original Message----- From: Assaf Flatto [mailto:nagios at flatto.net] Sent: Monday, March 08, 2010 11:42 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Want to Install nagios start here http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html ravishankar.gundlapali at wipro.com wrote: > > Hi, > > > > I have Linux box with Red Hat Fedora 10 installed on it. > > > > I want to install Nagios core 3.2 and Nagios-Plugins-1.4.14 > > > > Please can someone guide me how can I do this. > > > > Thanks & Regards, > > *Ravi G* > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 8 19:25:06 2010 From: marc at ena.com (Marc Powell) Date: Mon, 8 Mar 2010 12:25:06 -0600 Subject: You do not have permission to access /nagios on this server In-Reply-To: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> Message-ID: <94E26D15-AC44-4BF0-A80E-BF9648F665AE@ena.com> On Mar 8, 2010, at 12:16 PM, Gezina Dekker wrote: > Hi all, > > The contents of my /share is the following: > drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . > drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. Permissions on this directory are not allowing your web server 'rx' access. Looks like this is /usr/local/nagios. chmod 755 /usr/local/nagios or chmod g+rx /usr/local/nagios if your httpd run-as user is in the nagcmd group. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Mon Mar 8 19:29:11 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Mon, 8 Mar 2010 18:29:11 +0000 Subject: You do not have permission to access /nagios on this server In-Reply-To: <4B953FA0.6080805@flatto.net> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> <4B953FA0.6080805@flatto.net> Message-ID: <126dc2681003081029h18670d13o166638496d3219ae@mail.gmail.com> Robert, Which files are we talking about? Regards Herbie 2010/3/8 Assaf Flatto > Gezina Dekker wrote: > > > > Hi all, > > > > I have looked at all the questions so far, and nothing that brings any > > comfort. > > > > I followed the Fedore QuickStart even though I am on RHEL 4 (2.6.9-5.EL) > > > > I have all the following installed: > > Apache > > PHP > > GCC compiler > > GD development libraries > > > > I have nagios and nagcmd defined > > > > I have installed nagios and the plugins > > > > I have a passwd in htpasswd, and it is read acces for all. > > > > SELinux is disabled > > > > In terms of my nagios.conf, this is it? > > > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > > > > > # SSLRequireSSL > > Options FollowSymLinks ExecCGI > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > Require valid-user > > > > > > Alias /nagios "/usr/local/nagios/share" > > > > > > # SSLRequireSSL > > Options FollowSymLinks > > DirectoryIndex index.html > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > Require valid-user > > > > > > > > The contents of my /share is the following: > > drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . > > drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. > > drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp > > drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs > > drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images > > -rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html > > drwxr-xr-x 4 root root 4096 mrt 8 11:39 locale > > -rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html > > drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media > > -rw-rw-r-- 1 nagios nagcmd 26 mrt 5 12:23 robots.txt > > -rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html > > drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi > > drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets > > > > > > The errors I am getting is the following: > > > > Forbidden > > You don't have permission to access /nagios on this server. > > Additionally, a 403 Forbidden error was encountered while trying to > > use an ErrorDocument to handle the request. > > > > > > > > Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80 > > > > > > I am making the assumption that the 403 is less serious, and that it > > is actually the permissions that needs fixing? > > > > Thanks in advance for your willingness to look at this with me. > > Did you restart the apache after the change to the configuration ? > > Assaf > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Mon Mar 8 19:29:47 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Mon, 8 Mar 2010 23:59:47 +0530 Subject: Want to Install nagios References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> <4B953DD9.3060409@flatto.net> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA087A3B12@PNE-HJN-MBX02.wipro.com> Hi, I have given the command ' yum install httpd php ' to install the packages initially but the below error occurred. Please suggest. Loaded plugins: refresh-packagekit Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 error was [Errno 4] IOError: Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again Thanks & Regards, Ravi G -----Original Message----- From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) Sent: Monday, March 08, 2010 11:53 PM To: 'Assaf Flatto'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Want to Install nagios Hi, When I have given the following command ,the below error occurred. Please suggest. Loaded plugins: refresh-packagekit Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 error was [Errno 4] IOError: Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again Thanks & Regards, Ravi G -----Original Message----- From: Assaf Flatto [mailto:nagios at flatto.net] Sent: Monday, March 08, 2010 11:42 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Want to Install nagios start here http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html ravishankar.gundlapali at wipro.com wrote: > > Hi, > > > > I have Linux box with Red Hat Fedora 10 installed on it. > > > > I want to install Nagios core 3.2 and Nagios-Plugins-1.4.14 > > > > Please can someone guide me how can I do this. > > > > Thanks & Regards, > > *Ravi G* > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neufpas at gmail.com Mon Mar 8 19:38:02 2010 From: neufpas at gmail.com (Noel Platzke) Date: Mon, 8 Mar 2010 13:38:02 -0500 Subject: Want to Install nagios In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA087A3B12@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> <4B953DD9.3060409@flatto.net> <39C5D75C6A5D3440A833E1C014384BAA087A3B12@PNE-HJN-MBX02.wipro.com> Message-ID: <96c54e8b1003081038t7e90984cscf30786516d7d113@mail.gmail.com> That's not a nagios problem. It's an issue with your machine not being able to talk to the yum repository. On Mon, Mar 8, 2010 at 1:29 PM, wrote: > Hi, > > I have given the command ' yum install httpd php ' to install the > packages initially but the below error occurred. > > Please suggest. > > > Loaded plugins: refresh-packagekit > Could not retrieve mirrorlist > http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 > error was > [Errno 4] IOError: > Error: Cannot retrieve repository metadata (repomd.xml) for repository: > fedora. Please verify its path and try again > > Thanks & Regards, > Ravi G > > > -----Original Message----- > From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) > Sent: Monday, March 08, 2010 11:53 PM > To: 'Assaf Flatto'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Want to Install nagios > > Hi, > > When I have given the following command ,the below error occurred. > > Please suggest. > > > Loaded plugins: refresh-packagekit > Could not retrieve mirrorlist > http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 > error was > [Errno 4] IOError: > Error: Cannot retrieve repository metadata (repomd.xml) for repository: > fedora. Please verify its path and try again > > Thanks & Regards, > Ravi G > > > -----Original Message----- > From: Assaf Flatto [mailto:nagios at flatto.net] > Sent: Monday, March 08, 2010 11:42 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Want to Install nagios > > > start here > > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html > > > ravishankar.gundlapali at wipro.com wrote: > > > > Hi, > > > > > > > > I have Linux box with Red Hat Fedora 10 installed on it. > > > > > > > > I want to install Nagios core 3.2 and Nagios-Plugins-1.4.14 > > > > > > > > Please can someone guide me how can I do this. > > > > > > > > Thanks & Regards, > > > > *Ravi G* > > > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------ > ------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------ > ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Mon Mar 8 19:44:08 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Mon, 8 Mar 2010 18:44:08 +0000 Subject: You do not have permission to access /nagios on this server In-Reply-To: <94E26D15-AC44-4BF0-A80E-BF9648F665AE@ena.com> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> <94E26D15-AC44-4BF0-A80E-BF9648F665AE@ena.com> Message-ID: <126dc2681003081044r7c2ac667s677ee53b472a8ae0@mail.gmail.com> Thank you, That was it, and it displays the signon screen now, but it does not accept my username or password. I would have thought that either nagios / nagiosadmin would be the one to use at the start? Any ideas on this? Regards Gezina 2010/3/8 Marc Powell > > On Mar 8, 2010, at 12:16 PM, Gezina Dekker wrote: > > > Hi all, > > > > > The contents of my /share is the following: > > drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . > > drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. > > Permissions on this directory are not allowing your web server 'rx' access. > Looks like this is /usr/local/nagios. chmod 755 /usr/local/nagios or chmod > g+rx /usr/local/nagios if your httpd run-as user is in the nagcmd group. > > -- > Marc > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Mon Mar 8 19:43:39 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Tue, 9 Mar 2010 00:13:39 +0530 Subject: Can we change the IP address of the Linux box after installing Nagios. References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> <4B953DD9.3060409@flatto.net> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA087A3B22@PNE-HJN-MBX02.wipro.com> Hi, I have a Linux box with Red Hat Fedora 10 installed on it. There is no internet access from this box. I have approached my security team and they have suggested me that they can change the IP address of this Linux box and move it to a different VLan for some time period where we have internet access, so that I can install the required packages and Nagios. After I am done with my work they said that they will move it back and change the IP. Can anyone please guide me whether I can follow the above procedure. Thanks a Lot in advance. Regards, Ravi G ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 8 19:45:24 2010 From: marc at ena.com (Marc Powell) Date: Mon, 8 Mar 2010 12:45:24 -0600 Subject: Want to Install nagios In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA087A3B12@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> <4B953DD9.3060409@flatto.net> <39C5D75C6A5D3440A833E1C014384BAA087A3B12@PNE-HJN-MBX02.wipro.com> Message-ID: <5C37F1EF-8F34-4B39-96BB-4F69C0A41A7E@ena.com> On Mar 8, 2010, at 12:29 PM, wrote: > Hi, > > I have given the command ' yum install httpd php ' to install the > packages initially but the below error occurred. > > Please suggest. Ask the forum that supports your OS/package manager? It seems you have outdated repository data for it. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Mon Mar 8 19:45:55 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Mon, 8 Mar 2010 18:45:55 +0000 Subject: Want to Install nagios In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> Message-ID: <126dc2681003081045x3a32f7dcw72365dfb222fa695@mail.gmail.com> Ravi, Search for Official Nagios Documentation, this will give you the doc you need for this purpose. 2010/3/8 > Hi, > > > > I have Linux box with Red Hat Fedora 10 installed on it. > > > > I want to install Nagios core 3.2 and Nagios-Plugins-1.4.14 > > > > Please can someone guide me how can I do this. > > > > Thanks & Regards, > > *Ravi G* > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Mon Mar 8 19:45:53 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Tue, 9 Mar 2010 00:15:53 +0530 Subject: Want to Install nagios In-Reply-To: <96c54e8b1003081038t7e90984cscf30786516d7d113@mail.gmail.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com><4B953DD9.3060409@flatto.net><39C5D75C6A5D3440A833E1C014384BAA087A3B12@PNE-HJN-MBX02.wipro.com> <96c54e8b1003081038t7e90984cscf30786516d7d113@mail.gmail.com> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA087A3B26@PNE-HJN-MBX02.wipro.com> Hi , Please suggest what can be done for this issue. Thanks a lot in advance. Thanks & Regards, Ravi G From: Noel Platzke [mailto:neufpas at gmail.com] Sent: Tuesday, March 09, 2010 12:08 AM To: nagios List Subject: Re: [Nagios-users] Want to Install nagios That's not a nagios problem. It's an issue with your machine not being able to talk to the yum repository. On Mon, Mar 8, 2010 at 1:29 PM, wrote: Hi, I have given the command ' yum install httpd php ' to install the packages initially but the below error occurred. Please suggest. Loaded plugins: refresh-packagekit Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 error was [Errno 4] IOError: Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again Thanks & Regards, Ravi G -----Original Message----- From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) Sent: Monday, March 08, 2010 11:53 PM To: 'Assaf Flatto'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Want to Install nagios Hi, When I have given the following command ,the below error occurred. Please suggest. Loaded plugins: refresh-packagekit Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 error was [Errno 4] IOError: Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again Thanks & Regards, Ravi G -----Original Message----- From: Assaf Flatto [mailto:nagios at flatto.net] Sent: Monday, March 08, 2010 11:42 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Want to Install nagios start here http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html ravishankar.gundlapali at wipro.com wrote: > > Hi, > > > > I have Linux box with Red Hat Fedora 10 installed on it. > > > > I want to install Nagios core 3.2 and Nagios-Plugins-1.4.14 > > > > Please can someone guide me how can I do this. > > > > Thanks & Regards, > > *Ravi G* > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Mon Mar 8 19:53:06 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Mon, 8 Mar 2010 18:53:06 +0000 Subject: You do not have permission to access /nagios on this server In-Reply-To: <126dc2681003081044r7c2ac667s677ee53b472a8ae0@mail.gmail.com> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> <94E26D15-AC44-4BF0-A80E-BF9648F665AE@ena.com> <126dc2681003081044r7c2ac667s677ee53b472a8ae0@mail.gmail.com> Message-ID: <126dc2681003081053o3174b2eds4f33d735949700cc@mail.gmail.com> This is the messages I am getting: [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user nagiosadmin not found: /nagios What does MySql have to do with the bak of patatoes? 2010/3/8 Gezina Dekker > Thank you, > > That was it, and it displays the signon screen now, but it does not accept > my username or password. > I would have thought that either nagios / nagiosadmin would be the one to > use at the start? > Any ideas on this? > > Regards > > Gezina > > 2010/3/8 Marc Powell > > >> On Mar 8, 2010, at 12:16 PM, Gezina Dekker wrote: >> >> > Hi all, >> > >> >> > The contents of my /share is the following: >> > drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . >> > drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. >> >> Permissions on this directory are not allowing your web server 'rx' >> access. Looks like this is /usr/local/nagios. chmod 755 /usr/local/nagios or >> chmod g+rx /usr/local/nagios if your httpd run-as user is in the nagcmd >> group. >> >> -- >> Marc >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Mon Mar 8 19:27:27 2010 From: jpratt at norwich.edu (James Pratt) Date: Mon, 8 Mar 2010 13:27:27 -0500 Subject: You do not have permission to access /nagios on this server In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A083047BCE083E1@iexchange.I-EVOLVE.com> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> <33C7BE4CE80D504E8907FDC31F8A083047BCE083E1@iexchange.I-EVOLVE.com> Message-ID: <24B6509E4191AF44B60A24EAA3B4AD4956D3C2@nuexchg.norwich.edu> >From what I can see, the perms shouldn't be a big problem , mine are all owned by nagios:nagios - if you remove the .htaccess auth parts, can you get in and view the CGI's normally? what do your Apache error and access logs say? Hth Cheers, jamie >> -----Original Message----- >> From: Robert Wolfe [mailto:rwolfe at i-evolve.com] >> Sent: Monday, March 08, 2010 1:20 PM >> To: 'Gezina Dekker'; nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] You do not have permission to access /nagios on this server >> >> Try setting ownership of these files to user nagios, group nagios. >> >> >> >> >> >> >> >> From: Gezina Dekker [mailto:gezinker at gmail.com] >> Sent: Monday, March 08, 2010 1:17 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] You do not have permission to access /nagios on this server >> >> >> >> Hi all, >> >> I have looked at all the questions so far, and nothing that brings any comfort. >> >> I followed the Fedore QuickStart even though I am on RHEL 4 (2.6.9-5.EL) >> >> I have all the following installed: >> Apache >> PHP >> GCC compiler >> GD development libraries >> >> I have nagios and nagcmd defined >> >> I have installed nagios and the plugins >> >> I have a passwd in htpasswd, and it is read acces for all. >> >> SELinux is disabled >> >> In terms of my nagios.conf, this is it... >> >> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" >> >> >> # SSLRequireSSL >> Options FollowSymLinks ExecCGI >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> Require valid-user >> >> >> Alias /nagios "/usr/local/nagios/share" >> >> >> # SSLRequireSSL >> Options FollowSymLinks >> DirectoryIndex index.html >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> Require valid-user >> >> >> >> The contents of my /share is the following: >> drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . >> drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images >> -rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html >> drwxr-xr-x 4 root root 4096 mrt 8 11:39 locale >> -rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media >> -rw-rw-r-- 1 nagios nagcmd 26 mrt 5 12:23 robots.txt >> -rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets >> >> >> The errors I am getting is the following: >> >> Forbidden >> You don't have permission to access /nagios on this server. >> Additionally, a 403 Forbidden error was encountered while trying to use an >> ErrorDocument to handle the request. >> >> >> >> Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80 >> >> >> I am making the assumption that the 403 is less serious, and that it is actually the >> permissions that needs fixing... >> >> Thanks in advance for your willingness to look at this with me. >> >> Regards >> >> >> >> Gezina ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 z3b.org Mon Mar 8 20:20:40 2010 From: nagios at z3b.org (Kyle O'Donnell) Date: Mon, 08 Mar 2010 14:20:40 -0500 Subject: Want to Install nagios In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA087A3B26@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com><4B953DD9.3060409@flatto.net><39C5D75C6A5D3440A833E1C014384BAA087A3B12@PNE-HJN-MBX02.wipro.com> <96c54e8b1003081038t7e90984cscf30786516d7d113@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA087A3B26@PNE-HJN-MBX02.wipro.com> Message-ID: <6bdcbd25868eccda5cb538759a3e2c30@localhost> perhaps you should visit nagios.com instead of nagios.org On Tue, 9 Mar 2010 00:15:53 +0530, wrote: > Hi , > > > > Please suggest what can be done for this issue. > > > > Thanks a lot in advance. > > > > Thanks & Regards, > > Ravi G > > > > From: Noel Platzke [mailto:neufpas at gmail.com] > Sent: Tuesday, March 09, 2010 12:08 AM > To: nagios List > Subject: Re: [Nagios-users] Want to Install nagios > > > > That's not a nagios problem. It's an issue with your machine not being > able to talk to the yum repository. > > On Mon, Mar 8, 2010 at 1:29 PM, > wrote: > > Hi, > > I have given the command ' yum install httpd php ' to install the > packages initially but the below error occurred. > > Please suggest. > > > Loaded plugins: refresh-packagekit > Could not retrieve mirrorlist > http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 > error was > [Errno 4] IOError: > Error: Cannot retrieve repository metadata (repomd.xml) for repository: > fedora. Please verify its path and try again > > Thanks & Regards, > Ravi G > > > -----Original Message----- > From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) > Sent: Monday, March 08, 2010 11:53 PM > To: 'Assaf Flatto'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Want to Install nagios > > Hi, > > When I have given the following command ,the below error occurred. > > Please suggest. > > > Loaded plugins: refresh-packagekit > Could not retrieve mirrorlist > http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 > error was > [Errno 4] IOError: > Error: Cannot retrieve repository metadata (repomd.xml) for repository: > fedora. Please verify its path and try again > > Thanks & Regards, > Ravi G > > > -----Original Message----- > From: Assaf Flatto [mailto:nagios at flatto.net] > Sent: Monday, March 08, 2010 11:42 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Want to Install nagios > > > start here > > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html > > > ravishankar.gundlapali at wipro.com wrote: >> >> Hi, >> >> >> >> I have Linux box with Red Hat Fedora 10 installed on it. >> >> >> >> I want to install Nagios core 3.2 and Nagios-Plugins-1.4.14 >> >> >> >> Please can someone guide me how can I do this. >> >> >> >> Thanks & Regards, >> >> *Ravi G* >> >> >> >> > ------------------------------------------------------------------------ >> >> > ------------------------------------------------------------------------ > ------ >> Download Intel? Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> > ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------ > ------ > Download Intel? Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------ > ------ > Download Intel? Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From am.srini at gmail.com Mon Mar 8 20:35:46 2010 From: am.srini at gmail.com (Ambati Srinivas) Date: Tue, 9 Mar 2010 01:05:46 +0530 Subject: check_snmp plugin not visible Message-ID: <3b3b4f141003081135q7df5c2b4v844c75bd4336313a@mail.gmail.com> Hi, I very recently installed nagios Nagios-3.2.0 and Nagios-plugins-1.4.14on fedora 12. All went however I am not able to execute nor see check_snmp under /usr/local/nagios/libexec/ For your reference: [root at nagios01 plugins]# cd /usr/local/nagios/libexec/ [root at nagios01 libexec]# ls check_apt check_file_age check_log check_oracle check_tcp check_breeze check_flexlm check_mailq check_overcr check_time check_by_ssh check_ftp check_mrtg check_ping check_udp check_clamd check_http check_mrtgtraf check_pop check_ups check_cluster check_icmp check_nagios check_procs check_users check_dhcp check_ide_smart check_nntp check_real check_wave check_dig check_ifoperstatus check_nt check_rpc negate check_disk check_ifstatus check_ntp check_sensors urlize check_disk_smb check_imap check_ntp_peer check_smtp utils.pm check_dns check_ircd check_ntp_time check_ssh utils.sh check_dummy check_load check_nwstat check_swap [root at nagios01 libexec]# While I can see files in /nagios-plugins-1.4.14/plugins (after untar) check_snmp check_snmp.c check_snmp.o For your refernce: [root at nagios01 Downloads]# ls nagios-3.2.0 nagios-plugins-1.4.14 nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz [root at nagios01 Downloads]# pwd /home/xxxxxxxx/Downloads [root at nagios01 Downloads]# ls nagios-3.2.0 nagios-plugins-1.4.14 nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz [root at nagios01 Downloads]# [root at nagios01 libexec]# cd /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins [root at nagios01 plugins]# pwd /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins [root at nagios01 plugins]# ls check_apt check_ide_smart.o check_overcr check_udp check_apt.c check_imap check_overcr.c check_ups check_apt.o check_ldap.c check_overcr.o check_ups.c check_by_ssh check_load check_pgsql.c check_ups.o check_by_ssh.c check_load.c check_ping check_users check_by_ssh.o check_load.o check_ping.c check_users.c check_clamd check_mrtg check_ping.o check_users.o check_cluster check_mrtg.c check_pop common.h check_cluster.c check_mrtg.o check_procs Makefile check_cluster.o check_mrtgtraf check_procs.c Makefile.am check_dig check_mrtgtraf.c check_procs.o Makefile.in check_dig.c check_mrtgtraf.o check_radius.c negate check_dig.o check_mysql.c check_real negate.c check_disk check_mysql_query.c check_real.c negate.o check_disk.c check_nagios check_real.o netutils.c check_disk.o check_nagios.c check_smtp netutils.h check_dns check_nagios.o check_smtp.c netutils.o check_dns.c check_nntp check_smtp.o popen.c check_dns.o check_nt check_snmp popen.h check_dummy check_nt.c check_snmp.c popen.o check_dummy.c check_nt.o check_snmp.o runcmd.c check_dummy.o check_ntp check_ssh runcmd.h check_fping.c check_ntp.c check_ssh.c runcmd.o check_ftp check_ntp.o check_ssh.o sslutils.c check_game.c check_ntp_peer check_swap sslutils.o check_hpjd check_ntp_peer.c check_swap.c t check_hpjd.c check_ntp_peer.o check_swap.o urlize check_hpjd.o check_ntp_time check_tcp urlize.c check_http check_ntp_time.c check_tcp.c urlize.o check_http.c check_ntp_time.o check_tcp.o utils.c check_http.o check_nwstat check_time utils.h check_ide_smart check_nwstat.c check_time.c utils.o check_ide_smart.c check_nwstat.o check_time.o [root at nagios01 plugins]# Please advice, am -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 z3b.org Mon Mar 8 20:46:11 2010 From: nagios at z3b.org (Kyle O'Donnell) Date: Mon, 08 Mar 2010 14:46:11 -0500 Subject: =?utf-8?q?check=5Fsnmp_plugin_not_visible?= In-Reply-To: <3b3b4f141003081135q7df5c2b4v844c75bd4336313a@mail.gmail.com> References: <3b3b4f141003081135q7df5c2b4v844c75bd4336313a@mail.gmail.com> Message-ID: <3d41807fac238e5229f32b71696b20d4@localhost> What were you configure options? Do you have net-snmp(dev libs too) installed? On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas wrote: > Hi, > > I very recently installed nagios Nagios-3.2.0 and Nagios-plugins-1.4.14on > fedora 12. All went however I am not able to execute nor see check_snmp > under /usr/local/nagios/libexec/ > > For your reference: > [root at nagios01 plugins]# cd /usr/local/nagios/libexec/ > [root at nagios01 libexec]# ls > check_apt check_file_age check_log check_oracle > check_tcp > check_breeze check_flexlm check_mailq check_overcr > check_time > check_by_ssh check_ftp check_mrtg check_ping > check_udp > check_clamd check_http check_mrtgtraf check_pop > check_ups > check_cluster check_icmp check_nagios check_procs > check_users > check_dhcp check_ide_smart check_nntp check_real > check_wave > check_dig check_ifoperstatus check_nt check_rpc negate > check_disk check_ifstatus check_ntp check_sensors urlize > check_disk_smb check_imap check_ntp_peer check_smtp utils.pm > check_dns check_ircd check_ntp_time check_ssh utils.sh > check_dummy check_load check_nwstat check_swap > [root at nagios01 libexec]# > > > > While I can see files in /nagios-plugins-1.4.14/plugins (after untar) > check_snmp > check_snmp.c > check_snmp.o > For your refernce: > [root at nagios01 Downloads]# ls > nagios-3.2.0 nagios-plugins-1.4.14 > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz > [root at nagios01 Downloads]# pwd > /home/xxxxxxxx/Downloads > [root at nagios01 Downloads]# ls > nagios-3.2.0 nagios-plugins-1.4.14 > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz > [root at nagios01 Downloads]# > [root at nagios01 libexec]# cd > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins > [root at nagios01 plugins]# pwd > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins > [root at nagios01 plugins]# ls > check_apt check_ide_smart.o check_overcr check_udp > check_apt.c check_imap check_overcr.c check_ups > check_apt.o check_ldap.c check_overcr.o check_ups.c > check_by_ssh check_load check_pgsql.c check_ups.o > check_by_ssh.c check_load.c check_ping check_users > check_by_ssh.o check_load.o check_ping.c check_users.c > check_clamd check_mrtg check_ping.o check_users.o > check_cluster check_mrtg.c check_pop common.h > check_cluster.c check_mrtg.o check_procs Makefile > check_cluster.o check_mrtgtraf check_procs.c Makefile.am > check_dig check_mrtgtraf.c check_procs.o Makefile.in > check_dig.c check_mrtgtraf.o check_radius.c negate > check_dig.o check_mysql.c check_real negate.c > check_disk check_mysql_query.c check_real.c negate.o > check_disk.c check_nagios check_real.o netutils.c > check_disk.o check_nagios.c check_smtp netutils.h > check_dns check_nagios.o check_smtp.c netutils.o > check_dns.c check_nntp check_smtp.o popen.c > check_dns.o check_nt check_snmp popen.h > check_dummy check_nt.c check_snmp.c popen.o > check_dummy.c check_nt.o check_snmp.o runcmd.c > check_dummy.o check_ntp check_ssh runcmd.h > check_fping.c check_ntp.c check_ssh.c runcmd.o > check_ftp check_ntp.o check_ssh.o sslutils.c > check_game.c check_ntp_peer check_swap sslutils.o > check_hpjd check_ntp_peer.c check_swap.c t > check_hpjd.c check_ntp_peer.o check_swap.o urlize > check_hpjd.o check_ntp_time check_tcp urlize.c > check_http check_ntp_time.c check_tcp.c urlize.o > check_http.c check_ntp_time.o check_tcp.o utils.c > check_http.o check_nwstat check_time utils.h > check_ide_smart check_nwstat.c check_time.c utils.o > check_ide_smart.c check_nwstat.o check_time.o > [root at nagios01 plugins]# > > Please advice, > > am ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Mon Mar 8 20:47:14 2010 From: gevery at gmail.com (Gary Every) Date: Mon, 8 Mar 2010 12:47:14 -0700 Subject: check_snmp plugin not visible In-Reply-To: <3b3b4f141003081135q7df5c2b4v844c75bd4336313a@mail.gmail.com> References: <3b3b4f141003081135q7df5c2b4v844c75bd4336313a@mail.gmail.com> Message-ID: if you don't have net-snmp/snmpd installed on your system, it will not compile the plugins - make sure that you have the commands, such as snmpwalk, etc installed and re-compile g.; On Mon, Mar 8, 2010 at 12:35 PM, Ambati Srinivas wrote: > Hi, > > I very recently installed nagios Nagios-3.2.0 and Nagios-plugins-1.4.14on > fedora 12. All went however I am not able to execute nor see check_snmp > under /usr/local/nagios/libexec/ > > For your reference: > [root at nagios01 plugins]# cd /usr/local/nagios/libexec/ > [root at nagios01 libexec]# ls > check_apt check_file_age check_log check_oracle > check_tcp > check_breeze check_flexlm check_mailq check_overcr > check_time > check_by_ssh check_ftp check_mrtg check_ping > check_udp > check_clamd check_http check_mrtgtraf check_pop > check_ups > check_cluster check_icmp check_nagios check_procs > check_users > check_dhcp check_ide_smart check_nntp check_real > check_wave > check_dig check_ifoperstatus check_nt check_rpc negate > check_disk check_ifstatus check_ntp check_sensors urlize > check_disk_smb check_imap check_ntp_peer check_smtp > utils.pm > check_dns check_ircd check_ntp_time check_ssh utils.sh > check_dummy check_load check_nwstat check_swap > [root at nagios01 libexec]# > > > > While I can see files in /nagios-plugins-1.4.14/plugins (after untar) > check_snmp > check_snmp.c > check_snmp.o > For your refernce: > [root at nagios01 Downloads]# ls > nagios-3.2.0 nagios-plugins-1.4.14 > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz > [root at nagios01 Downloads]# pwd > /home/xxxxxxxx/Downloads > [root at nagios01 Downloads]# ls > nagios-3.2.0 nagios-plugins-1.4.14 > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz > [root at nagios01 Downloads]# > [root at nagios01 libexec]# cd > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins > [root at nagios01 plugins]# pwd > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins > [root at nagios01 plugins]# ls > check_apt check_ide_smart.o check_overcr check_udp > check_apt.c check_imap check_overcr.c check_ups > check_apt.o check_ldap.c check_overcr.o check_ups.c > check_by_ssh check_load check_pgsql.c check_ups.o > check_by_ssh.c check_load.c check_ping check_users > check_by_ssh.o check_load.o check_ping.c check_users.c > check_clamd check_mrtg check_ping.o check_users.o > check_cluster check_mrtg.c check_pop common.h > check_cluster.c check_mrtg.o check_procs Makefile > check_cluster.o check_mrtgtraf check_procs.c Makefile.am > check_dig check_mrtgtraf.c check_procs.o Makefile.in > check_dig.c check_mrtgtraf.o check_radius.c negate > check_dig.o check_mysql.c check_real negate.c > check_disk check_mysql_query.c check_real.c negate.o > check_disk.c check_nagios check_real.o netutils.c > check_disk.o check_nagios.c check_smtp netutils.h > check_dns check_nagios.o check_smtp.c netutils.o > check_dns.c check_nntp check_smtp.o popen.c > check_dns.o check_nt check_snmp popen.h > check_dummy check_nt.c check_snmp.c popen.o > check_dummy.c check_nt.o check_snmp.o runcmd.c > check_dummy.o check_ntp check_ssh runcmd.h > check_fping.c check_ntp.c check_ssh.c runcmd.o > check_ftp check_ntp.o check_ssh.o sslutils.c > check_game.c check_ntp_peer check_swap sslutils.o > check_hpjd check_ntp_peer.c check_swap.c t > check_hpjd.c check_ntp_peer.o check_swap.o urlize > check_hpjd.o check_ntp_time check_tcp urlize.c > check_http check_ntp_time.c check_tcp.c urlize.o > check_http.c check_ntp_time.o check_tcp.o utils.c > check_http.o check_nwstat check_time utils.h > check_ide_smart check_nwstat.c check_time.c utils.o > check_ide_smart.c check_nwstat.o check_time.o > [root at nagios01 plugins]# > > Please advice, > > am > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Mon Mar 8 20:53:21 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Tue, 9 Mar 2010 01:23:21 +0530 Subject: Unable to install Packages . References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com><4B953DD9.3060409@flatto.net><39C5D75C6A5D3440A833E1C014384BAA087A3B12@PNE-HJN-MBX02.wipro.com> <96c54e8b1003081038t7e90984cscf30786516d7d113@mail.gmail.com> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA087A3B39@PNE-HJN-MBX02.wipro.com> Hi, I have a Linux Box with Red hat Fedora 10 installed on it. When I am trying to install the package by entering the command 'yum install httpd ' below mentioned error occurred. Please someone help me how can I resolve this. [root@******** ~]# yum install httpd Loaded plugins: refresh-packagekit Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 error was [Errno 4] IOError: Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again Thanks, Ravi G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From am.srini at gmail.com Mon Mar 8 20:56:37 2010 From: am.srini at gmail.com (Ambati Srinivas) Date: Tue, 9 Mar 2010 01:26:37 +0530 Subject: check_snmp plugin not visible In-Reply-To: <3d41807fac238e5229f32b71696b20d4@localhost> References: <3b3b4f141003081135q7df5c2b4v844c75bd4336313a@mail.gmail.com> <3d41807fac238e5229f32b71696b20d4@localhost> Message-ID: <3b3b4f141003081156x7398f5d5x1978ed3c4ccb0e1a@mail.gmail.com> Hi, I never expected this speed reply :-) Thanks much. Yep Installed net-snmp-5.4.2.1-19.fc12.i686 and net-snmp-utils-5.4.2.1-19.fc12.i686 on nagios core however I have not yet enable snmp monitoring in file /usr/local/nagios/etc/nagios.cfg does that effect??? vi /usr/local/nagios/etc/nagios.cfg # Definitions for monitoring a router/switch #cfg_file=/usr/local/nagios/etc/objects/switch.cfg Please advice further AM On Tue, Mar 9, 2010 at 1:16 AM, Kyle O'Donnell wrote: > What were you configure options? Do you have net-snmp(dev libs too) > installed? > > > On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas > wrote: > > Hi, > > > > I very recently installed nagios Nagios-3.2.0 and > Nagios-plugins-1.4.14on > > fedora 12. All went however I am not able to execute nor see check_snmp > > under /usr/local/nagios/libexec/ > > > > For your reference: > > [root at nagios01 plugins]# cd /usr/local/nagios/libexec/ > > [root at nagios01 libexec]# ls > > check_apt check_file_age check_log check_oracle > > check_tcp > > check_breeze check_flexlm check_mailq check_overcr > > check_time > > check_by_ssh check_ftp check_mrtg check_ping > > check_udp > > check_clamd check_http check_mrtgtraf check_pop > > check_ups > > check_cluster check_icmp check_nagios check_procs > > check_users > > check_dhcp check_ide_smart check_nntp check_real > > check_wave > > check_dig check_ifoperstatus check_nt check_rpc > negate > > check_disk check_ifstatus check_ntp check_sensors > urlize > > check_disk_smb check_imap check_ntp_peer check_smtp > utils.pm > > check_dns check_ircd check_ntp_time check_ssh > utils.sh > > check_dummy check_load check_nwstat check_swap > > [root at nagios01 libexec]# > > > > > > > > While I can see files in /nagios-plugins-1.4.14/plugins (after untar) > > check_snmp > > check_snmp.c > > check_snmp.o > > For your refernce: > > [root at nagios01 Downloads]# ls > > nagios-3.2.0 nagios-plugins-1.4.14 > > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz > > [root at nagios01 Downloads]# pwd > > /home/xxxxxxxx/Downloads > > [root at nagios01 Downloads]# ls > > nagios-3.2.0 nagios-plugins-1.4.14 > > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz > > [root at nagios01 Downloads]# > > [root at nagios01 libexec]# cd > > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins > > [root at nagios01 plugins]# pwd > > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins > > [root at nagios01 plugins]# ls > > check_apt check_ide_smart.o check_overcr check_udp > > check_apt.c check_imap check_overcr.c check_ups > > check_apt.o check_ldap.c check_overcr.o check_ups.c > > check_by_ssh check_load check_pgsql.c check_ups.o > > check_by_ssh.c check_load.c check_ping check_users > > check_by_ssh.o check_load.o check_ping.c check_users.c > > check_clamd check_mrtg check_ping.o check_users.o > > check_cluster check_mrtg.c check_pop common.h > > check_cluster.c check_mrtg.o check_procs Makefile > > check_cluster.o check_mrtgtraf check_procs.c Makefile.am > > check_dig check_mrtgtraf.c check_procs.o Makefile.in > > check_dig.c check_mrtgtraf.o check_radius.c negate > > check_dig.o check_mysql.c check_real negate.c > > check_disk check_mysql_query.c check_real.c negate.o > > check_disk.c check_nagios check_real.o netutils.c > > check_disk.o check_nagios.c check_smtp netutils.h > > check_dns check_nagios.o check_smtp.c netutils.o > > check_dns.c check_nntp check_smtp.o popen.c > > check_dns.o check_nt check_snmp popen.h > > check_dummy check_nt.c check_snmp.c popen.o > > check_dummy.c check_nt.o check_snmp.o runcmd.c > > check_dummy.o check_ntp check_ssh runcmd.h > > check_fping.c check_ntp.c check_ssh.c runcmd.o > > check_ftp check_ntp.o check_ssh.o sslutils.c > > check_game.c check_ntp_peer check_swap sslutils.o > > check_hpjd check_ntp_peer.c check_swap.c t > > check_hpjd.c check_ntp_peer.o check_swap.o urlize > > check_hpjd.o check_ntp_time check_tcp urlize.c > > check_http check_ntp_time.c check_tcp.c urlize.o > > check_http.c check_ntp_time.o check_tcp.o utils.c > > check_http.o check_nwstat check_time utils.h > > check_ide_smart check_nwstat.c check_time.c utils.o > > check_ide_smart.c check_nwstat.o check_time.o > > [root at nagios01 plugins]# > > > > Please advice, > > > > am > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From am.srini at gmail.com Mon Mar 8 21:02:16 2010 From: am.srini at gmail.com (Ambati Srinivas) Date: Tue, 9 Mar 2010 01:32:16 +0530 Subject: check_snmp plugin not visible In-Reply-To: References: <3b3b4f141003081135q7df5c2b4v844c75bd4336313a@mail.gmail.com> Message-ID: <3b3b4f141003081202l7554e3c5g2c8624761d095a3a@mail.gmail.com> I have installed net-snmp-5.4.2.1-19.fc12.i686 and net-snmp-utils-5.4.2.1-19.fc12.i686 and restarted snmpd deamon and the deamon is running on nagios core however I have not yet enable snmp monitoring in file /usr/local/nagios/etc/nagios.cfg does that effect??? vi /usr/local/nagios/etc/nagios. cfg # Definitions for monitoring a router/switch #cfg_file=/usr/local/nagios/etc/objects/switch.cfg I can run snmpwalk AM On Tue, Mar 9, 2010 at 1:17 AM, Gary Every wrote: > if you don't have net-snmp/snmpd installed on your system, it will not > compile the plugins - make sure that you have the commands, such as > snmpwalk, etc installed and re-compile > > g.; > > > On Mon, Mar 8, 2010 at 12:35 PM, Ambati Srinivas wrote: > >> Hi, >> >> I very recently installed nagios Nagios-3.2.0 and Nagios-plugins-1.4.14on >> fedora 12. All went however I am not able to execute nor see check_snmp >> under /usr/local/nagios/libexec/ >> >> For your reference: >> [root at nagios01 plugins]# cd /usr/local/nagios/libexec/ >> [root at nagios01 libexec]# ls >> check_apt check_file_age check_log check_oracle >> check_tcp >> check_breeze check_flexlm check_mailq check_overcr >> check_time >> check_by_ssh check_ftp check_mrtg check_ping >> check_udp >> check_clamd check_http check_mrtgtraf check_pop >> check_ups >> check_cluster check_icmp check_nagios check_procs >> check_users >> check_dhcp check_ide_smart check_nntp check_real >> check_wave >> check_dig check_ifoperstatus check_nt check_rpc negate >> check_disk check_ifstatus check_ntp check_sensors urlize >> check_disk_smb check_imap check_ntp_peer check_smtp >> utils.pm >> check_dns check_ircd check_ntp_time check_ssh >> utils.sh >> check_dummy check_load check_nwstat check_swap >> [root at nagios01 libexec]# >> >> >> >> While I can see files in /nagios-plugins-1.4.14/plugins (after untar) >> check_snmp >> check_snmp.c >> check_snmp.o >> For your refernce: >> [root at nagios01 Downloads]# ls >> nagios-3.2.0 nagios-plugins-1.4.14 >> nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz >> [root at nagios01 Downloads]# pwd >> /home/xxxxxxxx/Downloads >> [root at nagios01 Downloads]# ls >> nagios-3.2.0 nagios-plugins-1.4.14 >> nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz >> [root at nagios01 Downloads]# >> [root at nagios01 libexec]# cd >> /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins >> [root at nagios01 plugins]# pwd >> /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins >> [root at nagios01 plugins]# ls >> check_apt check_ide_smart.o check_overcr check_udp >> check_apt.c check_imap check_overcr.c check_ups >> check_apt.o check_ldap.c check_overcr.o check_ups.c >> check_by_ssh check_load check_pgsql.c check_ups.o >> check_by_ssh.c check_load.c check_ping check_users >> check_by_ssh.o check_load.o check_ping.c check_users.c >> check_clamd check_mrtg check_ping.o check_users.o >> check_cluster check_mrtg.c check_pop common.h >> check_cluster.c check_mrtg.o check_procs Makefile >> check_cluster.o check_mrtgtraf check_procs.c Makefile.am >> check_dig check_mrtgtraf.c check_procs.o Makefile.in >> check_dig.c check_mrtgtraf.o check_radius.c negate >> check_dig.o check_mysql.c check_real negate.c >> check_disk check_mysql_query.c check_real.c negate.o >> check_disk.c check_nagios check_real.o netutils.c >> check_disk.o check_nagios.c check_smtp netutils.h >> check_dns check_nagios.o check_smtp.c netutils.o >> check_dns.c check_nntp check_smtp.o popen.c >> check_dns.o check_nt check_snmp popen.h >> check_dummy check_nt.c check_snmp.c popen.o >> check_dummy.c check_nt.o check_snmp.o runcmd.c >> check_dummy.o check_ntp check_ssh runcmd.h >> check_fping.c check_ntp.c check_ssh.c runcmd.o >> check_ftp check_ntp.o check_ssh.o sslutils.c >> check_game.c check_ntp_peer check_swap sslutils.o >> check_hpjd check_ntp_peer.c check_swap.c t >> check_hpjd.c check_ntp_peer.o check_swap.o urlize >> check_hpjd.o check_ntp_time check_tcp urlize.c >> check_http check_ntp_time.c check_tcp.c urlize.o >> check_http.c check_ntp_time.o check_tcp.o utils.c >> check_http.o check_nwstat check_time utils.h >> check_ide_smart check_nwstat.c check_time.c utils.o >> check_ide_smart.c check_nwstat.o check_time.o >> [root at nagios01 plugins]# >> >> Please advice, >> >> am >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > Gary Every > "Pay it Forward!" > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 z3b.org Mon Mar 8 21:03:31 2010 From: nagios at z3b.org (Kyle O'Donnell) Date: Mon, 08 Mar 2010 15:03:31 -0500 Subject: =?utf-8?q?check=5Fsnmp_plugin_not_visible?= In-Reply-To: <3b3b4f141003081156x7398f5d5x1978ed3c4ccb0e1a@mail.gmail.com> References: <3b3b4f141003081135q7df5c2b4v844c75bd4336313a@mail.gmail.com> <3d41807fac238e5229f32b71696b20d4@localhost> <3b3b4f141003081156x7398f5d5x1978ed3c4ccb0e1a@mail.gmail.com> Message-ID: yum install net-snmp-devel add --with-snmp to your plugins compile On Tue, 9 Mar 2010 01:26:37 +0530, Ambati Srinivas wrote: > Hi, > > I never expected this speed reply :-) Thanks much. > > Yep Installed net-snmp-5.4.2.1-19.fc12.i686 and > net-snmp-utils-5.4.2.1-19.fc12.i686 on nagios core however I have not yet > enable snmp monitoring in file /usr/local/nagios/etc/nagios.cfg does that > effect??? > > vi /usr/local/nagios/etc/nagios.cfg > # Definitions for monitoring a router/switch > #cfg_file=/usr/local/nagios/etc/objects/switch.cfg > > > Please advice further > > AM > > > > > On Tue, Mar 9, 2010 at 1:16 AM, Kyle O'Donnell wrote: > >> What were you configure options? Do you have net-snmp(dev libs too) >> installed? >> >> >> On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas >> wrote: >> > Hi, >> > >> > I very recently installed nagios Nagios-3.2.0 and >> Nagios-plugins-1.4.14on >> > fedora 12. All went however I am not able to execute nor see check_snmp >> > under /usr/local/nagios/libexec/ >> > >> > For your reference: >> > [root at nagios01 plugins]# cd /usr/local/nagios/libexec/ >> > [root at nagios01 libexec]# ls >> > check_apt check_file_age check_log check_oracle >> > check_tcp >> > check_breeze check_flexlm check_mailq check_overcr >> > check_time >> > check_by_ssh check_ftp check_mrtg check_ping >> > check_udp >> > check_clamd check_http check_mrtgtraf check_pop >> > check_ups >> > check_cluster check_icmp check_nagios check_procs >> > check_users >> > check_dhcp check_ide_smart check_nntp check_real >> > check_wave >> > check_dig check_ifoperstatus check_nt check_rpc >> negate >> > check_disk check_ifstatus check_ntp check_sensors >> urlize >> > check_disk_smb check_imap check_ntp_peer check_smtp >> utils.pm >> > check_dns check_ircd check_ntp_time check_ssh >> utils.sh >> > check_dummy check_load check_nwstat check_swap >> > [root at nagios01 libexec]# >> > >> > >> > >> > While I can see files in /nagios-plugins-1.4.14/plugins (after untar) >> > check_snmp >> > check_snmp.c >> > check_snmp.o >> > For your refernce: >> > [root at nagios01 Downloads]# ls >> > nagios-3.2.0 nagios-plugins-1.4.14 >> > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz >> > [root at nagios01 Downloads]# pwd >> > /home/xxxxxxxx/Downloads >> > [root at nagios01 Downloads]# ls >> > nagios-3.2.0 nagios-plugins-1.4.14 >> > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz >> > [root at nagios01 Downloads]# >> > [root at nagios01 libexec]# cd >> > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins >> > [root at nagios01 plugins]# pwd >> > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins >> > [root at nagios01 plugins]# ls >> > check_apt check_ide_smart.o check_overcr check_udp >> > check_apt.c check_imap check_overcr.c check_ups >> > check_apt.o check_ldap.c check_overcr.o check_ups.c >> > check_by_ssh check_load check_pgsql.c check_ups.o >> > check_by_ssh.c check_load.c check_ping check_users >> > check_by_ssh.o check_load.o check_ping.c check_users.c >> > check_clamd check_mrtg check_ping.o check_users.o >> > check_cluster check_mrtg.c check_pop common.h >> > check_cluster.c check_mrtg.o check_procs Makefile >> > check_cluster.o check_mrtgtraf check_procs.c Makefile.am >> > check_dig check_mrtgtraf.c check_procs.o Makefile.in >> > check_dig.c check_mrtgtraf.o check_radius.c negate >> > check_dig.o check_mysql.c check_real negate.c >> > check_disk check_mysql_query.c check_real.c negate.o >> > check_disk.c check_nagios check_real.o netutils.c >> > check_disk.o check_nagios.c check_smtp netutils.h >> > check_dns check_nagios.o check_smtp.c netutils.o >> > check_dns.c check_nntp check_smtp.o popen.c >> > check_dns.o check_nt check_snmp popen.h >> > check_dummy check_nt.c check_snmp.c popen.o >> > check_dummy.c check_nt.o check_snmp.o runcmd.c >> > check_dummy.o check_ntp check_ssh runcmd.h >> > check_fping.c check_ntp.c check_ssh.c runcmd.o >> > check_ftp check_ntp.o check_ssh.o sslutils.c >> > check_game.c check_ntp_peer check_swap sslutils.o >> > check_hpjd check_ntp_peer.c check_swap.c t >> > check_hpjd.c check_ntp_peer.o check_swap.o urlize >> > check_hpjd.o check_ntp_time check_tcp urlize.c >> > check_http check_ntp_time.c check_tcp.c urlize.o >> > check_http.c check_ntp_time.o check_tcp.o utils.c >> > check_http.o check_nwstat check_time utils.h >> > check_ide_smart check_nwstat.c check_time.c utils.o >> > check_ide_smart.c check_nwstat.o check_time.o >> > [root at nagios01 plugins]# >> > >> > Please advice, >> > >> > am >> ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From am.srini at gmail.com Mon Mar 8 21:06:37 2010 From: am.srini at gmail.com (Ambati Srinivas) Date: Tue, 9 Mar 2010 01:36:37 +0530 Subject: check_snmp plugin not visible In-Reply-To: References: <3b3b4f141003081135q7df5c2b4v844c75bd4336313a@mail.gmail.com> <3d41807fac238e5229f32b71696b20d4@localhost> <3b3b4f141003081156x7398f5d5x1978ed3c4ccb0e1a@mail.gmail.com> Message-ID: <3b3b4f141003081206r4727654et2303d509d70d8944@mail.gmail.com> Hi, Please elaborate on 'add --with-snmp to your plugins compile'. so missing net-snmp-devel packages was the prob? Thanks, AM On Tue, Mar 9, 2010 at 1:33 AM, Kyle O'Donnell wrote: > yum install net-snmp-devel > > add --with-snmp to your plugins compile > > On Tue, 9 Mar 2010 01:26:37 +0530, Ambati Srinivas > wrote: > > Hi, > > > > I never expected this speed reply :-) Thanks much. > > > > Yep Installed net-snmp-5.4.2.1-19.fc12.i686 and > > net-snmp-utils-5.4.2.1-19.fc12.i686 on nagios core however I have not > yet > > enable snmp monitoring in file /usr/local/nagios/etc/nagios.cfg does > that > > effect??? > > > > vi /usr/local/nagios/etc/nagios.cfg > > # Definitions for monitoring a router/switch > > #cfg_file=/usr/local/nagios/etc/objects/switch.cfg > > > > > > Please advice further > > > > AM > > > > > > > > > > On Tue, Mar 9, 2010 at 1:16 AM, Kyle O'Donnell wrote: > > > >> What were you configure options? Do you have net-snmp(dev libs too) > >> installed? > >> > >> > >> On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas > >> wrote: > >> > Hi, > >> > > >> > I very recently installed nagios Nagios-3.2.0 and > >> Nagios-plugins-1.4.14on > >> > fedora 12. All went however I am not able to execute nor see > check_snmp > >> > under /usr/local/nagios/libexec/ > >> > > >> > For your reference: > >> > [root at nagios01 plugins]# cd /usr/local/nagios/libexec/ > >> > [root at nagios01 libexec]# ls > >> > check_apt check_file_age check_log check_oracle > >> > check_tcp > >> > check_breeze check_flexlm check_mailq check_overcr > >> > check_time > >> > check_by_ssh check_ftp check_mrtg check_ping > >> > check_udp > >> > check_clamd check_http check_mrtgtraf check_pop > >> > check_ups > >> > check_cluster check_icmp check_nagios check_procs > >> > check_users > >> > check_dhcp check_ide_smart check_nntp check_real > >> > check_wave > >> > check_dig check_ifoperstatus check_nt check_rpc > >> negate > >> > check_disk check_ifstatus check_ntp check_sensors > >> urlize > >> > check_disk_smb check_imap check_ntp_peer check_smtp > >> utils.pm > >> > check_dns check_ircd check_ntp_time check_ssh > >> utils.sh > >> > check_dummy check_load check_nwstat check_swap > >> > [root at nagios01 libexec]# > >> > > >> > > >> > > >> > While I can see files in /nagios-plugins-1.4.14/plugins (after untar) > >> > check_snmp > >> > check_snmp.c > >> > check_snmp.o > >> > For your refernce: > >> > [root at nagios01 Downloads]# ls > >> > nagios-3.2.0 nagios-plugins-1.4.14 > >> > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz > >> > [root at nagios01 Downloads]# pwd > >> > /home/xxxxxxxx/Downloads > >> > [root at nagios01 Downloads]# ls > >> > nagios-3.2.0 nagios-plugins-1.4.14 > >> > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz > >> > [root at nagios01 Downloads]# > >> > [root at nagios01 libexec]# cd > >> > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins > >> > [root at nagios01 plugins]# pwd > >> > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins > >> > [root at nagios01 plugins]# ls > >> > check_apt check_ide_smart.o check_overcr check_udp > >> > check_apt.c check_imap check_overcr.c check_ups > >> > check_apt.o check_ldap.c check_overcr.o check_ups.c > >> > check_by_ssh check_load check_pgsql.c check_ups.o > >> > check_by_ssh.c check_load.c check_ping check_users > >> > check_by_ssh.o check_load.o check_ping.c check_users.c > >> > check_clamd check_mrtg check_ping.o check_users.o > >> > check_cluster check_mrtg.c check_pop common.h > >> > check_cluster.c check_mrtg.o check_procs Makefile > >> > check_cluster.o check_mrtgtraf check_procs.c Makefile.am > >> > check_dig check_mrtgtraf.c check_procs.o Makefile.in > >> > check_dig.c check_mrtgtraf.o check_radius.c negate > >> > check_dig.o check_mysql.c check_real negate.c > >> > check_disk check_mysql_query.c check_real.c negate.o > >> > check_disk.c check_nagios check_real.o netutils.c > >> > check_disk.o check_nagios.c check_smtp netutils.h > >> > check_dns check_nagios.o check_smtp.c netutils.o > >> > check_dns.c check_nntp check_smtp.o popen.c > >> > check_dns.o check_nt check_snmp popen.h > >> > check_dummy check_nt.c check_snmp.c popen.o > >> > check_dummy.c check_nt.o check_snmp.o runcmd.c > >> > check_dummy.o check_ntp check_ssh runcmd.h > >> > check_fping.c check_ntp.c check_ssh.c runcmd.o > >> > check_ftp check_ntp.o check_ssh.o sslutils.c > >> > check_game.c check_ntp_peer check_swap sslutils.o > >> > check_hpjd check_ntp_peer.c check_swap.c t > >> > check_hpjd.c check_ntp_peer.o check_swap.o urlize > >> > check_hpjd.o check_ntp_time check_tcp urlize.c > >> > check_http check_ntp_time.c check_tcp.c urlize.o > >> > check_http.c check_ntp_time.o check_tcp.o utils.c > >> > check_http.o check_nwstat check_time utils.h > >> > check_ide_smart check_nwstat.c check_time.c utils.o > >> > check_ide_smart.c check_nwstat.o check_time.o > >> > [root at nagios01 plugins]# > >> > > >> > Please advice, > >> > > >> > am > >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neufpas at gmail.com Mon Mar 8 21:10:46 2010 From: neufpas at gmail.com (Noel Platzke) Date: Mon, 8 Mar 2010 15:10:46 -0500 Subject: Unable to install Packages . In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA087A3B39@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> <4B953DD9.3060409@flatto.net> <39C5D75C6A5D3440A833E1C014384BAA087A3B12@PNE-HJN-MBX02.wipro.com> <96c54e8b1003081038t7e90984cscf30786516d7d113@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA087A3B39@PNE-HJN-MBX02.wipro.com> Message-ID: <96c54e8b1003081210v63a3c0b5i18b0359f6166628f@mail.gmail.com> As was stated earlier, you really need to direct this question to the fedora list. This isn't a nagios problem but rather an issue with your machine not being able to talk to the yum repo. On Mon, Mar 8, 2010 at 2:53 PM, wrote: > Hi, > > > > I have a Linux Box with Red hat Fedora 10 installed on it. > > > > When I am trying to install the package by entering the command ?yum > install httpd ? below mentioned error occurred. > > > > Please someone help me how can I resolve this. > > > > > > [root@******** ~]# yum install httpd > > Loaded plugins: refresh-packagekit > > Could not retrieve mirrorlist > http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64error was > > [Errno 4] IOError: > > Error: Cannot retrieve repository metadata (repomd.xml) for repository: > fedora. Please verify its path and try again > > > > > > > > Thanks, > > Ravi G > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From am.srini at gmail.com Mon Mar 8 21:13:16 2010 From: am.srini at gmail.com (Ambati Srinivas) Date: Tue, 9 Mar 2010 01:43:16 +0530 Subject: check_snmp plugin not visible In-Reply-To: <3b3b4f141003081206r4727654et2303d509d70d8944@mail.gmail.com> References: <3b3b4f141003081135q7df5c2b4v844c75bd4336313a@mail.gmail.com> <3d41807fac238e5229f32b71696b20d4@localhost> <3b3b4f141003081156x7398f5d5x1978ed3c4ccb0e1a@mail.gmail.com> <3b3b4f141003081206r4727654et2303d509d70d8944@mail.gmail.com> Message-ID: <3b3b4f141003081213i4ff38dadt943c4f27dfe2a5c8@mail.gmail.com> Hi, > > Please elaborate on 'add --with-snmp to your plugins compile' as I am new > to monitoring. so missing net-snmp-devel packages was the prob? > > Very much appreciate. > Thanks, > > AM > > > > > > On Tue, Mar 9, 2010 at 1:33 AM, Kyle O'Donnell wrote: > >> yum install net-snmp-devel >> >> add --with-snmp to your plugins compile >> >> On Tue, 9 Mar 2010 01:26:37 +0530, Ambati Srinivas >> wrote: >> > Hi, >> > >> > I never expected this speed reply :-) Thanks much. >> > >> > Yep Installed net-snmp-5.4.2.1-19.fc12.i686 and >> > net-snmp-utils-5.4.2.1-19.fc12.i686 on nagios core however I have not >> yet >> > enable snmp monitoring in file /usr/local/nagios/etc/nagios.cfg does >> that >> > effect??? >> > >> > vi /usr/local/nagios/etc/nagios.cfg >> > # Definitions for monitoring a router/switch >> > #cfg_file=/usr/local/nagios/etc/objects/switch.cfg >> > >> > >> > Please advice further >> > >> > AM >> > >> > >> > >> > >> > On Tue, Mar 9, 2010 at 1:16 AM, Kyle O'Donnell wrote: >> > >> >> What were you configure options? Do you have net-snmp(dev libs too) >> >> installed? >> >> >> >> >> >> On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas > > >> >> wrote: >> >> > Hi, >> >> > >> >> > I very recently installed nagios Nagios-3.2.0 and >> >> Nagios-plugins-1.4.14on >> >> > fedora 12. All went however I am not able to execute nor see >> check_snmp >> >> > under /usr/local/nagios/libexec/ >> >> > >> >> > For your reference: >> >> > [root at nagios01 plugins]# cd /usr/local/nagios/libexec/ >> >> > [root at nagios01 libexec]# ls >> >> > check_apt check_file_age check_log check_oracle >> >> > check_tcp >> >> > check_breeze check_flexlm check_mailq check_overcr >> >> > check_time >> >> > check_by_ssh check_ftp check_mrtg check_ping >> >> > check_udp >> >> > check_clamd check_http check_mrtgtraf check_pop >> >> > check_ups >> >> > check_cluster check_icmp check_nagios check_procs >> >> > check_users >> >> > check_dhcp check_ide_smart check_nntp check_real >> >> > check_wave >> >> > check_dig check_ifoperstatus check_nt check_rpc >> >> negate >> >> > check_disk check_ifstatus check_ntp check_sensors >> >> urlize >> >> > check_disk_smb check_imap check_ntp_peer check_smtp >> >> utils.pm >> >> > check_dns check_ircd check_ntp_time check_ssh >> >> utils.sh >> >> > check_dummy check_load check_nwstat check_swap >> >> > [root at nagios01 libexec]# >> >> > >> >> > >> >> > >> >> > While I can see files in /nagios-plugins-1.4.14/plugins (after untar) >> >> > check_snmp >> >> > check_snmp.c >> >> > check_snmp.o >> >> > For your refernce: >> >> > [root at nagios01 Downloads]# ls >> >> > nagios-3.2.0 nagios-plugins-1.4.14 >> >> > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz >> >> > [root at nagios01 Downloads]# pwd >> >> > /home/xxxxxxxx/Downloads >> >> > [root at nagios01 Downloads]# ls >> >> > nagios-3.2.0 nagios-plugins-1.4.14 >> >> > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz >> >> > [root at nagios01 Downloads]# >> >> > [root at nagios01 libexec]# cd >> >> > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins >> >> > [root at nagios01 plugins]# pwd >> >> > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins >> >> > [root at nagios01 plugins]# ls >> >> > check_apt check_ide_smart.o check_overcr check_udp >> >> > check_apt.c check_imap check_overcr.c check_ups >> >> > check_apt.o check_ldap.c check_overcr.o check_ups.c >> >> > check_by_ssh check_load check_pgsql.c check_ups.o >> >> > check_by_ssh.c check_load.c check_ping check_users >> >> > check_by_ssh.o check_load.o check_ping.c check_users.c >> >> > check_clamd check_mrtg check_ping.o check_users.o >> >> > check_cluster check_mrtg.c check_pop common.h >> >> > check_cluster.c check_mrtg.o check_procs Makefile >> >> > check_cluster.o check_mrtgtraf check_procs.c Makefile.am >> >> > check_dig check_mrtgtraf.c check_procs.o Makefile.in >> >> > check_dig.c check_mrtgtraf.o check_radius.c negate >> >> > check_dig.o check_mysql.c check_real negate.c >> >> > check_disk check_mysql_query.c check_real.c negate.o >> >> > check_disk.c check_nagios check_real.o netutils.c >> >> > check_disk.o check_nagios.c check_smtp netutils.h >> >> > check_dns check_nagios.o check_smtp.c netutils.o >> >> > check_dns.c check_nntp check_smtp.o popen.c >> >> > check_dns.o check_nt check_snmp popen.h >> >> > check_dummy check_nt.c check_snmp.c popen.o >> >> > check_dummy.c check_nt.o check_snmp.o runcmd.c >> >> > check_dummy.o check_ntp check_ssh runcmd.h >> >> > check_fping.c check_ntp.c check_ssh.c runcmd.o >> >> > check_ftp check_ntp.o check_ssh.o sslutils.c >> >> > check_game.c check_ntp_peer check_swap sslutils.o >> >> > check_hpjd check_ntp_peer.c check_swap.c t >> >> > check_hpjd.c check_ntp_peer.o check_swap.o urlize >> >> > check_hpjd.o check_ntp_time check_tcp urlize.c >> >> > check_http check_ntp_time.c check_tcp.c urlize.o >> >> > check_http.c check_ntp_time.o check_tcp.o utils.c >> >> > check_http.o check_nwstat check_time utils.h >> >> > check_ide_smart check_nwstat.c check_time.c utils.o >> >> > check_ide_smart.c check_nwstat.o check_time.o >> >> > [root at nagios01 plugins]# >> >> > >> >> > Please advice, >> >> > >> >> > am >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Mar 8 21:12:04 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Mon, 8 Mar 2010 12:12:04 -0800 Subject: Unable to install Packages . In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA087A3B39@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> <4B953DD9.3060409@flatto.net> <39C5D75C6A5D3440A833E1C014384BAA087A3B12@PNE-HJN-MBX02.wipro.com> <96c54e8b1003081038t7e90984cscf30786516d7d113@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA087A3B39@PNE-HJN-MBX02.wipro.com> Message-ID: <20100308201204.GZ4621@bakgwai.americas.hpqcorp.net> On Mon, 08 Mar 2010, ravishankar.gundlapali at wipro.com wrote: > Hi, > > I have a Linux Box with Red hat Fedora 10 installed on it. > > When I am trying to install the package by entering the command ?yum install httpd ? below mentioned error occurred. > > Please someone help me how can I resolve this. > > > [root@******** ~]# yum install httpd > Loaded plugins: refresh-packagekit > Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 error was > [Errno 4] IOError: > Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again > > > > Thanks, > Ravi G Please stop sending this to this mailing list. This is not a Nagios issue; the configuration on your box is broken. The URL it appears to be complaining about is valid, but something totally unrlated to Nagios is causing your update to fail. Please follow the advice of previous responders and contact a mailing list for your OS distribution if you need help debugging this. This may help you get started: http://fedoraproject.org/wiki/Communicate ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.maraschini at opservices.com.br Mon Mar 8 21:24:33 2010 From: ricardo.maraschini at opservices.com.br (Ricardo Maraschini) Date: Mon, 8 Mar 2010 17:24:33 -0300 (BRT) Subject: Unable to install Packages . In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA087A3B39@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B39@PNE-HJN-MBX02.wipro.com> Message-ID: <27175007.7904.1268079873646.JavaMail.root@mail.opservices.com.br> Hi, ----- "ravishankar gundlapali" escreveu: > When I am trying to install the package by entering the command ? yum > install httpd ? below mentioned error occurred. Try to check your DNS configuration in /etc/resolv.conf. Are you able to access internet using this server? It appears to be a problem resolving the repository URL. -- Ricardo Jos? Maraschini OpServices Tecnologia da Informa??o http://www.opservices.com.br ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Mon Mar 8 21:41:11 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Mon, 8 Mar 2010 20:41:11 +0000 Subject: You do not have permission to access /nagios on this server In-Reply-To: <24B6509E4191AF44B60A24EAA3B4AD4956D3C2@nuexchg.norwich.edu> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> <33C7BE4CE80D504E8907FDC31F8A083047BCE083E1@iexchange.I-EVOLVE.com> <24B6509E4191AF44B60A24EAA3B4AD4956D3C2@nuexchg.norwich.edu> Message-ID: <126dc2681003081241n72073f5br9a60db975183f03e@mail.gmail.com> James, Thank you for the reply, This is the messages I am getting: [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user nagiosadmin not found: /nagios I think I might have cut the second message off. Regards 2010/3/8 James Pratt > > >From what I can see, the perms shouldn't be a big problem , mine are all > owned by nagios:nagios - > > if you remove the .htaccess auth parts, can you get in and view the > CGI's normally? > > what do your Apache error and access logs say? > > Hth > > > Cheers, > jamie > >> -----Original Message----- > >> From: Robert Wolfe [mailto:rwolfe at i-evolve.com] > >> Sent: Monday, March 08, 2010 1:20 PM > >> To: 'Gezina Dekker'; nagios-users at lists.sourceforge.net > >> Subject: Re: [Nagios-users] You do not have permission to access > /nagios on this server > >> > >> Try setting ownership of these files to user nagios, group nagios. > >> > >> > >> > >> > >> > >> > >> > >> From: Gezina Dekker [mailto:gezinker at gmail.com] > >> Sent: Monday, March 08, 2010 1:17 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] You do not have permission to access /nagios > on this server > >> > >> > >> > >> Hi all, > >> > >> I have looked at all the questions so far, and nothing that brings > any comfort. > >> > >> I followed the Fedore QuickStart even though I am on RHEL 4 > (2.6.9-5.EL) > >> > >> I have all the following installed: > >> Apache > >> PHP > >> GCC compiler > >> GD development libraries > >> > >> I have nagios and nagcmd defined > >> > >> I have installed nagios and the plugins > >> > >> I have a passwd in htpasswd, and it is read acces for all. > >> > >> SELinux is disabled > >> > >> In terms of my nagios.conf, this is it... > >> > >> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > >> > >> > >> # SSLRequireSSL > >> Options FollowSymLinks ExecCGI > >> AllowOverride AuthConfig > >> Order allow,deny > >> Allow from all > >> AuthName "Nagios Access" > >> AuthType Basic > >> AuthUserFile /usr/local/nagios/etc/htpasswd.users > >> Require valid-user > >> > >> > >> Alias /nagios "/usr/local/nagios/share" > >> > >> > >> # SSLRequireSSL > >> Options FollowSymLinks > >> DirectoryIndex index.html > >> AllowOverride AuthConfig > >> Order allow,deny > >> Allow from all > >> AuthName "Nagios Access" > >> AuthType Basic > >> AuthUserFile /usr/local/nagios/etc/htpasswd.users > >> Require valid-user > >> > >> > >> > >> The contents of my /share is the following: > >> drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . > >> drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. > >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp > >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs > >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images > >> -rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html > >> drwxr-xr-x 4 root root 4096 mrt 8 11:39 locale > >> -rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html > >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media > >> -rw-rw-r-- 1 nagios nagcmd 26 mrt 5 12:23 robots.txt > >> -rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html > >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi > >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets > >> > >> > >> The errors I am getting is the following: > >> > >> Forbidden > >> You don't have permission to access /nagios on this server. > >> Additionally, a 403 Forbidden error was encountered while trying to > use an > >> ErrorDocument to handle the request. > >> > >> > >> > >> Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80 > >> > >> > >> I am making the assumption that the 403 is less serious, and that it > is actually the > >> permissions that needs fixing... > >> > >> Thanks in advance for your willingness to look at this with me. > >> > >> Regards > >> > >> > >> > >> Gezina > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Mon Mar 8 21:41:16 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Tue, 9 Mar 2010 02:11:16 +0530 Subject: Unable to install Packages . References: <39C5D75C6A5D3440A833E1C014384BAA087A3B39@PNE-HJN-MBX02.wipro.com> <27175007.7904.1268079873646.JavaMail.root@mail.opservices.com.br> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA087A3B4A@PNE-HJN-MBX02.wipro.com> Hi, There is no access to internet from this server. Is Internet access required ??? So is this the problem???? Thanks & Regards, Ravi G -----Original Message----- From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) Sent: Tuesday, March 09, 2010 1:56 AM To: 'Ricardo Maraschini' Subject: RE: [Nagios-users] Unable to install Packages . Hi, There is no access to internet from this server. Is Internet access required ??? Thanks & Regards, Ravi G -----Original Message----- From: Ricardo Maraschini [mailto:ricardo.maraschini at opservices.com.br] Sent: Tuesday, March 09, 2010 1:55 AM To: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Unable to install Packages . Hi, ----- "ravishankar gundlapali" escreveu: > When I am trying to install the package by entering the command ? yum > install httpd ? below mentioned error occurred. Try to check your DNS configuration in /etc/resolv.conf. Are you able to access internet using this server? It appears to be a problem resolving the repository URL. -- Ricardo Jos? Maraschini OpServices Tecnologia da Informa??o http://www.opservices.com.br ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Mon Mar 8 21:47:21 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Mon, 8 Mar 2010 20:47:21 +0000 Subject: You do not have permission to access /nagios on this server In-Reply-To: <24B6509E4191AF44B60A24EAA3B4AD4956D3C2@nuexchg.norwich.edu> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> <33C7BE4CE80D504E8907FDC31F8A083047BCE083E1@iexchange.I-EVOLVE.com> <24B6509E4191AF44B60A24EAA3B4AD4956D3C2@nuexchg.norwich.edu> Message-ID: <126dc2681003081247y712f7dfdtdad3bb00d09ea47e@mail.gmail.com> James, Thank you for the reply. I am over the first hurdle, changing the pernissions to +rx fixed it, and nagios now gives me a signon panel, however, as I explained, it does not accept the nagiosadmin username. This is the messages I am getting: [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user nagiosadmin not found: /nagios 2010/3/8 James Pratt > > >From what I can see, the perms shouldn't be a big problem , mine are all > owned by nagios:nagios - > > if you remove the .htaccess auth parts, can you get in and view the > CGI's normally? > > what do your Apache error and access logs say? > > Hth > > > Cheers, > jamie > >> -----Original Message----- > >> From: Robert Wolfe [mailto:rwolfe at i-evolve.com] > >> Sent: Monday, March 08, 2010 1:20 PM > >> To: 'Gezina Dekker'; nagios-users at lists.sourceforge.net > >> Subject: Re: [Nagios-users] You do not have permission to access > /nagios on this server > >> > >> Try setting ownership of these files to user nagios, group nagios. > >> > >> > >> > >> > >> > >> > >> > >> From: Gezina Dekker [mailto:gezinker at gmail.com] > >> Sent: Monday, March 08, 2010 1:17 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] You do not have permission to access /nagios > on this server > >> > >> > >> > >> Hi all, > >> > >> I have looked at all the questions so far, and nothing that brings > any comfort. > >> > >> I followed the Fedore QuickStart even though I am on RHEL 4 > (2.6.9-5.EL) > >> > >> I have all the following installed: > >> Apache > >> PHP > >> GCC compiler > >> GD development libraries > >> > >> I have nagios and nagcmd defined > >> > >> I have installed nagios and the plugins > >> > >> I have a passwd in htpasswd, and it is read acces for all. > >> > >> SELinux is disabled > >> > >> In terms of my nagios.conf, this is it... > >> > >> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > >> > >> > >> # SSLRequireSSL > >> Options FollowSymLinks ExecCGI > >> AllowOverride AuthConfig > >> Order allow,deny > >> Allow from all > >> AuthName "Nagios Access" > >> AuthType Basic > >> AuthUserFile /usr/local/nagios/etc/htpasswd.users > >> Require valid-user > >> > >> > >> Alias /nagios "/usr/local/nagios/share" > >> > >> > >> # SSLRequireSSL > >> Options FollowSymLinks > >> DirectoryIndex index.html > >> AllowOverride AuthConfig > >> Order allow,deny > >> Allow from all > >> AuthName "Nagios Access" > >> AuthType Basic > >> AuthUserFile /usr/local/nagios/etc/htpasswd.users > >> Require valid-user > >> > >> > >> > >> The contents of my /share is the following: > >> drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . > >> drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. > >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp > >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs > >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images > >> -rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html > >> drwxr-xr-x 4 root root 4096 mrt 8 11:39 locale > >> -rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html > >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media > >> -rw-rw-r-- 1 nagios nagcmd 26 mrt 5 12:23 robots.txt > >> -rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html > >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi > >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets > >> > >> > >> The errors I am getting is the following: > >> > >> Forbidden > >> You don't have permission to access /nagios on this server. > >> Additionally, a 403 Forbidden error was encountered while trying to > use an > >> ErrorDocument to handle the request. > >> > >> > >> > >> Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80 > >> > >> > >> I am making the assumption that the 403 is less serious, and that it > is actually the > >> permissions that needs fixing... > >> > >> Thanks in advance for your willingness to look at this with me. > >> > >> Regards > >> > >> > >> > >> Gezina > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Mon Mar 8 21:52:05 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Mon, 8 Mar 2010 20:52:05 +0000 Subject: Any chance that the list owner can delete these users??? Message-ID: <126dc2681003081252s650b8c3bi67ffaada9b8f640b@mail.gmail.com> Any chance that the list owner can delete these users??? 2010/3/8 Mail Delivery Subsystem > The original message was received at Mon, 8 Mar 2010 14:47:47 -0600 (CST) > from h135-1-218-53.lucent.com [135.1.218.53] > > ----- The following addresses had permanent fatal errors ----- > > (reason: 554 5.7.1 : Sender address rejected: This > gmail.com mail didn't really arrive via a gmail.com mail server) > > ----- Transcript of session follows ----- > ... while talking to smtp.hp.com.: > >>> DATA > <<< 554 5.7.1 : Sender address rejected: This > gmail.com mail didn't really arrive via a gmail.com mail server > 554 5.0.0 Service unavailable > <<< 554 5.5.1 Error: no valid recipients > > Final-Recipient: RFC822; j.sherman at hp.com > Action: failed > Status: 5.7.1 > Remote-MTA: DNS; smtp.hp.com > Diagnostic-Code: SMTP; 554 5.7.1 : Sender address > rejected: This gmail.com mail didn't really arrive via a gmail.com mail > server > Last-Attempt-Date: Mon, 8 Mar 2010 14:47:50 -0600 (CST) > > > ---------- Doorgestuurd bericht ---------- > From: Gezina Dekker > To: "j.sherman at hp.com" > Date: Mon, 8 Mar 2010 14:47:45 -0600 > Subject: Re: [Nagios-users] You do not have permission to access /nagios on > this server > James, > > Thank you for the reply. > > I am over the first hurdle, changing the pernissions to +rx fixed it, and > nagios now gives me a signon panel, however, as I explained, it does not > accept the nagiosadmin username. > > This is the messages I am getting: > > [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR: > Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) > [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user > nagiosadmin not found: /nagios > > 2010/3/8 James Pratt > > > >From what I can see, the perms shouldn't be a big problem , mine are all > owned by nagios:nagios - > > if you remove the .htaccess auth parts, can you get in and view the > CGI's normally? > > what do your Apache error and access logs say? > > Hth > > > Cheers, > jamie > >> -----Original Message----- > >> From: Robert Wolfe [mailto:rwolfe at i-evolve.com rwolfe at i-evolve.com>] > >> Sent: Monday, March 08, 2010 1:20 PM > >> To: 'Gezina Dekker'; nagios-users at lists.sourceforge.net nagios-users at lists.sourceforge.net> > >> Subject: Re: [Nagios-users] You do not have permission to access > /nagios on this server > >> > >> Try setting ownership of these files to user nagios, group nagios. > >> > >> > >> > >> > >> > >> > >> > >> From: Gezina Dekker [mailto:gezinker at gmail.com gezinker at gmail.com>] > >> Sent: Monday, March 08, 2010 1:17 PM > >> To: nagios-users at lists.sourceforge.net nagios-users at lists.sourceforge.net> > >> Subject: [Nagios-users] You do not have permission to access /nagios > on this server > >> > >> > >> > >> Hi all, > >> > >> I have looked at all the questions so far, and nothing that brings > any comfort. > >> > >> I followed the Fedore QuickStart even though I am on RHEL 4 > (2.6.9-5.EL) > >> > >> I have all the following installed: > >> Apache > >> PHP > >> GCC compiler > >> GD development libraries > >> > >> I have nagios and nagcmd defined > >> > >> I have installed nagios and the plugins > >> > >> I have a passwd in htpasswd, and it is read acces for all. > >> > >> SELinux is disabled > >> > >> In terms of my nagios.conf, this is it... > >> > >> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > >> > >> > >> # SSLRequireSSL > >> Options FollowSymLinks ExecCGI > >> AllowOverride AuthConfig > >> Order allow,deny > >> Allow from all > >> AuthName "Nagios Access" > >> AuthType Basic > >> AuthUserFile /usr/local/nagios/etc/htpasswd.users > >> Require valid-user > >> > >> > >> Alias /nagios "/usr/local/nagios/share" > >> > >> > >> # SSLRequireSSL > >> Options FollowSymLinks > >> DirectoryIndex index.html > >> AllowOverride AuthConfig > >> Order allow,deny > >> Allow from all > >> AuthName "Nagios Access" > >> AuthType Basic > >> AuthUserFile /usr/local/nagios/etc/htpasswd.users > >> Require valid-user > >> > >> > >> > >> The contents of my /share is the following: > >> drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . > >> drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. > >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp > >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs > >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images > >> -rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html > >> drwxr-xr-x 4 root root 4096 mrt 8 11:39 locale > >> -rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html > >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media > >> -rw-rw-r-- 1 nagios nagcmd 26 mrt 5 12:23 robots.txt > >> -rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html > >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi > >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets > >> > >> > >> The errors I am getting is the following: > >> > >> Forbidden > >> You don't have permission to access /nagios on this server. > >> Additionally, a 403 Forbidden error was encountered while trying to > use an > >> ErrorDocument to handle the request. > >> > >> > >> > >> Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80 > >> > >> > >> I am making the assumption that the 403 is less serious, and that it > is actually the > >> permissions that needs fixing... > >> > >> Thanks in advance for your willingness to look at this with me. > >> > >> Regards > >> > >> > >> > >> Gezina > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net Nagios-users at lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.maraschini at opservices.com.br Mon Mar 8 21:53:56 2010 From: ricardo.maraschini at opservices.com.br (Ricardo Maraschini) Date: Mon, 8 Mar 2010 17:53:56 -0300 (BRT) Subject: Unable to install Packages . In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA087A3B4A@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B4A@PNE-HJN-MBX02.wipro.com> Message-ID: <30385587.7933.1268081636870.JavaMail.root@mail.opservices.com.br> Hi, ----- "ravishankar gundlapali" escreveu: > There is no access to internet from this server. This explains a lot of things :) > Is Internet access required ??? Of course yes. You need access do internet to be able to download packages from the, lets say... internet :) Please send your OS related problems to your OS community from now on. -rm ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Mar 8 22:01:06 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Mon, 8 Mar 2010 13:01:06 -0800 Subject: Unable to install Packages . In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA087A3B4A@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B39@PNE-HJN-MBX02.wipro.com> <27175007.7904.1268079873646.JavaMail.root@mail.opservices.com.br> <39C5D75C6A5D3440A833E1C014384BAA087A3B4A@PNE-HJN-MBX02.wipro.com> Message-ID: <20100308210106.GB4621@bakgwai.americas.hpqcorp.net> On Mon, 08 Mar 2010, ravishankar.gundlapali at wipro.com wrote: > Hi, > > There is no access to internet from this server. > > Is Internet access required ??? > > So is this the problem???? > > Thanks & Regards, > Ravi G Your Yum configuration is set to use an Internet-accessible repository. So, yes, if you configure Yum to pull packages from a repository on the Internet, you need Internet access for it to work. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neufpas at gmail.com Mon Mar 8 22:01:38 2010 From: neufpas at gmail.com (Noel Platzke) Date: Mon, 8 Mar 2010 16:01:38 -0500 Subject: You do not have permission to access /nagios on this server In-Reply-To: <126dc2681003081247y712f7dfdtdad3bb00d09ea47e@mail.gmail.com> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> <33C7BE4CE80D504E8907FDC31F8A083047BCE083E1@iexchange.I-EVOLVE.com> <24B6509E4191AF44B60A24EAA3B4AD4956D3C2@nuexchg.norwich.edu> <126dc2681003081247y712f7dfdtdad3bb00d09ea47e@mail.gmail.com> Message-ID: <96c54e8b1003081301i2c8a265fs400ad696187ce80d@mail.gmail.com> You posted a MySQL error. The error you should be seeing will be in the apache logs. I'm kind of confused. On Mon, Mar 8, 2010 at 3:47 PM, Gezina Dekker wrote: > James, > > Thank you for the reply. > > I am over the first hurdle, changing the pernissions to +rx fixed it, and > nagios now gives me a signon panel, however, as I explained, it does not > accept the nagiosadmin username. > > This is the messages I am getting: > > [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR: > Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) > [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user > nagiosadmin not found: /nagios > > 2010/3/8 James Pratt > >> >> >From what I can see, the perms shouldn't be a big problem , mine are all >> owned by nagios:nagios - >> >> if you remove the .htaccess auth parts, can you get in and view the >> CGI's normally? >> >> what do your Apache error and access logs say? >> >> Hth >> >> >> Cheers, >> jamie >> >> -----Original Message----- >> >> From: Robert Wolfe [mailto:rwolfe at i-evolve.com] >> >> Sent: Monday, March 08, 2010 1:20 PM >> >> To: 'Gezina Dekker'; nagios-users at lists.sourceforge.net >> >> Subject: Re: [Nagios-users] You do not have permission to access >> /nagios on this server >> >> >> >> Try setting ownership of these files to user nagios, group nagios. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> From: Gezina Dekker [mailto:gezinker at gmail.com] >> >> Sent: Monday, March 08, 2010 1:17 PM >> >> To: nagios-users at lists.sourceforge.net >> >> Subject: [Nagios-users] You do not have permission to access /nagios >> on this server >> >> >> >> >> >> >> >> Hi all, >> >> >> >> I have looked at all the questions so far, and nothing that brings >> any comfort. >> >> >> >> I followed the Fedore QuickStart even though I am on RHEL 4 >> (2.6.9-5.EL) >> >> >> >> I have all the following installed: >> >> Apache >> >> PHP >> >> GCC compiler >> >> GD development libraries >> >> >> >> I have nagios and nagcmd defined >> >> >> >> I have installed nagios and the plugins >> >> >> >> I have a passwd in htpasswd, and it is read acces for all. >> >> >> >> SELinux is disabled >> >> >> >> In terms of my nagios.conf, this is it... >> >> >> >> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" >> >> >> >> >> >> # SSLRequireSSL >> >> Options FollowSymLinks ExecCGI >> >> AllowOverride AuthConfig >> >> Order allow,deny >> >> Allow from all >> >> AuthName "Nagios Access" >> >> AuthType Basic >> >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> >> Require valid-user >> >> >> >> >> >> Alias /nagios "/usr/local/nagios/share" >> >> >> >> >> >> # SSLRequireSSL >> >> Options FollowSymLinks >> >> DirectoryIndex index.html >> >> AllowOverride AuthConfig >> >> Order allow,deny >> >> Allow from all >> >> AuthName "Nagios Access" >> >> AuthType Basic >> >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> >> Require valid-user >> >> >> >> >> >> >> >> The contents of my /share is the following: >> >> drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . >> >> drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. >> >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp >> >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs >> >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images >> >> -rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html >> >> drwxr-xr-x 4 root root 4096 mrt 8 11:39 locale >> >> -rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html >> >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media >> >> -rw-rw-r-- 1 nagios nagcmd 26 mrt 5 12:23 robots.txt >> >> -rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html >> >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi >> >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets >> >> >> >> >> >> The errors I am getting is the following: >> >> >> >> Forbidden >> >> You don't have permission to access /nagios on this server. >> >> Additionally, a 403 Forbidden error was encountered while trying to >> use an >> >> ErrorDocument to handle the request. >> >> >> >> >> >> >> >> Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80 >> >> >> >> >> >> I am making the assumption that the 403 is less serious, and that it >> is actually the >> >> permissions that needs fixing... >> >> >> >> Thanks in advance for your willingness to look at this with me. >> >> >> >> Regards >> >> >> >> >> >> >> >> Gezina >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at i-evolve.com Mon Mar 8 22:09:45 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Mon, 8 Mar 2010 16:09:45 -0500 Subject: You do not have permission to access /nagios on this server In-Reply-To: <96c54e8b1003081301i2c8a265fs400ad696187ce80d@mail.gmail.com> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> <33C7BE4CE80D504E8907FDC31F8A083047BCE083E1@iexchange.I-EVOLVE.com> <24B6509E4191AF44B60A24EAA3B4AD4956D3C2@nuexchg.norwich.edu> <126dc2681003081247y712f7dfdtdad3bb00d09ea47e@mail.gmail.com> <96c54e8b1003081301i2c8a265fs400ad696187ce80d@mail.gmail.com> Message-ID: <33C7BE4CE80D504E8907FDC31F8A083047BCE083E7@iexchange.I-EVOLVE.com> It sounds like he may have Apache logging directed to a MySQL database. From: Noel Platzke [mailto:neufpas at gmail.com] Sent: Monday, March 08, 2010 4:02 PM To: nagios List Subject: Re: [Nagios-users] You do not have permission to access /nagios on this server You posted a MySQL error. The error you should be seeing will be in the apache logs. I'm kind of confused. On Mon, Mar 8, 2010 at 3:47 PM, Gezina Dekker > wrote: James, Thank you for the reply. I am over the first hurdle, changing the pernissions to +rx fixed it, and nagios now gives me a signon panel, however, as I explained, it does not accept the nagiosadmin username. This is the messages I am getting: [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user nagiosadmin not found: /nagios 2010/3/8 James Pratt > >From what I can see, the perms shouldn't be a big problem , mine are all owned by nagios:nagios - if you remove the .htaccess auth parts, can you get in and view the CGI's normally? what do your Apache error and access logs say? Hth Cheers, jamie >> -----Original Message----- >> From: Robert Wolfe [mailto:rwolfe at i-evolve.com] >> Sent: Monday, March 08, 2010 1:20 PM >> To: 'Gezina Dekker'; nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] You do not have permission to access /nagios on this server >> >> Try setting ownership of these files to user nagios, group nagios. >> >> >> >> >> >> >> >> From: Gezina Dekker [mailto:gezinker at gmail.com] >> Sent: Monday, March 08, 2010 1:17 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] You do not have permission to access /nagios on this server >> >> >> >> Hi all, >> >> I have looked at all the questions so far, and nothing that brings any comfort. >> >> I followed the Fedore QuickStart even though I am on RHEL 4 (2.6.9-5.EL) >> >> I have all the following installed: >> Apache >> PHP >> GCC compiler >> GD development libraries >> >> I have nagios and nagcmd defined >> >> I have installed nagios and the plugins >> >> I have a passwd in htpasswd, and it is read acces for all. >> >> SELinux is disabled >> >> In terms of my nagios.conf, this is it... >> >> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" >> >> >> # SSLRequireSSL >> Options FollowSymLinks ExecCGI >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> Require valid-user >> >> >> Alias /nagios "/usr/local/nagios/share" >> >> >> # SSLRequireSSL >> Options FollowSymLinks >> DirectoryIndex index.html >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> Require valid-user >> >> >> >> The contents of my /share is the following: >> drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . >> drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images >> -rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html >> drwxr-xr-x 4 root root 4096 mrt 8 11:39 locale >> -rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media >> -rw-rw-r-- 1 nagios nagcmd 26 mrt 5 12:23 robots.txt >> -rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets >> >> >> The errors I am getting is the following: >> >> Forbidden >> You don't have permission to access /nagios on this server. >> Additionally, a 403 Forbidden error was encountered while trying to use an >> ErrorDocument to handle the request. >> >> >> >> Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80 >> >> >> I am making the assumption that the 403 is less serious, and that it is actually the >> permissions that needs fixing... >> >> Thanks in advance for your willingness to look at this with me. >> >> Regards >> >> >> >> Gezina ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mahe at civis.net Mon Mar 8 22:02:24 2010 From: mahe at civis.net (Franck MAHE) Date: Mon, 8 Mar 2010 22:02:24 +0100 Subject: Any chance that the list owner can delete these users??? In-Reply-To: <126dc2681003081252s650b8c3bi67ffaada9b8f640b@mail.gmail.com> References: <126dc2681003081252s650b8c3bi67ffaada9b8f640b@mail.gmail.com> Message-ID: <096f01cabf02$a9e557e0$fdb007a0$@net> Hi Gezina, I think you should remove the address of the sender when you reply to the message as I do in this message. He will receive the mail via the mailing list. It is a fight against SPAM and if everyone can do the same thing on their mail servers, the SPAM traffic will disappear ;-) Hope it will help. Franck ------------------------------------------- E: mahe at civis.net De : Gezina Dekker [mailto:gezinker at gmail.com] Envoy? : lundi 8 mars 2010 21:52 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Any chance that the list owner can delete these users??? Any chance that the list owner can delete these users??? 2010/3/8 Mail Delivery Subsystem The original message was received at Mon, 8 Mar 2010 14:47:47 -0600 (CST) from h135-1-218-53.lucent.com [135.1.218.53] ----- The following addresses had permanent fatal errors ----- (reason: 554 5.7.1 : Sender address rejected: This gmail.com mail didn't really arrive via a gmail.com mail server) ----- Transcript of session follows ----- ... while talking to smtp.hp.com .: >>> DATA <<< 554 5.7.1 : Sender address rejected: This gmail.com mail didn't really arrive via a gmail.com mail server 554 5.0.0 Service unavailable <<< 554 5.5.1 Error: no valid recipients Final-Recipient: RFC822; j.sherman at hp.com Action: failed Status: 5.7.1 Remote-MTA: DNS; smtp.hp.com Diagnostic-Code: SMTP; 554 5.7.1 : Sender address rejected: This gmail.com mail didn't really arrive via a gmail.com mail server Last-Attempt-Date: Mon, 8 Mar 2010 14:47:50 -0600 (CST) ---------- Doorgestuurd bericht ---------- From: Gezina Dekker To: "j.sherman at hp.com" Date: Mon, 8 Mar 2010 14:47:45 -0600 Subject: Re: [Nagios-users] You do not have permission to access /nagios on this server James, Thank you for the reply. I am over the first hurdle, changing the pernissions to +rx fixed it, and nagios now gives me a signon panel, however, as I explained, it does not accept the nagiosadmin username. This is the messages I am getting: [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user nagiosadmin not found: /nagios 2010/3/8 James Pratt > >From what I can see, the perms shouldn't be a big problem , mine are all owned by nagios:nagios - if you remove the .htaccess auth parts, can you get in and view the CGI's normally? what do your Apache error and access logs say? Hth Cheers, jamie >> -----Original Message----- >> From: Robert Wolfe [mailto:rwolfe at i-evolve.com] >> Sent: Monday, March 08, 2010 1:20 PM >> To: 'Gezina Dekker'; nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] You do not have permission to access /nagios on this server >> >> Try setting ownership of these files to user nagios, group nagios. >> >> >> >> >> >> >> >> From: Gezina Dekker [mailto:gezinker at gmail.com] >> Sent: Monday, March 08, 2010 1:17 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] You do not have permission to access /nagios on this server >> >> >> >> Hi all, >> >> I have looked at all the questions so far, and nothing that brings any comfort. >> >> I followed the Fedore QuickStart even though I am on RHEL 4 (2.6.9-5.EL) >> >> I have all the following installed: >> Apache >> PHP >> GCC compiler >> GD development libraries >> >> I have nagios and nagcmd defined >> >> I have installed nagios and the plugins >> >> I have a passwd in htpasswd, and it is read acces for all. >> >> SELinux is disabled >> >> In terms of my nagios.conf, this is it... >> >> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" >> >> >> # SSLRequireSSL >> Options FollowSymLinks ExecCGI >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> Require valid-user >> >> >> Alias /nagios "/usr/local/nagios/share" >> >> >> # SSLRequireSSL >> Options FollowSymLinks >> DirectoryIndex index.html >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> Require valid-user >> >> >> >> The contents of my /share is the following: >> drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . >> drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images >> -rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html >> drwxr-xr-x 4 root root 4096 mrt 8 11:39 locale >> -rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media >> -rw-rw-r-- 1 nagios nagcmd 26 mrt 5 12:23 robots.txt >> -rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets >> >> >> The errors I am getting is the following: >> >> Forbidden >> You don't have permission to access /nagios on this server. >> Additionally, a 403 Forbidden error was encountered while trying to use an >> ErrorDocument to handle the request. >> >> >> >> Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80 >> >> >> I am making the assumption that the 403 is less serious, and that it is actually the >> permissions that needs fixing... >> >> Thanks in advance for your willingness to look at this with me. >> >> Regards >> >> >> >> Gezina ---------------------------------------------------------------------------- -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Mar 8 22:46:16 2010 From: marc at ena.com (Marc Powell) Date: Mon, 8 Mar 2010 15:46:16 -0600 Subject: You do not have permission to access /nagios on this server In-Reply-To: <126dc2681003081053o3174b2eds4f33d735949700cc@mail.gmail.com> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> <94E26D15-AC44-4BF0-A80E-BF9648F665AE@ena.com> <126dc2681003081044r7c2ac667s677ee53b472a8ae0@mail.gmail.com> <126dc2681003081053o3174b2eds4f33d735949700cc@mail.gmail.com> Message-ID: <4DD1842C-3512-4A09-9371-3A557DC9599C@ena.com> On Mar 8, 2010, at 12:53 PM, Gezina Dekker wrote: > This is the messages I am getting: > > [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) > [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user nagiosadmin not found: /nagios > What does MySql have to do with the bak of patatoes? That's the question only you can answer. Do you have some special/unique Apache authentication module installed and enabled for your web server that is overriding the standard mod_auth module? mod_auth_mysql maybe? Default apache authentication uses text files, not MySQL. You've installed something special/unusual/unique/non-default. What is it? -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 8 23:16:15 2010 From: alexus at gmail.com (alexus) Date: Mon, 8 Mar 2010 17:16:15 -0500 Subject: priority: host or service who's really on top? Message-ID: <6ae50c2d1003081416x483eff8ck450999617e0eb680@mail.gmail.com> if i define my host to be checked/notify only at certain time frame, let's say 10-18 yet service states 24/7 ... who takes priority? host's definition or service? -- http://alexus.org/ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Mon Mar 8 22:56:15 2010 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Tue, 9 Mar 2010 08:56:15 +1100 Subject: Can we change the IP address of the Linux box after installing Nagios. In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA087A3B22@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> <4B953DD9.3060409@flatto.net> <39C5D75C6A5D3440A833E1C014384BAA087A3B22@PNE-HJN-MBX02.wipro.com> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB63BE@off-win2003-01.ausregistrygroup.local> > -----Original Message----- > From: ravishankar.gundlapali at wipro.com > I have approached my security team and they have suggested me that they > can change the IP address of this Linux box and move it to a different > VLan for some time period where we have internet access, so that I can > install the required packages and Nagios. > > After I am done with my work they said that they will move it back and > change the IP. > > Can anyone please guide me whether I can follow the above procedure. Nagios its self doesn't care what the IP address of the box it's installed on is. If you are using passive submissions from remote hosts (NSCA), then those hosts will need to know that the Nagios server has moved. If you are using only active checks for remote hosts (NRPE), then the NRPE configuration may need updating for the check_nrpe requests to be accepted. Otherwise, you can go ahead and change it without any issues. Stuart J. Browne Senior Unix Administrator, Network Administrator AusRegistry Pty Ltd Level 8, 10 Queens Road Melbourne. Victoria. Australia. 3004. Ph:? +61 3 9866 3710 Fax: +61 3 9866 1970 Email: stuart.browne at ausregistry.com.au Web: www.ausregistry.com.au The information contained in this communication is intended for the named recipients only. It is subject to copyright and may contain legally privileged and confidential information and if you are not an intended recipient you must not use, copy, distribute or take any action in reliance on it. If you have received this communication in error, please delete all copies from your system and notify us immediately. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 9 00:45:43 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Mon, 8 Mar 2010 15:45:43 -0800 Subject: Any chance that the list owner can delete these users??? In-Reply-To: <126dc2681003081252s650b8c3bi67ffaada9b8f640b@mail.gmail.com> References: <126dc2681003081252s650b8c3bi67ffaada9b8f640b@mail.gmail.com> Message-ID: <20100308234543.GF4621@bakgwai.americas.hpqcorp.net> On Mon, 08 Mar 2010, Gezina Dekker wrote: > Any chance that the list owner can delete these users??? > > 2010/3/8 Mail Delivery Subsystem > > The original message was received at Mon, 8 Mar 2010 14:47:47 -0600 (CST) > from h135-1-218-53.lucent.com [135.1.218.53] > > ----- The following addresses had permanent fatal errors ----- > > > (reason: 554 5.7.1 >: Sender address rejected: This gmail.com mail didn't really arrive via a gmail.com mail server) > > ----- Transcript of session follows ----- > ... while talking to smtp.hp.com.: > >>> DATA > <<< 554 5.7.1 >: Sender address rejected: This gmail.com mail didn't really arrive via a gmail.com mail server > 554 5.0.0 Service unavailable > <<< 554 5.5.1 Error: no valid recipients > > Final-Recipient: RFC822; j.sherman at hp.com > Action: failed > Status: 5.7.1 > Remote-MTA: DNS; smtp.hp.com > Diagnostic-Code: SMTP; 554 5.7.1 >: Sender address rejected: This gmail.com mail didn't really arrive via a gmail.com mail server > Last-Attempt-Date: Mon, 8 Mar 2010 14:47:50 -0600 (CST) What you're suggesting, in effect, is that any of us at HP should be removed from this list because you're sending mail with a Gmail address through someone else's systems, and you expect that to work. You need to modify your expectations a bit. A lot of SMTP servers (HP's included) will do verification of things like SPF records to determine if mail saying it's from a particular domain (in this case, gmail.com) was sent through that domain (and in this case, the mail was sent through lucent.com servers). On behalf of the rest of HP, I'd like to humbly beg we be allowed to stay on this list, and apologize for any distress this spoof detection may have caused you. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 9 00:29:17 2010 From: marc at ena.com (Marc Powell) Date: Mon, 8 Mar 2010 17:29:17 -0600 Subject: Any chance that the list owner can delete these users??? In-Reply-To: <126dc2681003081252s650b8c3bi67ffaada9b8f640b@mail.gmail.com> References: <126dc2681003081252s650b8c3bi67ffaada9b8f640b@mail.gmail.com> Message-ID: <555EC54E-E0F3-4772-8366-03591343154F@ena.com> On Mar 8, 2010, at 2:52 PM, Gezina Dekker wrote: > Any chance that the list owner can delete these users??? No, none. > 2010/3/8 Mail Delivery Subsystem > The original message was received at Mon, 8 Mar 2010 14:47:47 -0600 (CST) > from h135-1-218-53.lucent.com [135.1.218.53] > > ----- The following addresses had permanent fatal errors ----- > > (reason: 554 5.7.1 : Sender address rejected: This gmail.com mail didn't really arrive via a gmail.com mail server) If you don't send to them directly, which you shouldn't be doing anyway, or you send your message through Google's servers, like you should be, then this wouldn't be an issue. If there is a problem with the listserv sending messages to them, they will be removed automatically. It looks like the problem is yours alone though because of the way you are responding. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Tue Mar 9 02:13:02 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Tue, 9 Mar 2010 01:13:02 +0000 Subject: You do not have permission to access /nagios on this server In-Reply-To: <96c54e8b1003081301i2c8a265fs400ad696187ce80d@mail.gmail.com> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> <33C7BE4CE80D504E8907FDC31F8A083047BCE083E1@iexchange.I-EVOLVE.com> <24B6509E4191AF44B60A24EAA3B4AD4956D3C2@nuexchg.norwich.edu> <126dc2681003081247y712f7dfdtdad3bb00d09ea47e@mail.gmail.com> <96c54e8b1003081301i2c8a265fs400ad696187ce80d@mail.gmail.com> Message-ID: <126dc2681003081713j701ba7e2ifa502e5d31f0bc5c@mail.gmail.com> Noel, The errors I listed, was from error_log in /var/log/httpd Regards and thanks to all for assisteng me. 2010/3/8 Noel Platzke > You posted a MySQL error. The error you should be seeing will be in the > apache logs. I'm kind of confused. > > > > > On Mon, Mar 8, 2010 at 3:47 PM, Gezina Dekker wrote: > >> James, >> >> Thank you for the reply. >> >> I am over the first hurdle, changing the pernissions to +rx fixed it, and >> nagios now gives me a signon panel, however, as I explained, it does not >> accept the nagiosadmin username. >> >> This is the messages I am getting: >> >> [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR: >> Can't connect to local MySQL server through socket >> '/var/lib/mysql/mysql.sock' (2) >> [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user >> nagiosadmin not found: /nagios >> >> 2010/3/8 James Pratt >> >>> >>> >From what I can see, the perms shouldn't be a big problem , mine are >>> all >>> owned by nagios:nagios - >>> >>> if you remove the .htaccess auth parts, can you get in and view the >>> CGI's normally? >>> >>> what do your Apache error and access logs say? >>> >>> Hth >>> >>> >>> Cheers, >>> jamie >>> >> -----Original Message----- >>> >> From: Robert Wolfe [mailto:rwolfe at i-evolve.com] >>> >> Sent: Monday, March 08, 2010 1:20 PM >>> >> To: 'Gezina Dekker'; nagios-users at lists.sourceforge.net >>> >> Subject: Re: [Nagios-users] You do not have permission to access >>> /nagios on this server >>> >> >>> >> Try setting ownership of these files to user nagios, group nagios. >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> From: Gezina Dekker [mailto:gezinker at gmail.com] >>> >> Sent: Monday, March 08, 2010 1:17 PM >>> >> To: nagios-users at lists.sourceforge.net >>> >> Subject: [Nagios-users] You do not have permission to access /nagios >>> on this server >>> >> >>> >> >>> >> >>> >> Hi all, >>> >> >>> >> I have looked at all the questions so far, and nothing that brings >>> any comfort. >>> >> >>> >> I followed the Fedore QuickStart even though I am on RHEL 4 >>> (2.6.9-5.EL) >>> >> >>> >> I have all the following installed: >>> >> Apache >>> >> PHP >>> >> GCC compiler >>> >> GD development libraries >>> >> >>> >> I have nagios and nagcmd defined >>> >> >>> >> I have installed nagios and the plugins >>> >> >>> >> I have a passwd in htpasswd, and it is read acces for all. >>> >> >>> >> SELinux is disabled >>> >> >>> >> In terms of my nagios.conf, this is it... >>> >> >>> >> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" >>> >> >>> >> >>> >> # SSLRequireSSL >>> >> Options FollowSymLinks ExecCGI >>> >> AllowOverride AuthConfig >>> >> Order allow,deny >>> >> Allow from all >>> >> AuthName "Nagios Access" >>> >> AuthType Basic >>> >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >>> >> Require valid-user >>> >> >>> >> >>> >> Alias /nagios "/usr/local/nagios/share" >>> >> >>> >> >>> >> # SSLRequireSSL >>> >> Options FollowSymLinks >>> >> DirectoryIndex index.html >>> >> AllowOverride AuthConfig >>> >> Order allow,deny >>> >> Allow from all >>> >> AuthName "Nagios Access" >>> >> AuthType Basic >>> >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >>> >> Require valid-user >>> >> >>> >> >>> >> >>> >> The contents of my /share is the following: >>> >> drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . >>> >> drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 .. >>> >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp >>> >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs >>> >> drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images >>> >> -rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html >>> >> drwxr-xr-x 4 root root 4096 mrt 8 11:39 locale >>> >> -rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html >>> >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media >>> >> -rw-rw-r-- 1 nagios nagcmd 26 mrt 5 12:23 robots.txt >>> >> -rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html >>> >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi >>> >> drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets >>> >> >>> >> >>> >> The errors I am getting is the following: >>> >> >>> >> Forbidden >>> >> You don't have permission to access /nagios on this server. >>> >> Additionally, a 403 Forbidden error was encountered while trying to >>> use an >>> >> ErrorDocument to handle the request. >>> >> >>> >> >>> >> >>> >> Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80 >>> >> >>> >> >>> >> I am making the assumption that the 403 is less serious, and that it >>> is actually the >>> >> permissions that needs fixing... >>> >> >>> >> Thanks in advance for your willingness to look at this with me. >>> >> >>> >> Regards >>> >> >>> >> >>> >> >>> >> Gezina >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Tue Mar 9 05:40:59 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 09 Mar 2010 10:10:59 +0530 Subject: check_snmp plugin not visible In-Reply-To: <3b3b4f141003081213i4ff38dadt943c4f27dfe2a5c8@mail.gmail.com> References: <3b3b4f141003081135q7df5c2b4v844c75bd4336313a@mail.gmail.com> <3d41807fac238e5229f32b71696b20d4@localhost> <3b3b4f141003081156x7398f5d5x1978ed3c4ccb0e1a@mail.gmail.com> <3b3b4f141003081206r4727654et2303d509d70d8944@mail.gmail.com> <3b3b4f141003081213i4ff38dadt943c4f27dfe2a5c8@mail.gmail.com> Message-ID: <4B95D15B.1010904@cisco.com> Hi Ambati I followed this link: http://svn.openvpn.net/projects/openvpn/misc/mibagent/README.txt and it solved all my issues , Things went smoothly after following the installation instructions as mentioned. Make sure you have access to the fedora repositories to download the pacakages. Thanks Jatin On 3/9/2010 1:43 AM, Ambati Srinivas wrote: > Hi, > > > Please elaborate on 'add --with-snmp to your plugins compile' as > I am new to monitoring. so missing net-snmp-devel packages was the > prob? > > Very much appreciate. > > Thanks, > > AM > > > > > > On Tue, Mar 9, 2010 at 1:33 AM, Kyle O'Donnell > wrote: > > yum install net-snmp-devel > > add --with-snmp to your plugins compile > > On Tue, 9 Mar 2010 01:26:37 +0530, Ambati Srinivas > > > wrote: > > Hi, > > > > I never expected this speed reply :-) Thanks much. > > > > Yep Installed net-snmp-5.4.2.1-19.fc12.i686 and > > net-snmp-utils-5.4.2.1-19.fc12.i686 on nagios core however I > have not > yet > > enable snmp monitoring in file > /usr/local/nagios/etc/nagios.cfg does > that > > effect??? > > > > vi /usr/local/nagios/etc/nagios.cfg > > # Definitions for monitoring a router/switch > > #cfg_file=/usr/local/nagios/etc/objects/switch.cfg > > > > > > Please advice further > > > > AM > > > > > > > > > > On Tue, Mar 9, 2010 at 1:16 AM, Kyle O'Donnell > > wrote: > > > >> What were you configure options? Do you have net-snmp(dev > libs too) > >> installed? > >> > >> > >> On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas > > > >> wrote: > >> > Hi, > >> > > >> > I very recently installed nagios Nagios-3.2.0 and > >> Nagios-plugins-1.4.14on > >> > fedora 12. All went however I am not able to execute nor see > check_snmp > >> > under /usr/local/nagios/libexec/ > >> > > >> > For your reference: > >> > [root at nagios01 plugins]# cd /usr/local/nagios/libexec/ > >> > [root at nagios01 libexec]# ls > >> > check_apt check_file_age check_log > check_oracle > >> > check_tcp > >> > check_breeze check_flexlm check_mailq > check_overcr > >> > check_time > >> > check_by_ssh check_ftp check_mrtg > check_ping > >> > check_udp > >> > check_clamd check_http check_mrtgtraf check_pop > >> > check_ups > >> > check_cluster check_icmp check_nagios > check_procs > >> > check_users > >> > check_dhcp check_ide_smart check_nntp > check_real > >> > check_wave > >> > check_dig check_ifoperstatus check_nt check_rpc > >> negate > >> > check_disk check_ifstatus check_ntp > check_sensors > >> urlize > >> > check_disk_smb check_imap check_ntp_peer > check_smtp > >> utils.pm > >> > check_dns check_ircd check_ntp_time check_ssh > >> utils.sh > >> > check_dummy check_load check_nwstat > check_swap > >> > [root at nagios01 libexec]# > >> > > >> > > >> > > >> > While I can see files in /nagios-plugins-1.4.14/plugins > (after untar) > >> > check_snmp > >> > check_snmp.c > >> > check_snmp.o > >> > For your refernce: > >> > [root at nagios01 Downloads]# ls > >> > nagios-3.2.0 nagios-plugins-1.4.14 > >> > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz > >> > [root at nagios01 Downloads]# pwd > >> > /home/xxxxxxxx/Downloads > >> > [root at nagios01 Downloads]# ls > >> > nagios-3.2.0 nagios-plugins-1.4.14 > >> > nagios-3.2.0.tar.gz nagios-plugins-1.4.14.tar.gz > >> > [root at nagios01 Downloads]# > >> > [root at nagios01 libexec]# cd > >> > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins > >> > [root at nagios01 plugins]# pwd > >> > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins > >> > [root at nagios01 plugins]# ls > >> > check_apt check_ide_smart.o check_overcr > check_udp > >> > check_apt.c check_imap check_overcr.c > check_ups > >> > check_apt.o check_ldap.c check_overcr.o > check_ups.c > >> > check_by_ssh check_load check_pgsql.c > check_ups.o > >> > check_by_ssh.c check_load.c check_ping > check_users > >> > check_by_ssh.o check_load.o check_ping.c > check_users.c > >> > check_clamd check_mrtg check_ping.o > check_users.o > >> > check_cluster check_mrtg.c check_pop > common.h > >> > check_cluster.c check_mrtg.o check_procs > Makefile > >> > check_cluster.o check_mrtgtraf check_procs.c > Makefile.am > >> > check_dig check_mrtgtraf.c check_procs.o > Makefile.in > >> > check_dig.c check_mrtgtraf.o check_radius.c > negate > >> > check_dig.o check_mysql.c check_real > negate.c > >> > check_disk check_mysql_query.c check_real.c > negate.o > >> > check_disk.c check_nagios check_real.o > netutils.c > >> > check_disk.o check_nagios.c check_smtp > netutils.h > >> > check_dns check_nagios.o check_smtp.c > netutils.o > >> > check_dns.c check_nntp check_smtp.o > popen.c > >> > check_dns.o check_nt check_snmp > popen.h > >> > check_dummy check_nt.c check_snmp.c > popen.o > >> > check_dummy.c check_nt.o check_snmp.o > runcmd.c > >> > check_dummy.o check_ntp check_ssh > runcmd.h > >> > check_fping.c check_ntp.c check_ssh.c > runcmd.o > >> > check_ftp check_ntp.o check_ssh.o > sslutils.c > >> > check_game.c check_ntp_peer check_swap > sslutils.o > >> > check_hpjd check_ntp_peer.c check_swap.c t > >> > check_hpjd.c check_ntp_peer.o check_swap.o > urlize > >> > check_hpjd.o check_ntp_time check_tcp > urlize.c > >> > check_http check_ntp_time.c check_tcp.c > urlize.o > >> > check_http.c check_ntp_time.o check_tcp.o > utils.c > >> > check_http.o check_nwstat check_time > utils.h > >> > check_ide_smart check_nwstat.c check_time.c > utils.o > >> > check_ide_smart.c check_nwstat.o check_time.o > >> > [root at nagios01 plugins]# > >> > > >> > Please advice, > >> > > >> > am > >> > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 9 04:22:42 2010 From: marc at ena.com (Marc Powell) Date: Mon, 8 Mar 2010 21:22:42 -0600 Subject: event handler command not executing In-Reply-To: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB5FA@DENMSGV1.QUANTUM.COM> References: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB5FA@DENMSGV1.QUANTUM.COM> Message-ID: <26D9450A-D33D-41CD-83F8-372ABF5F4B62@ena.com> On Mar 8, 2010, at 7:58 PM, Rick Garland wrote: > define command{ > command_name remount-nfs > command_line $USER1$/eventhandlers/remount-nfs $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ > } > > enable_event_handlers=1 in the nagios.cfg file > > The script itself is very simple. At CRITICAL/SOFT/3 and CRITCAL/HARD/4 the script will execute. Running at command line as UID=nagios it runs fine. > sudo is configured and nagios can mount NFS. > > > The entry in the nagios.log > [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 Nagios is running it. This is good. > I have followed the process through and it will not execute the remount-nfs event handler command. > > What is missing? First guess: you have REQUIRETTY enabled in your sudoers file (run visudo and check). Second guess: $USER1$ doesn't point to the location of {?}/eventhandlers/remount_nfs. Third guess: you do not use hard-coded paths to programs used within remount-nfs. The working environment for scripts executed by nagios is very minimal. Don't depend on $PATH being as complete as it is during an interactive session. Hard code paths to everything. That should be a BCP anyway. Try adding a bit at the top of the script to touch a file or something to see if it really ran and is maybe failing further into the script (i.e. because of a potential sudo restriction). -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From monch1962 at gmail.com Tue Mar 9 07:33:44 2010 From: monch1962 at gmail.com (David Mitchell) Date: Tue, 9 Mar 2010 17:33:44 +1100 Subject: check_by_ssh from a different username Message-ID: Hello list, I've got a situation where I can't create 'nagios' users on the systems I need to monitor; I'm stuck with using a set of different user names to monitor a range of systems. For the sake of the discussion, assume the account on the Nagios server is 'nagios' and the account I've been given on the remote server I need to monitor is 'monitoruser'. In trying to setup a check_by_ssh script, I'm at the point where I can do either of these successfully - from the 'nagios' user on the Nagios server, I can run /usr/lib/nagios/plugins/check_by_ssh -H REMOTEHOST -l monitoruser -C "nagios-test-script'. This runs fine, but I get prompted for monitoruser's password on the remote system. Obviously I can't enter the password when this command is running from within Nagios - from a shell logged in as 'monitoruser' on the Nagios server, I can run the identical command and I don't get prompted for the password; everything works as I'd like, except that I need to be running the command from the 'monitoruser' account on the Nagios server (and I want to run the command from the 'nagios' user instead). The fact that this works without a password prompt tells me that I've got monitoruser's ssh public key set up on REMOTEHOST If I'm logged in as 'nagios' and try to run /usr/lib/nagios/plugins/check_by_ssh -H REMOTEHOST -i /home/monitoruser/.ssh/id_dsa -C "nagios-test-script" -vvvv, I get "warning: Identity file /home/monitoruser/.ssh/id_dsa not accessible: Permission denied.", which is what I'd expect. This fails because the user 'nagios' can't access the ~/.ssh/id_dsa file of monitoruser; this is correct behaviour from a security perspective. How can I use check_by_ssh to monitor remote servers, when the username on the remote box is different from the Nagios user name? Thanks in advance Dave M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Garland at quantum.com Tue Mar 9 02:58:09 2010 From: Rick.Garland at quantum.com (Rick Garland) Date: Mon, 8 Mar 2010 18:58:09 -0700 Subject: event handler command not executing Message-ID: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB5FA@DENMSGV1.QUANTUM.COM> Hi all: Got Nagios core 3.2.0 on CentOS5. Been trying to get an event handler to execute but it will not. My configs; define service{ use local_service host_name my_host service_description NFS Check check_period 24x7 check_interval 20 max_check_attempts 4 check_command check_nrpe!check_nfs_mounts event_handler_enabled 1 event_handler remount-nfs!$SERVICESTATE$!$SERVICESTATETYPE$!$SERVICEATTEMPT$ notification_period 24x7 notification_interval 120 contact_groups colorado } define command{ command_name remount-nfs command_line $USER1$/eventhandlers/remount-nfs $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } enable_event_handlers=1 in the nagios.cfg file The script itself is very simple. At CRITICAL/SOFT/3 and CRITCAL/HARD/4 the script will execute. Running at command line as UID=nagios it runs fine. sudo is configured and nagios can mount NFS. The entry in the nagios.log [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 I have followed the process through and it will not execute the remount-nfs event handler command. What is missing? Many thanks ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Tue Mar 9 08:57:25 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 09 Mar 2010 13:27:25 +0530 Subject: Monitoring a process with its pid In-Reply-To: <5bcb62b61003080731y4d209337v644650b715414ae7@mail.gmail.com> References: <4B94E976.2070202@cisco.com> <4B94F728.5060803@cisco.com> <5bcb62b61003080731y4d209337v644650b715414ae7@mail.gmail.com> Message-ID: <4B95FF65.2090705@cisco.com> Thanks Matt, It solved my problem. Thanks Jatin On 3/8/2010 9:01 PM, Matt Simmons wrote: > If you have snmp enabled on the hosts, you can pull that information out: > > ~$ snmpwalk -v 2c -c COMMUNITY myhost.mydomain.com > HOST-RESOURCES-MIB::hrSWRunName.3309 > HOST-RESOURCES-MIB::hrSWRunName.3309 = STRING: "crond" > > > > On Mon, Mar 8, 2010 at 8:10 AM, Jatin Davey wrote: > >> Let me re-phrase it a little , >> >> Basically what i want is to give the process id as the input and make >> sure on that target machine i have the process with the given id running >> , once it stops there might not be the process running with that id and >> hence i need to raise an email notification alert. >> >> Thanks >> Jatin >> >> On 3/8/2010 5:41 PM, Jatin Davey wrote: >> >>> Hi All >>> >>> Do we have a plugin that can monitor process id (pid) on a target >>> machine , the target machine could be anything such as windows , linux , >>> solaris etc and alert with an email notification when the process id >>> changes. >>> >>> Appreciate your responses. >>> >>> Thanks >>> Jatin >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 9 09:01:30 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 9 Mar 2010 08:01:30 +0000 Subject: Host/Svc Deps In-Reply-To: References: Message-ID: <765d77c81003090001k667241dev7e14b87e3f9758aa@mail.gmail.com> On 9 March 2010 02:47, Joseph L. Casale wrote: > Is it possible to make hosts dependant on single services from another host? > An example being a monitored vpn tunnel on a firewall, and the hosts it provides. > The firewall may very well be up, but the tunnel status alone dictates the > availability of the hosts it provides. > > >From what I gather, there are only host or service deps, also making groups > such that all the services of a host depend on one service but the host check > would remain? I'm not sure. I would probably define the tunnel as a host in its own right. A 'host' doesn't always have to be a physical box. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Tue Mar 9 09:19:09 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Tue, 9 Mar 2010 09:19:09 +0100 Subject: Nagios DST bug and upcoming DST-time switch in Europe Message-ID: Nagios 3.2.0 -------------------- - By the end of the month, Europe will switch to DST. Will I be affected by the Nagios DST-BUG which , which results in NAGIOS becoming dis-functional ? Which countermeasures can I take to prevent being struck by this problem ? M. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 opsera.com Tue Mar 9 09:32:59 2010 From: ton.voon at opsera.com (Ton Voon) Date: Tue, 9 Mar 2010 08:32:59 +0000 Subject: Nagios DST bug and upcoming DST-time switch in Europe In-Reply-To: References: Message-ID: On 9 Mar 2010, at 08:19, Mark Elsen wrote: > Nagios 3.2.0 > -------------------- > > - By the end of the month, Europe will switch to DST. > Will I be affected by the Nagios DST-BUG which , which results in > NAGIOS becoming > dis-functional ? > > Which countermeasures can I take to prevent being struck by this > problem ? > The bug, which stops all Nagios monitoring for 24 hours, occurs when "time moves backwards". This does not happen when "time moves forward". However, any other timeperiods (such as 09:00-17:00) maybe incorrect by an hour, which is obviously not as serious. This is true for Nagios 3.2.0. Ton ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at smetj.net Tue Mar 9 10:01:37 2010 From: nagios at smetj.net (Jelle Smet) Date: Tue, 09 Mar 2010 10:01:37 +0100 Subject: Restrict user only to enable/disable checks Message-ID: Hi list, I'm looking for a way to allow users do pretty much everything of the host and service commands except enabling & disabling them. I believe these are cmd_typ=16 (for all services on the host) cmd_typ=4 (for the host check) cmd_typ=6 (for a service check) There are a couple of things which come to my mind such as mod_security, or some other apache level restricting stuff. Has anyone experience in setting up something like this? It would be helpfull if people see a helpfull message saying, you're not allowed to execute this command, so they don't think the application isn't working. What are your thoughts? -- Jelle Smet http://www.smetj.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 9 05:12:12 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 08 Mar 2010 20:12:12 -0800 Subject: event handler command not executing In-Reply-To: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB5FA@DENMSGV1.QUANTUM.COM> References: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB5FA@DENMSGV1.QUANTUM.COM> Message-ID: <4B95CA9C.9060607@hp.com> Rick Garland wrote: > The script itself is very simple. At CRITICAL/SOFT/3 and > CRITCAL/HARD/4 the script will execute. Running at command line as > UID=nagios it runs fine. > sudo is configured and nagios can mount NFS. > > > The entry in the nagios.log > [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS > CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 > > I have followed the process through and it will not execute the > remount-nfs event handler command. > > What is missing? > Does your script account for "CRITICAL" being spelled wrong? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Tue Mar 9 02:06:10 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Tue, 9 Mar 2010 01:06:10 +0000 Subject: You do not have permission to access /nagios on this server In-Reply-To: <126dc2681003081631u150eb92bw739eaaeb279c27d6@mail.gmail.com> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> <94E26D15-AC44-4BF0-A80E-BF9648F665AE@ena.com> <126dc2681003081044r7c2ac667s677ee53b472a8ae0@mail.gmail.com> <126dc2681003081053o3174b2eds4f33d735949700cc@mail.gmail.com> <4DD1842C-3512-4A09-9371-3A557DC9599C@ena.com> <126dc2681003081631u150eb92bw739eaaeb279c27d6@mail.gmail.com> Message-ID: <126dc2681003081706g43181470w18ed567b4778705b@mail.gmail.com> What is the chance that it goes to mysql if it cannot find .htaccess? 2010/3/9 Gezina Dekker > Marc, > > I installed Redhat RHEL 64bit. I made no modifications at all. The main > purpose of this box is to run this nagios test server. I just looked thru > httpd.conf, and couldn't find anything in there. > What should I be looking for? I expected it to read the value from > /usr/local/nagios/etc/htaccess.users > I even had a look at "service --status-all | grep mysql, and could not find > any mysql running. This is bisarre. > I am really stuck here. > > Regards > > Herbie > > 2010/3/8 Marc Powell > >> >> On Mar 8, 2010, at 12:53 PM, Gezina Dekker wrote: >> >> > This is the messages I am getting: >> > >> > [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR: >> Can't connect to local MySQL server through socket >> '/var/lib/mysql/mysql.sock' (2) >> > [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user >> nagiosadmin not found: /nagios >> > What does MySql have to do with the bak of patatoes? >> >> That's the question only you can answer. Do you have some special/unique >> Apache authentication module installed and enabled for your web server that >> is overriding the standard mod_auth module? mod_auth_mysql maybe? Default >> apache authentication uses text files, not MySQL. You've installed something >> special/unusual/unique/non-default. What is it? >> >> -- >> Marc >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 9 02:19:07 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Mon, 8 Mar 2010 17:19:07 -0800 Subject: You do not have permission to access /nagios on this server In-Reply-To: <126dc2681003081706g43181470w18ed567b4778705b@mail.gmail.com> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> <94E26D15-AC44-4BF0-A80E-BF9648F665AE@ena.com> <126dc2681003081044r7c2ac667s677ee53b472a8ae0@mail.gmail.com> <126dc2681003081053o3174b2eds4f33d735949700cc@mail.gmail.com> <4DD1842C-3512-4A09-9371-3A557DC9599C@ena.com> <126dc2681003081631u150eb92bw739eaaeb279c27d6@mail.gmail.com> <126dc2681003081706g43181470w18ed567b4778705b@mail.gmail.com> Message-ID: <20100309011907.GH4621@bakgwai.americas.hpqcorp.net> On Tue, 09 Mar 2010, Gezina Dekker wrote: > What is the chance that it goes to mysql if it cannot find .htaccess? > > 2010/3/9 Gezina Dekker > > Marc, > > I installed Redhat RHEL 64bit. I made no modifications at all. The main purpose of this box is to run this nagios test server. I just looked thru httpd.conf, and couldn't find anything in there. > What should I be looking for? I expected it to read the value from /usr/local/nagios/etc/htaccess.users > I even had a look at "service --status-all | grep mysql, and could not find any mysql running. This is bisarre. > I am really stuck here. Instead of wild guesses, how about how let us know what the authentication-related sections of your webserver configuration (especially any pertaining to Nagios) look like? The answer to whether Apache will fall back to MySQL if it can't find a .htaccess file are exactly equal to the chances it's configured to do that. Don't forget that most version of RHEL (and it would help to know which you're running) place suplemental configs into /etc/httpd/conf.d. Have you looked at those? There's something strange about your setup. I've never seen an out-of-the-box Apache installation on any version of RHEL try to do MySQL auth by default. Unfortunately, you're going to have to locate that little bit of strangeness before we can help you fix it. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 9 05:59:06 2010 From: justinp at norchemlab.com (Justin Pryzby) Date: Mon, 8 Mar 2010 21:59:06 -0700 Subject: event handler command not executing In-Reply-To: <26D9450A-D33D-41CD-83F8-372ABF5F4B62@ena.com> References: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB5FA@DENMSGV1.QUANTUM.COM> <26D9450A-D33D-41CD-83F8-372ABF5F4B62@ena.com> Message-ID: <20100309045906.GA22794@norchemlab.com> 4th guess: is it executable? Justin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asraikhn at gmail.com Tue Mar 9 07:15:33 2010 From: asraikhn at gmail.com (Asrai khn) Date: Tue, 9 Mar 2010 11:15:33 +0500 Subject: Unable to install Packages . In-Reply-To: <20100308210106.GB4621@bakgwai.americas.hpqcorp.net> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B39@PNE-HJN-MBX02.wipro.com> <27175007.7904.1268079873646.JavaMail.root@mail.opservices.com.br> <39C5D75C6A5D3440A833E1C014384BAA087A3B4A@PNE-HJN-MBX02.wipro.com> <20100308210106.GB4621@bakgwai.americas.hpqcorp.net> Message-ID: <5f0f8dba1003082215m35ca57av77038feb955d5038@mail.gmail.com> Man this is the same guy tring to install packages using 'yum' on the unsupported version of Fedora :( you don't even though how to install packages on your distro and you are going to install and configure monitoring system? Dude, Unix is very simple, but it takes a genius to understand the simplicity On Tue, Mar 9, 2010 at 2:01 AM, wrote: > On Mon, 08 Mar 2010, ravishankar.gundlapali at wipro.com wrote: > > > Hi, > > > > There is no access to internet from this server. > > > > Is Internet access required ??? > > > > So is this the problem???? > > > > Thanks & Regards, > > Ravi G > > Your Yum configuration is set to use an Internet-accessible repository. > So, yes, if you configure Yum to pull packages from a repository on the > Internet, you need Internet access for it to work. > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juki.emma at gmail.com Tue Mar 9 07:57:30 2010 From: juki.emma at gmail.com (Juki) Date: Tue, 9 Mar 2010 09:57:30 +0300 Subject: Streamline Alerts/Notifications for user group Message-ID: <7545d7d21003082257m4074c851tc452aec7a2eae71@mail.gmail.com> Hi list, I'm running Nagios-3.2.0 with plugins-1.4.14 on an openSuSE 11.0 platform. I have setup both e-mail and sms notifications for different groups of users based on the instructions here; http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html I would like to be able to send host DOWN *only* notifications/alerts to a particular user group. In other words, I would like that user group to receive alerts ONLY when a host goes DOWN and no other alerts/notifications whatsoever. I have looked at on-call rotations but that doesn't seem to suite my need. Has anyone got suggestions on how to implement this? Thanks, Juki -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Tue Mar 9 03:47:31 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Tue, 9 Mar 2010 02:47:31 +0000 Subject: Host/Svc Deps Message-ID: Is it possible to make hosts dependant on single services from another host? An example being a monitored vpn tunnel on a firewall, and the hosts it provides. The firewall may very well be up, but the tunnel status alone dictates the availability of the hosts it provides. >From what I gather, there are only host or service deps, also making groups such that all the services of a host depend on one service but the host check would remain? Thanks, jlc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 9 08:56:36 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 9 Mar 2010 07:56:36 +0000 Subject: priority: host or service who's really on top? In-Reply-To: <6ae50c2d1003081416x483eff8ck450999617e0eb680@mail.gmail.com> References: <6ae50c2d1003081416x483eff8ck450999617e0eb680@mail.gmail.com> Message-ID: <765d77c81003082356y7fd7a422sdd00b78fa8e18e68@mail.gmail.com> On 8 March 2010 22:16, alexus wrote: > if i define my host to be checked/notify only at certain time frame, > let's say 10-18 > yet service states 24/7 ... who takes priority? host's definition or service? If the service check fails, I think Nagios would check the host anyway. You might like to run a test to confirm this. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roland.Sorgenfrei at spb.de Tue Mar 9 07:41:06 2010 From: Roland.Sorgenfrei at spb.de (Roland.Sorgenfrei at spb.de) Date: Tue, 9 Mar 2010 07:41:06 +0100 Subject: Antwort: Vedr.: Antwort: Nagios Integration with IBM TEC ( Tivoli ) In-Reply-To: References: <6411_1265961608_4B750A88_6411_45_1_OF68E89988.1A3060BB-ONC12576C8.002B985C-C12576C8.002BFB29@nbg.sdv.spb.de> Message-ID: <8008_1268116870_4B95ED86_8008_274_1_OF34F5CE30.0CAD4EA5-ONC12576E1.00249318-C12576E1.0024C20D@nbg.sdv.spb.de> Hi Karsten, sorry for late answer. The TEC POSTEMSG is not a plugin. It's a part from TEC. In detail it is a part from TEC Eventlog/Syslogadapter. Regards, Roland Von: Karsten Vendler An: Roland.Sorgenfrei at spb.de Kopie: nagios-users at lists.sourceforge.net Datum: 12.02.2010 10:40 Betreff: Vedr.: [Nagios-users] Antwort: Nagios Integration with IBM TEC ( Tivoli ) Gesendet von: Igangs?tning Domino 6 Hi Roland Is that TEC POSTEMSG a plugin, and/or can othesr get a hold on that, where to get it? Venlig hilsen / Best regards Karsten Vendler IT-tekniker errits? bygade 102 ? dk-7000 fredericia dir. tlf.: +45 7924 2828 www.bankdata.dk Roland.Sorgenfrei at spb.de 12-02-2010 09:21 e89c441c-6210-0efa-d033-05729e303305 Til steve f cc nagios-users at lists.sourceforge.net Emne [Nagios-users] Antwort: Nagios Integration with IBM TEC ( Tivoli ) Hello Steve, we use the TEC POSTEMSG for sending of events from Nagios to the TEC. A big benefit is the postXmsg - cache mechanism. When the TEC system is not reachable, all events are cached on the NAGIOS system. Regards, Roland Von: steve f An: Datum: 11.01.2010 15:24 Betreff: [Nagios-users] Nagios Integration with IBM TEC ( Tivoli ) Hello, We have IBM TEC ( Tivoli Enterprise Console) for alot of our current monitoring. Does anyone have any experience / history integrating Nagios with IBM TEC? We use postd messages to get the info from the clients back to TEC. Can Nagios read the postd messages? I guess I could somehow use a passive check to do this correct ?? Would Nagios be considered a viable replacement for TEC? I have not been able to find any Marketing type of info as far as Nagios as a replacement for other monitoring solutions. Thanks, Steve Hotmail: Powerful Free email with security by Microsoft. Get it now. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: not available Type: image/gif Size: 1656 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Tue Mar 9 10:13:58 2010 From: mmelin at gmail.com (Martin Melin) Date: Tue, 9 Mar 2010 10:13:58 +0100 Subject: Streamline Alerts/Notifications for user group In-Reply-To: <7545d7d21003082257m4074c851tc452aec7a2eae71@mail.gmail.com> References: <7545d7d21003082257m4074c851tc452aec7a2eae71@mail.gmail.com> Message-ID: On Tue, Mar 9, 2010 at 7:57 AM, Juki wrote: > Hi list, > > I'm running Nagios-3.2.0 with plugins-1.4.14 on an openSuSE 11.0 platform. > I have setup both e-mail and sms notifications for different groups of users > based on the instructions here; > > http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html > > I would like to be able to send host DOWN *only* notifications/alerts to a > particular user group. In other words, I would like that user group to > receive alerts ONLY when a host goes DOWN > and no other alerts/notifications whatsoever. I have looked at on-call > rotations but that doesn't seem to suite my need. > > Has anyone got suggestions on how to implement this? If these users should never get anything else than DOWN notifications, use service_notification_options and host_notification_options in the contact definition. You could also do this with escalations, but it sounds like the above will work for you? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juki.emma at gmail.com Tue Mar 9 11:51:16 2010 From: juki.emma at gmail.com (Juki) Date: Tue, 9 Mar 2010 13:51:16 +0300 Subject: Streamline Alerts/Notifications for user group In-Reply-To: References: <7545d7d21003082257m4074c851tc452aec7a2eae71@mail.gmail.com> Message-ID: <7545d7d21003090251y35d3df72xfc1c8e5e16e3444b@mail.gmail.com> On 9 March 2010 12:13, Martin Melin wrote: > If these users should never get anything else than DOWN notifications, > use service_notification_options and host_notification_options in the > contact definition. > > Thanks, Martin I have chosen to implement this method. I'll monitor it over the course of the day and return to the list with some results. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Tue Mar 9 01:31:21 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Tue, 9 Mar 2010 00:31:21 +0000 Subject: You do not have permission to access /nagios on this server In-Reply-To: <4DD1842C-3512-4A09-9371-3A557DC9599C@ena.com> References: <126dc2681003081016q132fb3bfgff0a8e26460c0ca5@mail.gmail.com> <94E26D15-AC44-4BF0-A80E-BF9648F665AE@ena.com> <126dc2681003081044r7c2ac667s677ee53b472a8ae0@mail.gmail.com> <126dc2681003081053o3174b2eds4f33d735949700cc@mail.gmail.com> <4DD1842C-3512-4A09-9371-3A557DC9599C@ena.com> Message-ID: <126dc2681003081631u150eb92bw739eaaeb279c27d6@mail.gmail.com> Marc, I installed Redhat RHEL 64bit. I made no modifications at all. The main purpose of this box is to run this nagios test server. I just looked thru httpd.conf, and couldn't find anything in there. What should I be looking for? I expected it to read the value from /usr/local/nagios/etc/htaccess.users I even had a look at "service --status-all | grep mysql, and could not find any mysql running. This is bisarre. I am really stuck here. Regards Herbie 2010/3/8 Marc Powell > > On Mar 8, 2010, at 12:53 PM, Gezina Dekker wrote: > > > This is the messages I am getting: > > > > [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR: > Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) > > [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user > nagiosadmin not found: /nagios > > What does MySql have to do with the bak of patatoes? > > That's the question only you can answer. Do you have some special/unique > Apache authentication module installed and enabled for your web server that > is overriding the standard mod_auth module? mod_auth_mysql maybe? Default > apache authentication uses text files, not MySQL. You've installed something > special/unusual/unique/non-default. What is it? > > -- > Marc > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Tue Mar 9 13:38:30 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Tue, 9 Mar 2010 12:38:30 +0000 Subject: NRPE install vs. SSL Message-ID: <126dc2681003090438k140b4aa8p50697d47cc25dc50@mail.gmail.com> Hi all, During my NRPE install on Solaris 10, I ran into the problem that the SSL libraries are not visible to the install process. The install process is looking for it in /usr but in effect there is a link in /usr/include/openssl that points to /usr/sfw/include/openssl. Some products allow you to specify parms when you install, can I do the same here to get past this hurdle? Regards Gezina -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 9 07:46:45 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 08 Mar 2010 22:46:45 -0800 Subject: check_by_ssh from a different username In-Reply-To: References: Message-ID: <4B95EED5.2000107@hp.com> David Mitchell wrote: > Hello list, > > I've got a situation where I can't create 'nagios' users on the > systems I need to monitor; I'm stuck with using a set of different > user names to monitor a range of systems. > > For the sake of the discussion, assume the account on the Nagios > server is 'nagios' and the account I've been given on the remote > server I need to monitor is 'monitoruser'. > > In trying to setup a check_by_ssh script, I'm at the point where I can > do either of these successfully > - from the 'nagios' user on the Nagios server, I can run > /usr/lib/nagios/plugins/check_by_ssh -H REMOTEHOST -l monitoruser -C > "nagios-test-script'. This runs fine, but I get prompted for > monitoruser's password on the remote system. Obviously I can't enter > the password when this command is running from within Nagios > - from a shell logged in as 'monitoruser' on the Nagios server, I can > run the identical command and I don't get prompted for the password; > everything works as I'd like, except that I need to be running the > command from the 'monitoruser' account on the Nagios server (and I > want to run the command from the 'nagios' user instead). The fact > that this works without a password prompt tells me that I've got > monitoruser's ssh public key set up on REMOTEHOST > > If I'm logged in as 'nagios' and try to run > /usr/lib/nagios/plugins/check_by_ssh -H REMOTEHOST -i > /home/monitoruser/.ssh/id_dsa -C "nagios-test-script" -vvvv, I get > "warning: Identity file /home/monitoruser/.ssh/id_dsa not accessible: > Permission denied.", which is what I'd expect. This fails because the > user 'nagios' can't access the ~/.ssh/id_dsa file of monitoruser; this > is correct behaviour from a security perspective. > > How can I use check_by_ssh to monitor remote servers, when the > username on the remote box is different from the Nagios user name? Install the private keys of the remote users on the Nagios machine under the nagios user. You've already determined they work, so now copy them over. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asraikhn at gmail.com Tue Mar 9 07:12:45 2010 From: asraikhn at gmail.com (Asrai khn) Date: Tue, 9 Mar 2010 11:12:45 +0500 Subject: Want to Install nagios In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA087A3B26@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> <4B953DD9.3060409@flatto.net> <39C5D75C6A5D3440A833E1C014384BAA087A3B12@PNE-HJN-MBX02.wipro.com> <96c54e8b1003081038t7e90984cscf30786516d7d113@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA087A3B26@PNE-HJN-MBX02.wipro.com> Message-ID: <5f0f8dba1003082212o698138e0k896cd2315c1ac18f@mail.gmail.com> Fedora 10 is no more supported by fedora folks, get the latest Fedora (Fedora 12). then just do the yum to get the things installed For detail on yum, refer to man yum On Mon, Mar 8, 2010 at 11:45 PM, wrote: > Hi , > > > > Please suggest what can be done for this issue. > > > > Thanks a lot in advance. > > > > Thanks & Regards, > > *Ravi G* > > > > *From:* Noel Platzke [mailto:neufpas at gmail.com] > *Sent:* Tuesday, March 09, 2010 12:08 AM > *To:* nagios List > > *Subject:* Re: [Nagios-users] Want to Install nagios > > > > That's not a nagios problem. It's an issue with your machine not being able > to talk to the yum repository. > > On Mon, Mar 8, 2010 at 1:29 PM, wrote: > > Hi, > > I have given the command ' yum install httpd php ' to install the > packages initially but the below error occurred. > > Please suggest. > > > Loaded plugins: refresh-packagekit > Could not retrieve mirrorlist > http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 > error was > [Errno 4] IOError: > Error: Cannot retrieve repository metadata (repomd.xml) for repository: > fedora. Please verify its path and try again > > Thanks & Regards, > Ravi G > > > -----Original Message----- > From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) > Sent: Monday, March 08, 2010 11:53 PM > To: 'Assaf Flatto'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Want to Install nagios > > Hi, > > When I have given the following command ,the below error occurred. > > Please suggest. > > > Loaded plugins: refresh-packagekit > Could not retrieve mirrorlist > http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 > error was > [Errno 4] IOError: > Error: Cannot retrieve repository metadata (repomd.xml) for repository: > fedora. Please verify its path and try again > > Thanks & Regards, > Ravi G > > > -----Original Message----- > From: Assaf Flatto [mailto:nagios at flatto.net] > Sent: Monday, March 08, 2010 11:42 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Want to Install nagios > > > start here > > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html > > > ravishankar.gundlapali at wipro.com wrote: > > > > Hi, > > > > > > > > I have Linux box with Red Hat Fedora 10 installed on it. > > > > > > > > I want to install Nagios core 3.2 and Nagios-Plugins-1.4.14 > > > > > > > > Please can someone guide me how can I do this. > > > > > > > > Thanks & Regards, > > > > *Ravi G* > > > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------ > ------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------ > ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Tue Mar 9 08:50:11 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 09 Mar 2010 13:20:11 +0530 Subject: Notification Interval set to 0 not working as per doc In-Reply-To: <4B947C08.2060701@cisco.com> References: <4B90DA01.9010707@cisco.com> <765d77c81003050634w182c9e3fm9be12bdf86e9eaf2@mail.gmail.com> <4B947C08.2060701@cisco.com> Message-ID: <4B95FDB3.7040603@cisco.com> Please let me know what needs to be done , i am kind of receving 1000 notifications per day for the same hosts. Thanks Jatin On 3/8/2010 9:54 AM, Jatin Davey wrote: > Hi Jim > > Replies to the questions that you had asked about the issue: > > 1. I do not have any escalations defined. > > 2. Given below is the output from one of the host as found in the > object.cache file: > > define host { > host_name Windows-xxxx > alias Windows XP PC > address x.x.x.x > check_period 24x7 > check_command check-host-alive > contact_groups xxxx > notification_period 24x7 > initial_state o > check_interval 2.000000 > retry_interval 1.000000 > max_check_attempts 2 > active_checks_enabled 1 > passive_checks_enabled 1 > obsess_over_host 1 > event_handler_enabled 1 > low_flap_threshold 0.000000 > high_flap_threshold 0.000000 > flap_detection_enabled 1 > flap_detection_options o,d,u > freshness_threshold 0 > check_freshness 0 > notification_options d,r,f,s > notifications_enabled 1 > notification_interval 0.000000 > first_notification_delay 0.000000 > stalking_options n > process_perf_data 1 > failure_prediction_enabled 1 > retain_status_information 1 > retain_nonstatus_information 1 > } > > Please let me know if any further inputs are needed. > > Thanks > Jatin > > > On 3/5/2010 8:04 PM, Jim Avery wrote: >> On 5 March 2010 10:16, Jatin Davey wrote: >>> Hi >>> >>> The Nagios documentation says that when you set the "Notification >>> Interval" to 0 , it will notify with an email alert only once when the >>> service state goes to "down" from "up" , it will then again notify when >>> the service comes back to "up" state , correct me if am wrong. >>> >>> But when i set this to 0 , i am still getting email notifications every >>> 10 mins for the service which is in "down" state for more than one day. >>> >>> Is this is a bug or am i missing something here , Please let me know. >> Bit of a long shot, but do you have any escalations defined? >> >> Also, check what the service or host definition looks like in your >> objects.cache file and post it here if you would like it checked-over. >> ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Tue Mar 9 10:15:51 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 09 Mar 2010 14:45:51 +0530 Subject: NSClient - ERROR: Failed to get PDH value. Message-ID: <4B9611C7.80800@cisco.com> Hi I am getting this error when i monitor my windows box using NSClient++ NSClient - ERROR: Failed to get PDH value. Please let me know what can be done. Thanks Jatin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Tue Mar 9 04:37:38 2010 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Tue, 9 Mar 2010 14:37:38 +1100 Subject: event handler command not executing In-Reply-To: <26D9450A-D33D-41CD-83F8-372ABF5F4B62@ena.com> References: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB5FA@DENMSGV1.QUANTUM.COM> <26D9450A-D33D-41CD-83F8-372ABF5F4B62@ena.com> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6516@off-win2003-01.ausregistrygroup.local> > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > > > Try adding a bit at the top of the script to touch a file or something > to see if it really ran and is maybe failing further into the script > (i.e. because of a potential sudo restriction). exec > /tmp/$(/bin/basename $0).log 2>&1 One of my favourite pieces of bash trickery :P Stuart ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juki.emma at gmail.com Tue Mar 9 14:02:47 2010 From: juki.emma at gmail.com (Juki) Date: Tue, 9 Mar 2010 16:02:47 +0300 Subject: NRPE install vs. SSL In-Reply-To: <126dc2681003090438k140b4aa8p50697d47cc25dc50@mail.gmail.com> References: <126dc2681003090438k140b4aa8p50697d47cc25dc50@mail.gmail.com> Message-ID: <7545d7d21003090502w514e8b85u3ab2ba1be658ab7b@mail.gmail.com> Hi Gezina, On 9 March 2010 15:38, Gezina Dekker wrote: > Hi all, > > During my NRPE install on Solaris 10, I ran into the problem that the SSL > libraries are not visible to the install process. The install process is > looking for it in /usr but in effect there is a link in /usr/include/openssl > that points to /usr/sfw/include/openssl. > > Some products allow you to specify parms when you install, can I do the > same here to get past this hurdle? > > Go to your NRPE install directory and run this; ./configure ?with-ssl= ?with-ssl-lib= I have also found this link to be quite helpful; http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/ Regards, Juki -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rich+nagios at quintinz.com Tue Mar 9 13:49:25 2010 From: rich+nagios at quintinz.com (Richard Quintin) Date: Tue, 9 Mar 2010 07:49:25 -0500 Subject: NRPE install vs. SSL In-Reply-To: <126dc2681003090438k140b4aa8p50697d47cc25dc50@mail.gmail.com> References: <126dc2681003090438k140b4aa8p50697d47cc25dc50@mail.gmail.com> Message-ID: <822f14061003090449k25d4975fj2490fb74ba393cf8@mail.gmail.com> ./configure -h will list the options which includes: --enable-ssl enables native SSL support --with-ssl=DIR sets location of the SSL installation --with-ssl-inc=DIR sets location of the SSL include files --with-ssl-lib=DIR sets location of the SSL libraries So you should be able to do something like ./configure --enable-ssl --with-ssl-inc=/usr/sfw/include/openssl --with-ssl-lib=/usr/sfw/lib/openssl On Tue, Mar 9, 2010 at 7:38 AM, Gezina Dekker wrote: > Hi all, > > During my NRPE install on Solaris 10, I ran into the problem that the SSL > libraries are not visible to the install process. The install process is > looking for it in /usr but in effect there is a link in /usr/include/openssl > that points to /usr/sfw/include/openssl. > > Some products allow you to specify parms when you install, can I do the same > here to get past this hurdle? > > Regards > > Gezina > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ~ http://www.familieslikeme.org/ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 9 14:27:06 2010 From: marc at ena.com (Marc Powell) Date: Tue, 9 Mar 2010 07:27:06 -0600 Subject: Notification Interval set to 0 not working as per doc In-Reply-To: <4B95FDB3.7040603@cisco.com> References: <4B90DA01.9010707@cisco.com> <765d77c81003050634w182c9e3fm9be12bdf86e9eaf2@mail.gmail.com> <4B947C08.2060701@cisco.com> <4B95FDB3.7040603@cisco.com> Message-ID: On Mar 9, 2010, at 1:50 AM, Jatin Davey wrote: > Please let me know what needs to be done , i am kind of receving 1000 > notifications per day for the same hosts. >> 2. Given below is the output from one of the host as found in the >> object.cache file: >> >> define host { This has no relevance since you're asking about service notifications. Look for the service definition in question in objects.cache. Verify that retry_interval is what you expect it to be. If it is, you have multiple nagios daemons running, escalations defined or some problem with your MTA not removing messages from queue after delivery. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 9 14:31:23 2010 From: marc at ena.com (Marc Powell) Date: Tue, 9 Mar 2010 07:31:23 -0600 Subject: NSClient - ERROR: Failed to get PDH value. In-Reply-To: <4B9611C7.80800@cisco.com> References: <4B9611C7.80800@cisco.com> Message-ID: On Mar 9, 2010, at 3:15 AM, Jatin Davey wrote: > Hi > > I am getting this error when i monitor my windows box using NSClient++ > > NSClient - ERROR: Failed to get PDH value. Google says it may be this -- http://www.techadre.com/content/error-nsclient-counter-errors -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 9 14:23:18 2010 From: marc at ena.com (Marc Powell) Date: Tue, 9 Mar 2010 07:23:18 -0600 Subject: check_by_ssh from a different username In-Reply-To: <4B95EED5.2000107@hp.com> References: <4B95EED5.2000107@hp.com> Message-ID: On Mar 9, 2010, at 12:46 AM, Morris, Patrick wrote: >> How can I use check_by_ssh to monitor remote servers, when the >> username on the remote box is different from the Nagios user name? > > Install the private keys of the remote users on the Nagios machine under > the nagios user. You've already determined they work, so now copy them > over. Actually, it's the opposite. He needs to add the nagios user's public key to the authorized_keys file for each user on the remote machines. Moving private keys around is a security no-no. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Mar 9 14:51:27 2010 From: marc at ena.com (Marc Powell) Date: Tue, 9 Mar 2010 07:51:27 -0600 Subject: Restrict user only to enable/disable checks In-Reply-To: References: Message-ID: On Mar 9, 2010, at 3:01 AM, Jelle Smet wrote: > Hi list, > > > I'm looking for a way to allow users do pretty much everything of the host and service commands except enabling & disabling them. > > I believe these are > > cmd_typ=16 (for all services on the host) > cmd_typ=4 (for the host check) > cmd_typ=6 (for a service check) > > There are a couple of things which come to my mind such as mod_security, or some other apache level restricting stuff. I expect that you could use htaccess to do this. Completely off the top of my head and untested but try something like this in the .htaccess file in the sbin directory -- RewriteEngine on RewriteCond %{QUERY_STRING} ^(cmd_type=16|cmd_type=4|cmd_type=6) [OR] RewriteRule ^(.*)$ /not_allowed.html [R,L] -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From standalone.sysadmin at gmail.com Tue Mar 9 15:46:13 2010 From: standalone.sysadmin at gmail.com (Matt Simmons) Date: Tue, 9 Mar 2010 09:46:13 -0500 Subject: check_by_ssh from a different username In-Reply-To: References: <4B95EED5.2000107@hp.com> Message-ID: <5bcb62b61003090646n1e1cdf11v168a856b8b63a4f7@mail.gmail.com> Yes. And you can simplify this by running ssh-copy-id as the Nagios user: -- nagios at monServ:~$ ssh-copy-id remUser at remHost remUser at remHost's password: Now try logging into the machine, with "ssh 'root at webdb1.int.ia'", and check in: .ssh/authorized_keys to make sure we haven't added extra keys that you weren't expecting. -- Most Linux systems that I've seen provide this script. Other Unices may not have it. If it's there, it makes it much faster than manually copying and pasting public keys. --Matt On Tue, Mar 9, 2010 at 8:23 AM, Marc Powell wrote: > > On Mar 9, 2010, at 12:46 AM, Morris, Patrick wrote: > >>> How can I use check_by_ssh to monitor remote servers, when the >>> username on the remote box is different from the Nagios user name? >> >> Install the private keys of the remote users on the Nagios machine under >> the nagios user. ?You've already determined they work, so now copy them >> over. > > Actually, it's the opposite. He needs to add the nagios user's public key to the authorized_keys file for each user on the remote machines. > > Moving private keys around is a security no-no. > > -- > Marc > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Tue Mar 9 16:43:59 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Tue, 9 Mar 2010 15:43:59 +0000 Subject: NRPE install vs. SSL In-Reply-To: <822f14061003090449k25d4975fj2490fb74ba393cf8@mail.gmail.com> References: <126dc2681003090438k140b4aa8p50697d47cc25dc50@mail.gmail.com> <822f14061003090449k25d4975fj2490fb74ba393cf8@mail.gmail.com> Message-ID: <126dc2681003090743t5243d08fpbef88ff4dcae75be@mail.gmail.com> Thank you. very much 2010/3/9 Richard Quintin > > ./configure -h will list the options which includes: > > --enable-ssl enables native SSL support > --with-ssl=DIR sets location of the SSL installation > --with-ssl-inc=DIR sets location of the SSL include files > --with-ssl-lib=DIR sets location of the SSL libraries > > > So you should be able to do something like > ./configure --enable-ssl --with-ssl-inc=/usr/sfw/include/openssl > --with-ssl-lib=/usr/sfw/lib/openssl > > On Tue, Mar 9, 2010 at 7:38 AM, Gezina Dekker wrote: > > Hi all, > > > > During my NRPE install on Solaris 10, I ran into the problem that the SSL > > libraries are not visible to the install process. The install process is > > looking for it in /usr but in effect there is a link in > /usr/include/openssl > > that points to /usr/sfw/include/openssl. > > > > Some products allow you to specify parms when you install, can I do the > same > > here to get past this hurdle? > > > > Regards > > > > Gezina > > > ------------------------------------------------------------------------------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > -- > Richard Quintin, DBA > Database & Application Administration > Virginia Tech > > ~ > http://www.familieslikeme.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Tue Mar 9 17:25:02 2010 From: alexus at gmail.com (alexus) Date: Tue, 9 Mar 2010 11:25:02 -0500 Subject: priority: host or service who's really on top? In-Reply-To: <765d77c81003082356y7fd7a422sdd00b78fa8e18e68@mail.gmail.com> References: <6ae50c2d1003081416x483eff8ck450999617e0eb680@mail.gmail.com> <765d77c81003082356y7fd7a422sdd00b78fa8e18e68@mail.gmail.com> Message-ID: <6ae50c2d1003090825h58ab75e3ta17b9757c4837ccd@mail.gmail.com> > If the service check fails, I think Nagios would check the host > anyway. ?You might like to run a test to confirm this. testing yes, but your answer didn't cover any part of my question at all other then you suggest to test it.. anyone else actually knows the answer? i was thinking maybe not to specify timeperiod inside of service and let it take it from host definition? -- http://alexus.org/ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 9 17:32:50 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 09 Mar 2010 08:32:50 -0800 Subject: priority: host or service who's really on top? In-Reply-To: <6ae50c2d1003090825h58ab75e3ta17b9757c4837ccd@mail.gmail.com> References: <6ae50c2d1003081416x483eff8ck450999617e0eb680@mail.gmail.com> <765d77c81003082356y7fd7a422sdd00b78fa8e18e68@mail.gmail.com> <6ae50c2d1003090825h58ab75e3ta17b9757c4837ccd@mail.gmail.com> Message-ID: <4B967832.7020001@hp.com> alexus wrote: >> If the service check fails, I think Nagios would check the host >> anyway. You might like to run a test to confirm this. >> > > testing yes, but your answer didn't cover any part of my question at > all other then you suggest to test it.. > > anyone else actually knows the answer? i was thinking maybe not to > specify timeperiod inside of service and let it take it from host > definition? > Hosts and services are independent of each other; neither has precedence. If you specify a timeperiod on your service checks, it applies to your service checks. If you apply it to your host checks, it applies to your host checks. They are two different things. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Mar 9 17:40:03 2010 From: benny at bennyvision.com (C. Bensend) Date: Tue, 9 Mar 2010 10:40:03 -0600 Subject: check_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003 Message-ID: <279e9b559f2d76b3cd06182b043281a3.squirrel@webmail.stinkweasel.net> Hey folks, I am working my way through some more Windows NSClient++ installs, and I've hit a 2003 server that is not happy with check_openmanage (please forgive the horrible formatting): C:\Program Files\NSClient++>check_openmanage -e -p -b bat_charge=ALL/ctrl_fw=ALL /ctrl_driver=ALL --omreport F:\dellopenmanage\oma\bin\omreport.exe I/O warning : failed to load external entity "E:/dellopenmanage/xslroot/oma/cli/ omclpr.xsl" error xsltParseStylesheetFile : cannot parse E:/dellopenmanage/xslroot/oma/cli/omclpr. xsl I/O warning : failed to load external entity "E:/dellopenmanage/xslroot/oma/cli/ omclpr.xsl" error xsltParseStylesheetFile : cannot parse E:/dellopenmanage/xslroot/oma/cli/omclpr. xsl I/O warning : failed to load external entity "E:/dellopenmanage/xslroot/oma/cli/ omclpr.xsl" error xsltParseStylesheetFile : cannot parse E:/dellopenmanage/xslroot/oma/cli/omclpr. xsl Couldn't close filehandle for command '"F:\dellopenmanage\oma\bin\omreport.exe" -? 2>&1': Problem running 'omreport storage controller': Error! XML Transformation failed Problem running 'omreport chassis memory': Error! XML Transformation failed Problem running 'omreport chassis fans': Error! XML Transformation failed Problem running 'omreport chassis pwrsupplies': Error! XML Transformation failed Problem running 'omreport chassis temps': Error! XML Transformation failed Problem running 'omreport chassis processors': Error! XML Transformation failed Problem running 'omreport chassis volts': Error! XML Transformation failed Problem running 'omreport chassis batteries': Error! XML Transformation failed Problem running 'omreport chassis pwrmonitoring': Error! XML Transformation fail ed Couldn't close filehandle for command '"F:\dellopenmanage\oma\bin\omreport.exe" chassis pwrmonitoring -fmt ssv': Problem running 'omreport chassis intrusion': Error! XML Transformation failed Couldn't close filehandle for command '"F:\dellopenmanage\oma\bin\omreport.exe" system esmlog -fmt ssv': ------ SYSTEM: N/A, SN: N/A *** Note that I specified F: for the path to OMSA, and the output is complaining about an external entity in E:. That is not a typo. This is OMSA version 5.3.0 which I have dozens of, and this is the first time I've seen this. This host is a DC, so while I believe it's probably a case of "uninstall OMSA and re-install OMSA", I'm hoping someone has seen this before and I can avoid the reboot. Trond? Anyone? Thanks much! Benny -- "Show me on the doll where the marketing touched you." -- "Mally" on Fazed.net ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 9 18:27:52 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 9 Mar 2010 17:27:52 +0000 Subject: NSClient - ERROR: Failed to get PDH value. In-Reply-To: <4B9611C7.80800@cisco.com> References: <4B9611C7.80800@cisco.com> Message-ID: <765d77c81003090927ja9df489ud559e7fa37aa533e@mail.gmail.com> On 9 March 2010 09:15, Jatin Davey wrote: > Hi > > I am getting this error when i monitor my windows box using NSClient++ > > NSClient - ERROR: Failed to get PDH value. > > Please let me know what can be done. > > Thanks > Jatin I think it simply means it can't get the performance counter. I would start by looking at the performance utility on the server itself and check you can see the relevant counter there. I believe I've seen this problem when performance counters are messed up one way or another, or one time when the performance counter had an unusual character in it. I expect you'll find more on the subject in the forum on the NSClient++ web site. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick.garland at quantum.com Tue Mar 9 15:04:06 2010 From: rick.garland at quantum.com (Rick) Date: Tue, 9 Mar 2010 14:04:06 +0000 (UTC) Subject: event handler script not executing Message-ID: Hi all: Got Nagios core 3.2.0 on CentOS5. Been trying to get an event handler to execute but it will not. My configs; define service{ use local_service host_name my_host service_description NFS Check check_period 24x7 check_interval 20 max_check_attempts 4 check_command check_nrpe!check_nfs_mounts event_handler_enabled 1 event_handler remount-nfs!$SERVICESTATE$!$SERVICESTATETYPE$!$SERVICEATTEMPT$ notification_period 24x7 notification_interval 120 contact_groups colorado } define command{ command_name remount-nfs command_line $USER1$/eventhandlers/remount-nfs $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } enable_event_handlers=1 in the nagios.cfg file The script itself is very simple. At CRITICAL/SOFT/3 and CRITCAL/HARD/4 the script will execute. Running at command line as UID=nagios it runs fine. sudo is configured and nagios can mount NFS. The entry in the nagios.log [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 I have followed the process through and it will not execute the remount-nfs event handler command. All perms, dir & file, have been checked. Everything else is working as it should including the $SERVICE* macros. Just the script is not being executed. What is missing? Many thanks ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 9 18:10:07 2010 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 09 Mar 2010 18:10:07 +0100 Subject: check_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003 In-Reply-To: <279e9b559f2d76b3cd06182b043281a3.squirrel@webmail.stinkweasel.net> (C. Bensend's message of "Tue, 9 Mar 2010 10:40:03 -0600") References: <279e9b559f2d76b3cd06182b043281a3.squirrel@webmail.stinkweasel.net> Message-ID: <15tiq95a0b4.fsf@tux.uio.no> "C. Bensend" writes: > I am working my way through some more Windows NSClient++ > installs, and I've hit a 2003 server that is not happy with > check_openmanage (please forgive the horrible formatting): > > > C:\Program Files\NSClient++>check_openmanage -e -p -b > bat_charge=ALL/ctrl_fw=ALL > /ctrl_driver=ALL --omreport F:\dellopenmanage\oma\bin\omreport.exe > > I/O warning : failed to load external entity > "E:/dellopenmanage/xslroot/oma/cli/ > omclpr.xsl" > error > xsltParseStylesheetFile : cannot parse > E:/dellopenmanage/xslroot/oma/cli/omclpr. > xsl > I/O warning : failed to load external entity > "E:/dellopenmanage/xslroot/oma/cli/ > omclpr.xsl" > error > xsltParseStylesheetFile : cannot parse > E:/dellopenmanage/xslroot/oma/cli/omclpr. > xsl > I/O warning : failed to load external entity > "E:/dellopenmanage/xslroot/oma/cli/ > omclpr.xsl" > error > xsltParseStylesheetFile : cannot parse > E:/dellopenmanage/xslroot/oma/cli/omclpr. > xsl > Couldn't close filehandle for command > '"F:\dellopenmanage\oma\bin\omreport.exe" > -? 2>&1': > Problem running 'omreport storage controller': Error! XML Transformation > failed > Problem running 'omreport chassis memory': Error! XML Transformation failed > Problem running 'omreport chassis fans': Error! XML Transformation failed > Problem running 'omreport chassis pwrsupplies': Error! XML Transformation > failed > > Problem running 'omreport chassis temps': Error! XML Transformation failed > Problem running 'omreport chassis processors': Error! XML Transformation > failed > Problem running 'omreport chassis volts': Error! XML Transformation failed > Problem running 'omreport chassis batteries': Error! XML Transformation > failed > Problem running 'omreport chassis pwrmonitoring': Error! XML > Transformation fail > ed > Couldn't close filehandle for command > '"F:\dellopenmanage\oma\bin\omreport.exe" > chassis pwrmonitoring -fmt ssv': > Problem running 'omreport chassis intrusion': Error! XML Transformation > failed > Couldn't close filehandle for command > '"F:\dellopenmanage\oma\bin\omreport.exe" > system esmlog -fmt ssv': > ------ SYSTEM: N/A, SN: N/A > > > *** Note that I specified F: for the path to OMSA, and the output > is complaining about an external entity in E:. That is not a typo. > > This is OMSA version 5.3.0 which I have dozens of, and this is > the first time I've seen this. > > This host is a DC, so while I believe it's probably a case of > "uninstall OMSA and re-install OMSA", I'm hoping someone has seen > this before and I can avoid the reboot. > > Trond? Anyone? I've seen XML errors from OpenManage when probing disks with broken firmware, but this seems to be something else. Do you get the same XML errors when you run the failing commands manually on the server? If so, I'm afraid there isn't much check_openmanage can do about it. A reinstall of OpenManage is probably the next logical step.. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Mar 9 19:53:20 2010 From: benny at bennyvision.com (C. Bensend) Date: Tue, 9 Mar 2010 12:53:20 -0600 Subject: check_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003 In-Reply-To: <15tiq95a0b4.fsf@tux.uio.no> References: <279e9b559f2d76b3cd06182b043281a3.squirrel@webmail.stinkweasel.net> <15tiq95a0b4.fsf@tux.uio.no> Message-ID: <345462be3156cabad52364e3def7ac08.squirrel@webmail.stinkweasel.net> >> C:\Program Files\NSClient++>check_openmanage -e -p -b >> bat_charge=ALL/ctrl_fw=ALL >> /ctrl_driver=ALL --omreport F:\dellopenmanage\oma\bin\omreport.exe >> >> I/O warning : failed to load external entity >> "E:/dellopenmanage/xslroot/oma/cli/ >> omclpr.xsl" >> error >> xsltParseStylesheetFile : cannot parse >> E:/dellopenmanage/xslroot/oma/cli/omclpr. >> xsl >> I/O warning : failed to load external entity >> "E:/dellopenmanage/xslroot/oma/cli/ >> omclpr.xsl" >> error >> xsltParseStylesheetFile : cannot parse >> E:/dellopenmanage/xslroot/oma/cli/omclpr. >> xsl >> I/O warning : failed to load external entity >> "E:/dellopenmanage/xslroot/oma/cli/ >> omclpr.xsl" >> error >> xsltParseStylesheetFile : cannot parse >> E:/dellopenmanage/xslroot/oma/cli/omclpr. >> xsl >> Couldn't close filehandle for command >> '"F:\dellopenmanage\oma\bin\omreport.exe" >> -? 2>&1': >> Problem running 'omreport storage controller': Error! XML Transformation >> failed >> Problem running 'omreport chassis memory': Error! XML Transformation >> failed >> Problem running 'omreport chassis fans': Error! XML Transformation >> failed >> Problem running 'omreport chassis pwrsupplies': Error! XML >> Transformation >> failed >> >> Problem running 'omreport chassis temps': Error! XML Transformation >> failed >> Problem running 'omreport chassis processors': Error! XML Transformation >> failed >> Problem running 'omreport chassis volts': Error! XML Transformation >> failed >> Problem running 'omreport chassis batteries': Error! XML Transformation >> failed >> Problem running 'omreport chassis pwrmonitoring': Error! XML >> Transformation fail >> ed >> Couldn't close filehandle for command >> '"F:\dellopenmanage\oma\bin\omreport.exe" >> chassis pwrmonitoring -fmt ssv': >> Problem running 'omreport chassis intrusion': Error! XML Transformation >> failed >> Couldn't close filehandle for command >> '"F:\dellopenmanage\oma\bin\omreport.exe" >> system esmlog -fmt ssv': >> ------ SYSTEM: N/A, SN: N/A >> >> >> *** Note that I specified F: for the path to OMSA, and the output >> is complaining about an external entity in E:. That is not a typo. >> >> This is OMSA version 5.3.0 which I have dozens of, and this is >> the first time I've seen this. >> >> This host is a DC, so while I believe it's probably a case of >> "uninstall OMSA and re-install OMSA", I'm hoping someone has seen >> this before and I can avoid the reboot. >> >> Trond? Anyone? > > I've seen XML errors from OpenManage when probing disks with broken > firmware, but this seems to be something else. Do you get the same XML > errors when you run the failing commands manually on the server? If so, > I'm afraid there isn't much check_openmanage can do about it. > > A reinstall of OpenManage is probably the next logical step.. Yes, the above output *is* on the server. :( This really smells like an issue with the OMSA install... I have since found out that this particular host is off lease next week, so it's really not an issue for me. However, it might be nice for people to have the information in the archives. Benny -- "Show me on the doll where the marketing touched you." -- "Mally" on Fazed.net ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.saldivar at advocatecreditrepair.com Tue Mar 9 22:29:26 2010 From: mike.saldivar at advocatecreditrepair.com (Michael Saldivar) Date: Tue, 9 Mar 2010 14:29:26 -0700 Subject: Can we change the IP address of the Linux box after installing Nagios. In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB63BE@off-win2003-01.ausregistrygroup.local> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> <4B953DD9.3060409@flatto.net> <39C5D75C6A5D3440A833E1C014384BAA087A3B22@PNE-HJN-MBX02.wipro.com> <8CEF048B9EC83748B1517DC64EA130FB3E2CBB63BE@off-win2003-01.ausregistrygroup.local> Message-ID: On Mon, Mar 8, 2010 at 2:56 PM, Stuart Browne < stuart.browne at ausregistry.com.au> wrote: > > -----Original Message----- > > From: ravishankar.gundlapali at wipro.com > > > I have approached my security team and they have suggested me that they > > can change the IP address of this Linux box and move it to a different > > VLan for some time period where we have internet access, so that I can > > install the required packages and Nagios. > > > > After I am done with my work they said that they will move it back and > > change the IP. > > > > Can anyone please guide me whether I can follow the above procedure. > > Nagios its self doesn't care what the IP address of the box it's installed > on is. > Indeed. If it makes it easier for everyone and acceptable to your security team, you can even download all your required packages to some other machine already on the Internet (does your company have those?), copy them onto USB or other device, and then copy them to your Nagios box for installation. If it's this much hassle to get your Nagios box onto the Internet, then doing this "sneaker net" install will be a good practice run for how you'll eventually apply upgrades and install additional packages. -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Wed Mar 10 12:27:16 2010 From: jashokda at cisco.com (Jatin Davey) Date: Wed, 10 Mar 2010 16:57:16 +0530 Subject: Nagios Plugin for tomcat In-Reply-To: <6b16fb4c1003100316g2a640eb8m2f8e4733a0a0ddb1@mail.gmail.com> References: <6b16fb4c1003100316g2a640eb8m2f8e4733a0a0ddb1@mail.gmail.com> Message-ID: <4B978214.3030306@cisco.com> In General , for monitoring application servers that run on tomcat and others we have a plugin for nagios: check this: http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx4perl/details I have not tried this before but the documentation states that application server running on tomcat can be monitored using this plug-in. Thanks Jatin On 3/10/2010 4:46 PM, Kaushal Shriyan wrote: > Hi, > > is there a Nagios Plugin to measure XMS (minimum heap size) and XMX > (maximum heap size) which is a parameter to set for CATALINA_OPTS for > tomcat application server? > > Thanks, > > Kaushal > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Koen.Verhaeghe at meucci-solutions.com Wed Mar 10 09:40:09 2010 From: Koen.Verhaeghe at meucci-solutions.com (Verhaeghe, Koen) Date: Wed, 10 Mar 2010 09:40:09 +0100 Subject: NSClient - ERROR: Failed to get PDH value References: Message-ID: <701DEDF6795DA64DAA315656332BE29102D4A7DA@webmail.meucci.be> Hi, You need to reset the windows performance counters: C:\windows\system32\lodctr \R Regards, Koen -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: 2010-03-09 18:42 To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 46, Issue 14 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Notification Interval set to 0 not working as per doc (Jatin Davey) 2. Re: priority: host or service who's really on top? (Jim Avery) 3. Re: Monitoring a process with its pid (Jatin Davey) 4. Re: Host/Svc Deps (Jim Avery) 5. Nagios DST bug and upcoming DST-time switch in Europe (Mark Elsen) 6. Re: Nagios DST bug and upcoming DST-time switch in Europe (Ton Voon) 7. Re: Streamline Alerts/Notifications for user group (Martin Melin) 8. NSClient - ERROR: Failed to get PDH value. (Jatin Davey) 9. Restrict user only to enable/disable checks (Jelle Smet) 10. Re: Streamline Alerts/Notifications for user group (Juki) 11. NRPE install vs. SSL (Gezina Dekker) 12. Re: NRPE install vs. SSL (Juki) 13. Re: NRPE install vs. SSL (Richard Quintin) 14. Re: check_by_ssh from a different username (Marc Powell) 15. Re: Notification Interval set to 0 not working as per doc (Marc Powell) 16. Re: NSClient - ERROR: Failed to get PDH value. (Marc Powell) 17. Re: Restrict user only to enable/disable checks (Marc Powell) 18. Re: check_by_ssh from a different username (Matt Simmons) 19. Re: NRPE install vs. SSL (Gezina Dekker) 20. Re: priority: host or service who's really on top? (alexus) 21. Re: priority: host or service who's really on top? (Morris, Patrick) 22. check_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003 (C. Bensend) 23. Re: NSClient - ERROR: Failed to get PDH value. (Jim Avery) 24. event handler script not executing (Rick) 25. Re: check_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003 (Trond Hasle Amundsen) ---------------------------------------------------------------------- Message: 1 Date: Tue, 09 Mar 2010 13:20:11 +0530 From: Jatin Davey Subject: Re: [Nagios-users] Notification Interval set to 0 not working as per doc To: Jim Avery Cc: Nagios Mailinglist Message-ID: <4B95FDB3.7040603 at cisco.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Please let me know what needs to be done , i am kind of receving 1000 notifications per day for the same hosts. Thanks Jatin On 3/8/2010 9:54 AM, Jatin Davey wrote: > Hi Jim > > Replies to the questions that you had asked about the issue: > > 1. I do not have any escalations defined. > > 2. Given below is the output from one of the host as found in the > object.cache file: > > define host { > host_name Windows-xxxx > alias Windows XP PC > address x.x.x.x > check_period 24x7 > check_command check-host-alive > contact_groups xxxx > notification_period 24x7 > initial_state o > check_interval 2.000000 > retry_interval 1.000000 > max_check_attempts 2 > active_checks_enabled 1 > passive_checks_enabled 1 > obsess_over_host 1 > event_handler_enabled 1 > low_flap_threshold 0.000000 > high_flap_threshold 0.000000 > flap_detection_enabled 1 > flap_detection_options o,d,u > freshness_threshold 0 > check_freshness 0 > notification_options d,r,f,s > notifications_enabled 1 > notification_interval 0.000000 > first_notification_delay 0.000000 > stalking_options n > process_perf_data 1 > failure_prediction_enabled 1 > retain_status_information 1 > retain_nonstatus_information 1 > } > > Please let me know if any further inputs are needed. > > Thanks > Jatin > > > On 3/5/2010 8:04 PM, Jim Avery wrote: >> On 5 March 2010 10:16, Jatin Davey wrote: >>> Hi >>> >>> The Nagios documentation says that when you set the "Notification >>> Interval" to 0 , it will notify with an email alert only once when >>> the service state goes to "down" from "up" , it will then again >>> notify when the service comes back to "up" state , correct me if am wrong. >>> >>> But when i set this to 0 , i am still getting email notifications >>> every 10 mins for the service which is in "down" state for more than one day. >>> >>> Is this is a bug or am i missing something here , Please let me know. >> Bit of a long shot, but do you have any escalations defined? >> >> Also, check what the service or host definition looks like in your >> objects.cache file and post it here if you would like it checked-over. >> ------------------------------ Message: 2 Date: Tue, 9 Mar 2010 07:56:36 +0000 From: Jim Avery Subject: Re: [Nagios-users] priority: host or service who's really on top? To: google at alexus.org Cc: Nagios Users Message-ID: <765d77c81003082356y7fd7a422sdd00b78fa8e18e68 at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On 8 March 2010 22:16, alexus wrote: > if i define my host to be checked/notify only at certain time frame, > let's say 10-18 yet service states 24/7 ... who takes priority? host's > definition or service? If the service check fails, I think Nagios would check the host anyway. You might like to run a test to confirm this. ------------------------------ Message: 3 Date: Tue, 09 Mar 2010 13:27:25 +0530 From: Jatin Davey Subject: Re: [Nagios-users] Monitoring a process with its pid To: Matt Simmons Cc: nagios-users at lists.sourceforge.net Message-ID: <4B95FF65.2090705 at cisco.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Thanks Matt, It solved my problem. Thanks Jatin On 3/8/2010 9:01 PM, Matt Simmons wrote: > If you have snmp enabled on the hosts, you can pull that information out: > > ~$ snmpwalk -v 2c -c COMMUNITY myhost.mydomain.com > HOST-RESOURCES-MIB::hrSWRunName.3309 > HOST-RESOURCES-MIB::hrSWRunName.3309 = STRING: "crond" > > > > On Mon, Mar 8, 2010 at 8:10 AM, Jatin Davey wrote: > >> Let me re-phrase it a little , >> >> Basically what i want is to give the process id as the input and make >> sure on that target machine i have the process with the given id >> running , once it stops there might not be the process running with >> that id and hence i need to raise an email notification alert. >> >> Thanks >> Jatin >> >> On 3/8/2010 5:41 PM, Jatin Davey wrote: >> >>> Hi All >>> >>> Do we have a plugin that can monitor process id (pid) on a target >>> machine , the target machine could be anything such as windows , >>> linux , solaris etc and alert with an email notification when the >>> process id changes. >>> >>> Appreciate your responses. >>> >>> Thanks >>> Jatin >>> >>> -------------------------------------------------------------------- >>> ---------- Download Intel® Parallel Studio Eval Try the new >>> software tools for yourself. Speed compiling, find bugs proactively, >>> and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to >>> /dev/null >>> >>> >>> >> --------------------------------------------------------------------- >> --------- Download Intel® Parallel Studio Eval Try the new >> software tools for yourself. Speed compiling, find bugs proactively, >> and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null >> >> > > > ------------------------------ Message: 4 Date: Tue, 9 Mar 2010 08:01:30 +0000 From: Jim Avery Subject: Re: [Nagios-users] Host/Svc Deps To: "Joseph L. Casale" Cc: "nagios-users at lists.sourceforge.net" Message-ID: <765d77c81003090001k667241dev7e14b87e3f9758aa at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On 9 March 2010 02:47, Joseph L. Casale wrote: > Is it possible to make hosts dependant on single services from another host? > An example being a monitored vpn tunnel on a firewall, and the hosts it provides. > The firewall may very well be up, but the tunnel status alone dictates > the availability of the hosts it provides. > > >From what I gather, there are only host or service deps, also making > >groups > such that all the services of a host depend on one service but the > host check would remain? I'm not sure. I would probably define the tunnel as a host in its own right. A 'host' doesn't always have to be a physical box. ------------------------------ Message: 5 Date: Tue, 9 Mar 2010 09:19:09 +0100 From: Mark Elsen Subject: [Nagios-users] Nagios DST bug and upcoming DST-time switch in Europe To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Nagios 3.2.0 -------------------- - By the end of the month, Europe will switch to DST. Will I be affected by the Nagios DST-BUG which , which results in NAGIOS becoming dis-functional ? Which countermeasures can I take to prevent being struck by this problem ? M. ------------------------------ Message: 6 Date: Tue, 9 Mar 2010 08:32:59 +0000 From: Ton Voon Subject: Re: [Nagios-users] Nagios DST bug and upcoming DST-time switch in Europe To: Nagios Users Mailinglist Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On 9 Mar 2010, at 08:19, Mark Elsen wrote: > Nagios 3.2.0 > -------------------- > > - By the end of the month, Europe will switch to DST. > Will I be affected by the Nagios DST-BUG which , which results in > NAGIOS becoming > dis-functional ? > > Which countermeasures can I take to prevent being struck by this > problem ? > The bug, which stops all Nagios monitoring for 24 hours, occurs when "time moves backwards". This does not happen when "time moves forward". However, any other timeperiods (such as 09:00-17:00) maybe incorrect by an hour, which is obviously not as serious. This is true for Nagios 3.2.0. Ton ------------------------------ Message: 7 Date: Tue, 9 Mar 2010 10:13:58 +0100 From: Martin Melin Subject: Re: [Nagios-users] Streamline Alerts/Notifications for user group To: Nagios Users Mail-list Message-ID: Content-Type: text/plain; charset=ISO-8859-1 On Tue, Mar 9, 2010 at 7:57 AM, Juki wrote: > Hi list, > > I'm running Nagios-3.2.0 with plugins-1.4.14 on an openSuSE 11.0 platform. > I have setup both e-mail and sms notifications for different groups of users > based on the instructions here; > > http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html > > I would like to be able to send host DOWN *only* notifications/alerts to a > particular user group. In other words, I would like that user group to > receive alerts ONLY when a host goes DOWN > and no other alerts/notifications whatsoever. I have looked at on-call > rotations but that doesn't seem to suite my need. > > Has anyone got suggestions on how to implement this? If these users should never get anything else than DOWN notifications, use service_notification_options and host_notification_options in the contact definition. You could also do this with escalations, but it sounds like the above will work for you? ------------------------------ Message: 8 Date: Tue, 09 Mar 2010 14:45:51 +0530 From: Jatin Davey Subject: [Nagios-users] NSClient - ERROR: Failed to get PDH value. To: Nagios Mailinglist Message-ID: <4B9611C7.80800 at cisco.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi I am getting this error when i monitor my windows box using NSClient++ NSClient - ERROR: Failed to get PDH value. Please let me know what can be done. Thanks Jatin ------------------------------ Message: 9 Date: Tue, 09 Mar 2010 10:01:37 +0100 From: Jelle Smet Subject: [Nagios-users] Restrict user only to enable/disable checks To: Nagios users Message-ID: Content-Type: text/plain; charset="utf-8" Hi list, I'm looking for a way to allow users do pretty much everything of the host and service commands except enabling & disabling them. I believe these are cmd_typ=16 (for all services on the host) cmd_typ=4 (for the host check) cmd_typ=6 (for a service check) There are a couple of things which come to my mind such as mod_security, or some other apache level restricting stuff. Has anyone experience in setting up something like this? It would be helpfull if people see a helpfull message saying, you're not allowed to execute this command, so they don't think the application isn't working. What are your thoughts? -- Jelle Smet http://www.smetj.net -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 10 Date: Tue, 9 Mar 2010 13:51:16 +0300 From: Juki Subject: Re: [Nagios-users] Streamline Alerts/Notifications for user group To: Martin Melin Cc: Nagios Users Mail-list Message-ID: <7545d7d21003090251y35d3df72xfc1c8e5e16e3444b at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" On 9 March 2010 12:13, Martin Melin wrote: > If these users should never get anything else than DOWN notifications, > use service_notification_options and host_notification_options in the > contact definition. > > Thanks, Martin I have chosen to implement this method. I'll monitor it over the course of the day and return to the list with some results. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 11 Date: Tue, 9 Mar 2010 12:38:30 +0000 From: Gezina Dekker Subject: [Nagios-users] NRPE install vs. SSL To: Nagios-users at lists.sourceforge.net Message-ID: <126dc2681003090438k140b4aa8p50697d47cc25dc50 at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hi all, During my NRPE install on Solaris 10, I ran into the problem that the SSL libraries are not visible to the install process. The install process is looking for it in /usr but in effect there is a link in /usr/include/openssl that points to /usr/sfw/include/openssl. Some products allow you to specify parms when you install, can I do the same here to get past this hurdle? Regards Gezina -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 12 Date: Tue, 9 Mar 2010 16:02:47 +0300 From: Juki Subject: Re: [Nagios-users] NRPE install vs. SSL To: Gezina Dekker Cc: Nagios-users at lists.sourceforge.net Message-ID: <7545d7d21003090502w514e8b85u3ab2ba1be658ab7b at mail.gmail.com> Content-Type: text/plain; charset="windows-1252" Hi Gezina, On 9 March 2010 15:38, Gezina Dekker wrote: > Hi all, > > During my NRPE install on Solaris 10, I ran into the problem that the SSL > libraries are not visible to the install process. The install process is > looking for it in /usr but in effect there is a link in /usr/include/openssl > that points to /usr/sfw/include/openssl. > > Some products allow you to specify parms when you install, can I do the > same here to get past this hurdle? > > Go to your NRPE install directory and run this; ./configure ?with-ssl= ?with-ssl-lib= I have also found this link to be quite helpful; http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-o n-solaris-10/ Regards, Juki -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 13 Date: Tue, 9 Mar 2010 07:49:25 -0500 From: Richard Quintin Subject: Re: [Nagios-users] NRPE install vs. SSL To: Gezina Dekker Cc: Nagios-users at lists.sourceforge.net Message-ID: <822f14061003090449k25d4975fj2490fb74ba393cf8 at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 ./configure -h will list the options which includes: --enable-ssl enables native SSL support --with-ssl=DIR sets location of the SSL installation --with-ssl-inc=DIR sets location of the SSL include files --with-ssl-lib=DIR sets location of the SSL libraries So you should be able to do something like ./configure --enable-ssl --with-ssl-inc=/usr/sfw/include/openssl --with-ssl-lib=/usr/sfw/lib/openssl On Tue, Mar 9, 2010 at 7:38 AM, Gezina Dekker wrote: > Hi all, > > During my NRPE install on Solaris 10, I ran into the problem that the SSL > libraries are not visible to the install process. The install process is > looking for it in /usr but in effect there is a link in /usr/include/openssl > that points to /usr/sfw/include/openssl. > > Some products allow you to specify parms when you install, can I do the same > here to get past this hurdle? > > Regards > > Gezina > ------------------------------------------------------------------------ ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ~ http://www.familieslikeme.org/ ------------------------------ Message: 14 Date: Tue, 9 Mar 2010 07:23:18 -0600 From: Marc Powell Subject: Re: [Nagios-users] check_by_ssh from a different username To: nagios-users Mailinglist Message-ID: Content-Type: text/plain; charset=us-ascii On Mar 9, 2010, at 12:46 AM, Morris, Patrick wrote: >> How can I use check_by_ssh to monitor remote servers, when the >> username on the remote box is different from the Nagios user name? > > Install the private keys of the remote users on the Nagios machine under > the nagios user. You've already determined they work, so now copy them > over. Actually, it's the opposite. He needs to add the nagios user's public key to the authorized_keys file for each user on the remote machines. Moving private keys around is a security no-no. -- Marc ------------------------------ Message: 15 Date: Tue, 9 Mar 2010 07:27:06 -0600 From: Marc Powell Subject: Re: [Nagios-users] Notification Interval set to 0 not working as per doc To: Nagios Mailinglist Message-ID: Content-Type: text/plain; charset=us-ascii On Mar 9, 2010, at 1:50 AM, Jatin Davey wrote: > Please let me know what needs to be done , i am kind of receving 1000 > notifications per day for the same hosts. >> 2. Given below is the output from one of the host as found in the >> object.cache file: >> >> define host { This has no relevance since you're asking about service notifications. Look for the service definition in question in objects.cache. Verify that retry_interval is what you expect it to be. If it is, you have multiple nagios daemons running, escalations defined or some problem with your MTA not removing messages from queue after delivery. -- Marc ------------------------------ Message: 16 Date: Tue, 9 Mar 2010 07:31:23 -0600 From: Marc Powell Subject: Re: [Nagios-users] NSClient - ERROR: Failed to get PDH value. To: Nagios Mailinglist Message-ID: Content-Type: text/plain; charset=us-ascii On Mar 9, 2010, at 3:15 AM, Jatin Davey wrote: > Hi > > I am getting this error when i monitor my windows box using NSClient++ > > NSClient - ERROR: Failed to get PDH value. Google says it may be this -- http://www.techadre.com/content/error-nsclient-counter-errors -- Marc ------------------------------ Message: 17 Date: Tue, 9 Mar 2010 07:51:27 -0600 From: Marc Powell Subject: Re: [Nagios-users] Restrict user only to enable/disable checks To: Nagios users Message-ID: Content-Type: text/plain; charset=us-ascii On Mar 9, 2010, at 3:01 AM, Jelle Smet wrote: > Hi list, > > > I'm looking for a way to allow users do pretty much everything of the host and service commands except enabling & disabling them. > > I believe these are > > cmd_typ=16 (for all services on the host) > cmd_typ=4 (for the host check) > cmd_typ=6 (for a service check) > > There are a couple of things which come to my mind such as mod_security, or some other apache level restricting stuff. I expect that you could use htaccess to do this. Completely off the top of my head and untested but try something like this in the .htaccess file in the sbin directory -- RewriteEngine on RewriteCond %{QUERY_STRING} ^(cmd_type=16|cmd_type=4|cmd_type=6) [OR] RewriteRule ^(.*)$ /not_allowed.html [R,L] -- Marc ------------------------------ Message: 18 Date: Tue, 9 Mar 2010 09:46:13 -0500 From: Matt Simmons Subject: Re: [Nagios-users] check_by_ssh from a different username To: Marc Powell Cc: nagios-users Mailinglist Message-ID: <5bcb62b61003090646n1e1cdf11v168a856b8b63a4f7 at mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Yes. And you can simplify this by running ssh-copy-id as the Nagios user: -- nagios at monServ:~$ ssh-copy-id remUser at remHost remUser at remHost's password: Now try logging into the machine, with "ssh 'root at webdb1.int.ia'", and check in: .ssh/authorized_keys to make sure we haven't added extra keys that you weren't expecting. -- Most Linux systems that I've seen provide this script. Other Unices may not have it. If it's there, it makes it much faster than manually copying and pasting public keys. --Matt On Tue, Mar 9, 2010 at 8:23 AM, Marc Powell wrote: > > On Mar 9, 2010, at 12:46 AM, Morris, Patrick wrote: > >>> How can I use check_by_ssh to monitor remote servers, when the >>> username on the remote box is different from the Nagios user name? >> >> Install the private keys of the remote users on the Nagios machine under >> the nagios user. ?You've already determined they work, so now copy them >> over. > > Actually, it's the opposite. He needs to add the nagios user's public key to the authorized_keys file for each user on the remote machines. > > Moving private keys around is a security no-no. > > -- > Marc > > > ------------------------------------------------------------------------ ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------ Message: 19 Date: Tue, 9 Mar 2010 15:43:59 +0000 From: Gezina Dekker Subject: Re: [Nagios-users] NRPE install vs. SSL To: Nagios-users at lists.sourceforge.net Message-ID: <126dc2681003090743t5243d08fpbef88ff4dcae75be at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Thank you. very much 2010/3/9 Richard Quintin > > ./configure -h will list the options which includes: > > --enable-ssl enables native SSL support > --with-ssl=DIR sets location of the SSL installation > --with-ssl-inc=DIR sets location of the SSL include files > --with-ssl-lib=DIR sets location of the SSL libraries > > > So you should be able to do something like > ./configure --enable-ssl --with-ssl-inc=/usr/sfw/include/openssl > --with-ssl-lib=/usr/sfw/lib/openssl > > On Tue, Mar 9, 2010 at 7:38 AM, Gezina Dekker wrote: > > Hi all, > > > > During my NRPE install on Solaris 10, I ran into the problem that the SSL > > libraries are not visible to the install process. The install process is > > looking for it in /usr but in effect there is a link in > /usr/include/openssl > > that points to /usr/sfw/include/openssl. > > > > Some products allow you to specify parms when you install, can I do the > same > > here to get past this hurdle? > > > > Regards > > > > Gezina > > > ------------------------------------------------------------------------ ------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > -- > Richard Quintin, DBA > Database & Application Administration > Virginia Tech > > ~ > http://www.familieslikeme.org/ > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 20 Date: Tue, 9 Mar 2010 11:25:02 -0500 From: alexus Subject: Re: [Nagios-users] priority: host or service who's really on top? To: Jim Avery Cc: Nagios Users Message-ID: <6ae50c2d1003090825h58ab75e3ta17b9757c4837ccd at mail.gmail.com> Content-Type: text/plain; charset=UTF-8 > If the service check fails, I think Nagios would check the host > anyway. ?You might like to run a test to confirm this. testing yes, but your answer didn't cover any part of my question at all other then you suggest to test it.. anyone else actually knows the answer? i was thinking maybe not to specify timeperiod inside of service and let it take it from host definition? -- http://alexus.org/ ------------------------------ Message: 21 Date: Tue, 09 Mar 2010 08:32:50 -0800 From: "Morris, Patrick" Subject: Re: [Nagios-users] priority: host or service who's really on top? To: "google at alexus.org" Cc: Nagios Users Message-ID: <4B967832.7020001 at hp.com> Content-Type: text/plain; charset=UTF-8; format=flowed alexus wrote: >> If the service check fails, I think Nagios would check the host >> anyway. You might like to run a test to confirm this. >> > > testing yes, but your answer didn't cover any part of my question at > all other then you suggest to test it.. > > anyone else actually knows the answer? i was thinking maybe not to > specify timeperiod inside of service and let it take it from host > definition? > Hosts and services are independent of each other; neither has precedence. If you specify a timeperiod on your service checks, it applies to your service checks. If you apply it to your host checks, it applies to your host checks. They are two different things. ------------------------------ Message: 22 Date: Tue, 9 Mar 2010 10:40:03 -0600 From: "C. Bensend" Subject: [Nagios-users] check_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003 To: nagios-users at lists.sourceforge.net Message-ID: <279e9b559f2d76b3cd06182b043281a3.squirrel at webmail.stinkweasel.net> Content-Type: text/plain;charset=iso-8859-1 Hey folks, I am working my way through some more Windows NSClient++ installs, and I've hit a 2003 server that is not happy with check_openmanage (please forgive the horrible formatting): C:\Program Files\NSClient++>check_openmanage -e -p -b bat_charge=ALL/ctrl_fw=ALL /ctrl_driver=ALL --omreport F:\dellopenmanage\oma\bin\omreport.exe I/O warning : failed to load external entity "E:/dellopenmanage/xslroot/oma/cli/ omclpr.xsl" error xsltParseStylesheetFile : cannot parse E:/dellopenmanage/xslroot/oma/cli/omclpr. xsl I/O warning : failed to load external entity "E:/dellopenmanage/xslroot/oma/cli/ omclpr.xsl" error xsltParseStylesheetFile : cannot parse E:/dellopenmanage/xslroot/oma/cli/omclpr. xsl I/O warning : failed to load external entity "E:/dellopenmanage/xslroot/oma/cli/ omclpr.xsl" error xsltParseStylesheetFile : cannot parse E:/dellopenmanage/xslroot/oma/cli/omclpr. xsl Couldn't close filehandle for command '"F:\dellopenmanage\oma\bin\omreport.exe" -? 2>&1': Problem running 'omreport storage controller': Error! XML Transformation failed Problem running 'omreport chassis memory': Error! XML Transformation failed Problem running 'omreport chassis fans': Error! XML Transformation failed Problem running 'omreport chassis pwrsupplies': Error! XML Transformation failed Problem running 'omreport chassis temps': Error! XML Transformation failed Problem running 'omreport chassis processors': Error! XML Transformation failed Problem running 'omreport chassis volts': Error! XML Transformation failed Problem running 'omreport chassis batteries': Error! XML Transformation failed Problem running 'omreport chassis pwrmonitoring': Error! XML Transformation fail ed Couldn't close filehandle for command '"F:\dellopenmanage\oma\bin\omreport.exe" chassis pwrmonitoring -fmt ssv': Problem running 'omreport chassis intrusion': Error! XML Transformation failed Couldn't close filehandle for command '"F:\dellopenmanage\oma\bin\omreport.exe" system esmlog -fmt ssv': ------ SYSTEM: N/A, SN: N/A *** Note that I specified F: for the path to OMSA, and the output is complaining about an external entity in E:. That is not a typo. This is OMSA version 5.3.0 which I have dozens of, and this is the first time I've seen this. This host is a DC, so while I believe it's probably a case of "uninstall OMSA and re-install OMSA", I'm hoping someone has seen this before and I can avoid the reboot. Trond? Anyone? Thanks much! Benny -- "Show me on the doll where the marketing touched you." -- "Mally" on Fazed.net ------------------------------ Message: 23 Date: Tue, 9 Mar 2010 17:27:52 +0000 From: Jim Avery Subject: Re: [Nagios-users] NSClient - ERROR: Failed to get PDH value. To: Jatin Davey Cc: Nagios Mailinglist Message-ID: <765d77c81003090927ja9df489ud559e7fa37aa533e at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On 9 March 2010 09:15, Jatin Davey wrote: > Hi > > I am getting this error when i monitor my windows box using NSClient++ > > NSClient - ERROR: Failed to get PDH value. > > Please let me know what can be done. > > Thanks > Jatin I think it simply means it can't get the performance counter. I would start by looking at the performance utility on the server itself and check you can see the relevant counter there. I believe I've seen this problem when performance counters are messed up one way or another, or one time when the performance counter had an unusual character in it. I expect you'll find more on the subject in the forum on the NSClient++ web site. ------------------------------ Message: 24 Date: Tue, 9 Mar 2010 14:04:06 +0000 (UTC) From: Rick Subject: [Nagios-users] event handler script not executing To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=us-ascii Hi all: Got Nagios core 3.2.0 on CentOS5. Been trying to get an event handler to execute but it will not. My configs; define service{ use local_service host_name my_host service_description NFS Check check_period 24x7 check_interval 20 max_check_attempts 4 check_command check_nrpe!check_nfs_mounts event_handler_enabled 1 event_handler remount-nfs!$SERVICESTATE$!$SERVICESTATETYPE$!$SERVICEATTEMPT$ notification_period 24x7 notification_interval 120 contact_groups colorado } define command{ command_name remount-nfs command_line $USER1$/eventhandlers/remount-nfs $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } enable_event_handlers=1 in the nagios.cfg file The script itself is very simple. At CRITICAL/SOFT/3 and CRITCAL/HARD/4 the script will execute. Running at command line as UID=nagios it runs fine. sudo is configured and nagios can mount NFS. The entry in the nagios.log [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 I have followed the process through and it will not execute the remount-nfs event handler command. All perms, dir & file, have been checked. Everything else is working as it should including the $SERVICE* macros. Just the script is not being executed. What is missing? Many thanks ------------------------------ Message: 25 Date: Tue, 09 Mar 2010 18:10:07 +0100 From: Trond Hasle Amundsen Subject: Re: [Nagios-users] check_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003 To: "C. Bensend" Cc: nagios-users at lists.sourceforge.net Message-ID: <15tiq95a0b4.fsf at tux.uio.no> Content-Type: text/plain; charset=us-ascii "C. Bensend" writes: > I am working my way through some more Windows NSClient++ > installs, and I've hit a 2003 server that is not happy with > check_openmanage (please forgive the horrible formatting): > > > C:\Program Files\NSClient++>check_openmanage -e -p -b > bat_charge=ALL/ctrl_fw=ALL > /ctrl_driver=ALL --omreport F:\dellopenmanage\oma\bin\omreport.exe > > I/O warning : failed to load external entity > "E:/dellopenmanage/xslroot/oma/cli/ > omclpr.xsl" > error > xsltParseStylesheetFile : cannot parse > E:/dellopenmanage/xslroot/oma/cli/omclpr. > xsl > I/O warning : failed to load external entity > "E:/dellopenmanage/xslroot/oma/cli/ > omclpr.xsl" > error > xsltParseStylesheetFile : cannot parse > E:/dellopenmanage/xslroot/oma/cli/omclpr. > xsl > I/O warning : failed to load external entity > "E:/dellopenmanage/xslroot/oma/cli/ > omclpr.xsl" > error > xsltParseStylesheetFile : cannot parse > E:/dellopenmanage/xslroot/oma/cli/omclpr. > xsl > Couldn't close filehandle for command > '"F:\dellopenmanage\oma\bin\omreport.exe" > -? 2>&1': > Problem running 'omreport storage controller': Error! XML Transformation > failed > Problem running 'omreport chassis memory': Error! XML Transformation failed > Problem running 'omreport chassis fans': Error! XML Transformation failed > Problem running 'omreport chassis pwrsupplies': Error! XML Transformation > failed > > Problem running 'omreport chassis temps': Error! XML Transformation failed > Problem running 'omreport chassis processors': Error! XML Transformation > failed > Problem running 'omreport chassis volts': Error! XML Transformation failed > Problem running 'omreport chassis batteries': Error! XML Transformation > failed > Problem running 'omreport chassis pwrmonitoring': Error! XML > Transformation fail > ed > Couldn't close filehandle for command > '"F:\dellopenmanage\oma\bin\omreport.exe" > chassis pwrmonitoring -fmt ssv': > Problem running 'omreport chassis intrusion': Error! XML Transformation > failed > Couldn't close filehandle for command > '"F:\dellopenmanage\oma\bin\omreport.exe" > system esmlog -fmt ssv': > ------ SYSTEM: N/A, SN: N/A > > > *** Note that I specified F: for the path to OMSA, and the output > is complaining about an external entity in E:. That is not a typo. > > This is OMSA version 5.3.0 which I have dozens of, and this is > the first time I've seen this. > > This host is a DC, so while I believe it's probably a case of > "uninstall OMSA and re-install OMSA", I'm hoping someone has seen > this before and I can avoid the reboot. > > Trond? Anyone? I've seen XML errors from OpenManage when probing disks with broken firmware, but this seems to be something else. Do you get the same XML errors when you run the failing commands manually on the server? If so, I'm afraid there isn't much check_openmanage can do about it. A reinstall of OpenManage is probably the next logical step.. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------ ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 46, Issue 14 ******************************************** ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grs533 at yahoo.co.in Wed Mar 10 12:55:10 2010 From: grs533 at yahoo.co.in (Pavan kumar) Date: Wed, 10 Mar 2010 17:25:10 +0530 (IST) Subject: If any one know how to send mail alerts from nagios to yahoomail please help me by sending configuration steps Message-ID: <614011.78692.qm@web95717.mail.in.yahoo.com> Thanks Marc Regards, G.R.S.PAVAN KUMAR --- On Wed, 10/3/10, Marc Powell wrote: From: Marc Powell Subject: Re: [Nagios-users] If any one know how to send mail alerts from nagios to yahoomail please help me by sending configuration steps To: "Nagios Users List" Date: Wednesday, 10 March, 2010, 5:14 PM On Mar 9, 2010, at 11:20 PM, Pavan kumar wrote: > Hi Everyone, > I configured nagios on my linux server and nrpe on my linux clients all the thing is fine i can able to monitor all the clients from my server and locally in my network i can able to receive mail alerts when any service is down. But i need to get all the mail alerts to my yahoomail id but i can't able to configure it. If any one know how to send mail alerts to yahoomail please help me As far as nagios is concerned, it's no different than sending an e-mail to any other address. Just specify that address as the email parameter for a contact that's being notified. Because you're sending mail to the Internet though, you need to follow all of the common rules for sending mail on the Internet. Typically the easiest way to do so is to configure the MTA on your nagios box (sendmail, postfix, exim, qmail, whateveritis) to smarthost mail to your current SMTP server. If you want to send to Yahoo directly from your nagios box, at a minimum you need to ensure that - ??? - the sending mail address is from a valid @domain.com ??? - The public IP seen by Yahoo has valid reverse DNS ??? - The name presented by reverse DNS resolves back to that same IP (FCRDNS) ??? - The public IP seen by Yahoo is not on any blacklists ??? - The hostname or HELO name presented by the MTA on your nagios server is a valid hostname.domain.com in the public DNS Consult the documentation for the MTA you have installed on your nagios box for information on how to configure it for Internet delivery. -- Marc ------------------------------------------------------------------------------ Download Intel? Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Wed Mar 10 10:12:30 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Wed, 10 Mar 2010 10:12:30 +0100 Subject: NSClient - ERROR: Failed to get PDH value In-Reply-To: <4B975EED.10300@cisco.com> References: <701DEDF6795DA64DAA315656332BE29102D4A7DA@webmail.meucci.be> <4B975EED.10300@cisco.com> Message-ID: On Wed, Mar 10, 2010 at 9:57 AM, Jatin Davey wrote: > It did not help , Still getting the same error. - Try re-starting the nsclient service afterwards (too). M. > > Thanks > Jatin > > On 3/10/2010 2:10 PM, Verhaeghe, Koen wrote: >> >> Hi, >> >> You need to reset the windows performance counters: >> C:\windows\system32\lodctr \R >> >> Regards, >> Koen >> ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Wed Mar 10 10:20:22 2010 From: jashokda at cisco.com (Jatin Davey) Date: Wed, 10 Mar 2010 14:50:22 +0530 Subject: NSClient - ERROR: Failed to get PDH value In-Reply-To: References: <701DEDF6795DA64DAA315656332BE29102D4A7DA@webmail.meucci.be> <4B975EED.10300@cisco.com> Message-ID: <4B976456.3080006@cisco.com> Even restarting of the NSClient++ service does not help. Thanks Jatin On 3/10/2010 2:42 PM, Mark Elsen wrote: > On Wed, Mar 10, 2010 at 9:57 AM, Jatin Davey wrote: > >> It did not help , Still getting the same error. >> > - Try re-starting the nsclient service afterwards (too). > > M. > > > >> Thanks >> Jatin >> >> On 3/10/2010 2:10 PM, Verhaeghe, Koen wrote: >> >>> Hi, >>> >>> You need to reset the windows performance counters: >>> C:\windows\system32\lodctr \R >>> >>> Regards, >>> Koen >>> >>> > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grs533 at yahoo.co.in Wed Mar 10 06:20:59 2010 From: grs533 at yahoo.co.in (Pavan kumar) Date: Wed, 10 Mar 2010 10:50:59 +0530 (IST) Subject: If any one know how to send mail alerts from nagios to yahoomail please help me by sending configuration steps Message-ID: <338654.29681.qm@web95716.mail.in.yahoo.com> Hi Everyone, I configured nagios on my linux server and nrpe on my linux clients all the thing is fine i can able to monitor all the clients from my server and locally in my network i can able to receive mail alerts when any service is down. But i need to get all the mail alerts to my yahoomail id but i can't able to configure it. If any one know how to send mail alerts to yahoomail please help me Regards, G.R.S.PAVAN KUMAR Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Wed Mar 10 12:28:01 2010 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 10 Mar 2010 12:28:01 +0100 Subject: Nagios Plugin for tomcat In-Reply-To: <6b16fb4c1003100316g2a640eb8m2f8e4733a0a0ddb1@mail.gmail.com> References: <6b16fb4c1003100316g2a640eb8m2f8e4733a0a0ddb1@mail.gmail.com> Message-ID: <4B978241.8060303@ederdrom.de> Am 10.03.10 12:16, schrieb Kaushal Shriyan: > Hi, > > is there a Nagios Plugin to measure XMS (minimum heap size) and XMX > (maximum heap size) which is a parameter to set for CATALINA_OPTS for > tomcat application server? http://labs.consol.de/lang/de/jmx4perl/ Joerg ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 10 12:44:25 2010 From: marc at ena.com (Marc Powell) Date: Wed, 10 Mar 2010 05:44:25 -0600 Subject: If any one know how to send mail alerts from nagios to yahoomail please help me by sending configuration steps In-Reply-To: <338654.29681.qm@web95716.mail.in.yahoo.com> References: <338654.29681.qm@web95716.mail.in.yahoo.com> Message-ID: <7034AE79-0589-40A1-B288-84005A6FEBDB@ena.com> On Mar 9, 2010, at 11:20 PM, Pavan kumar wrote: > Hi Everyone, > I configured nagios on my linux server and nrpe on my linux clients all the thing is fine i can able to monitor all the clients from my server and locally in my network i can able to receive mail alerts when any service is down. But i need to get all the mail alerts to my yahoomail id but i can't able to configure it. If any one know how to send mail alerts to yahoomail please help me As far as nagios is concerned, it's no different than sending an e-mail to any other address. Just specify that address as the email parameter for a contact that's being notified. Because you're sending mail to the Internet though, you need to follow all of the common rules for sending mail on the Internet. Typically the easiest way to do so is to configure the MTA on your nagios box (sendmail, postfix, exim, qmail, whateveritis) to smarthost mail to your current SMTP server. If you want to send to Yahoo directly from your nagios box, at a minimum you need to ensure that - - the sending mail address is from a valid @domain.com - The public IP seen by Yahoo has valid reverse DNS - The name presented by reverse DNS resolves back to that same IP (FCRDNS) - The public IP seen by Yahoo is not on any blacklists - The hostname or HELO name presented by the MTA on your nagios server is a valid hostname.domain.com in the public DNS Consult the documentation for the MTA you have installed on your nagios box for information on how to configure it for Internet delivery. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Wed Mar 10 06:00:24 2010 From: jashokda at cisco.com (Jatin Davey) Date: Wed, 10 Mar 2010 10:30:24 +0530 Subject: Notification Interval set to 0 not working as per doc In-Reply-To: References: <4B90DA01.9010707@cisco.com> <765d77c81003050634w182c9e3fm9be12bdf86e9eaf2@mail.gmail.com> <4B947C08.2060701@cisco.com> <4B95FDB3.7040603@cisco.com> Message-ID: <4B972768.7030709@cisco.com> Thanks Marc, I defined a new service definition and had set the notification interval for it to 0 and it worked as i wanted. I wrongly understood that putting this value to host definitions would yield me the required result but it was not so. Created a new service definition with notification interval set to 0 and then used the service definition into all the services that i needed. Appreciate your timely help in this regard. Thanks Jatin On 3/9/2010 6:57 PM, Marc Powell wrote: > On Mar 9, 2010, at 1:50 AM, Jatin Davey wrote: > > >> Please let me know what needs to be done , i am kind of receving 1000 >> notifications per day for the same hosts. >> > >>> 2. Given below is the output from one of the host as found in the >>> object.cache file: >>> >>> define host { >>> > This has no relevance since you're asking about service notifications. Look for the service definition in question in objects.cache. Verify that retry_interval is what you expect it to be. If it is, you have multiple nagios daemons running, escalations defined or some problem with your MTA not removing messages from queue after delivery. > > -- > Marc > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 10 12:16:52 2010 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Wed, 10 Mar 2010 16:46:52 +0530 Subject: Nagios Plugin for tomcat Message-ID: <6b16fb4c1003100316g2a640eb8m2f8e4733a0a0ddb1@mail.gmail.com> Hi, is there a Nagios Plugin to measure XMS (minimum heap size) and XMX (maximum heap size) which is a parameter to set for CATALINA_OPTS for tomcat application server? Thanks, Kaushal ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Wed Mar 10 09:57:17 2010 From: jashokda at cisco.com (Jatin Davey) Date: Wed, 10 Mar 2010 14:27:17 +0530 Subject: NSClient - ERROR: Failed to get PDH value In-Reply-To: <701DEDF6795DA64DAA315656332BE29102D4A7DA@webmail.meucci.be> References: <701DEDF6795DA64DAA315656332BE29102D4A7DA@webmail.meucci.be> Message-ID: <4B975EED.10300@cisco.com> It did not help , Still getting the same error. Thanks Jatin On 3/10/2010 2:10 PM, Verhaeghe, Koen wrote: > > Hi, > > You need to reset the windows performance counters: > C:\windows\system32\lodctr \R > > Regards, > Koen > > > -----Original Message----- > From: nagios-users-request at lists.sourceforge.net > [mailto:nagios-users-request at lists.sourceforge.net] > Sent: 2010-03-09 18:42 > To: nagios-users at lists.sourceforge.net > Subject: Nagios-users Digest, Vol 46, Issue 14 > > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-owner at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific than > "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. Re: Notification Interval set to 0 not working as per doc > (Jatin Davey) > 2. Re: priority: host or service who's really on top? (Jim Avery) > 3. Re: Monitoring a process with its pid (Jatin Davey) > 4. Re: Host/Svc Deps (Jim Avery) > 5. Nagios DST bug and upcoming DST-time switch in Europe (Mark Elsen) > 6. Re: Nagios DST bug and upcoming DST-time switch in Europe > (Ton Voon) > 7. Re: Streamline Alerts/Notifications for user group (Martin Melin) > 8. NSClient - ERROR: Failed to get PDH value. (Jatin Davey) > 9. Restrict user only to enable/disable checks (Jelle Smet) > 10. Re: Streamline Alerts/Notifications for user group (Juki) > 11. NRPE install vs. SSL (Gezina Dekker) > 12. Re: NRPE install vs. SSL (Juki) > 13. Re: NRPE install vs. SSL (Richard Quintin) > 14. Re: check_by_ssh from a different username (Marc Powell) > 15. Re: Notification Interval set to 0 not working as per doc > (Marc Powell) > 16. Re: NSClient - ERROR: Failed to get PDH value. (Marc Powell) > 17. Re: Restrict user only to enable/disable checks (Marc Powell) > 18. Re: check_by_ssh from a different username (Matt Simmons) > 19. Re: NRPE install vs. SSL (Gezina Dekker) > 20. Re: priority: host or service who's really on top? (alexus) > 21. Re: priority: host or service who's really on top? > (Morris, Patrick) > 22. check_openmanage: "Failed to load external entity" with OMSA > v5.3.0 on 2003 (C. Bensend) > 23. Re: NSClient - ERROR: Failed to get PDH value. (Jim Avery) > 24. event handler script not executing (Rick) > 25. Re: check_openmanage: "Failed to load external entity" with > OMSA v5.3.0 on 2003 (Trond Hasle Amundsen) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 09 Mar 2010 13:20:11 +0530 > From: Jatin Davey > Subject: Re: [Nagios-users] Notification Interval set to 0 not working > as per doc > To: Jim Avery > Cc: Nagios Mailinglist > Message-ID:<4B95FDB3.7040603 at cisco.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Please let me know what needs to be done , i am kind of receving 1000 > notifications per day for the same hosts. > > Thanks > Jatin > > On 3/8/2010 9:54 AM, Jatin Davey wrote: > >> Hi Jim >> >> Replies to the questions that you had asked about the issue: >> >> 1. I do not have any escalations defined. >> >> 2. Given below is the output from one of the host as found in the >> object.cache file: >> >> define host { >> host_name Windows-xxxx >> alias Windows XP PC >> address x.x.x.x >> check_period 24x7 >> check_command check-host-alive >> contact_groups xxxx >> notification_period 24x7 >> initial_state o >> check_interval 2.000000 >> retry_interval 1.000000 >> max_check_attempts 2 >> active_checks_enabled 1 >> passive_checks_enabled 1 >> obsess_over_host 1 >> event_handler_enabled 1 >> low_flap_threshold 0.000000 >> high_flap_threshold 0.000000 >> flap_detection_enabled 1 >> flap_detection_options o,d,u >> freshness_threshold 0 >> check_freshness 0 >> notification_options d,r,f,s >> notifications_enabled 1 >> notification_interval 0.000000 >> first_notification_delay 0.000000 >> stalking_options n >> process_perf_data 1 >> failure_prediction_enabled 1 >> retain_status_information 1 >> retain_nonstatus_information 1 >> } >> >> Please let me know if any further inputs are needed. >> >> Thanks >> Jatin >> >> >> On 3/5/2010 8:04 PM, Jim Avery wrote: >> >>> On 5 March 2010 10:16, Jatin Davey wrote: >>> >>>> Hi >>>> >>>> The Nagios documentation says that when you set the "Notification >>>> Interval" to 0 , it will notify with an email alert only once when >>>> the service state goes to "down" from "up" , it will then again >>>> notify when the service comes back to "up" state , correct me if am >>>> > wrong. > >>>> But when i set this to 0 , i am still getting email notifications >>>> every 10 mins for the service which is in "down" state for more than >>>> > one day. > >>>> Is this is a bug or am i missing something here , Please let me >>>> > know. > >>> Bit of a long shot, but do you have any escalations defined? >>> >>> Also, check what the service or host definition looks like in your >>> objects.cache file and post it here if you would like it >>> > checked-over. > >>> > > > ------------------------------ > > Message: 2 > Date: Tue, 9 Mar 2010 07:56:36 +0000 > From: Jim Avery > Subject: Re: [Nagios-users] priority: host or service who's really on > top? > To: google at alexus.org > Cc: Nagios Users > Message-ID: > <765d77c81003082356y7fd7a422sdd00b78fa8e18e68 at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On 8 March 2010 22:16, alexus wrote: > >> if i define my host to be checked/notify only at certain time frame, >> let's say 10-18 yet service states 24/7 ... who takes priority? host's >> > >> definition or service? >> > If the service check fails, I think Nagios would check the host anyway. > You might like to run a test to confirm this. > > > > ------------------------------ > > Message: 3 > Date: Tue, 09 Mar 2010 13:27:25 +0530 > From: Jatin Davey > Subject: Re: [Nagios-users] Monitoring a process with its pid > To: Matt Simmons > Cc: nagios-users at lists.sourceforge.net > Message-ID:<4B95FF65.2090705 at cisco.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Thanks Matt, > > It solved my problem. > > Thanks > Jatin > > On 3/8/2010 9:01 PM, Matt Simmons wrote: > >> If you have snmp enabled on the hosts, you can pull that information >> > out: > >> ~$ snmpwalk -v 2c -c COMMUNITY myhost.mydomain.com >> HOST-RESOURCES-MIB::hrSWRunName.3309 >> HOST-RESOURCES-MIB::hrSWRunName.3309 = STRING: "crond" >> >> >> >> On Mon, Mar 8, 2010 at 8:10 AM, Jatin Davey >> > wrote: > >> >> >>> Let me re-phrase it a little , >>> >>> Basically what i want is to give the process id as the input and make >>> > >>> sure on that target machine i have the process with the given id >>> running , once it stops there might not be the process running with >>> that id and hence i need to raise an email notification alert. >>> >>> Thanks >>> Jatin >>> >>> On 3/8/2010 5:41 PM, Jatin Davey wrote: >>> >>> >>>> Hi All >>>> >>>> Do we have a plugin that can monitor process id (pid) on a target >>>> machine , the target machine could be anything such as windows , >>>> linux , solaris etc and alert with an email notification when the >>>> process id changes. >>>> >>>> Appreciate your responses. >>>> >>>> Thanks >>>> Jatin >>>> >>>> -------------------------------------------------------------------- >>>> ---------- Download Intel® Parallel Studio Eval Try the new >>>> software tools for yourself. Speed compiling, find bugs proactively, >>>> > >>>> and fine-tune applications for parallel performance. >>>> See why Intel Parallel Studio got high marks during beta. >>>> http://p.sf.net/sfu/intel-sw-dev >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> > reporting any issue. > >>>> ::: Messages without supporting info will risk being sent to >>>> /dev/null >>>> >>>> >>>> >>>> >>> --------------------------------------------------------------------- >>> --------- Download Intel® Parallel Studio Eval Try the new >>> software tools for yourself. Speed compiling, find bugs proactively, >>> and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> > reporting any issue. > >>> ::: Messages without supporting info will risk being sent to >>> /dev/null >>> >>> >>> >> >> >> > > > ------------------------------ > > Message: 4 > Date: Tue, 9 Mar 2010 08:01:30 +0000 > From: Jim Avery > Subject: Re: [Nagios-users] Host/Svc Deps > To: "Joseph L. Casale" > Cc: "nagios-users at lists.sourceforge.net" > > Message-ID: > <765d77c81003090001k667241dev7e14b87e3f9758aa at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On 9 March 2010 02:47, Joseph L. Casale > wrote: > >> Is it possible to make hosts dependant on single services from another >> > host? > >> An example being a monitored vpn tunnel on a firewall, and the hosts >> > it provides. > >> The firewall may very well be up, but the tunnel status alone dictates >> > >> the availability of the hosts it provides. >> >> > From what I gather, there are only host or service deps, also making >> >>> groups >>> >> such that all the services of a host depend on one service but the >> host check would remain? >> > I'm not sure. I would probably define the tunnel as a host in its own > right. A 'host' doesn't always have to be a physical box. > > > > ------------------------------ > > Message: 5 > Date: Tue, 9 Mar 2010 09:19:09 +0100 > From: Mark Elsen > Subject: [Nagios-users] Nagios DST bug and upcoming DST-time switch in > Europe > To: nagios-users at lists.sourceforge.net > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Nagios 3.2.0 > -------------------- > > - By the end of the month, Europe will switch to DST. > Will I be affected by the Nagios DST-BUG which , which results in > NAGIOS becoming > dis-functional ? > > Which countermeasures can I take to prevent being struck by this problem > ? > > M. > > > > ------------------------------ > > Message: 6 > Date: Tue, 9 Mar 2010 08:32:59 +0000 > From: Ton Voon > Subject: Re: [Nagios-users] Nagios DST bug and upcoming DST-time > switch in Europe > To: Nagios Users Mailinglist > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > > On 9 Mar 2010, at 08:19, Mark Elsen wrote: > > >> Nagios 3.2.0 >> -------------------- >> >> - By the end of the month, Europe will switch to DST. >> Will I be affected by the Nagios DST-BUG which , which results in >> NAGIOS becoming >> dis-functional ? >> >> Which countermeasures can I take to prevent being struck by this >> problem ? >> >> > The bug, which stops all Nagios monitoring for 24 hours, occurs when > "time moves backwards". This does not happen when "time moves > forward". However, any other timeperiods (such as 09:00-17:00) maybe > incorrect by an hour, which is obviously not as serious. This is true > for Nagios 3.2.0. > > Ton > > > > > ------------------------------ > > Message: 7 > Date: Tue, 9 Mar 2010 10:13:58 +0100 > From: Martin Melin > Subject: Re: [Nagios-users] Streamline Alerts/Notifications for user > group > To: Nagios Users Mail-list > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > On Tue, Mar 9, 2010 at 7:57 AM, Juki wrote: > >> Hi list, >> >> I'm running Nagios-3.2.0 with plugins-1.4.14 on an openSuSE 11.0 >> > platform. > >> I have setup both e-mail and sms notifications for different groups of >> > users > >> based on the instructions here; >> >> http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html >> >> I would like to be able to send host DOWN *only* notifications/alerts >> > to a > >> particular user group. In other words, I would like that user group to >> receive alerts ONLY when a host goes DOWN >> and no other alerts/notifications whatsoever. I have looked at on-call >> rotations but that doesn't seem to suite my need. >> >> Has anyone got suggestions on how to implement this? >> > If these users should never get anything else than DOWN notifications, > use service_notification_options and host_notification_options in the > contact definition. > > You could also do this with escalations, but it sounds like the above > will work for you? > > > > ------------------------------ > > Message: 8 > Date: Tue, 09 Mar 2010 14:45:51 +0530 > From: Jatin Davey > Subject: [Nagios-users] NSClient - ERROR: Failed to get PDH value. > To: Nagios Mailinglist > Message-ID:<4B9611C7.80800 at cisco.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi > > I am getting this error when i monitor my windows box using NSClient++ > > NSClient - ERROR: Failed to get PDH value. > > Please let me know what can be done. > > Thanks > Jatin > > > > ------------------------------ > > Message: 9 > Date: Tue, 09 Mar 2010 10:01:37 +0100 > From: Jelle Smet > Subject: [Nagios-users] Restrict user only to enable/disable checks > To: Nagios users > Message-ID: > Content-Type: text/plain; charset="utf-8" > > > > Hi list, > > I'm looking for a way to allow users do pretty much everything > of the host and service commands except enabling& disabling them. > > I > believe these are > > cmd_typ=16 (for all services on the host) > cmd_typ=4 > (for the host check) > cmd_typ=6 (for a service check) > > There are a couple > of things which come to my mind such as mod_security, or some other > apache > level restricting stuff. > > Has anyone experience in setting up something > like this? > It would be helpfull if people see a helpfull message saying, > you're not allowed to execute this command, so they don't think the > application isn't working. > > What are your thoughts? > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Garland at quantum.com Wed Mar 10 16:36:00 2010 From: Rick.Garland at quantum.com (Rick Garland) Date: Wed, 10 Mar 2010 08:36:00 -0700 Subject: event handler script not executing In-Reply-To: References: Message-ID: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB8EC@DENMSGV1.QUANTUM.COM> Ping - any responses? Rick Garland Sr System Administrator Quantum, Corp. 8560 Upland Dr. Englewood, CO 80112 office 720-249-5984 cell 720-210-4671 rick.garland at quantum.com -----Original Message----- From: Rick [mailto:rick.garland at quantum.com] Sent: Tuesday, March 09, 2010 7:04 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] event handler script not executing Hi all: Got Nagios core 3.2.0 on CentOS5. Been trying to get an event handler to execute but it will not. My configs; define service{ use local_service host_name my_host service_description NFS Check check_period 24x7 check_interval 20 max_check_attempts 4 check_command check_nrpe!check_nfs_mounts event_handler_enabled 1 event_handler remount-nfs!$SERVICESTATE$!$SERVICESTATETYPE$!$SERVICEATTEMPT$ notification_period 24x7 notification_interval 120 contact_groups colorado } define command{ command_name remount-nfs command_line $USER1$/eventhandlers/remount-nfs $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } enable_event_handlers=1 in the nagios.cfg file The script itself is very simple. At CRITICAL/SOFT/3 and CRITCAL/HARD/4 the script will execute. Running at command line as UID=nagios it runs fine. sudo is configured and nagios can mount NFS. The entry in the nagios.log [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 I have followed the process through and it will not execute the remount-nfs event handler command. All perms, dir & file, have been checked. Everything else is working as it should including the $SERVICE* macros. Just the script is not being executed. What is missing? Many thanks ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Wed Mar 10 16:39:32 2010 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 10 Mar 2010 15:39:32 +0000 Subject: event handler script not executing In-Reply-To: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB8EC@DENMSGV1.QUANTUM.COM> References: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB8EC@DENMSGV1.QUANTUM.COM> Message-ID: <4B97BD34.7040103@flatto.net> You sent this issue in a previous thread , check the replies you got there . Rick Garland wrote: > Ping - any responses? > > > > Rick Garland > Sr System Administrator > Quantum, Corp. > 8560 Upland Dr. > Englewood, CO 80112 > > office 720-249-5984 > cell 720-210-4671 > rick.garland at quantum.com > > -----Original Message----- > From: Rick [mailto:rick.garland at quantum.com] > Sent: Tuesday, March 09, 2010 7:04 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] event handler script not executing > > Hi all: > > Got Nagios core 3.2.0 on CentOS5. Been trying to get an event handler to > execute but it will not. My configs; > > define service{ > use local_service > host_name my_host > service_description NFS Check > check_period 24x7 > check_interval 20 > max_check_attempts 4 > check_command check_nrpe!check_nfs_mounts > event_handler_enabled 1 > event_handler > remount-nfs!$SERVICESTATE$!$SERVICESTATETYPE$!$SERVICEATTEMPT$ > notification_period 24x7 > notification_interval 120 > contact_groups colorado > } > > define command{ > command_name remount-nfs > command_line $USER1$/eventhandlers/remount-nfs > $SERVICESTATE$ > $SERVICESTATETYPE$ $SERVICEATTEMPT$ > } > > enable_event_handlers=1 in the nagios.cfg file > > The script itself is very simple. At CRITICAL/SOFT/3 and CRITCAL/HARD/4 > the script will execute. Running at command line as UID=nagios it runs > fine. > sudo is configured and nagios can mount NFS. > > > The entry in the nagios.log > [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS > CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 > > I have followed the process through and it will not execute the > remount-nfs event handler command. > > All perms, dir & file, have been checked. Everything else is working as > it should including the $SERVICE* macros. Just the script is not being > executed. > > What is missing? > > Many thanks > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Garland at quantum.com Wed Mar 10 16:40:44 2010 From: Rick.Garland at quantum.com (Rick Garland) Date: Wed, 10 Mar 2010 08:40:44 -0700 Subject: event handler script not executing In-Reply-To: References: Message-ID: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB8F3@DENMSGV1.QUANTUM.COM> Ping - anyresponses? Rick Garland Sr System Administrator Quantum, Corp. 8560 Upland Dr. Englewood, CO 80112 office 720-249-5984 cell 720-210-4671 rick.garland at quantum.com -----Original Message----- From: Rick [mailto:rick.garland at quantum.com] Sent: Tuesday, March 09, 2010 7:04 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] event handler script not executing Hi all: Got Nagios core 3.2.0 on CentOS5. Been trying to get an event handler to execute but it will not. My configs; define service{ use local_service host_name my_host service_description NFS Check check_period 24x7 check_interval 20 max_check_attempts 4 check_command check_nrpe!check_nfs_mounts event_handler_enabled 1 event_handler remount-nfs!$SERVICESTATE$!$SERVICESTATETYPE$!$SERVICEATTEMPT$ notification_period 24x7 notification_interval 120 contact_groups colorado } define command{ command_name remount-nfs command_line $USER1$/eventhandlers/remount-nfs $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } enable_event_handlers=1 in the nagios.cfg file The script itself is very simple. At CRITICAL/SOFT/3 and CRITCAL/HARD/4 the script will execute. Running at command line as UID=nagios it runs fine. sudo is configured and nagios can mount NFS. The entry in the nagios.log [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 I have followed the process through and it will not execute the remount-nfs event handler command. All perms, dir & file, have been checked. Everything else is working as it should including the $SERVICE* macros. Just the script is not being executed. What is missing? Many thanks ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juki.emma at gmail.com Wed Mar 10 16:45:00 2010 From: juki.emma at gmail.com (Juki) Date: Wed, 10 Mar 2010 18:45:00 +0300 Subject: Streamline Alerts/Notifications for user group In-Reply-To: <7545d7d21003090251y35d3df72xfc1c8e5e16e3444b@mail.gmail.com> References: <7545d7d21003082257m4074c851tc452aec7a2eae71@mail.gmail.com> <7545d7d21003090251y35d3df72xfc1c8e5e16e3444b@mail.gmail.com> Message-ID: <7545d7d21003100745w48b6fb91r6c6e872b9d829985@mail.gmail.com> Hello list, On 9 March 2010 13:51, Juki wrote: > On 9 March 2010 12:13, Martin Melin wrote: > >> If these users should never get anything else than DOWN notifications, >> use service_notification_options and host_notification_options in the >> contact definition. >> >> > Thanks, Martin > > I have chosen to implement this method. I'll monitor it over the course of > the day and return to the list with > some results. > > It worked like a charm :) Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Wed Mar 10 16:46:35 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Wed, 10 Mar 2010 16:46:35 +0100 Subject: event handler script not executing In-Reply-To: References: Message-ID: > Hi all: > > Got Nagios core 3.2.0 on CentOS5. Been trying to get an event handler to execute > but it will not. My configs; > > define service{ > ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? local_service > ? ?host_name ? ? ? ? ? ? ? ? ? ?my_host > ? ?service_description ? ? ? ? NFS Check > ? ?check_period ? ? ? ? ? ? ? ? ?24x7 > ? ?check_interval ? ? ? ? ? ? ? ?20 > ? ?max_check_attempts ? ? 4 > ? ?check_command ? ? ? ? ? ?check_nrpe!check_nfs_mounts > ? ?event_handler_enabled ? ?1 > ? ?event_handler > remount-nfs!$SERVICESTATE$!$SERVICESTATETYPE$!$SERVICEATTEMPT$ > ? ?notification_period ? ? ? ? ? 24x7 > ? ?notification_interval ? ? ? ? ?120 > ? ?contact_groups ? ? ? ? ? ? ?colorado > } > > define command{ > ? ?command_name ? ? ? ? ? ?remount-nfs > ? ?command_line ? ? ? ? ? ? ? $USER1$/eventhandlers/remount-nfs $SERVICESTATE$ > $SERVICESTATETYPE$ $SERVICEATTEMPT$ > } > > enable_event_handlers=1 in the nagios.cfg file > > The script itself is very simple. At CRITICAL/SOFT/3 and CRITCAL/HARD/4 the > script will execute. Running at command line as UID=nagios it runs fine. > sudo is configured and nagios can mount NFS. > > > The entry in the nagios.log > [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS > CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 > > I have followed the process through and it will not execute the remount-nfs > event handler command. > > All perms, dir & file, have been checked. Everything else is working as it > should including the $SERVICE* macros. Just the script is not being executed. > > What is missing? > Check nagios event log or nagios.log 'physically' for starters, to check if the event handler is being launched. M. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossnick-lists at cybercat.ca Wed Mar 10 16:18:48 2010 From: rossnick-lists at cybercat.ca (Nicolas Ross) Date: Wed, 10 Mar 2010 10:18:48 -0500 Subject: Different timeperdiods for warning / critical states ? Message-ID: Hi ! We have a nagios 2.x installation that I plan to upgrade to 3.x soon... For some services, I'd like to be able to send notification 24x7, but only with a critical state. For exemple a disk space checking service. When it reaches warning state, I don't want to be waked up at 3 am. But when it's critical, it's ok. I know I can define 2 services whith 2 notification_options and 2 time periods, but that would make 2 services, with 2 different names for every partition on our servers... Is there another way to acomplish this ? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 z3b.org Wed Mar 10 17:27:12 2010 From: nagios at z3b.org (Kyle O'Donnell) Date: Wed, 10 Mar 2010 11:27:12 -0500 Subject: =?utf-8?q?Different_timeperdiods_for_warning_/_cri?= =?utf-8?q?tical_states_=3F?= In-Reply-To: References: Message-ID: create two different contacts with the same email address, one with a contact profile that alerts for critical messages 24x7, one with a profile that alerts warning messages 9-5, or whatever is appropriate. On Wed, 10 Mar 2010 10:18:48 -0500, "Nicolas Ross" wrote: > Hi ! > > We have a nagios 2.x installation that I plan to upgrade to 3.x soon... > > For some services, I'd like to be able to send notification 24x7, but only > with a critical state. For exemple a disk space checking service. When it > reaches warning state, I don't want to be waked up at 3 am. But when it's > critical, it's ok. > > I know I can define 2 services whith 2 notification_options and 2 time > periods, but that would make 2 services, with 2 different names for every > partition on our servers... > > Is there another way to acomplish this ? > > > ------------------------------------------------------------------------------ > Download Intel? Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Wed Mar 10 17:30:34 2010 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 10 Mar 2010 16:30:34 +0000 Subject: Different timeperdiods for warning / critical states ? In-Reply-To: References: Message-ID: <4B97C92A.7050803@flatto.net> Nicolas Ross wrote: > Hi ! > > We have a nagios 2.x installation that I plan to upgrade to 3.x soon... > > For some services, I'd like to be able to send notification 24x7, but only > with a critical state. For exemple a disk space checking service. When it > reaches warning state, I don't want to be waked up at 3 am. But when it's > critical, it's ok. > > I know I can define 2 services whith 2 notification_options and 2 time > periods, but that would make 2 services, with 2 different names for every > partition on our servers... > > Is there another way to acomplish this ? > > > You can define one service with a contact group , with in that contact group 2 contacts and each of them have a tipe period and notification criteria the definitions below are an example - for exact commands see the documentation : service A { host V command kaboom conatctgroup loonytoons } contactgroup loonytoons members bug, duffy conatct name bugs time graveyard_shift serivce notification critiria c host notification critiria d email bugs at wb.com conatct name duffy time rest of time serivce notification critiria w,r,u host notification critiria u,w email duffy at wb.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Garland at quantum.com Wed Mar 10 17:34:41 2010 From: Rick.Garland at quantum.com (Rick Garland) Date: Wed, 10 Mar 2010 09:34:41 -0700 Subject: event handler script not executing In-Reply-To: References: Message-ID: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB924@DENMSGV1.QUANTUM.COM> Hi Mark: I have included the entry from the nagios.log file > The entry in the nagios.log > [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS > CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 Within nagios the event handler is being launched. But the executable is not getting touched. When viewing the Event Log from the GUI, it has that little graphic for the Event Handler as well. But still, the bash script (perms 755 and owned by nagios) is not being touched. Rick Garland Sr System Administrator Quantum, Corp. 8560 Upland Dr. Englewood, CO 80112 office 720-249-5984 cell 720-210-4671 rick.garland at quantum.com -----Original Message----- From: Mark Elsen [mailto:mark.elsen at gmail.com] Sent: Wednesday, March 10, 2010 8:47 AM To: Nagios Users List Subject: Re: [Nagios-users] event handler script not executing > Hi all: > > Got Nagios core 3.2.0 on CentOS5. Been trying to get an event handler > to execute but it will not. My configs; > > define service{ > ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? local_service > ? ?host_name ? ? ? ? ? ? ? ? ? ?my_host > ? ?service_description ? ? ? ? NFS Check > ? ?check_period ? ? ? ? ? ? ? ? ?24x7 > ? ?check_interval ? ? ? ? ? ? ? ?20 > ? ?max_check_attempts ? ? 4 > ? ?check_command ? ? ? ? ? ?check_nrpe!check_nfs_mounts > ? ?event_handler_enabled ? ?1 > ? ?event_handler > remount-nfs!$SERVICESTATE$!$SERVICESTATETYPE$!$SERVICEATTEMPT$ > ? ?notification_period ? ? ? ? ? 24x7 > ? ?notification_interval ? ? ? ? ?120 > ? ?contact_groups ? ? ? ? ? ? ?colorado } > > define command{ > ? ?command_name ? ? ? ? ? ?remount-nfs > ? ?command_line ? ? ? ? ? ? ? $USER1$/eventhandlers/remount-nfs > $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } > > enable_event_handlers=1 in the nagios.cfg file > > The script itself is very simple. At CRITICAL/SOFT/3 and > CRITCAL/HARD/4 the script will execute. Running at command line as UID=nagios it runs fine. > sudo is configured and nagios can mount NFS. > > > The entry in the nagios.log > [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS > CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 > > I have followed the process through and it will not execute the > remount-nfs event handler command. > > All perms, dir & file, have been checked. Everything else is working > as it should including the $SERVICE* macros. Just the script is not being executed. > > What is missing? > Check nagios event log or nagios.log 'physically' for starters, to check if the event handler is being launched. M. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 10 17:33:26 2010 From: benny at bennyvision.com (C. Bensend) Date: Wed, 10 Mar 2010 10:33:26 -0600 Subject: Different timeperdiods for warning / critical states ? In-Reply-To: References: Message-ID: <802b2f32848e3c6cee345a00d91fd3bb.squirrel@webmail.stinkweasel.net> > We have a nagios 2.x installation that I plan to upgrade to 3.x soon... > > For some services, I'd like to be able to send notification 24x7, but only > with a critical state. For exemple a disk space checking service. When it > reaches warning state, I don't want to be waked up at 3 am. But when it's > critical, it's ok. > > I know I can define 2 services whith 2 notification_options and 2 time > periods, but that would make 2 services, with 2 different names for every > partition on our servers... > > Is there another way to acomplish this ? You can use contacts to do this. Specify two contacts, one that gets notifications with warnings, one that only receives criticals. Set the notification periods for them appropriately, and voila - you only get critical notifications after hours. Benny -- "Show me on the doll where the marketing touched you." -- "Mally" on Fazed.net ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Wed Mar 10 17:49:33 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Wed, 10 Mar 2010 16:49:33 +0000 Subject: hostgroup definition Message-ID: <126dc2681003100849w47d7cd6ej15c85fd8976c41f1@mail.gmail.com> Hi all, Two things remain for me, one emails from nagios, two is hostgroups, and I looked at all the documentation and, cannot find my error... define hostgroup{ hostgroup_name Linux_group alias No_Call-Out members svrlinux01 } When I restart after adding this host-group using split.cfg I get the following. Running configuration check. CONFIG ERROR! Restart aborted. Check your Nagios configuration I have server a definition for it. if I comment the lines out, the resatrt is successful. I am just missing something??? Regards and thanks for all the help so far, learned a lot, Gezina -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Wed Mar 10 17:58:23 2010 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 10 Mar 2010 16:58:23 +0000 Subject: hostgroup definition In-Reply-To: <126dc2681003100849w47d7cd6ej15c85fd8976c41f1@mail.gmail.com> References: <126dc2681003100849w47d7cd6ej15c85fd8976c41f1@mail.gmail.com> Message-ID: <4B97CFAF.4040100@flatto.net> Gezina Dekker wrote: > Hi all, > > Two things remain for me, one emails from nagios, two is hostgroups, > and I looked at all the documentation and, cannot find my error... > > define hostgroup{ > hostgroup_name Linux_group > alias No_Call-Out > members svrlinux01 > } > When I restart after adding this host-group using split.cfg I get the > following. > > Running configuration check. CONFIG ERROR! Restart aborted. Check > your Nagios configuration > > > I have server a definition for it. if I comment the lines out, the > resatrt is successful. > > I am just missing something??? > > Regards and thanks for all the help so far, learned a lot, > > Gezina try running this command /path/to/nagios -v /path/to/nagios.cfg this will give you some indication as to your problem. Assaf ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossnick-lists at cybercat.ca Wed Mar 10 18:04:36 2010 From: rossnick-lists at cybercat.ca (Nicolas Ross) Date: Wed, 10 Mar 2010 12:04:36 -0500 Subject: Different timeperdiods for warning / critical states ? References: <802b2f32848e3c6cee345a00d91fd3bb.squirrel@webmail.stinkweasel.net> Message-ID: <5420B200A60747908B0A049EF9D8187F@versa> >> We have a nagios 2.x installation that I plan to upgrade to 3.x soon... >> >> For some services, I'd like to be able to send notification 24x7, but >> only >> with a critical state. For exemple a disk space checking service. When it >> reaches warning state, I don't want to be waked up at 3 am. But when it's >> critical, it's ok. >> >> I know I can define 2 services whith 2 notification_options and 2 time >> periods, but that would make 2 services, with 2 different names for every >> partition on our servers... >> >> Is there another way to acomplish this ? > > You can use contacts to do this. Specify two contacts, one that > gets notifications with warnings, one that only receives criticals. > Set the notification periods for them appropriately, and voila - you > only get critical notifications after hours. That is indeed the best way to do it, I'll go that route. Thanks ! ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 10 18:10:06 2010 From: marc at ena.com (Marc Powell) Date: Wed, 10 Mar 2010 11:10:06 -0600 Subject: event handler script not executing In-Reply-To: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB924@DENMSGV1.QUANTUM.COM> References: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB924@DENMSGV1.QUANTUM.COM> Message-ID: On Mar 10, 2010, at 10:34 AM, Rick Garland wrote: > Hi Mark: > > I have included the entry from the nagios.log file >> The entry in the nagios.log >> [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS >> CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 > > Within nagios the event handler is being launched. But the executable is not getting touched. > When viewing the Event Log from the GUI, it has that little graphic for the Event Handler as well. > > But still, the bash script (perms 755 and owned by nagios) is not being touched. How do you know this? Look back at the suggestions from yesterday. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Garland at quantum.com Wed Mar 10 18:29:43 2010 From: Rick.Garland at quantum.com (Rick Garland) Date: Wed, 10 Mar 2010 10:29:43 -0700 Subject: event handler script not executing In-Reply-To: References: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB924@DENMSGV1.QUANTUM.COM> Message-ID: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB95D@DENMSGV1.QUANTUM.COM> -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Wednesday, March 10, 2010 10:10 AM To: Nagios Users List Subject: Re: [Nagios-users] event handler script not executing On Mar 10, 2010, at 10:34 AM, Rick Garland wrote: > Hi Mark: > > I have included the entry from the nagios.log file >> The entry in the nagios.log >> [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS >> CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 > > Within nagios the event handler is being launched. But the executable is not getting touched. > When viewing the Event Log from the GUI, it has that little graphic for the Event Handler as well. > > But still, the bash script (perms 755 and owned by nagios) is not being touched. How do you know this? Look back at the suggestions from yesterday. -- Marc Hi Marc: In the script I have it doing a couple of arcane things for testing. I have it touch a file called 'test' and I have it echo the macro values to a file as well. These are successful. When trying to launch from nagios these files are not present. I am unable to find any post from yesterday that would contain any suggestions that were provided. ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Wed Mar 10 18:45:22 2010 From: vmanojv at rediffmail.com (Nair) Date: 10 Mar 2010 17:45:22 -0000 Subject: =?utf-8?q?Nagios_and_NSCA_for_HPUX?= Message-ID: <1268242211.S.7291.48976.f5mail-147-101.rediffmail.com.1268243122.6519@webmail.rediffmail.com> Hi Friends Please assist me installing NSCA and Nagios in HPUX box. This required in a distributed setup, where the Nagios server resides on a RHEL server. Thank you in advance. Nair. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shankumajumdar at gmail.com Wed Mar 10 19:15:13 2010 From: shankumajumdar at gmail.com (shanku majumdar) Date: Wed, 10 Mar 2010 23:45:13 +0530 Subject: Nagios and NSCA for HPUX In-Reply-To: <1268242211.S.7291.48976.f5mail-147-101.rediffmail.com.1268243122.6519@webmail.rediffmail.com> References: <1268242211.S.7291.48976.f5mail-147-101.rediffmail.com.1268243122.6519@webmail.rediffmail.com> Message-ID: <8ce512c41003101015j6842ffdh12381638b1bfaf23@mail.gmail.com> I would say go ahead ! install it if you bump somewhere just drop an email again someone will definitely help. I started in the same manner! but be sure to do this on test first rather than in production directly (its a suggestion). On Wed, Mar 10, 2010 at 11:15 PM, Nair wrote: > Hi Friends > > Please assist me installing NSCA and Nagios in HPUX box. This required in a > distributed setup, where the Nagios server resides on a RHEL server. > > Thank you in advance. > Nair. > > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ShankuMajumdar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 z3b.org Wed Mar 10 19:23:46 2010 From: nagios at z3b.org (Kyle O'Donnell) Date: Wed, 10 Mar 2010 13:23:46 -0500 Subject: Nagios and NSCA for HPUX In-Reply-To: <8ce512c41003101015j6842ffdh12381638b1bfaf23@mail.gmail.com> References: <1268242211.S.7291.48976.f5mail-147-101.rediffmail.com.1268243122.6519@webmail.rediffmail.com> <8ce512c41003101015j6842ffdh12381638b1bfaf23@mail.gmail.com> Message-ID: <1db4008faf0fb0fc2c7fbdf5084841e2@localhost> I compiled nrpe/nsca/plugins for hpux10.20/11/11.11 and uploaded to what was the nagiosexchange I think its called monitoringexchange now. On Wed, 10 Mar 2010 23:45:13 +0530, shanku majumdar wrote: > I would say go ahead ! install it if you bump somewhere just drop an email > again someone will definitely help. > > I started in the same manner! but be sure to do this on test first rather > than in production directly (its a suggestion). > > On Wed, Mar 10, 2010 at 11:15 PM, Nair wrote: > >> Hi Friends >> >> Please assist me installing NSCA and Nagios in HPUX box. This required >> in a >> distributed setup, where the Nagios server resides on a RHEL server. >> >> Thank you in advance. >> Nair. >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel? Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From standalone.sysadmin at gmail.com Wed Mar 10 19:30:45 2010 From: standalone.sysadmin at gmail.com (Matt Simmons) Date: Wed, 10 Mar 2010 13:30:45 -0500 Subject: Keeping the Nagios Configuration Sane Message-ID: <5bcb62b61003101030j29d7322ap491b000d9df96ddc@mail.gmail.com> Hi All, I'm attending the 2010 Professional IT Community Conference (http://www.picconf.org) being held in New Brunswick, NJ, and I'm giving a talk about staying sane while working with the Nagios configuration. The talk will be 45 minutes long, and will primarily be an outshoot from this article that I wrote on my blog: http://www.standalone-sysadmin.com/blog/2009/07/nagios-config/ I could talk about that and some other things that I've been figuring out, but I was wondering if anyone had any tricks or tips for dealing with the Nagios config? Is there anything special that you do to keep things straight? I'm going to be putting my slides and any additional material online following the conference, so hopefully someone else can get some use from it. By the way, if anyone on this list is in the north east of the US, you should come visit the conference. Without training, it's only $275 for 2 days. With a full day and a half of training, it's still only $400 for the whole shebang. Anyway, this isn't a sales email. I'm looking forward to any tips you would want to share. Thanks in advance! --Matt -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Mar 10 19:44:12 2010 From: marc at ena.com (Marc Powell) Date: Wed, 10 Mar 2010 12:44:12 -0600 Subject: event handler script not executing In-Reply-To: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB95D@DENMSGV1.QUANTUM.COM> References: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB924@DENMSGV1.QUANTUM.COM> <8324365F3DDCFE4EA4CBB01F275CDD6504CBB95D@DENMSGV1.QUANTUM.COM> Message-ID: On Mar 10, 2010, at 11:29 AM, Rick Garland wrote: > Hi Marc: > > In the script I have it doing a couple of arcane things for testing. > I have it touch a file called 'test' and I have it echo the macro values > to a file as well. > These are successful. > When trying to launch from nagios these files are not present. Are the paths hard-coded in your script? Is the directory writable by nagios? Is the script executable? Is the magic line present and well-formed? Also try changing the event_handler parameter in the service definition from event_handler remount-nfs!$SERVICESTATE$!$SERVICESTATETYPE$!$SERVICEATTEMPT$ to event_handler remount-nfs The other parameters aren't being used in your command{} definition. > I am unable to find any post from yesterday that would contain any > suggestions that were provided. Ok, so I meant to say 'the other day when you posted originally' - http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg31297.html -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Wed Mar 10 19:42:05 2010 From: vmanojv at rediffmail.com (Nair) Date: 10 Mar 2010 18:42:05 -0000 Subject: =?utf-8?q?Nagios_and_NSCA_for_HPUX?= Message-ID: <1268244874.S.8665.37442.f5mail-147-126.rediffmail.com.old.1268246525.57085@webmail.rediffmail.com> Hi Shanku Thank you for response. I cud make thru the active monitoring up thru nrpe. But stuggling to get NSCA compile. #./configure checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables Extract from config.log --- /usr/lib/hpux32/dld.so: Unable to find library 'libintl.so'. ./configure[1786]: 26345 Killed configure:1788: $? = 137 configure:1811: checking for C compiler default output file name configure:1814: gcc conftest.c >&5 /usr/lib/hpux32/dld.so: Unable to find library 'libintl.so'. ./configure[1815]: 26354 Killed Any clue about these errors? Thank you Nair On Wed, 10 Mar 2010 23:44:34 +0530 wrote >I would say go ahead ! install it if you bump somewhere just drop an email again someone will definitely help. I started in the same manner! but be sure to do this on test first rather than in production directly (its a suggestion). On Wed, Mar 10, 2010 at 11:15 PM, Nair wrote: Hi Friends Please assist me installing NSCA and Nagios in HPUX box. This required in a distributed setup, where the Nagios server resides on a RHEL server. Thank you in advance. Nair. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ShankuMajumdar ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Wed Mar 10 19:42:09 2010 From: vmanojv at rediffmail.com (Nair) Date: 10 Mar 2010 18:42:09 -0000 Subject: =?utf-8?q?Nagios_and_NSCA_for_HPUX?= Message-ID: <1268244874.S.8665.37442.f5mail-147-126.rediffmail.com.old.1268246529.23025@webmail.rediffmail.com> Hi Shanku Thank you for response. I cud make thru the active monitoring up thru nrpe. But stuggling to get NSCA compile. #./configure checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables Extract from config.log --- /usr/lib/hpux32/dld.so: Unable to find library 'libintl.so'. ./configure[1786]: 26345 Killed configure:1788: $? = 137 configure:1811: checking for C compiler default output file name configure:1814: gcc conftest.c >&5 /usr/lib/hpux32/dld.so: Unable to find library 'libintl.so'. ./configure[1815]: 26354 Killed Any clue about these errors? Thank you Nair On Wed, 10 Mar 2010 23:44:34 +0530 wrote >I would say go ahead ! install it if you bump somewhere just drop an email again someone will definitely help. I started in the same manner! but be sure to do this on test first rather than in production directly (its a suggestion). On Wed, Mar 10, 2010 at 11:15 PM, Nair wrote: Hi Friends Please assist me installing NSCA and Nagios in HPUX box. This required in a distributed setup, where the Nagios server resides on a RHEL server. Thank you in advance. Nair. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ShankuMajumdar ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Wed Mar 10 19:44:23 2010 From: vmanojv at rediffmail.com (Nair) Date: 10 Mar 2010 18:44:23 -0000 Subject: =?utf-8?q?Nagios_and_NSCA_for_HPUX?= Message-ID: <1268245116.S.6578.17408.f5mail-147-109.rediffmail.com.old.1268246663.486@webmail.rediffmail.com> I appreciate if someone could show me some install docs on NSCA/Nagios for HPUX. On Wed, 10 Mar 2010 23:48:36 +0530 wrote >I compiled nrpe/nsca/plugins for hpux10.20/11/11.11 and uploaded to what was the nagiosexchange I think its called monitoringexchange now. On Wed, 10 Mar 2010 23:45:13 +0530, shanku majumdar wrote: > I would say go ahead ! install it if you bump somewhere just drop an email > again someone will definitely help. > > I started in the same manner! but be sure to do this on test first rather > than in production directly (its a suggestion). > > On Wed, Mar 10, 2010 at 11:15 PM, Nair wrote: > >> Hi Friends >> >> Please assist me installing NSCA and Nagios in HPUX box. This required >> in a >> distributed setup, where the Nagios server resides on a RHEL server. >> >> Thank you in advance. >> Nair. >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel?reg; Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> :::Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> :::Messages without supporting info will risk being sent to /dev/null >> ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wallis at aps.anl.gov Wed Mar 10 19:58:35 2010 From: wallis at aps.anl.gov (David Wallis) Date: Wed, 10 Mar 2010 12:58:35 -0600 Subject: Keeping the Nagios Configuration Sane In-Reply-To: <5bcb62b61003101030j29d7322ap491b000d9df96ddc@mail.gmail.com> References: <5bcb62b61003101030j29d7322ap491b000d9df96ddc@mail.gmail.com> Message-ID: <4B97EBDB.9060104@aps.anl.gov> Matt Simmons wrote: > Hi All, > > I'm attending the 2010 Professional IT Community Conference > (http://www.picconf.org) being held in New Brunswick, NJ, and I'm > giving a talk about staying sane while working with the Nagios > configuration. > > The talk will be 45 minutes long, and will primarily be an outshoot > from this article that I wrote on my blog: > http://www.standalone-sysadmin.com/blog/2009/07/nagios-config/ > > I could talk about that and some other things that I've been figuring > out, but I was wondering if anyone had any tricks or tips for dealing > with the Nagios config? Is there anything special that you do to keep > things straight? > > I'm going to be putting my slides and any additional material online > following the conference, so hopefully someone else can get some use > from it. > > By the way, if anyone on this list is in the north east of the US, you > should come visit the conference. Without training, it's only $275 for > 2 days. With a full day and a half of training, it's still only $400 > for the whole shebang. Anyway, this isn't a sales email. > > I'm looking forward to any tips you would want to share. Thanks in advance! > > --Matt > I manage the Nagios installation for 3 different domains at work, each domain with several hundred servers and clients. I quickly reached the "There's got to be a better way!" point when trying to maintain configuration files that were getting pretty big. I was using all the tricks listed in the Nagios docs, but it was still pretty crazy. The approach I took was to write a configuration generator program that uses a meta-config file to generate the hosts.cfg, hostgroups.cfg and services.cfg config files. The meta-config file allows one to set up cascading configuration variables, and then has one line per monitored host, that includes things like host groups, parents, etc, and then a list of services to monitor. I also created the idea of "meta-services" that allow the program to generate configuration data for any number of related services with a single service name in the meta-config file. For instance, including the service "weball" will cause the configuration generator to create service entries for every plumbed interface on the web server, checks for every virtual server (http and https), and checks for every SSL cert that it finds. In one domain, a 400 line meta-config file generates a 20,000 line services.cfg file. Rather than updating individual config files, I just update the meta-config file and then regenerate all of the *.cfg files. I've been using this for several years with very good results. -- David Wallis Information Technology Advanced Photon Source Argonne National Laboratory ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 10 21:21:44 2010 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 10 Mar 2010 21:21:44 +0100 Subject: Keeping the Nagios Configuration Sane In-Reply-To: <4B97EBDB.9060104@aps.anl.gov> (David Wallis's message of "Wed, 10 Mar 2010 12:58:35 -0600") References: <5bcb62b61003101030j29d7322ap491b000d9df96ddc@mail.gmail.com> <4B97EBDB.9060104@aps.anl.gov> Message-ID: <15tbpew7wrr.fsf@tux.uio.no> David Wallis writes: > Matt Simmons wrote: >> Hi All, >> >> I'm attending the 2010 Professional IT Community Conference >> (http://www.picconf.org) being held in New Brunswick, NJ, and I'm >> giving a talk about staying sane while working with the Nagios >> configuration. >> >> The talk will be 45 minutes long, and will primarily be an outshoot >> from this article that I wrote on my blog: >> http://www.standalone-sysadmin.com/blog/2009/07/nagios-config/ >> >> I could talk about that and some other things that I've been figuring >> out, but I was wondering if anyone had any tricks or tips for dealing >> with the Nagios config? Is there anything special that you do to keep >> things straight? >> >> I'm going to be putting my slides and any additional material online >> following the conference, so hopefully someone else can get some use >> from it. >> >> By the way, if anyone on this list is in the north east of the US, you >> should come visit the conference. Without training, it's only $275 for >> 2 days. With a full day and a half of training, it's still only $400 >> for the whole shebang. Anyway, this isn't a sales email. >> >> I'm looking forward to any tips you would want to share. Thanks in advance! >> >> --Matt >> > > I manage the Nagios installation for 3 different domains at work, each > domain with several hundred servers and clients. I quickly reached the > "There's got to be a better way!" point when trying to maintain > configuration files that were getting pretty big. I was using all the > tricks listed in the Nagios docs, but it was still pretty crazy. > > The approach I took was to write a configuration generator program that > uses a meta-config file to generate the hosts.cfg, hostgroups.cfg and > services.cfg config files. The meta-config file allows one to set up > cascading configuration variables, and then has one line per monitored > host, that includes things like host groups, parents, etc, and then a > list of services to monitor. > > I also created the idea of "meta-services" that allow the program to > generate configuration data for any number of related services with a > single service name in the meta-config file. For instance, including the > service "weball" will cause the configuration generator to create > service entries for every plumbed interface on the web server, checks > for every virtual server (http and https), and checks for every SSL cert > that it finds. In one domain, a 400 line meta-config file generates a > 20,000 line services.cfg file. > > Rather than updating individual config files, I just update the > meta-config file and then regenerate all of the *.cfg files. I've been > using this for several years with very good results. That's an interesting approach, and we do something similar. It goes without saying that when the number of hosts grows to several hundred, maintaining the Nagios config for hosts and hostgroups etc. the regular way becomes an arduous task. This is especially true if your environment is largely heterogenous. We have a list of our servers maintained in a homegrown application using a topic map as base. Large parts of the Nagios config are generated from this. I think this is an important point. Usually, you already have a list of your servers, and you can use this list as a base for Nagios config as well. The format of the host list is not important, but deciding that this is the starting point for Nagios hosts config is. When a host is added/removed in the list, it is added/removed in Nagios. This is very much like David's approach, i.e. a list of hosts in a format that is easier to handle and maintain. In addition, we have defined several "roles" that a server may have, such as dell-hardware, hp-hardware, mail-mx-server, web-server, dns-server etc. A simple perl script runs every day on each host and determines its roles. This information is collected and kept centrally. Parts of the Nagios config (hostgroups, servicegroups) are generated based on these roles. NRPE config is the same on all hosts. It is maintained centrally and distributed to each host daily. Adding stuff in the sudoers file (needed for some plugins) is done automatically based on the host's roles. Another point: We generally don't use plugins that require us to configure the plugin and tailor it for each individual host. For example, for filesystem monitoring we have created a custom plugin that monitors all partitions by default. It has a optional configuration file locally on each host where we can set individual thresholds if needed. Thinking like this should come easy to system administrators that are used to dealing with large installations. It's all about automation :) Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 10 21:26:03 2010 From: niall at makalumedia.com (Niall O Broin) Date: Wed, 10 Mar 2010 20:26:03 +0000 Subject: Keeping the Nagios Configuration Sane In-Reply-To: <4B97EBDB.9060104@aps.anl.gov> References: <5bcb62b61003101030j29d7322ap491b000d9df96ddc@mail.gmail.com> <4B97EBDB.9060104@aps.anl.gov> Message-ID: On 10 Mar 2010, at 18:58, David Wallis wrote: > I manage the Nagios installation for 3 different domains at work, each > domain with several hundred servers and clients. I quickly reached the > "There's got to be a better way!" point when trying to maintain > configuration files that were getting pretty big. I was using all the > tricks listed in the Nagios docs, but it was still pretty crazy. > > The approach I took was to write a configuration generator program that > uses a meta-config file to generate the hosts.cfg, hostgroups.cfg and > services.cfg config files. The meta-config file allows one to set up > cascading configuration variables, and then has one line per monitored > host, that includes things like host groups, parents, etc, and then a > list of services to monitor. > > I also created the idea of "meta-services" that allow the program to > generate configuration data for any number of related services with a > single service name in the meta-config file. For instance, including the > service "weball" will cause the configuration generator to create > service entries for every plumbed interface on the web server, checks > for every virtual server (http and https), and checks for every SSL cert > that it finds. In one domain, a 400 line meta-config file generates a > 20,000 line services.cfg file. > > Rather than updating individual config files, I just update the > meta-config file and then regenerate all of the *.cfg files. I've been > using this for several years with very good results. That sounds very interesting David. Is it something you can share with the community? __ Kindest regards, Niall O Broin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Garland at quantum.com Wed Mar 10 21:33:16 2010 From: Rick.Garland at quantum.com (Rick Garland) Date: Wed, 10 Mar 2010 13:33:16 -0700 Subject: event handler script not executing In-Reply-To: References: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB924@DENMSGV1.QUANTUM.COM><8324365F3DDCFE4EA4CBB01F275CDD6504CBB95D@DENMSGV1.QUANTUM.COM> Message-ID: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB9FF@DENMSGV1.QUANTUM.COM> >On Mar 10, 2010, at 11:29 AM, Rick Garland wrote: > >> Hi Marc: >> >> In the script I have it doing a couple of arcane things for testing. >> I have it touch a file called 'test' and I have it echo the macro >> values to a file as well. >> These are successful. > >> When trying to launch from nagios these files are not present. > >Are the paths hard-coded in your script? Is the directory writable by nagios? Is the script executable? Is the magic line present and well-formed? > >Also try changing the event_handler parameter in the service definition from > >event_handler remount-nfs!$SERVICESTATE$!$SERVICESTATETYPE$!$SERVICEATTEMPT$ > >to > >event_handler remount-nfs > >The other parameters aren't being used in your command{} definition. > >> I am unable to find any post from yesterday that would contain any >> suggestions that were provided. > >Ok, so I meant to say 'the other day when you posted originally' - http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg31297. html > >-- >Marc Many thanks. The issue was the requiretty. This is a new issue on RH and CentOS 5 and above. I have done the cleanup on event_handler definition. Didn't matter either way, did make the log entries cleaner. The tip from Stuart was the key to helping me resolve. Again, my apologies for the extraneous posts. ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Wed Mar 10 23:53:10 2010 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Thu, 11 Mar 2010 09:53:10 +1100 Subject: event handler script not executing In-Reply-To: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB9FF@DENMSGV1.QUANTUM.COM> References: <8324365F3DDCFE4EA4CBB01F275CDD6504CBB924@DENMSGV1.QUANTUM.COM><8324365F3DDCFE4EA4CBB01F275CDD6504CBB95D@DENMSGV1.QUANTUM.COM> <8324365F3DDCFE4EA4CBB01F275CDD6504CBB9FF@DENMSGV1.QUANTUM.COM> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB689E@off-win2003-01.ausregistrygroup.local> > -----Original Message----- > From: Rick Garland [mailto:Rick.Garland at quantum.com] > >On Mar 10, 2010, at 11:29 AM, Rick Garland wrote: > >> Hi Marc: > >> > >> In the script I have it doing a couple of arcane things for testing. > >> I have it touch a file called 'test' and I have it echo the macro > >> values to a file as well. > >> These are successful. > > > >> When trying to launch from nagios these files are not present. > > > Many thanks. The issue was the requiretty. This is a new issue on RH > and > CentOS 5 and above. > I have done the cleanup on event_handler definition. Didn't matter > either way, did make the log entries cleaner. > > The tip from Stuart was the key to helping me resolve. > > Again, my apologies for the extraneous posts. # # From /etc/sudoers on our Nagios server: # Defaults:nagios !requiretty :) ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tt.rexplay at gmail.com Thu Mar 11 03:36:27 2010 From: tt.rexplay at gmail.com (Tim Tompson) Date: Wed, 10 Mar 2010 21:36:27 -0500 Subject: Accessing Nagios for the first time Message-ID: Ok, really dumb question. I have successfully configured and installed Nagios, according to: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html on my webserver. No problems at all throughout the process. My problem comes at step 9. 9) Login to the Web Interface You should now be able to access the Nagios web interface at the URL below. You'll be prompted for the username (nagiosadmin) and password you specified earlier. http://localhost/nagios/ I installed everything on my server via SSH command line, but now I need to access localhost, but can't since all I use to connect to my server is command line driven (ssh). I tried accessing my serveripaddress/nagios, and no luck - but wouldn't expect that to work either. Anyone know what I should do at this point? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Thu Mar 11 04:28:16 2010 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Thu, 11 Mar 2010 14:28:16 +1100 Subject: Accessing Nagios for the first time In-Reply-To: References: Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> > From: Tim Tompson [mailto:tt.rexplay at gmail.com] > > Ok, really dumb question. > > I have successfully configured and installed Nagios, according to: > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html on my > webserver. No problems at all throughout the process. > > My problem comes at step 9. > 9) Login to the Web Interface > > You should now be able to access the Nagios web interface at the URL > below. You'll be prompted for the username (nagiosadmin) and password > you specified earlier. > > http://localhost/nagios/ > > > I installed everything on my server via SSH command line, but now I > need to access localhost, but can't since all I use to connect to my > server is command line driven (ssh). I tried accessing my > serveripaddress/nagios, and no luck - but wouldn't expect that to work > either. > > Anyone know what I should do at this point? Thanks. Look at the apache config (probably /etc/httpd/conf.d/nagios.conf). This will have a 'limit' so that it can only be accessed by '127.0.0.1'. Open that up (i.e. remove the line or add your local subnet). Bounce your httpd. Stuart ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tt.rexplay at gmail.com Thu Mar 11 04:59:47 2010 From: tt.rexplay at gmail.com (Tim Tompson) Date: Wed, 10 Mar 2010 22:59:47 -0500 Subject: Accessing Nagios for the first time In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> Message-ID: My nagios.conf: ## BEGIN APACHE CONFIG SNIPPET - NAGIOS.CONF ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthType Digest AuthName "Nagios Access" AuthUserFile /usr/local/nagios/etc/.digest_pw Require valid-user Alias /nagios "/usr/local/nagios/share" Options None AllowOverride None Order allow,deny Allow from all AuthType Digest AuthName "Nagios Access" AuthUserFile /usr/local/nagios/etc/.digest_pw Require valid-user ## END APACHE CONFIG SNIPPETS I followed the instructions at: http://nagios.sourceforge.net/docs/3_0/cgisecurity.html -- to secure my install, and thats where I got the above .conf file. Its set to "Allow from all", shouldn't that work? On Wed, Mar 10, 2010 at 10:28 PM, Stuart Browne < stuart.browne at ausregistry.com.au> wrote: > > From: Tim Tompson [mailto:tt.rexplay at gmail.com] > > > > Ok, really dumb question. > > > > I have successfully configured and installed Nagios, according to: > > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html on my > > webserver. No problems at all throughout the process. > > > > My problem comes at step 9. > > 9) Login to the Web Interface > > > > You should now be able to access the Nagios web interface at the URL > > below. You'll be prompted for the username (nagiosadmin) and password > > you specified earlier. > > > > http://localhost/nagios/ > > > > > > I installed everything on my server via SSH command line, but now I > > need to access localhost, but can't since all I use to connect to my > > server is command line driven (ssh). I tried accessing my > > serveripaddress/nagios, and no luck - but wouldn't expect that to work > > either. > > > > Anyone know what I should do at this point? Thanks. > > Look at the apache config (probably /etc/httpd/conf.d/nagios.conf). > > This will have a 'limit' so that it can only be accessed by '127.0.0.1'. > Open that up (i.e. remove the line or add your local subnet). Bounce your > httpd. > > Stuart > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ralf.prengel at comline.de Thu Mar 11 07:35:04 2010 From: ralf.prengel at comline.de (prengel) Date: Thu, 11 Mar 2010 07:35:04 +0100 Subject: Grafical Interface searchin alternative for groundworks Message-ID: <4B988F18.2080801@comline.de> Hallo, we are using the free groundworks version for managing nagios. But know we are on a point to have a loook for alternatives beause 1) the support-forum is spammed 2) we don t find answers for our problems 3) we ve several problems -- per processes are started every time instead of running once -- grafics are working some times not a expected The idea behind groundworks is really good but the qualitiy is a problem for us. Any hints and tips. Ralf Prengel Manager Customer Care Comline AG Hauert 8 D-44227 Dortmund/Germany Fon +49 231 97575 904 Fax +49 231 97575 257 Mobil +49 151 10831 157 EMail Ralf.Prengel at comline.de www.comline.de Vorstand Stephan Schilling, Erwin Leonhardi Aufsichtsrat Dr. Franz Schoser (Vorsitzender) HR Dortmund B 14570 USt.-ID-Nr. DE 124727422 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Thu Mar 11 09:30:40 2010 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Thu, 11 Mar 2010 09:30:40 +0100 Subject: active checks vs. passive checks Message-ID: <4B98AA30.6000403@fhv.at> Hi everyone, at the moment I'm playing around with passive checks. maybe I'm to stupid, but will I be on the right way? I've set up a new Server group called "passive-servers' with only one test server called "muninbsd" this server will be monitored like a active server. I've only changed the parameter "active_checks_enabled" to 0 and the parameter "passive_checks_enabled" to 1. "check_freshness" is set to 1 and "check_freshness" is 4800. some services like check_load, check_disk, check_mysql will be done by check_nrpe, started by the nagios main server. Is this the right way to works with passive checks? I've attached my config file "global.cfg" for my passive server. From my side everythinks looks fine, but ... Maybe someone can take a look on it, if it is as it should be ;-) many many thanks Richard P.S.: sorry for my poor english ;-) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: global.cfg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Thu Mar 11 09:44:15 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Thu, 11 Mar 2010 09:44:15 +0100 Subject: active checks vs. passive checks In-Reply-To: <4B98AA30.6000403@fhv.at> References: <4B98AA30.6000403@fhv.at> Message-ID: > Hi everyone, > > at the moment I'm playing around with passive checks. > > maybe I'm to stupid, but will I be on the right way? > > I've set up a new Server group called "passive-servers' with only one test > server called "muninbsd" > > this server will be monitored like a active server. I've only changed the > parameter "active_checks_enabled" to 0 and the parameter > "passive_checks_enabled" to 1. "check_freshness" is set to 1 and > "check_freshness" is 4800. > > some services like check_load, check_disk, check_mysql will be done by > check_nrpe, started by the nagios main server. > > Is this the right way to works with passive checks? > - What is the goal of using passive checks ? A service being defined as passive , means that the result of the status check,for that particular service, is not initiated by NAGIOS but delivered to NAGIOS by an external program, such as NSCA (for instance). NRPE determined checks are initiated by NAGIOS (....). M. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 11 09:48:47 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 11 Mar 2010 08:48:47 +0000 Subject: Grafical Interface searchin alternative for groundworks In-Reply-To: <4B988F18.2080801@comline.de> References: <4B988F18.2080801@comline.de> Message-ID: <765d77c81003110048h7a00fa37wf5109f8bef122901@mail.gmail.com> On 11 March 2010 06:35, prengel wrote: > Hallo, > > we are using the free groundworks version for managing nagios. > But know we are on a point to have a loook for alternatives beause > > 1) > the support-forum is spammed > 2) > we don t find answers for our problems > 3) > we ve several problems > -- per processes are started every time instead of running once > -- grafics are working some times not a expected > > The idea behind groundworks is really good but the qualitiy is a problem > for us. > > Any hints and tips. Yes. 1. Take your complaint to Groundworks Open Source not to this email list. 2. If that doesn't get you anywhere, Take a look in the nagios-users archives for the recent discussion on this subject. The emails have subject "nagios web configurator" and are dated 4th and 5th March. hth, Jim ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Thu Mar 11 10:08:58 2010 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Thu, 11 Mar 2010 10:08:58 +0100 Subject: active checks vs. passive checks In-Reply-To: References: <4B98AA30.6000403@fhv.at> Message-ID: <4B98B32A.8040609@fhv.at> On 3/11/10 9:44 AM Mark Elsen wrote: >> Is this the right way to works with passive checks? Hi Marks, thanks for your replay. and sorry, but its my first time to play with passive checks. > > - What is the goal of using passive checks ? We have some servers, which are located outside from our network and without a permanent connection to our main nagios server. > A service being defined > as passive , means that the result of the status check,for that > particular service, is not > initiated by NAGIOS but delivered to NAGIOS by an external program, > such as NSCA (for instance). > NRPE determined checks are initiated by NAGIOS (....). how do I have to check the services on the servers which are outside of our network? Do I have to install a hole nagios environment (like a second Nagios server?) or only the nagios-plugins, or something else? Let me explane. muninbsd (FreeBSD 7.3) is my first test server for passive checks. Our Main Nagios Server is running nagios-3.2.0 on a FreeBSD 7.2 STABLE Box. On muninbsd I've installed only the nagios-plugins and nrpe (as above, I'll delete the nrpe package). muninbsd# pkg_info | grep -i nagio nagios-plugins-1.4.14,1 Plugins for Nagios nrpe-2.12_1 Nagios Remote Plugin Executor to send the checks results I'll install NSCA (server or client?). sorry for my stubid questions, but after reading some documentation, I can't see any light ... many thanks Richard ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Thu Mar 11 10:40:08 2010 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Thu, 11 Mar 2010 09:40:08 +0000 Subject: Accessing Nagios for the first time In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> Message-ID: <4B98BA78.2080300@aidananderson.co.uk> Tim Tompson wrote: > My nagios.conf: > > ## BEGIN APACHE CONFIG SNIPPET - NAGIOS.CONF > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > > > > Options ExecCGI > > AllowOverride None > > Order allow,deny > > Allow from all > > AuthType Digest > > AuthName "Nagios Access" > > AuthUserFile /usr/local/nagios/etc/.digest_pw > > > Require valid-user > > > > > > Alias /nagios "/usr/local/nagios/share" > > > > Options None > > AllowOverride None > > > Order allow,deny > > Allow from all > > AuthType Digest > > AuthName "Nagios Access" > > AuthUserFile /usr/local/nagios/etc/.digest_pw > > Require valid-user > > > > > ## END APACHE CONFIG SNIPPETS > > I followed the instructions at: > http://nagios.sourceforge.net/docs/3_0/cgisecurity.html -- to secure > my install, and thats where I got the above .conf file. > > Its set to "Allow from all", shouldn't that work? > It should and so should connecting to serveripaddress/nagios. It looks like Apache is your issue. Is it running? Are there other web sites running on the same box? Are they working? Aidan ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Thu Mar 11 11:07:46 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Thu, 11 Mar 2010 11:07:46 +0100 Subject: active checks vs. passive checks In-Reply-To: <4B98B32A.8040609@fhv.at> References: <4B98AA30.6000403@fhv.at> <4B98B32A.8040609@fhv.at> Message-ID: >... > > We have some servers, which are located outside from our network and > without a permanent connection to our main nagios server. > >... >... > > how do I have to check the services on the servers which are outside of > our network? Do I have to install a hole nagios environment (like a > second Nagios server?) or only the nagios-plugins, or something else? > > If there isn't a permanent connection with the NAGIOS server, the issue becomes tricky as even standard passive setups imply that a result can be submitted to NAGIOS at any time. If that is not possible the program which submits the result will fail, when no communication with the NAGIOS server can be established. Hence provisions must be taken, to setup a system which can queue results , and send, information to the NAGIOS server when possible. But this has consequences ,for the NAGIOS operator, which must be aware of the fact that any service status in that case, may be 'time-dilatation-affected' , and may not represent the actual status of the service in current time. This does not mean that such setups will be meaningless, but it depens on SLA levels, w.r.t to the remote service being monitored. M. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Thu Mar 11 12:01:50 2010 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Thu, 11 Mar 2010 12:01:50 +0100 Subject: active checks vs. passive checks In-Reply-To: References: <4B98AA30.6000403@fhv.at> <4B98B32A.8040609@fhv.at> Message-ID: <4B98CD9E.4070905@fhv.at> On 3/11/10 11:07 AM Mark Elsen wrote: >> how do I have to check the services on the servers which are outside of >> our network? Do I have to install a hole nagios environment (like a >> second Nagios server?) or only the nagios-plugins, or something else? >> >> > > If there isn't a permanent connection with the NAGIOS server, the > issue becomes tricky as even standard > passive setups imply that a result can be submitted to NAGIOS at any time. > If that is not possible the program which submits the result will > fail, when no communication with the NAGIOS > server can be established. Hence provisions must be taken, to setup a > system which can queue results , and send, > information to the NAGIOS server when possible. > > But this has consequences ,for the NAGIOS operator, which must be > aware of the fact that any service > status in that case, may be 'time-dilatation-affected' , and may not > represent the actual status of the service in current time. > This does not mean that such setups will be meaningless, but it depens > on SLA levels, w.r.t to the remote service being monitored. Ok, lets talk about, there is a permanent connection available between the application server and the nagios server. You told me, that the passive service- and hostchecks will be done by the applicationserver and NOT by the nagios server. ... I don't know how to set up this ... All configurations for all hosts and services are locally stored on the nagios Server. How are the checks started on the application Server? This is my great question. The results will be send via NSCA from the app.server to the nagios server. OK. this will be another story ;-) Oh my god, send me a flashlight ... thanks Richard. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Thu Mar 11 14:21:45 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 11 Mar 2010 18:51:45 +0530 Subject: Plugin to check memory usage on linux boxes Message-ID: <4B98EE68.7050206@cisco.com> Hi Is there a plugin bundled with nagios-plugins that helps us in checking the memory usage on the linux box. I basically want to know the used memory and the total available , Even if it is given in percentage i am fine. Please let me know if there are plugins to do so. I checked the plugins that come by default in the libexex folder but none are there for checking the memory usage. Thanks Jatin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick.mangus+nagios at gmail.com Thu Mar 11 14:27:47 2010 From: rick.mangus+nagios at gmail.com (Rick Mangus) Date: Thu, 11 Mar 2010 07:27:47 -0600 Subject: active checks vs. passive checks In-Reply-To: <4B98CD9E.4070905@fhv.at> References: <4B98AA30.6000403@fhv.at> <4B98B32A.8040609@fhv.at> <4B98CD9E.4070905@fhv.at> Message-ID: <77c454bb1003110527gdbde6cct461fef067deec253@mail.gmail.com> Reply scattered amidst your mail. :) I hope it is clear. On Thu, Mar 11, 2010 at 5:01 AM, Richard Gliebe wrote: > On 3/11/10 11:07 AM Mark Elsen wrote: >>> how do I have to check the services on the servers which are outside of >>> our network? Do I have to install a hole nagios environment (like a >>> second Nagios server?) or only the nagios-plugins, or something else? >>> >>> >> >> If there isn't a permanent connection with the NAGIOS server, the >> issue becomes tricky as even standard >> passive setups imply that a result can be submitted to NAGIOS at any time. >> If that is not possible the program which submits the result will >> fail, when no communication with the NAGIOS >> server can be established. Hence provisions must be taken, to setup a >> system which can queue results , and send, >> information to the NAGIOS server when possible. >> >> But this has consequences ,for the NAGIOS operator, which must be >> aware of the fact that any service >> status in that case, may be 'time-dilatation-affected' ?, and may not >> represent the actual status of the service in current time. >> This does not mean that such setups will be meaningless, but it depens >> on SLA levels, w.r.t to the remote service being monitored. > > Ok, lets talk about, there is a permanent connection available between > the application server and the nagios server. > Your intermittent connection can be handled several ways. If you don't mind just missing some results, and you connect often enough to avoid stale results on the server, just let your NSCA daemon time out when you can't connect, and hopefully when you are connected you'll get a service check through. If you want to set up a queuing daemon, you'll likely write all your service checks to a file and then have something that checks for connection (or runs at a time when you know your server is available) that will loop through the stored checks. If you're doing anything with performance data, include a timestamp in your perfdata, as you're nagios timestamps will match the time received. > You told me, that the passive service- and hostchecks will be done by > the applicationserver and NOT by the nagios server. > ... I don't know how to set up this ... > I use passive checks throughout my setup, and 99% of them are bash scripts started by cron. You could use "at," or run them by hand, or have a custom program/script that spawns them; what matters here is that passive service (and host) checks are not initiated by the nagios server. You simply connect to the nagios server and tell them your status, on your own schedule. The nagios server will complain if you let the services go "stale" by not updating before the freshness threshold. > All configurations for all hosts and services are locally stored on the > nagios Server. How are the checks started on the application Server? > This is my great question. > The checks are started by your server, nagios is not involved. See above comment re: cron. Your scripts will need to know the service name that they are updating on the nagios server, and almost nothing else about your nagios config. The messages sent by NSCA have the format "$HOSTNAME\t$SERVICENAME\t$SERVICESTATEID\t$SERVICEOUTPUT|$PERFDATA" This gives the nagios server enough information to identify which service on which host is being updated. > The results will be send via NSCA from the app.server to the nagios > server. OK. this will be another story ;-) > You have the right idea, here. > Oh my god, send me a flashlight ... > It is pitch black. You are likely to be eaten by a grue. > thanks > Richard. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Good luck, and I hope I have been helpful! --Rick ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Thu Mar 11 14:36:31 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Thu, 11 Mar 2010 14:36:31 +0100 Subject: Plugin to check memory usage on linux boxes In-Reply-To: <4B98EE68.7050206@cisco.com> References: <4B98EE68.7050206@cisco.com> Message-ID: > Hi > > Is there a plugin bundled with nagios-plugins that helps us in checking > the memory usage on the linux box. I basically want to know the used > memory and the total available , Even if it is given in percentage i am > fine. Please let me know if there are plugins to do so. > > I checked the plugins that come by default in the libexex folder but > none are there for checking the memory usage. > > I use : 'check_snmp_mem' ; yet you have to make sure that the snmp configuration file on the targeted Linux box, allows access to the MIB Subtree, containing the queried variables. M. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick.mangus+nagios at gmail.com Thu Mar 11 15:04:32 2010 From: rick.mangus+nagios at gmail.com (Rick Mangus) Date: Thu, 11 Mar 2010 08:04:32 -0600 Subject: Plugin to check memory usage on linux boxes In-Reply-To: References: <4B98EE68.7050206@cisco.com> Message-ID: <77c454bb1003110604y209ebbffg14d7281d6bac9f78@mail.gmail.com> On Thu, Mar 11, 2010 at 7:36 AM, Mark Elsen wrote: >> Hi >> >> Is there a plugin bundled with nagios-plugins that helps us in checking >> the memory usage on the linux box. I basically want to know the used >> memory and the total available , Even if it is given in percentage i am >> fine. Please let me know if there are plugins to do so. >> >> I checked the plugins that come by default in the libexex folder but >> none are there for checking the memory usage. >> >> > ?I use : 'check_snmp_mem' ; yet you have to make sure that the snmp > configuration file on the targeted > Linux box, allows access to the MIB Subtree, containing the queried variables. > > M. > I just use a bash script (passive check) that does the following: #Get the amount of RAM used ram_used=`free | grep Mem | awk '{ print $3 }'` #Get the total amount of RAM total_ram=`free | grep Mem | awk '{ print $2 }'` #Calculate the percent of RAM used percent_ram_used=$((100 * ram_used / total_ram)) #Get the amount of swap used swap_used=`free | grep Swap | awk '{ print $3 }'` --Rick ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daveyjatin at gmail.com Thu Mar 11 15:16:17 2010 From: daveyjatin at gmail.com (Jatin) Date: Thu, 11 Mar 2010 19:46:17 +0530 Subject: Plugin to check memory usage on linux boxes In-Reply-To: References: <4B98EE68.7050206@cisco.com> Message-ID: <4B98FB31.9060805@gmail.com> Mark Elsen wrote: >> Hi >> >> Is there a plugin bundled with nagios-plugins that helps us in checking >> the memory usage on the linux box. I basically want to know the used >> memory and the total available , Even if it is given in percentage i am >> fine. Please let me know if there are plugins to do so. >> >> I checked the plugins that come by default in the libexex folder but >> none are there for checking the memory usage. >> >> >> > I use : 'check_snmp_mem' ; yet you have to make sure that the snmp > configuration file on the targeted > Linux box, allows access to the MIB Subtree, containing the queried variables. > > M. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Hi Mark I saw the website : http://nagios.manubulon.com/snmp_mem.html I have a few questions: 1. When i click on the download version 1.1 , i get one text file with some code in it , What do i need to with this file ?? 2. I have net-snmp installed on the target machine , Do i have to do anything other than this to get this plugin to work ?? Thanks Jatin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Thu Mar 11 15:19:53 2010 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Thu, 11 Mar 2010 15:19:53 +0100 Subject: active checks vs. passive checks In-Reply-To: <77c454bb1003110527gdbde6cct461fef067deec253@mail.gmail.com> References: <4B98AA30.6000403@fhv.at> <4B98B32A.8040609@fhv.at> <4B98CD9E.4070905@fhv.at> <77c454bb1003110527gdbde6cct461fef067deec253@mail.gmail.com> Message-ID: <4B98FC09.70505@fhv.at> On 3/11/10 2:27 PM Rick Mangus wrote: Hi Rick, > The checks are started by your server, nagios is not involved. See > above comment re: cron. Your scripts will need to know the service > name that they are updating on the nagios server, and almost nothing > else about your nagios config. The messages sent by NSCA have the > format "$HOSTNAME\t$SERVICENAME\t$SERVICESTATEID\t$SERVICEOUTPUT|$PERFDATA" > This gives the nagios server enough information to identify which > service on which host is being updated. OK, this means for me: on my app.server I don't need any nagios binaries like nagios-plugins, nagios.cmd, and so on. EXAMPLE: outside of our nagios server, there is a little linux box and some color printers attached on there network ;-) Now I want to check the color cartridges with snmp from the linux box in the outback. In Nagios there is already the host_check for the printer(s) and service_checks for the color cartridges defined with passive_check_enabled. Now I have to create as bash script to check the cartridges on the linux box, which will be run by hand, cron, at, ... and the result will be sent by NSCA to the nagios Server. My, maybe, last big question: which output do I have generate from my script for nagios? ... or ... do you have a simple example for me? This will be great and you will be welcome, if you plan a turn to austria ;-) >> The results will be send via NSCA from the app.server to the nagios >> server. OK. this will be another story ;-) >> > > You have the right idea, here. > >> Oh my god, send me a flashlight ... >> > > It is pitch black. You are likely to be eaten by a grue. thats my cruel fate ;-) thanks in advance Richard ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Thu Mar 11 15:28:03 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Thu, 11 Mar 2010 15:28:03 +0100 Subject: Plugin to check memory usage on linux boxes In-Reply-To: <4B98FB31.9060805@gmail.com> References: <4B98EE68.7050206@cisco.com> <4B98FB31.9060805@gmail.com> Message-ID: > Hi Mark > > I saw the website : http://nagios.manubulon.com/snmp_mem.html > > I have a few questions: > > 1. When i click on the download version 1.1 , i get one text file with > some code in it , What do i need to with this file ?? Save it as a perl script; in the libexec dir of your NAGIOS distribution. Make sure the path to perl is set correct. > > 2. I have net-snmp installed on the target machine , Do i have to do > anything other than this to get this plugin to work ?? > Give it a go , as such. Check for any errors. M. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Thu Mar 11 15:39:15 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Thu, 11 Mar 2010 14:39:15 +0000 Subject: problem creating hostgroup Message-ID: <126dc2681003110639w213408ferbbdb9a229759fff0@mail.gmail.com> Hi all, When I restart after adding this host-group using split.cfg I get the following. Running configuration check. CONFIG ERROR! Restart aborted. Check your Nagios configuration I have server a definition for it. if I comment the lines out, the resatrt is successful. I am just missing something??? This is what my hostgroup definition looks like define hostgroup{ hostgroup_name Linux_group alias No_Call-Out members svrlinux01 } Any ideas that can help me out here? I have server a definition for it. if I comment the lines out, the resatrt is successful. Regards and thanks for all the help so far, learned a lot, Gezina -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Thu Mar 11 15:41:22 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Thu, 11 Mar 2010 14:41:22 +0000 Subject: problem creatin hostgroup Message-ID: <126dc2681003110641k378be097xcee997fdf13627a5@mail.gmail.com> Hi all, When I restart after adding this host-group using split.cfg I get the following. Running configuration check. CONFIG ERROR! Restart aborted. Check your Nagios configuration I have server a definition for it. if I comment the lines out, the resatrt is successful. I am just missing something??? This is what my hostgroup definition looks like define hostgroup{ hostgroup_name Linux_group alias No_Call-Out members svrlinux01 } Any ideas that can help me out ? Regards and thanks for all the help so far, learned a lot, Gezina -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Thu Mar 11 16:01:45 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Thu, 11 Mar 2010 15:01:45 +0000 Subject: hostgroup definition In-Reply-To: <4B97CFAF.4040100@flatto.net> References: <126dc2681003100849w47d7cd6ej15c85fd8976c41f1@mail.gmail.com> <4B97CFAF.4040100@flatto.net> Message-ID: <126dc2681003110701j3701f768uda81f5fa6c92bf6f@mail.gmail.com> Assaf, Thank you fro the reply, but the command does not give me any reply-back. I suppose it is because the problem is not in nagios .cfg, but in hostgroup.cfg. I have tried to nverivy hostgroup.cfg this way, but it days that the name looks suspicious... Regards Gezina > Running configuration check. CONFIG ERROR! Restart aborted. Check > > your Nagios configuration > > > > > > I have server a definition for it. if I comment the lines out, the > > resatrt is successful. > > > > I am just missing something??? > > > > Regards and thanks for all the help so far, learned a lot, > > > > Gezina > try running this command > > /path/to/nagios -v /path/to/nagios.cfg > > this will give you some indication as to your problem. > > > Assaf > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daveyjatin at gmail.com Thu Mar 11 16:10:03 2010 From: daveyjatin at gmail.com (Jatin) Date: Thu, 11 Mar 2010 20:40:03 +0530 Subject: Plugin to check memory usage on linux boxes In-Reply-To: References: <4B98EE68.7050206@cisco.com> <4B98FB31.9060805@gmail.com> Message-ID: <4B9907CB.3060000@gmail.com> Mark Elsen wrote: >> Hi Mark >> >> I saw the website : http://nagios.manubulon.com/snmp_mem.html >> >> I have a few questions: >> >> 1. When i click on the download version 1.1 , i get one text file with >> some code in it , What do i need to with this file ?? >> > > Save it as a perl script; in the libexec dir of your NAGIOS distribution. > Make sure the path to perl is set correct. > > >> 2. I have net-snmp installed on the target machine , Do i have to do >> anything other than this to get this plugin to work ?? >> >> > > Give it a go , as such. Check for any errors. > > M. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Should it be placed at both the nagios server and the target box which is being monitored ?? Thanks Jatin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Charles.Breite at altertrading.com Thu Mar 11 16:15:25 2010 From: Charles.Breite at altertrading.com (Charles Breite) Date: Thu, 11 Mar 2010 09:15:25 -0600 Subject: hostgroup definition In-Reply-To: <126dc2681003110701j3701f768uda81f5fa6c92bf6f@mail.gmail.com> References: <126dc2681003100849w47d7cd6ej15c85fd8976c41f1@mail.gmail.com><4B97CFAF.4040100@flatto.net> <126dc2681003110701j3701f768uda81f5fa6c92bf6f@mail.gmail.com> Message-ID: <5D490E0402B4D14F836B5C4436D5949AEBA832@VMEXCHANGE2.alterscrap.com> When you run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg (this is the default path your may be different) It verifies the other configs you have specified in Nagios.cfg. Your errors are coming from nagios.cfg verification. Does that make sense? From: Gezina Dekker [mailto:gezinker at gmail.com] Sent: Thursday, March 11, 2010 9:02 AM To: Nagios Users List Subject: Re: [Nagios-users] hostgroup definition Assaf, Thank you fro the reply, but the command does not give me any reply-back. I suppose it is because the problem is not in nagios .cfg, but in hostgroup.cfg. I have tried to nverivy hostgroup.cfg this way, but it days that the name looks suspicious... Regards Gezina > Running configuration check. CONFIG ERROR! Restart aborted. Check > your Nagios configuration > > > I have server a definition for it. if I comment the lines out, the > resatrt is successful. > > I am just missing something??? > > Regards and thanks for all the help so far, learned a lot, > > Gezina try running this command this will give you some indication as to your problem. Assaf ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Charles.Breite at altertrading.com Thu Mar 11 15:57:11 2010 From: Charles.Breite at altertrading.com (Charles Breite) Date: Thu, 11 Mar 2010 08:57:11 -0600 Subject: problem creatin hostgroup In-Reply-To: <126dc2681003110641k378be097xcee997fdf13627a5@mail.gmail.com> References: <126dc2681003110641k378be097xcee997fdf13627a5@mail.gmail.com> Message-ID: <5D490E0402B4D14F836B5C4436D5949AEBA821@VMEXCHANGE2.alterscrap.com> Check your config. /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg From: Gezina Dekker [mailto:gezinker at gmail.com] Sent: Thursday, March 11, 2010 8:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] problem creatin hostgroup Hi all, When I restart after adding this host-group using split.cfg I get the following. Running configuration check. CONFIG ERROR! Restart aborted. Check your Nagios configuration I have server a definition for it. if I comment the lines out, the resatrt is successful. I am just missing something??? This is what my hostgroup definition looks like define hostgroup{ hostgroup_name Linux_group alias No_Call-Out members svrlinux01 } Any ideas that can help me out ? Regards and thanks for all the help so far, learned a lot, Gezina -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Thu Mar 11 16:16:17 2010 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Thu, 11 Mar 2010 15:16:17 +0000 Subject: problem creating hostgroup In-Reply-To: <126dc2681003110639w213408ferbbdb9a229759fff0@mail.gmail.com> References: <126dc2681003110639w213408ferbbdb9a229759fff0@mail.gmail.com> Message-ID: <4B990941.7050502@aidananderson.co.uk> Gezina Dekker wrote: > Hi all, > > When I restart after adding this host-group using split.cfg I get the > following. > > Running configuration check. CONFIG ERROR! Restart aborted. Check > your Nagios configuration > > I have server a definition for it. if I comment the lines out, the > resatrt is successful. > > I am just missing something??? > > This is what my hostgroup definition looks like > > define hostgroup{ > hostgroup_name Linux_group > alias No_Call-Out > members svrlinux01 > } > > Any ideas that can help me out here? > > I have server a definition for it. if I comment the lines out, the > resatrt is successful. > > Regards and thanks for all the help so far, learned a lot, > > Gezina Looks like a typo, did you mean to add the member as svrlinux01 or srvlinux01? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick.mangus+nagios at gmail.com Thu Mar 11 16:19:27 2010 From: rick.mangus+nagios at gmail.com (Rick Mangus) Date: Thu, 11 Mar 2010 09:19:27 -0600 Subject: active checks vs. passive checks In-Reply-To: <4B98FC09.70505@fhv.at> References: <4B98AA30.6000403@fhv.at> <4B98B32A.8040609@fhv.at> <4B98CD9E.4070905@fhv.at> <77c454bb1003110527gdbde6cct461fef067deec253@mail.gmail.com> <4B98FC09.70505@fhv.at> Message-ID: <77c454bb1003110719m69441619rb24ed3c38e9ed15f@mail.gmail.com> On Thu, Mar 11, 2010 at 8:19 AM, Richard Gliebe wrote: > On 3/11/10 2:27 PM Rick Mangus wrote: > > Hi Rick, > >> The checks are started by your server, nagios is not involved. ?See >> above comment re: cron. ?Your scripts will need to know the service >> name that they are updating on the nagios server, and almost nothing >> else about your nagios config. ?The messages sent by NSCA have the >> format "$HOSTNAME\t$SERVICENAME\t$SERVICESTATEID\t$SERVICEOUTPUT|$PERFDATA" >> ?This gives the nagios server enough information to identify which >> service on which host is being updated. > > OK, this means for me: > on my app.server I don't need any nagios binaries like nagios-plugins, > nagios.cmd, and so on. > > EXAMPLE: outside of our nagios server, there is a little linux box and > some color printers attached on there network ;-) > Now I want to check the color cartridges with snmp from the linux box in > the outback. > > In Nagios there is already the host_check for the printer(s) and > service_checks for the color cartridges defined with passive_check_enabled. > > Now I have to create as bash script to check the cartridges on the linux > box, which will be run by hand, cron, at, ... > > and the result will be sent by NSCA to the nagios Server. > > My, maybe, last big question: > > which output do I have generate from my script for nagios? > > ... or ... > > do you have a simple example for me? Here is a simple example. I have a list of processes I want to make sure are running, so I create a variable 'proc_names' with a list of them, then: host_name=`hostname` for proc in $proc_names; do service_description=process_$proc if pidof $proc >> /dev/null; then SERVICESTATEID=0 SERVICEOUTPUT="$host_name $proc process OK" else SERVICESTATEID=2 SERVICEOUTPUT="$host_name $proc process needs attention" fi #Send to Nagios echo -e "$host_name\t$service_description\t$SERVICESTATEID\t$SERVICEOUTPUT\n" | /usr/local/nagios/bin/send_nsca -H $monitor_host1 -c /usr/local/nagios/etc/send_nsca.cfg > /dev/null 2>&1 done > This will be great and you will be welcome, if you plan a turn to > austria ;-) > Careful! I love to travel and I honestly don't know what country I'll be in tomorrow evening. :) My bag is packed for somewhere tropical, but I have standby tickets to anywhere. ;) > >>> The results will be send via NSCA from the app.server to the nagios >>> server. OK. this will be another story ;-) >>> >> >> You have the right idea, here. >> >>> Oh my god, send me a flashlight ... >>> >> >> It is pitch black. You are likely to be eaten by a grue. > > thats my cruel fate ;-) > > thanks in advance Glad to help, or try, anyways. :) > Richard > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Mar 11 16:20:43 2010 From: marc at ena.com (Marc Powell) Date: Thu, 11 Mar 2010 09:20:43 -0600 Subject: problem creatin hostgroup In-Reply-To: <126dc2681003110641k378be097xcee997fdf13627a5@mail.gmail.com> References: <126dc2681003110641k378be097xcee997fdf13627a5@mail.gmail.com> Message-ID: <3FA6D3DC-4479-480D-94F7-54493B9AEA12@ena.com> On Mar 11, 2010, at 8:41 AM, Gezina Dekker wrote: > Hi all, > > When I restart after adding this host-group using split.cfg I get the following. > Running configuration check. CONFIG ERROR! Restart aborted. Check your Nagios configuration > > I have server a definition for it. if I comment the lines out, the resatrt is successful. > > I am just missing something??? Did you follow the suggestion from Assaf in the response your original post yesterday? That's how you'll know what you need to fix. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nigel.leach at uk.bnpparibas.com Thu Mar 11 16:07:25 2010 From: nigel.leach at uk.bnpparibas.com (nigel.leach at uk.bnpparibas.com) Date: Thu, 11 Mar 2010 15:07:25 +0000 Subject: Inverting check_snmp status Message-ID: RHEL AS4 U6 Nagios v3.2.0 check_snmp v1.4.14 A small and annoying problem, that I'm hoping will have some whizzy easy fix. I use check_snmp to get the location and contact details of my servers. Something like this ./check_snmp -H localhost -o sysLocation.0 -l "" OK - London XX YYY This, of course, assumes snmpd.comf has been populated correctly. If it hasn't I get something like this ./check_snmp -H localhost -o sysLocation.0 -l "" OK - Unknown (edit /etc/snmp/snmpd.conf) | I'd like this to produce a warning, and thought I could achieve this with a regular expression, but haven't been able to yet. Is there any way I can invert a regex, or use thresholds to force a NOTOK status. This doesn't work ./check_snmp -H localhost -o sysLocation.0 -l "" -r "!etc" -bash: !etc: event not found Not urgent, but any help much appreciated. Regards Nigel ___________________________________________________________ This communication is confidential, may be privileged and is meant only for the intended recipient. If you are not the intended recipient, please notify the sender by reply and delete the message from your system. Any unauthorised dissemination, distribution or copying hereof is prohibited. BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, BNP Paribas Commodity Futures Limited, BNP Paribas Asset Management UK Limited and Investment Fund Services Limited are authorised and regulated by the Financial Services Authority. BNP Paribas London Branch and BNP Paribas Wealth Management London Branch are authorised by the CECEI and supervised by the Commission Bancaire. BNP Paribas London Branch is authorised and subject to limited regulation by the Financial Services Authority. Details about the extent of our authorisation and regulation by the Financial Services Authority are available from us on request. BNP Paribas is also a member of the London Stock Exchange. BNP Paribas Wealth Management London Branch is subject to limited regulation by the Financial Services Authority. Details about the extent of our authorisation and regulation by the Financial Services Authority are available from us on request. BNP Paribas Securities Services London Branch is authorised by the CECEI and supervised by the AMF, and subject to limited regulation by the Financial Services Authority. Details on the extent of our regulation by the Financial Services Authority are available from us on request. BNP Paribas Securities Services is also a member of the London Stock Exchange. BNP Paribas Trust Corporation UK Limited is registered in England and Wales (registered no. 4042668) at registered office 55 Moorgate, London EC2R 6PA. BNP Paribas UK Limited is registered in England and Wales (registered no. 1488108) at registered office 10 Harewood Avenue, London NW1 6AA. BNP Paribas Commodity Futures Limited is registered in England and Wales (registered no. 2391477) at registered office 10 Harewood Avenue, London NW1 6AA. BNP Paribas Asset Management UK Limited is registered in England and Wales (registered no. 2474627) at registered office 10 Harewood Avenue, London NW1 6AA. Investment Fund Services Limited is registered in England and Wales (registered no. 6110770) at registered office 55 Moorgate, London EC2R 6PA. BNP Paribas London Branch is registered in England and Wales (registered no. FC13447) at registered office 10 Harewood Avenue, London NW1 6AA. BNP Paribas Wealth Management London Branch is registered in England and Wales (registered no. FC023926) at registered office 10 Harewood Avenue, London NW1 6AA. BNP Paribas Securities Services London Branch is registered in England and Wales (registered no. BR006393) at registered office 55 Moorgate, London, EC2R 6PA. BNP Paribas Lease Group Plc is registered in England and Wales (registered no. 2341989) at registered office Northern Cross, Basing View, Basingstoke, Hampshire RG21 4HL. ____________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick.mangus+nagios at gmail.com Thu Mar 11 16:23:04 2010 From: rick.mangus+nagios at gmail.com (Rick Mangus) Date: Thu, 11 Mar 2010 09:23:04 -0600 Subject: hostgroup definition In-Reply-To: <126dc2681003110701j3701f768uda81f5fa6c92bf6f@mail.gmail.com> References: <126dc2681003100849w47d7cd6ej15c85fd8976c41f1@mail.gmail.com> <4B97CFAF.4040100@flatto.net> <126dc2681003110701j3701f768uda81f5fa6c92bf6f@mail.gmail.com> Message-ID: <77c454bb1003110723w7aa9b52bpe9ece2d73f2b185c@mail.gmail.com> If the hostgroup.cfg is included by nagios.cfg even indirectly, "nagios -v nagios.cfg" will include it in verification. It's not just verifying syntax or something else that can be done file-by-file, it checks to make sure that all references in the entire config to hosts and groups are defined and so on. --Rick On Thu, Mar 11, 2010 at 9:01 AM, Gezina Dekker wrote: > Assaf, > > Thank you fro the reply, but the command does not?give me any reply-back. I > suppose it is because the problem is not in nagios .cfg, but in > hostgroup.cfg. I have tried to nverivy hostgroup.cfg this way, but it days > that the name looks suspicious... > > Regards > > Gezina > >> > Running configuration check. CONFIG ERROR! ?Restart aborted. ?Check >> > your Nagios configuration >> > >> > >> > I have server a definition for it. if I comment the lines out, the >> > resatrt is successful. >> > >> > I am just missing something??? >> > >> > Regards and thanks for all the help so far, learned a lot, >> > >> > Gezina >> try running this command >> >> /path/to/nagios -v /path/to/nagios.cfg >> >> this will give you some indication as to your problem. >> >> >> Assaf >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Quentin.Marquez at experian.com Thu Mar 11 16:02:48 2010 From: Quentin.Marquez at experian.com (Marquez, Quentin) Date: Thu, 11 Mar 2010 15:02:48 -0000 Subject: problem creatin hostgroup In-Reply-To: <126dc2681003110641k378be097xcee997fdf13627a5@mail.gmail.com> References: <126dc2681003110641k378be097xcee997fdf13627a5@mail.gmail.com> Message-ID: <28D49132D5CF31498C9C381879963AD74A0C33@exch-mon-msg01.uk.experian.local> /path/to/nagios -v /path/to/nagios.cfg ...will give you more details. Already posted by someone else yesterday or 2 days ago. Cheers, Quentin From: Gezina Dekker [mailto:gezinker at gmail.com] Sent: 11 March 2010 15:41 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] problem creatin hostgroup Hi all, When I restart after adding this host-group using split.cfg I get the following. Running configuration check. CONFIG ERROR! Restart aborted. Check your Nagios configuration I have server a definition for it. if I comment the lines out, the resatrt is successful. I am just missing something??? This is what my hostgroup definition looks like define hostgroup{ hostgroup_name Linux_group alias No_Call-Out members svrlinux01 } Any ideas that can help me out ? Regards and thanks for all the help so far, learned a lot, Gezina This e-mail has come from Experian, the only business to have been twice named the UK's 'Business of the Year? =================================================================================== Information in this e-mail and any attachments is confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other binding commitment through the use of this electronic communication unless it is issued in accordance with the Experian Limited standard terms and conditions of purchase or other express written agreement between Experian Limited and the recipient. Although Experian has taken reasonable steps to ensure that this communication and any attachments are free from computer virus, you are advised to take your own steps to ensure that they are actually virus free. Companies Act information: Registered name: Experian Limited Registered office: Landmark House, Experian Way, NG2 Business Park, Nottingham, NG80 1ZZ, United Kingdom Place of registration: England and Wales Registered number: 653331 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete at stuff-done.co.uk Thu Mar 11 16:08:19 2010 From: pete at stuff-done.co.uk (Pete Dewell) Date: Thu, 11 Mar 2010 15:08:19 +0000 Subject: problem creatin hostgroup In-Reply-To: <126dc2681003110641k378be097xcee997fdf13627a5@mail.gmail.com> References: <126dc2681003110641k378be097xcee997fdf13627a5@mail.gmail.com> Message-ID: <4B990763.5060605@stuff-done.co.uk> Try running nagios -v /path/to/nagios.cfg from the command line This should give you a few more clues as to where the error is. The hostgroup config looks OK, provided that there is a host definition for svrlinux01 and you have a service defined for it. P Gezina Dekker wrote: > Hi all, > > When I restart after adding this host-group using split.cfg I get the > following. > > Running configuration check. CONFIG ERROR! Restart aborted. Check your > Nagios configuration > > I have server a definition for it. if I comment the lines out, the > resatrt is successful. > > I am just missing something??? > > This is what my hostgroup definition looks like > > define hostgroup{ > hostgroup_name Linux_group > alias No_Call-Out > members svrlinux01 > } > > Any ideas that can help me out ? > > Regards and thanks for all the help so far, learned a lot, > > Gezina > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Thu Mar 11 16:59:54 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Thu, 11 Mar 2010 16:59:54 +0100 Subject: Plugin to check memory usage on linux boxes In-Reply-To: <4B9907CB.3060000@gmail.com> References: <4B98EE68.7050206@cisco.com> <4B98FB31.9060805@gmail.com> <4B9907CB.3060000@gmail.com> Message-ID: > Should it be placed at both the nagios server and the target box which > is being monitored ?? > No (NAGIOS server only), by definition, because it queries the SNMP daemon on the remote Linux box, for the required memory stats. M. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gezinker at gmail.com Thu Mar 11 17:48:43 2010 From: gezinker at gmail.com (Gezina Dekker) Date: Thu, 11 Mar 2010 16:48:43 +0000 Subject: problem creatin hostgroup In-Reply-To: <5D490E0402B4D14F836B5C4436D5949AEBA821@VMEXCHANGE2.alterscrap.com> References: <126dc2681003110641k378be097xcee997fdf13627a5@mail.gmail.com> <5D490E0402B4D14F836B5C4436D5949AEBA821@VMEXCHANGE2.alterscrap.com> Message-ID: <126dc2681003110848l2c0155d7kde2986a2e5f8e098@mail.gmail.com> Thanks for all the mails. The command below could not catch this one. You can test it yourself by inserting a wrong name in members, and see if the command pics it up. It does not. The problem was that the names specified in the individual server cfg files (first line, after define host,host_name) the host_name was serverone.vodacom.com with an alias of serverone, and in the host_group it was only serverone without the domain name. This mismatch caused the problem... tricky to spot if it is the first time... Thank you all for your help. Hope that the questions and subsequent answers I generated will make it easier on those to try it in the future. Regards Gezina 2010/3/11 Charles Breite > Check your config. > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > > > > > *From:* Gezina Dekker [mailto:gezinker at gmail.com] > *Sent:* Thursday, March 11, 2010 8:41 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] problem creatin hostgroup > > > > Hi all, > > > > When I restart after adding this host-group using split.cfg I get the > following. > > Running configuration check. CONFIG ERROR! Restart aborted. Check your > Nagios configuration > > I have server a definition for it. if I comment the lines out, the resatrt > is successful. > > > > I am just missing something??? > > > > This is what my hostgroup definition looks like > > > > define hostgroup{ > hostgroup_name Linux_group > alias No_Call-Out > members svrlinux01 > } > > > > Any ideas that can help me out ? > > > > Regards and thanks for all the help so far, learned a lot, > > > > Gezina > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 11 18:16:32 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 11 Mar 2010 17:16:32 +0000 Subject: problem creating hostgroup In-Reply-To: <126dc2681003110639w213408ferbbdb9a229759fff0@mail.gmail.com> References: <126dc2681003110639w213408ferbbdb9a229759fff0@mail.gmail.com> Message-ID: <765d77c81003110916n1f0b9537qe054cf5f39ea7856@mail.gmail.com> On 11 March 2010 14:39, Gezina Dekker wrote: > Hi all, > > When I restart after adding this host-group using split.cfg I get the > following. > > Running configuration check. CONFIG ERROR!? Restart aborted.? Check your > Nagios configuration To check your nagios configuration, enter: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg This might give you a better clue as to where your problem lies. hth, Jim ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tt.rexplay at gmail.com Thu Mar 11 18:44:41 2010 From: tt.rexplay at gmail.com (Tim Tompson) Date: Thu, 11 Mar 2010 12:44:41 -0500 Subject: Accessing Nagios for the first time In-Reply-To: <4B98BA78.2080300@aidananderson.co.uk> References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> <4B98BA78.2080300@aidananderson.co.uk> Message-ID: Apache is working: "Apache is functioning normally" Yes, I have a few other sites on this box, all functioning properly. When I navigate to myserverip/nagios I get a 404 Not Found. :( On Thu, Mar 11, 2010 at 4:40 AM, Aidan Anderson wrote: > Tim Tompson wrote: > > My nagios.conf: > > > > ## BEGIN APACHE CONFIG SNIPPET - NAGIOS.CONF > > > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > > > > > > > > > Options ExecCGI > > > > AllowOverride None > > > > Order allow,deny > > > > Allow from all > > > > AuthType Digest > > > > AuthName "Nagios Access" > > > > AuthUserFile /usr/local/nagios/etc/.digest_pw > > > > > > Require valid-user > > > > > > > > > > > > Alias /nagios "/usr/local/nagios/share" > > > > > > > > Options None > > > > AllowOverride None > > > > > > Order allow,deny > > > > Allow from all > > > > AuthType Digest > > > > AuthName "Nagios Access" > > > > AuthUserFile /usr/local/nagios/etc/.digest_pw > > > > Require valid-user > > > > > > > > > > ## END APACHE CONFIG SNIPPETS > > > > I followed the instructions at: > > http://nagios.sourceforge.net/docs/3_0/cgisecurity.html -- to secure > > my install, and thats where I got the above .conf file. > > > > Its set to "Allow from all", shouldn't that work? > > > > It should and so should connecting to serveripaddress/nagios. It looks > like Apache is your issue. Is it running? Are there other web sites > running on the same box? Are they working? > > Aidan > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rtanner at linfield.edu Thu Mar 11 19:28:58 2010 From: rtanner at linfield.edu (Rob Tanner) Date: Thu, 11 Mar 2010 10:28:58 -0800 Subject: Acknowledgement notifications, getting details Message-ID: Hi, When an acknowledgement notification gets sent, it includes the hostname, the state and the IP address, and that?s all. I would also like to see the time and date, the name of the tech that acknowledged the problem, and the text of his or her comment. I presume the command I need to modify is notify-by-email in misccommand.cfg, but the command line includes ?Date/Time: $LONGDATETIME$? while all I see in the actual email message is ?Date/Time: $?. Any idea what?s going on? Thanks, Rob Rob Tanner UNIX Services Manager Linfield College, McMinnville Oregon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Thu Mar 11 21:07:07 2010 From: mitsuto at gmail.com (Marcel) Date: Thu, 11 Mar 2010 17:07:07 -0300 Subject: Acknowledgement notifications, getting details In-Reply-To: <2dfcbd1b1003111206n23ff56ecsd718563a9c427917@mail.gmail.com> References: <2dfcbd1b1003111206n23ff56ecsd718563a9c427917@mail.gmail.com> Message-ID: <2dfcbd1b1003111207u6e239a86m15f0de0dca91276c@mail.gmail.com> Ops, my USER10 macro is to place a link for the service in question. On Thu, Mar 11, 2010 at 5:06 PM, Marcel wrote: > there is the notify-service-bby-email command, you should try: > > # 'notify-service-by-email' command definition > define command{ > command_name notify-service-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification > Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: > $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $LONGDATETIME$\n\nAdditional > > Info:\n\n$SERVICEOUTPUT$\n$LONGSERVICEOUTPUT$\n\n$USER10$?host=$HOSTNAME$\n\n$S > ERVICEACKCOMMENT$\n$SERVICEACKAUTHORALIAS$" | /bin/mail -s "** > $NOTIFICATIONTYPE > $ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" > $CONTACTEMAIL$ > } > > > On Thu, Mar 11, 2010 at 3:28 PM, Rob Tanner wrote: > >> Hi, >> >> When an acknowledgement notification gets sent, it includes the hostname, >> the state and the IP address, and that?s all. I would also like to see the >> time and date, the name of the tech that acknowledged the problem, and the >> text of his or her comment. I presume the command I need to modify is >> notify-by-email in misccommand.cfg, but the command line includes >> ?Date/Time: $LONGDATETIME$? while all I see in the actual email message is >> ?Date/Time: $?. >> >> Any idea what?s going on? >> >> Thanks, >> Rob >> >> >> >> *Rob Tanner >> *UNIX Services Manager >> Linfield College, McMinnville Oregon >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Thu Mar 11 21:06:29 2010 From: mitsuto at gmail.com (Marcel) Date: Thu, 11 Mar 2010 17:06:29 -0300 Subject: Acknowledgement notifications, getting details In-Reply-To: References: Message-ID: <2dfcbd1b1003111206n23ff56ecsd718563a9c427917@mail.gmail.com> there is the notify-service-bby-email command, you should try: # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n$LONGSERVICEOUTPUT$\n\n$USER10$?host=$HOSTNAME$\n\n$S ERVICEACKCOMMENT$\n$SERVICEACKAUTHORALIAS$" | /bin/mail -s "** $NOTIFICATIONTYPE $ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } On Thu, Mar 11, 2010 at 3:28 PM, Rob Tanner wrote: > Hi, > > When an acknowledgement notification gets sent, it includes the hostname, > the state and the IP address, and that?s all. I would also like to see the > time and date, the name of the tech that acknowledged the problem, and the > text of his or her comment. I presume the command I need to modify is > notify-by-email in misccommand.cfg, but the command line includes > ?Date/Time: $LONGDATETIME$? while all I see in the actual email message is > ?Date/Time: $?. > > Any idea what?s going on? > > Thanks, > Rob > > > > *Rob Tanner > *UNIX Services Manager > Linfield College, McMinnville Oregon > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Charles.Breite at altertrading.com Thu Mar 11 21:48:03 2010 From: Charles.Breite at altertrading.com (Charles Breite) Date: Thu, 11 Mar 2010 14:48:03 -0600 Subject: Acknowledgement notifications, getting details In-Reply-To: <2dfcbd1b1003111206n23ff56ecsd718563a9c427917@mail.gmail.com> References: <2dfcbd1b1003111206n23ff56ecsd718563a9c427917@mail.gmail.com> Message-ID: <5D490E0402B4D14F836B5C4436D5949AEBA903@VMEXCHANGE2.alterscrap.com> Heres is the one we use which give all those details. command_line $USER1$/mime_mail "[NG] $HOSTNAME$ $HOSTSTATE$" "Type: $NOTIFICATIONTYPE$\\nHost: $HOSTACKAUTHOR$\\nInfo: $HOSTACKCOMMENT$\\nComment: $SERVICEACKAUTHOR$\\nInfo: $SERVICEACKCOMMENT$\\nComment: $HOSTNAME$\\nState: $HOSTSTATE$\\nAddress: $HOSTADDRESS$\\nInfo: $HOSTOUTPUT$\\nDate/Time: $LONGDATETIME$\\n" $CONTACTEMAIL$ From: Marcel [mailto:mitsuto at gmail.com] Sent: Thursday, March 11, 2010 2:06 PM To: Nagios Users List Subject: Re: [Nagios-users] Acknowledgement notifications, getting details there is the notify-service-bby-email command, you should try: # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n$LONGSERVICEOUTPUT$\n\n$USER10$?host=$HOSTNAME $\n\n$S ERVICEACKCOMMENT$\n$SERVICEACKAUTHORALIAS$" | /bin/mail -s "** $NOTIFICATIONTYPE $ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } On Thu, Mar 11, 2010 at 3:28 PM, Rob Tanner wrote: Hi, When an acknowledgement notification gets sent, it includes the hostname, the state and the IP address, and that's all. I would also like to see the time and date, the name of the tech that acknowledged the problem, and the text of his or her comment. I presume the command I need to modify is notify-by-email in misccommand.cfg, but the command line includes "Date/Time: $LONGDATETIME$" while all I see in the actual email message is "Date/Time: $". Any idea what's going on? Thanks, Rob Rob Tanner UNIX Services Manager Linfield College, McMinnville Oregon ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tt.rexplay at gmail.com Thu Mar 11 22:10:04 2010 From: tt.rexplay at gmail.com (Tim Tompson) Date: Thu, 11 Mar 2010 16:10:04 -0500 Subject: Accessing Nagios for the first time In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> <4B98BA78.2080300@aidananderson.co.uk> Message-ID: Any other ideas? On Thu, Mar 11, 2010 at 12:44 PM, Tim Tompson wrote: > Apache is working: "Apache is functioning normally" > > Yes, I have a few other sites on this box, all functioning properly. > > When I navigate to myserverip/nagios I get a 404 Not Found. > > :( > > > On Thu, Mar 11, 2010 at 4:40 AM, Aidan Anderson wrote: > >> Tim Tompson wrote: >> > My nagios.conf: >> > >> > ## BEGIN APACHE CONFIG SNIPPET - NAGIOS.CONF >> > >> > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" >> > >> > >> > >> > >> > Options ExecCGI >> > >> > AllowOverride None >> > >> > Order allow,deny >> > >> > Allow from all >> > >> > AuthType Digest >> > >> > AuthName "Nagios Access" >> > >> > AuthUserFile /usr/local/nagios/etc/.digest_pw >> > >> > >> > Require valid-user >> > >> > >> > >> > >> > >> > Alias /nagios "/usr/local/nagios/share" >> > >> > >> > >> > Options None >> > >> > AllowOverride None >> > >> > >> > Order allow,deny >> > >> > Allow from all >> > >> > AuthType Digest >> > >> > AuthName "Nagios Access" >> > >> > AuthUserFile /usr/local/nagios/etc/.digest_pw >> > >> > Require valid-user >> > >> > >> > >> > >> > ## END APACHE CONFIG SNIPPETS >> > >> > I followed the instructions at: >> > http://nagios.sourceforge.net/docs/3_0/cgisecurity.html -- to secure >> > my install, and thats where I got the above .conf file. >> > >> > Its set to "Allow from all", shouldn't that work? >> > >> >> It should and so should connecting to serveripaddress/nagios. It looks >> like Apache is your issue. Is it running? Are there other web sites >> running on the same box? Are they working? >> >> Aidan >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at smetj.net Thu Mar 11 22:27:47 2010 From: nagios at smetj.net (Jelle Smet) Date: Thu, 11 Mar 2010 21:27:47 +0000 (UTC) Subject: Restrict user only to enable/disable checks References: Message-ID: > RewriteEngine on > RewriteCond %{QUERY_STRING} ^(cmd_type=16|cmd_type=4|cmd_type=6) [OR] > RewriteRule ^(.*)$ /not_allowed.html [R,L] Excellent yes that does the trick. Who want to use this solution keep in mind it's cmd_typ without the e Cheers, Jelle ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at smetj.net Thu Mar 11 22:31:35 2010 From: nagios at smetj.net (Jelle Smet) Date: Thu, 11 Mar 2010 22:31:35 +0100 Subject: Python module for talking to nsca Message-ID: <6afafd48d6715833d12a02235108b37b@smetj.net> Hi list, Anyone knows how to connect to nsca from python? I've understood it's not that difficult to do so, but if there's a module made for it, It saves the trouble. If not, where cn -- Jelle Smet http://www.smetj.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at smetj.net Thu Mar 11 22:32:53 2010 From: nagios at smetj.net (Jelle Smet) Date: Thu, 11 Mar 2010 22:32:53 +0100 Subject: Python module for talking to nsca In-Reply-To: <6afafd48d6715833d12a02235108b37b@smetj.net> References: <6afafd48d6715833d12a02235108b37b@smetj.net> Message-ID: <8fe031e888a78cf2f675dcdfec99b783@smetj.net> Hi list, Anyone knows how to connect to nsca from python? I've understood it's not that difficult to do so, but if there's a module made for it, It saves the trouble. If not, where can I find the nsca specifications to write a module myself? Thanks, -- Jelle Smet http://www.smetj.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtjob2003 at yahoo.com Thu Mar 11 23:58:40 2010 From: jtjob2003 at yahoo.com (Jaime Travez) Date: Thu, 11 Mar 2010 14:58:40 -0800 (PST) Subject: Monitor Remote Windows Machine with Nagios Core Message-ID: <731368.39091.qm@web35406.mail.mud.yahoo.com> Hello. ? I apologize if this question has already been asked, but is it possible to monitor a remote Windows machine with Nagios Core ver. 3.2.1, without it having a Public IP address?? In other words, the remote Windows machine has no connectivity with the Nagios Core machine, except the Internet.? Do I need NPRE? ? Thanks in advance for any help. ? Regards, ? Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rtanner at linfield.edu Fri Mar 12 00:07:09 2010 From: rtanner at linfield.edu (Rob Tanner) Date: Thu, 11 Mar 2010 15:07:09 -0800 Subject: Acknowledgement notifications, getting details In-Reply-To: <2dfcbd1b1003111207u6e239a86m15f0de0dca91276c@mail.gmail.com> References: <2dfcbd1b1003111207u6e239a86m15f0de0dca91276c@mail.gmail.com> Message-ID: Thanks. Very helpful. On 3/11/10 12:07 PM, "Marcel" wrote: > Ops, my USER10 macro is to place a link for the service in question. > > On Thu, Mar 11, 2010 at 5:06 PM, Marcel wrote: >> there is the notify-service-bby-email command, you should try: >> >> # 'notify-service-by-email' command definition >> define command{ >> ??????? command_name??? notify-service-by-email >> ??????? command_line??? /usr/bin/printf "%b" "***** Nagios >> *****\n\nNotification >> ?Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: >> $HOSTALIAS$\nAddress: >> ?$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: >> $LONGDATETIME$\n\nAdditional >> ?Info:\n\n$SERVICEOUTPUT$\n$LONGSERVICEOUTPUT$\n\n$USER10$?host=$HOSTNAME$\n\ >> n$S >> ERVICEACKCOMMENT$\n$SERVICEACKAUTHORALIAS$" | /bin/mail -s "** >> $NOTIFICATIONTYPE >> $ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" >> $CONTACTEMAIL$ >> ??????? } >> >> >> On Thu, Mar 11, 2010 at 3:28 PM, Rob Tanner wrote: >>> Hi, >>> >>> When an acknowledgement notification gets sent, it includes the hostname, >>> the state and the IP address, and that?s all. ?I would also like to see the >>> time and date, the name of the tech that acknowledged the problem, and the >>> text of his or her comment. ?I presume the command I need to modify is >>> notify-by-email in misccommand.cfg, but the command line includes >>> ?Date/Time: $LONGDATETIME$? while all I see in the actual email message is >>> ?Date/Time: $?. >>> >>> Any idea what?s going on? >>> >>> Thanks, >>> Rob >>> >>> >>> >>> Rob Tanner >>> UNIX Services Manager >>> Linfield College, McMinnville Oregon >>> >>> >>> ---------------------------------------------------------------------------- >>> -- >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting >>> any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinm at op5.org Fri Mar 12 01:07:05 2010 From: martinm at op5.org (Martin Melin) Date: Fri, 12 Mar 2010 01:07:05 +0100 Subject: Monitor Remote Windows Machine with Nagios Core In-Reply-To: <731368.39091.qm@web35406.mail.mud.yahoo.com> References: <731368.39091.qm@web35406.mail.mud.yahoo.com> Message-ID: <5f0bcb7c1003111607n6cd6f658xa3f74715d689a5e1@mail.gmail.com> On Thu, Mar 11, 2010 at 11:58 PM, Jaime Travez wrote: > Hello. > > I apologize if this question has already been asked, but is it possible to > monitor a remote Windows machine with Nagios Core ver. 3.2.1, without it > having a Public IP address? In other words, the remote Windows machine has > no connectivity with the Nagios Core machine, except the Internet. Do I > need NPRE? > Use NSClient++ with NRPE for active checks, initiated by the Nagios server, or NSCA for passive checks sent by the Windows box. The decision to use NRPE or NSCA depends among other things on what kind of control you have over firewalls on either end (it might be easier to have your Windows server connect out to your Nagios server and send_nsca results in cases where you can't allow inbound NRPE) > > Thanks in advance for any help. > > Regards, > > Jim > > > > ------------------------------------------------------------------------------ > Download Intel? Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Martin Melin May your delusions be benign and your compulsions have utility ____________________________ op5 AB http://www.op5.com http://www.op5.org/ http://www.op5.com/op5/products/network-monitor/nagios/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinm at op5.org Fri Mar 12 01:44:11 2010 From: martinm at op5.org (Martin Melin) Date: Fri, 12 Mar 2010 01:44:11 +0100 Subject: Inverting check_snmp status In-Reply-To: References: Message-ID: <5f0bcb7c1003111644v471ec30egd5efe9cf84886055@mail.gmail.com> On Thu, Mar 11, 2010 at 4:07 PM, wrote: > > RHEL AS4 U6 > Nagios v3.2.0 > check_snmp v1.4.14 > > A small and annoying problem, that I'm hoping will have some whizzy easy > fix. > > I use check_snmp to get the location and contact details of my servers. > Something like this > > ./check_snmp -H localhost -o sysLocation.0 -l "" > OK - London XX YYY > > This, of course, assumes snmpd.comf has been populated correctly. If it > hasn't I get something like this > > ./check_snmp -H localhost -o sysLocation.0 -l "" > OK - Unknown (edit /etc/snmp/snmpd.conf) | > > I'd like this to produce a warning, and thought I could achieve this with a > regular expression, but haven't been able to yet. Is there any way I can > invert a regex, or use thresholds to force a NOTOK status. > I tried creating an inverted regex to use in the --ereg parameter to check_snmp, but wasn't able to get a negative lookahead working, which is how I usually create these kinds of inverted regexps. check_snmp kept complaining it couldn't parse the regex, so I guess the regex support may be limited - or I might just be letting bash interfere with my arguments due to the late hour ;-) > > This doesn't work > > ./check_snmp -H localhost -o sysLocation.0 -l "" -r "!etc" > -bash: !etc: event not found > > Not urgent, but any help much appreciated. > In keeping with the KISS principle, I suggest a quick wrapper script for your location check. Any other solution would require you to use a separate check_command in Nagios anyway, so it might just be simpler to go the easy route here. Nagios itself does not care about the text output from plugins, only the exit code, so you could have a wrapper script return warning for locations that contain the string Unknown by simply doing this: RESULT=`/replace/with/variable/check_snmp -H $1 -o sysLocation.0 -l ""` echo $RESULT if [[ $RESULT =~ "Unknown" ]]; then exit 1 fi exit 0 Of course, you could make the text output make more sense with sed et. al., but Nagios itself is happy with the above. HTH, -- Martin Melin May your delusions be benign and your compulsions have utility ____________________________ op5 AB http://www.op5.com http://www.op5.org/ http://www.op5.com/op5/products/network-monitor/nagios/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rkomorn at dofc.org Fri Mar 12 02:10:11 2010 From: rkomorn at dofc.org (Romain Komorn) Date: Thu, 11 Mar 2010 17:10:11 -0800 Subject: illegal_macro_output_chars effect on custom macros. Message-ID: <6288478a1003111710y7835907emffd517fc1443b1bb@mail.gmail.com> (Already submitted as http://tracker.nagios.org/view.php?id=131 ). I'm using Nagios 3.2 on Centos 5.4 , RPMs are virtually identical to the ones coming from DAG ( http://dag.wieers.com/apt/ ). I seem to be running into a bug during macro processing. The documentation for the?illegal_macro_output_chars option states that "This DOES NOT affect macros used in service or host check commands." Apologies in advance for the liberal use of #'s. However, I have a custom macro defined for a host defined as: ##################################################### define host{ ... __monitored_mounts_exclude ? ? ?^/var/lib|^/proc|^/mnt ... } ##################################################### Its purpose is to be passed as an argument to a perl-based snmp script as $_HOST_MONITORED_MOUNTS_EXCLUDE$ to be used as a regexp. With nagios.cfg containing: ##################################################### illegal_macro_output_chars=`~$&'"<>| ##################################################### the following happens: ##################################################### [1268354328.961221] [2048.1] [pid=15390] **** BEGIN MACRO PROCESSING *********** [1268354328.961274] [2048.1] [pid=15390] Processing: '$USER1$/check_snmp_monitored_mounts.pl -f -H $HOSTADDRESS$ -a $HOSTALIAS$ -C $USER3$ -w $_HOST_MONITORED_MOUNTS_THOLD_WARN$ -c $_HOST_MONITORED_MOUNTS_THOLD_CRIT$ -o $_HOST_MONITORED_MOUNTS_OBJFILE$ -x '$_HOST_MONITORED_MOUNTS_EXCLUDE$'' [1268354328.961314] [2048.1] [pid=15390] ? Done. ?Final output: '/usr/lib64/nagios/plugins/check_snmp_monitored_mounts.pl -f -H A.B.C.D -a XXXX -C YYYY -w 0 -c 10 -o /var/nagios/objects.cache -x '^/var/lib^/proc^/mnt'' [1268354328.961321] [2048.1] [pid=15390] **** END MACRO PROCESSING ************* ##################################################### With nagios.cfg containing: ##################################################### illegal_macro_output_chars=`~$&'"< ##################################################### the following happens: ##################################################### [1268353321.193367] [2048.1] [pid=15390] **** BEGIN MACRO PROCESSING *********** [1268353321.193392] [2048.1] [pid=15390] Processing: '$USER1$/check_snmp_monitored_mounts.pl -f -H $HOSTADDRESS$ -a $HOSTALIAS$ -C $USER3$ -w $_HOST_MONITORED_MOUNTS_THOLD_WARN$ -c $_HOST_MONITORED_MOUNTS_THOLD_CRIT$ -o $_HOST_MONITORED_MOUNTS_OBJFILE$ -x '$_HOST_MONITORED_MOUNTS_EXCLUDE$'' [1268353321.193476] [2048.1] [pid=15390] ? Done. ?Final output: '/usr/lib64/nagios/plugins/check_snmp_monitored_mounts.pl -f -H A.B.C.D -a XXXX -C YYYY -w 0 -c 10 -o /var/nagios/objects.cache -x '^/var/lib|^/proc|^/mnt'' [1268353321.193487] [2048.1] [pid=15390] **** END MACRO PROCESSING ************* ##################################################### The | characters appears in $_HOST_MONITORED_MOUNTS_EXCLUDE$ . It would seem, at the very least, that the documentation for illegal_macro_output_chars does not tell the whole story. This is a custom variable being used during a service check. I realize that the documentation doesn't particularly address this specific scenario. I've looked at the comments in nagios.cfg and at http://nagios.sourceforge.net/docs/3_0/configmain.html . http://tracker.nagios.org/view.php?id=27 could be related, but doesn't quite address it. I'm not particularly inclined to remove | from the list of illegal_macro_output_chars, that doesn't seem like the right solution. If anything, I'm surprised that ';' isn't an illegal character. It seems like it could lead to abuse. I don't see what other relevant configuration or debug logs I could provide since this seems to encompass everything. The change above (removing | from illegal_macro_output_chars in nagios.cfg) was the only change made to the entire nagios configuration files between the two debug.log pastes. I don't see anything in the spec file for the RPM that would patch nagios in a way that causes this behavior. I do realize that proper workarounds could include passing the argument to the check command as $ARGN$ , hardcoding the check_command for each service, or have check_snmp_monitored_mounts.pl make some sort of substitution as it parses the -x argument (it actually supports multiple -x arguments, so -x ^/var/lib -x ^/proc -x ^/mnt would work as well). That's not the point of this email, though. Romain ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Fri Mar 12 07:25:41 2010 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Fri, 12 Mar 2010 07:25:41 +0100 Subject: active checks vs. passive checks In-Reply-To: <77c454bb1003110719m69441619rb24ed3c38e9ed15f@mail.gmail.com> References: <4B98AA30.6000403@fhv.at> <4B98B32A.8040609@fhv.at> <4B98CD9E.4070905@fhv.at> <77c454bb1003110527gdbde6cct461fef067deec253@mail.gmail.com> <4B98FC09.70505@fhv.at> <77c454bb1003110719m69441619rb24ed3c38e9ed15f@mail.gmail.com> Message-ID: <4B99DE65.5020106@fhv.at> On 3/11/10 4:19 PM Rick Mangus wrote: Hi Rick, >> This will be great and you will be welcome, if you plan a turn to >> austria ;-) >> > > Careful! I love to travel and I honestly don't know what country I'll > be in tomorrow evening. :) My bag is packed for somewhere tropical, > but I have standby tickets to anywhere. ;) > >>>> The results will be send via NSCA from the app.server to the nagios >>>> server. OK. this will be another story ;-) > Glad to help, or try, anyways. :) many thanks for your hints and examples. Now it works as it should, also the NSCA transport to our nagios main server ;-) Hope to see you in austria (_NOT_ australia ;-)) have a nice day Richard ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Fri Mar 12 08:07:35 2010 From: jashokda at cisco.com (Jatin Davey) Date: Fri, 12 Mar 2010 12:37:35 +0530 Subject: check_mem shows : "NRPE: Unable to read output" Message-ID: <4B99E837.9090308@cisco.com> Hi I had downloaded the perl file for check_mem plugin and copied in the libexec folder of the target machine that needs to be monitored. On the localhost it returns correct values but when i shoot the command from the nagios server using NRPE i am getting the following : NRPE: Unable to read output Is it an issue with NRPE or check_mem plugin. The output for check_mem on the localhost is : CRITICAL: Memory Usage (W> 5, C> 6): 30%
Swap Usage (W> 5, C> 6): 1%
|MemUsed=30%;5;6 SwapUsed=1%;5;6 I have defined the command also in the nrpe.cfg file. All other commands work fine except for the check_mem plugin. Please let me know what to do next. Thanks Jatin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brentgclarklist at gmail.com Fri Mar 12 08:21:59 2010 From: brentgclarklist at gmail.com (Brent Clark) Date: Fri, 12 Mar 2010 09:21:59 +0200 Subject: switch off send a notification for acknowledgement Message-ID: <4B99EB97.6070309@gmail.com> Hiya I tried googling. Would anyone know how to switch off send a notification when there is an acknowledgement. Kind Regards Brent Clark ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Fri Mar 12 08:54:35 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Fri, 12 Mar 2010 08:54:35 +0100 Subject: switch off send a notification for acknowledgement In-Reply-To: <4B99EB97.6070309@gmail.com> References: <4B99EB97.6070309@gmail.com> Message-ID: > Hiya > > I tried googling. Would anyone know how to switch off send a notification when there is an acknowledgement. > > - This is an option which you can de-select. Check the NAGIOS menu closely. M. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 12 09:05:36 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 12 Mar 2010 08:05:36 +0000 Subject: switch off send a notification for acknowledgement In-Reply-To: References: <4B99EB97.6070309@gmail.com> Message-ID: <765d77c81003120005r4927ed22vc2223ecbf8658985@mail.gmail.com> On 12 March 2010 07:54, Mark Elsen wrote: >> Hiya >> >> I tried googling. Would anyone know how to switch off send a notification when there is an acknowledgement. >> >> > > ?- This is an option which you can de-select. Check the NAGIOS menu ?closely. It should be, but I don't think it is! If it were you would find it documented at http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host (for host notifications). ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Fri Mar 12 09:54:25 2010 From: ampranti at gmail.com (Brandino Andreas) Date: Fri, 12 Mar 2010 10:54:25 +0200 Subject: Nagios & Avaya In-Reply-To: <4A26B1FA.6000507@gmail.com> References: <4A26A95A.9030807@gmail.com> <30A417B62E7EE448B3864ADC881CEFD608FD1294@missemsa01.bsg.ad.adp.com> <4A26B1FA.6000507@gmail.com> Message-ID: <653327910.20100312105425@gmail.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Quentin.Marquez at experian.com Fri Mar 12 10:33:39 2010 From: Quentin.Marquez at experian.com (Marquez, Quentin) Date: Fri, 12 Mar 2010 09:33:39 -0000 Subject: check_mem shows : "NRPE: Unable to read output" In-Reply-To: <4B99E837.9090308@cisco.com> References: <4B99E837.9090308@cisco.com> Message-ID: <28D49132D5CF31498C9C381879963AD74A0CA5@exch-mon-msg01.uk.experian.local> Jatin, Here is how I use it with sudo : In my nrpe.cfg : command[check_mem]=/usr/bin/sudo /usr/local/nagios-plugins/current/libexec/check_mem.pl -w 10 -c 5 visudo : User_Alias SU_TO_NAGIOS_PLUGINS_USER = nagios Cmnd_Alias SU_TO_NAGIOS_PLUGINS = /usr/local/nagios-plugins/current/libexec/check_mem.pl -w 10 -c 5 SU_TO_NAGIOS_PLUGINS_USER ALL = NOPASSWD: SU_TO_NAGIOS_PLUGINS Root permissions will allow nagios to read memory attributes. ++ Quentin -----Original Message----- From: Jatin Davey [mailto:jashokda at cisco.com] Sent: 12 March 2010 08:08 To: Nagios Mailinglist Subject: [Nagios-users] check_mem shows : "NRPE: Unable to read output" Hi I had downloaded the perl file for check_mem plugin and copied in the libexec folder of the target machine that needs to be monitored. On the localhost it returns correct values but when i shoot the command from the nagios server using NRPE i am getting the following : NRPE: Unable to read output Is it an issue with NRPE or check_mem plugin. The output for check_mem on the localhost is : CRITICAL: Memory Usage (W> 5, C> 6): 30%
Swap Usage (W> 5, C> 6): 1%
|MemUsed=30%;5;6 SwapUsed=1%;5;6 I have defined the command also in the nrpe.cfg file. All other commands work fine except for the check_mem plugin. Please let me know what to do next. Thanks Jatin ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This e-mail has come from Experian, the only business to have been twice named the UK's 'Business of the Year? =================================================================================== Information in this e-mail and any attachments is confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other binding commitment through the use of this electronic communication unless it is issued in accordance with the Experian Limited standard terms and conditions of purchase or other express written agreement between Experian Limited and the recipient. Although Experian has taken reasonable steps to ensure that this communication and any attachments are free from computer virus, you are advised to take your own steps to ensure that they are actually virus free. Companies Act information: Registered name: Experian Limited Registered office: Landmark House, Experian Way, NG2 Business Park, Nottingham, NG80 1ZZ, United Kingdom Place of registration: England and Wales Registered number: 653331 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Fri Mar 12 10:45:14 2010 From: jashokda at cisco.com (Jatin Davey) Date: Fri, 12 Mar 2010 15:15:14 +0530 Subject: check_mem shows : "NRPE: Unable to read output" In-Reply-To: <28D49132D5CF31498C9C381879963AD74A0CA5@exch-mon-msg01.uk.experian.local> References: <4B99E837.9090308@cisco.com> <28D49132D5CF31498C9C381879963AD74A0CA5@exch-mon-msg01.uk.experian.local> Message-ID: <4B9A0D2A.7000504@cisco.com> Hi Marquez I ran the command in the same as you said and i am getting the following error: [root at mcs-linux-2 etc]# /usr/bin/sudo /usr/local/nagios/libexec/check_mem.pl -w 10 -c 5 Sorry, user root is not allowed to execute '/usr/local/nagios/libexec/check_mem.pl -w 10 -c 5' as root on mcs-linux-2. Please let me know what to do. Thanks Jatin On 3/12/2010 3:03 PM, Marquez, Quentin wrote: > Jatin, > > Here is how I use it with sudo : > > In my nrpe.cfg : > command[check_mem]=/usr/bin/sudo > /usr/local/nagios-plugins/current/libexec/check_mem.pl -w 10 -c 5 > > visudo : > User_Alias SU_TO_NAGIOS_PLUGINS_USER = nagios > Cmnd_Alias SU_TO_NAGIOS_PLUGINS = > /usr/local/nagios-plugins/current/libexec/check_mem.pl -w 10 -c 5 > SU_TO_NAGIOS_PLUGINS_USER ALL = NOPASSWD: SU_TO_NAGIOS_PLUGINS > > Root permissions will allow nagios to read memory attributes. > > ++ > Quentin > > -----Original Message----- > From: Jatin Davey [mailto:jashokda at cisco.com] > Sent: 12 March 2010 08:08 > To: Nagios Mailinglist > Subject: [Nagios-users] check_mem shows : "NRPE: Unable to read output" > > Hi > > I had downloaded the perl file for check_mem plugin and copied in the > libexec folder of the target machine that needs to be monitored. On the > localhost it returns correct values but when i shoot the command from > the nagios server using NRPE i am getting the following : > > NRPE: Unable to read output > > Is it an issue with NRPE or check_mem plugin. > > The output for check_mem on the localhost is : > > CRITICAL: Memory Usage (W> 5, C> 6): 30%
Swap Usage (W> 5, C> 6): > > 1%
|MemUsed=30%;5;6 SwapUsed=1%;5;6 > > I have defined the command also in the nrpe.cfg file. All other commands > > work fine except for the check_mem plugin. > > Please let me know what to do next. > > Thanks > Jatin > > ------------------------------------------------------------------------ > ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > This e-mail has come from Experian, the only business to have been twice named the UK's 'Business of the Year? > > =================================================================================== > Information in this e-mail and any attachments is confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other binding commitment through the use of this electronic communication unless it is issued in accordance with the Experian Limited standard terms and conditions of purchase or other express written agreement between Experian Limited and the recipient. > Although Experian has taken reasonable steps to ensure that this communication and any attachments are free from computer virus, you are advised to take your own steps to ensure that they are actually virus free. > Companies Act information: > Registered name: Experian Limited > Registered office: Landmark House, Experian Way, NG2 Business Park, Nottingham, NG80 1ZZ, United Kingdom > Place of registration: England and Wales > Registered number: 653331 > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Quentin.Marquez at experian.com Fri Mar 12 11:01:55 2010 From: Quentin.Marquez at experian.com (Marquez, Quentin) Date: Fri, 12 Mar 2010 10:01:55 -0000 Subject: check_mem shows : "NRPE: Unable to read output" In-Reply-To: <4B9A0D2A.7000504@cisco.com> References: <4B99E837.9090308@cisco.com> <28D49132D5CF31498C9C381879963AD74A0CA5@exch-mon-msg01.uk.experian.local> <4B9A0D2A.7000504@cisco.com> Message-ID: <28D49132D5CF31498C9C381879963AD74A0CBD@exch-mon-msg01.uk.experian.local> Hi Jatin, Don't try to run the sudo command using "root" while its configuration is made for "nagios" :) Your issue looks like you can run check_mem.pl as root and get a reply locally, but nrpe is owned by user "nagios", and user "nagios" won't run this plugin correctly. To allow the nagios user to run check_mem.pl as root, you have to configure a sudo command. Make sure your check_mem.pl is owned by user "nagios", configure your sudo command via "visudo", and then run this sudo command as the "nagios" user. As root, you could try : su - nagios -c "/usr/bin/sudo /usr/local/nagios/libexec/check_mem.pl -w 10 -c 5" Or just wait to see the result on your nagios server. Cheers, Quentin -----Original Message----- From: Jatin Davey [mailto:jashokda at cisco.com] Sent: 12 March 2010 10:45 To: Marquez, Quentin Cc: Nagios Users List Subject: Re: [Nagios-users] check_mem shows : "NRPE: Unable to read output" Hi Marquez I ran the command in the same as you said and i am getting the following error: [root at mcs-linux-2 etc]# /usr/bin/sudo /usr/local/nagios/libexec/check_mem.pl -w 10 -c 5 Sorry, user root is not allowed to execute '/usr/local/nagios/libexec/check_mem.pl -w 10 -c 5' as root on mcs-linux-2. Please let me know what to do. Thanks Jatin On 3/12/2010 3:03 PM, Marquez, Quentin wrote: > Jatin, > > Here is how I use it with sudo : > > In my nrpe.cfg : > command[check_mem]=/usr/bin/sudo > /usr/local/nagios-plugins/current/libexec/check_mem.pl -w 10 -c 5 > > visudo : > User_Alias SU_TO_NAGIOS_PLUGINS_USER = nagios > Cmnd_Alias SU_TO_NAGIOS_PLUGINS = > /usr/local/nagios-plugins/current/libexec/check_mem.pl -w 10 -c 5 > SU_TO_NAGIOS_PLUGINS_USER ALL = NOPASSWD: SU_TO_NAGIOS_PLUGINS > > Root permissions will allow nagios to read memory attributes. > > ++ > Quentin > > -----Original Message----- > From: Jatin Davey [mailto:jashokda at cisco.com] > Sent: 12 March 2010 08:08 > To: Nagios Mailinglist > Subject: [Nagios-users] check_mem shows : "NRPE: Unable to read output" > > Hi > > I had downloaded the perl file for check_mem plugin and copied in the > libexec folder of the target machine that needs to be monitored. On the > localhost it returns correct values but when i shoot the command from > the nagios server using NRPE i am getting the following : > > NRPE: Unable to read output > > Is it an issue with NRPE or check_mem plugin. > > The output for check_mem on the localhost is : > > CRITICAL: Memory Usage (W> 5, C> 6): 30%
Swap Usage (W> 5, C> 6): > > 1%
|MemUsed=30%;5;6 SwapUsed=1%;5;6 > > I have defined the command also in the nrpe.cfg file. All other commands > > work fine except for the check_mem plugin. > > Please let me know what to do next. > > Thanks > Jatin > > ------------------------------------------------------------------------ > ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > This e-mail has come from Experian, the only business to have been twice named the UK's 'Business of the Year? > > =================================================================================== > Information in this e-mail and any attachments is confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other binding commitment through the use of this electronic communication unless it is issued in accordance with the Experian Limited standard terms and conditions of purchase or other express written agreement between Experian Limited and the recipient. > Although Experian has taken reasonable steps to ensure that this communication and any attachments are free from computer virus, you are advised to take your own steps to ensure that they are actually virus free. > Companies Act information: > Registered name: Experian Limited > Registered office: Landmark House, Experian Way, NG2 Business Park, Nottingham, NG80 1ZZ, United Kingdom > Place of registration: England and Wales > Registered number: 653331 > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Fri Mar 12 13:00:55 2010 From: jashokda at cisco.com (Jatin Davey) Date: Fri, 12 Mar 2010 17:30:55 +0530 Subject: check_mem shows : "NRPE: Unable to read output" In-Reply-To: <28D49132D5CF31498C9C381879963AD74A0CBD@exch-mon-msg01.uk.experian.local> References: <4B99E837.9090308@cisco.com> <28D49132D5CF31498C9C381879963AD74A0CA5@exch-mon-msg01.uk.experian.local> <4B9A0D2A.7000504@cisco.com> <28D49132D5CF31498C9C381879963AD74A0CBD@exch-mon-msg01.uk.experian.local> Message-ID: <4B9A2CF7.2060606@cisco.com> Hi Marquez Could you provide steps to make it work , i have no idea how i can make nagios as the root and execute the check_mem plugin. Thanks Jatin On 3/12/2010 3:31 PM, Marquez, Quentin wrote: > Hi Jatin, > > Don't try to run the sudo command using "root" while its configuration is made for "nagios" :) > > Your issue looks like you can run check_mem.pl as root and get a reply locally, but nrpe is owned by user "nagios", and user "nagios" won't run this plugin correctly. > > To allow the nagios user to run check_mem.pl as root, you have to configure a sudo command. > > Make sure your check_mem.pl is owned by user "nagios", configure your sudo command via "visudo", and then run this sudo command as the "nagios" user. > > As root, you could try : su - nagios -c "/usr/bin/sudo /usr/local/nagios/libexec/check_mem.pl -w 10 -c 5" > > Or just wait to see the result on your nagios server. > > Cheers, > Quentin > > > -----Original Message----- > From: Jatin Davey [mailto:jashokda at cisco.com] > Sent: 12 March 2010 10:45 > To: Marquez, Quentin > Cc: Nagios Users List > Subject: Re: [Nagios-users] check_mem shows : "NRPE: Unable to read output" > > Hi Marquez > > I ran the command in the same as you said and i am getting the following > error: > > [root at mcs-linux-2 etc]# /usr/bin/sudo > /usr/local/nagios/libexec/check_mem.pl -w 10 -c 5 > Sorry, user root is not allowed to execute > '/usr/local/nagios/libexec/check_mem.pl -w 10 -c 5' as root on mcs-linux-2. > > Please let me know what to do. > > Thanks > Jatin > > On 3/12/2010 3:03 PM, Marquez, Quentin wrote: > >> Jatin, >> >> Here is how I use it with sudo : >> >> In my nrpe.cfg : >> command[check_mem]=/usr/bin/sudo >> /usr/local/nagios-plugins/current/libexec/check_mem.pl -w 10 -c 5 >> >> visudo : >> User_Alias SU_TO_NAGIOS_PLUGINS_USER = nagios >> Cmnd_Alias SU_TO_NAGIOS_PLUGINS = >> /usr/local/nagios-plugins/current/libexec/check_mem.pl -w 10 -c 5 >> SU_TO_NAGIOS_PLUGINS_USER ALL = NOPASSWD: SU_TO_NAGIOS_PLUGINS >> >> Root permissions will allow nagios to read memory attributes. >> >> ++ >> Quentin >> >> -----Original Message----- >> From: Jatin Davey [mailto:jashokda at cisco.com] >> Sent: 12 March 2010 08:08 >> To: Nagios Mailinglist >> Subject: [Nagios-users] check_mem shows : "NRPE: Unable to read output" >> >> Hi >> >> I had downloaded the perl file for check_mem plugin and copied in the >> libexec folder of the target machine that needs to be monitored. On the >> localhost it returns correct values but when i shoot the command from >> the nagios server using NRPE i am getting the following : >> >> NRPE: Unable to read output >> >> Is it an issue with NRPE or check_mem plugin. >> >> The output for check_mem on the localhost is : >> >> CRITICAL: Memory Usage (W> 5, C> 6): 30%
Swap Usage (W> 5, C> 6): >> >> 1%
|MemUsed=30%;5;6 SwapUsed=1%;5;6 >> >> I have defined the command also in the nrpe.cfg file. All other commands >> >> work fine except for the check_mem plugin. >> >> Please let me know what to do next. >> >> Thanks >> Jatin >> >> ------------------------------------------------------------------------ >> ------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> This e-mail has come from Experian, the only business to have been twice named the UK's 'Business of the Year? >> >> =================================================================================== >> Information in this e-mail and any attachments is confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other binding commitment through the use of this electronic communication unless it is issued in accordance with the Experian Limited standard terms and conditions of purchase or other express written agreement between Experian Limited and the recipient. >> Although Experian has taken reasonable steps to ensure that this communication and any attachments are free from computer virus, you are advised to take your own steps to ensure that they are actually virus free. >> Companies Act information: >> Registered name: Experian Limited >> Registered office: Landmark House, Experian Way, NG2 Business Park, Nottingham, NG80 1ZZ, United Kingdom >> Place of registration: England and Wales >> Registered number: 653331 >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Mar 12 13:18:43 2010 From: marc at ena.com (Marc Powell) Date: Fri, 12 Mar 2010 06:18:43 -0600 Subject: switch off send a notification for acknowledgement In-Reply-To: <4B99EB97.6070309@gmail.com> References: <4B99EB97.6070309@gmail.com> Message-ID: <92A91189-5E00-4D4F-83A6-9D99B9225B9A@ena.com> On Mar 12, 2010, at 1:21 AM, Brent Clark wrote: > Hiya > > I tried googling. Would anyone know how to switch off send a notification when there is an acknowledgement. When submitting the notification, there is a 'Send Notification' checkbox; deselect it before submitting. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rkovar at gmail.com Fri Mar 12 14:18:12 2010 From: rkovar at gmail.com (Ryan Kovar) Date: Fri, 12 Mar 2010 13:18:12 +0000 Subject: Statistics of alerts and notifications Message-ID: All, I am trying to find out how many alerts/notifications my nagios system has processed in the last year. Has anyone written a script or know how to dig this out of the nagios innards? I am not looking for a itemized list, just some statistics to show for our yearly "State of Nagios" report. Thanks! -- Cheers, Ryan Kovar "Illegitimi non carborundum" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Fri Mar 12 14:42:35 2010 From: pitchfork at ederdrom.de (Joerg Linge) Date: Fri, 12 Mar 2010 14:42:35 +0100 Subject: Statistics of alerts and notifications In-Reply-To: References: Message-ID: <4B9A44CB.6040805@ederdrom.de> Am 12.03.10 14:18, schrieb Ryan Kovar: > All, > I am trying to find out how many alerts/notifications my nagios system > has processed in the last year. Has anyone written a script or know how to > dig this out of the nagios innards? I am not looking for a itemized list, > just some statistics to show for our yearly "State of Nagios" report. > Thanks! grep NOTIFICATION /usr/local/nagios/var/archives/*2010*.log | wc -l Just an example ... Joerg ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Fri Mar 12 15:24:58 2010 From: ampranti at gmail.com (Brandino Andreas) Date: Fri, 12 Mar 2010 16:24:58 +0200 Subject: Nagios 30 seconds initial delay In-Reply-To: <465F6A08-52A6-46C5-BBD0-EA75BAEA51DA@opsera.com> References: <1595932556.20091216005707@gmail.com> <1786557943.20091217101212@gmail.com> <465F6A08-52A6-46C5-BBD0-EA75BAEA51DA@opsera.com> Message-ID: <321870359.20100312162458@gmail.com> Hi all, as I can see in the logfile the patches are included in version 3.2.1: Speedup to CGIs when lots of comments or downtimes in status.dat file (Jonathan Kamens) I attach the results of "nagios -s nagios.cfg" from unpatched 3.2.0 and 3.2.1 version. I think my monitored hosts and services are few to see any difference! Thursday, January 28, 2010, 11:01:50 AM, you wrote: > On 17 Dec 2009, at 08:12, Brandino Andreas wrote: >> I have much less hosts and services (for the moment). >> After deleting "retention.dat" I still face the same delay... >> > When did this slow down occur? I can see how Jonathan's patches speed > up the system but these look like long-term bottlenecks, not a 3.0 -> > 3.2 migration. I'm interested to know when the slowdown occurred and > if it is the side effect of something else. > There was a patch applied sometime in 3.1 which improved the circular > parents lookup, but I don't know much else (Andreas applied it but > didn't update the Changelog). > Some information from a "slow startup system" and a "fast startup > system": > * how do you define the startup time? (time from nagios start to > status.dat appearing?) > * which version of Nagios? > * size of system (number of hosts, services, comments, downtimes) > * broker modules you use > * nagios -s nagios.cfg - what does the timings tell you? > Ton > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: perf_check_3.2.0.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: perf_check_3.2.1.txt URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Fri Mar 12 15:32:10 2010 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Fri, 12 Mar 2010 15:32:10 +0100 Subject: Nagios & Avaya In-Reply-To: <653327910.20100312105425@gmail.com> References: <4A26A95A.9030807@gmail.com> <30A417B62E7EE448B3864ADC881CEFD608FD1294@missemsa01.bsg.ad.adp.com> <4A26B1FA.6000507@gmail.com> <653327910.20100312105425@gmail.com> Message-ID: <4B9A506A.2040900@fhv.at> On 3/12/10 9:54 AM Brandino Andreas wrote: > Hi all, > > > did anyone find any scripts that can poll Avaya equipment?! whats about check_snmp? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wertyy.w at gmail.com Fri Mar 12 15:43:56 2010 From: wertyy.w at gmail.com (wale Ajayi) Date: Fri, 12 Mar 2010 15:43:56 +0100 Subject: HI ALL Message-ID: <2c69816a1003120643w342ded9le50f2fdd41b7435b@mail.gmail.com> Please i need info on web sms + Nagios integration, thanks for your response -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wertyy.w at gmail.com Fri Mar 12 15:51:08 2010 From: wertyy.w at gmail.com (wale Ajayi) Date: Fri, 12 Mar 2010 15:51:08 +0100 Subject: HI ALL Message-ID: <2c69816a1003120651t3bfc0273u2faa6184a8293dc2@mail.gmail.com> Please i need info on web sms + Nagios integration, thanks for your response -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Fri Mar 12 15:59:28 2010 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 12 Mar 2010 14:59:28 +0000 Subject: HI ALL In-Reply-To: <2c69816a1003120643w342ded9le50f2fdd41b7435b@mail.gmail.com> References: <2c69816a1003120643w342ded9le50f2fdd41b7435b@mail.gmail.com> Message-ID: <4B9A56D0.5070206@flatto.net> wale Ajayi wrote: > Please i need info on web sms + Nagios integration, thanks for your > response RTFM -- Never,Ever Cut A Deal With a Dragon ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 12 16:25:39 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 12 Mar 2010 15:25:39 +0000 Subject: HI ALL In-Reply-To: <2c69816a1003120643w342ded9le50f2fdd41b7435b@mail.gmail.com> References: <2c69816a1003120643w342ded9le50f2fdd41b7435b@mail.gmail.com> Message-ID: <765d77c81003120725g7aa62f84v8ac5ee8de5f63d18@mail.gmail.com> On 12 March 2010 14:43, wale Ajayi wrote: > Please i need info on web sms + Nagios integration, thanks for your response It is often a lot easier to use an email-SMS gateway service rather than setting up web sms directly. For example I used to use http://www.intellisms.co.uk/ . You have to set up your own Nagios notification definitions to format the email appropriately to the way your chosen email-sms gateway works. For example to use intellisms they expect the email to have the login and recipient information in the subject line of the email. I had something like this: # 'notify-host-by-sms-IntelliSMS' command definition define command{ command_name notify-host-by-sms-IntelliSMS command_line /usr/bin/printf "%b" "Nagios: Host $NOTIFICATIONTYPE$ $HOSTALIAS$ now $HOSTSTATE$ at $SHORTDATETIME$ Info: $HOSTOUTPUT$" | /usr/bin/mail -s "Username:yourusername Password:$USER3$ To:$CONTACTPAGER$" sendsms at messaging.intellisoftware.co.uk } You'll need something similar for the service notification command definition too. You need to set up your contact definitions in Nagios to use this notification command instead of the standard Nagios one and put the mobile number of the recipient in the pager directive in the contact definition. You also need to put the password in the resources.cfg file. Another option is your mobile phone provider might have their own email system which allows you to receive emails on your mobile. It might be more cost effective to use that, although I have found that with some providers it can be very unreliable. hth, Jim ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From standalone.sysadmin at gmail.com Fri Mar 12 17:09:36 2010 From: standalone.sysadmin at gmail.com (Matt Simmons) Date: Fri, 12 Mar 2010 11:09:36 -0500 Subject: HI ALL In-Reply-To: <2c69816a1003120643w342ded9le50f2fdd41b7435b@mail.gmail.com> References: <2c69816a1003120643w342ded9le50f2fdd41b7435b@mail.gmail.com> Message-ID: <5bcb62b61003120809v4491c2admb169d98af4fe2b1f@mail.gmail.com> We use email and SMS to deliver notifications. We do it the cheap way, which is by using our cell provider's SMS gateway. We're in the states, so we can get away with that. I have heard that it might not be the case that cell providers offer a gateway service. --Matt On Fri, Mar 12, 2010 at 9:43 AM, wale Ajayi wrote: > Please i need info on web sms + Nagios integration, thanks for your response > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reachtarak at hotmail.com Fri Mar 12 17:52:09 2010 From: reachtarak at hotmail.com (Digital Edge) Date: Fri, 12 Mar 2010 22:22:09 +0530 Subject: Two IP for the Same server Message-ID: Dear List, I have a server , which is having 2 NIC with IP assign. I wanted to add in nagios those two IP with same hostname & relevant service checks. Will it be possible. /\ dE _________________________________________________________________ The world in moving pictures http://news.in.msn.com/gallery/archive.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at i-evolve.com Fri Mar 12 19:00:00 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Fri, 12 Mar 2010 13:00:00 -0500 Subject: Two IP for the Same server In-Reply-To: References: Message-ID: <33C7BE4CE80D504E8907FDC31F8A083047BDA2F68A@iexchange.I-EVOLVE.com> If I understand you correctly, you are wanting to assign two IP addresses to one host name. Which, IIRC, should not be done. Each IP should be assigned its own hostname. Robert Wolfe - Linux+, MCP, MCITP: Windows Server 2008 Ent. Admin. I-Evolve Technology Services Systems Engineer 501 John James Audubon, Suite 201 Amherst, NY 14228 * email: rwolfe at i-evolve.com - * phone: 716.505.8324 ext 120 : web: www.i-evolve.com - 6 fax: 716.505.8325 From: Digital Edge [mailto:reachtarak at hotmail.com] Sent: Friday, March 12, 2010 11:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Two IP for the Same server Dear List, I have a server , which is having 2 NIC with IP assign. I wanted to add in nagios those two IP with same hostname & relevant service checks. Will it be possible. /\ dE ________________________________ Where to invest money? Visit MSN Money Special for tax, loans, insurance, realty and savings related recommendations Sign up now. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Fri Mar 12 19:15:46 2010 From: perldork at webwizarddesign.com (Max) Date: Fri, 12 Mar 2010 13:15:46 -0500 Subject: Two IP for the Same server In-Reply-To: References: Message-ID: On Fri, Mar 12, 2010 at 11:52 AM, Digital Edge wrote: > Dear List, > > I have a server , which is having 2 NIC with IP assign. I wanted to add in > nagios those two IP with same hostname & relevant service checks. > > Will it be possible. Not with a single host definition; however this can be modeled with 3 host definitions: * One virtual parent host object that has as a host check ping checks for both IPs * One virtual host object that represents NIC1 on the host * One virtual host object that represents NIC2 on the host Parent ------> A - NIC 1 | |-----------> B - NIC 2 The two hosts representing the NICs would have the parent host as their parent so that if the ping checks fail for the two hosts you only get notified that the parent host object is down. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Fri Mar 12 19:40:20 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sat, 13 Mar 2010 00:10:20 +0530 Subject: All services showing ' Connection Refused ' References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> <4B953DD9.3060409@flatto.net> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA088F173C@PNE-HJN-MBX02.wipro.com> HI, I am using Nagios 3.2.4 with Nagios plugins 1.4.14 on Linux with Fedora 10.1. I have configured few servers in Nagios and after some time I found that all services for these servers are showing as ' Connection Refused by Host ' in Web console. Please let me know what would be the issue. Thanks, Ravi G ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at i-evolve.com Fri Mar 12 19:44:29 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Fri, 12 Mar 2010 13:44:29 -0500 Subject: All services showing ' Connection Refused ' In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA088F173C@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com> <4B953DD9.3060409@flatto.net> <39C5D75C6A5D3440A833E1C014384BAA088F173C@PNE-HJN-MBX02.wipro.com> Message-ID: <33C7BE4CE80D504E8907FDC31F8A083047BDA2F68C@iexchange.I-EVOLVE.com> Be sure that the monitored services are actually running and that the firewall that these machines are behind are configured to let Nagios communicate with these servers. -----Original Message----- From: ravishankar.gundlapali at wipro.com [mailto:ravishankar.gundlapali at wipro.com] Sent: Friday, March 12, 2010 1:40 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] All services showing ' Connection Refused ' HI, I am using Nagios 3.2.4 with Nagios plugins 1.4.14 on Linux with Fedora 10.1. I have configured few servers in Nagios and after some time I found that all services for these servers are showing as ' Connection Refused by Host ' in Web console. Please let me know what would be the issue. Thanks, Ravi G ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Fri Mar 12 20:39:45 2010 From: mitsuto at gmail.com (Marcel) Date: Fri, 12 Mar 2010 16:39:45 -0300 Subject: Python module for talking to nsca In-Reply-To: <8fe031e888a78cf2f675dcdfec99b783@smetj.net> References: <6afafd48d6715833d12a02235108b37b@smetj.net> <8fe031e888a78cf2f675dcdfec99b783@smetj.net> Message-ID: <2dfcbd1b1003121139w67006bd7nfbec7628dcae70a7@mail.gmail.com> in the source code? On Thu, Mar 11, 2010 at 6:32 PM, Jelle Smet wrote: > Hi list, > > Anyone knows how to connect to nsca from python? > I've understood it's not that difficult to do so, but if there's a module > made for it, It saves the trouble. > > If not, where can I find the nsca specifications to write a module myself? > > Thanks, > > -- > Jelle Smet > http://www.smetj.net > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Fri Mar 12 21:01:14 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sat, 13 Mar 2010 01:31:14 +0530 Subject: All services showing ' Connection Refused ' In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A083047BDA2F68C@iexchange.I-EVOLVE.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com><4B953DD9.3060409@flatto.net><39C5D75C6A5D3440A833E1C014384BAA088F173C@PNE-HJN-MBX02.wipro.com> <33C7BE4CE80D504E8907FDC31F8A083047BDA2F68C@iexchange.I-EVOLVE.com> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA088F175A@PNE-HJN-MBX02.wipro.com> Hi, The machines which I have configured are Virtual Machines. The services which I configured are mentioned below . I logged in to the VM's and checked the drives in them. C: E: CPU load Memory Usage Physical memory usage Uptime Please someone suggest what can be done. Thanks & Regards, Ravi G -----Original Message----- From: Robert Wolfe [mailto:rwolfe at i-evolve.com] Sent: Saturday, March 13, 2010 12:14 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] All services showing ' Connection Refused ' Be sure that the monitored services are actually running and that the firewall that these machines are behind are configured to let Nagios communicate with these servers. -----Original Message----- From: ravishankar.gundlapali at wipro.com [mailto:ravishankar.gundlapali at wipro.com] Sent: Friday, March 12, 2010 1:40 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] All services showing ' Connection Refused ' HI, I am using Nagios 3.2.4 with Nagios plugins 1.4.14 on Linux with Fedora 10.1. I have configured few servers in Nagios and after some time I found that all services for these servers are showing as ' Connection Refused by Host ' in Web console. Please let me know what would be the issue. Thanks, Ravi G ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages wit