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 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 rwolfe at i-evolve.com Fri Mar 12 21:15:40 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Fri, 12 Mar 2010 15:15:40 -0500 Subject: All services showing ' Connection Refused ' In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA088F175A@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA087A3B07@PNE-HJN-MBX02.wipro.com><4B953DD9.3060409@flatto.net><39C5D75C6A5D3440A833E1C014384BAA088F173C@PNE-HJN-MBX02.wipro.com> <33C7BE4CE80D504E8907FDC31F8A083047BDA2F68C@iexchange.I-EVOLVE.com> <39C5D75C6A5D3440A833E1C014384BAA088F175A@PNE-HJN-MBX02.wipro.com> Message-ID: <33C7BE4CE80D504E8907FDC31F8A083047BDA2F68E@iexchange.I-EVOLVE.com> Do you have NSClient++ installed and the necessary ports opened? Robert Wolfe -?Linux+, MCP, MCITP: Windows Server 2008 Ent. Admin., MCTS: Windows 7 Config I-Evolve Technology Services Systems Engineer 501 John James Audubon, Suite 201 Amherst, NY 14228 -----Original Message----- From: ravishankar.gundlapali at wipro.com [mailto:ravishankar.gundlapali at wipro.com] Sent: Friday, March 12, 2010 3:01 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] All services showing ' Connection Refused ' 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 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 mitsuto at gmail.com Fri Mar 12 23:12:58 2010 From: mitsuto at gmail.com (Marcel) Date: Fri, 12 Mar 2010 19:12:58 -0300 Subject: Accessing Nagios for the first time In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> <4B98BA78.2080300@aidananderson.co.uk> Message-ID: <2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com> have you restarted httpd? On Thu, Mar 11, 2010 at 6:10 PM, Tim Tompson wrote: > 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 >>> >> >> > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 asraikhn at gmail.com Sat Mar 13 05:24:08 2010 From: asraikhn at gmail.com (Asrai khn) Date: Sat, 13 Mar 2010 09:24:08 +0500 Subject: switch off send a notification for acknowledgement In-Reply-To: <92A91189-5E00-4D4F-83A6-9D99B9225B9A@ena.com> References: <4B99EB97.6070309@gmail.com> <92A91189-5E00-4D4F-83A6-9D99B9225B9A@ena.com> Message-ID: <5f0f8dba1003122024s16163b14pd4d2fc980eb1acee@mail.gmail.com> Sorry for hijacking the original post. Is it possible to completely disable the 'Send Notification' check box ? I thinks i have edit the source code for this purpose but do not know which file? On Fri, Mar 12, 2010 at 5:18 PM, Marc Powell wrote: > > 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 > -- 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 asraikhn at gmail.com Sat Mar 13 05:26:36 2010 From: asraikhn at gmail.com (Asrai khn) Date: Sat, 13 Mar 2010 09:26:36 +0500 Subject: HI ALL In-Reply-To: <5bcb62b61003120809v4491c2admb169d98af4fe2b1f@mail.gmail.com> References: <2c69816a1003120643w342ded9le50f2fdd41b7435b@mail.gmail.com> <5bcb62b61003120809v4491c2admb169d98af4fe2b1f@mail.gmail.com> Message-ID: <5f0f8dba1003122026q62688f09oe646acf6e7afed04@mail.gmail.com> we are using Gnokii + Nagios successfully for sending SMS on our cell phone. Askar. On Fri, Mar 12, 2010 at 9:09 PM, Matt Simmons wrote: > 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 > -- 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 reachtarak at hotmail.com Sat Mar 13 07:38:40 2010 From: reachtarak at hotmail.com (Digital Edge) Date: Sat, 13 Mar 2010 12:08:40 +0530 Subject: Two IP for the Same server In-Reply-To: References: , Message-ID: > From: perldork at webwizarddesign.com > Date: Fri, 12 Mar 2010 13:15:46 -0500 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Two IP for the Same server > > 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. > What I mean to say that , define host{ use generic-servers host_name Example1 alias Example1 - Used for Cookie address 192.168.1.100 address1 192.168.1.101 } Is anyway it possible to add multiple address field in the host definition, if the same server having more than one IP address. /\ dE _________________________________________________________________ Fight for the top Test spot http://sports.in.msn.com/cricket/ -------------- 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 lists at xodus.org Sat Mar 13 16:40:36 2010 From: lists at xodus.org (Marc Powell) Date: Sat, 13 Mar 2010 09:40:36 -0600 Subject: switch off send a notification for acknowledgement In-Reply-To: <5f0f8dba1003122024s16163b14pd4d2fc980eb1acee@mail.gmail.com> References: <4B99EB97.6070309@gmail.com> <92A91189-5E00-4D4F-83A6-9D99B9225B9A@ena.com> <5f0f8dba1003122024s16163b14pd4d2fc980eb1acee@mail.gmail.com> Message-ID: <25b3bf361003130740j61092e0eh8ef5b6c741acd3ca@mail.gmail.com> On Fri, Mar 12, 2010 at 10:24 PM, Asrai khn wrote: > Sorry for hijacking the original post. > > Is it possible to completely disable the 'Send Notification' check box ? > > I thinks i have edit the source code for this purpose but do not know which > file? cgi/cmd.c I'd recommend changing it to a hidden input type with a value of '0' if you never want to send them. -- Marc -------------- 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 Sun Mar 14 20:36:03 2010 From: tt.rexplay at gmail.com (Tim Tompson) Date: Sun, 14 Mar 2010 15:36:03 -0400 Subject: Accessing Nagios for the first time In-Reply-To: <2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com> References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> <4B98BA78.2080300@aidananderson.co.uk> <2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com> Message-ID: Yes, I restarted during the installation process. Any other ideas? Thanks! On Fri, Mar 12, 2010 at 6:12 PM, Marcel wrote: > have you restarted httpd? > > On Thu, Mar 11, 2010 at 6:10 PM, Tim Tompson wrote: > >> 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 < >>> mail at aidananderson.co.uk> 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 >>>> >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 nigel.leach at uk.bnpparibas.com Mon Mar 15 13:24:25 2010 From: nigel.leach at uk.bnpparibas.com (nigel.leach at uk.bnpparibas.com) Date: Mon, 15 Mar 2010 12:24:25 +0000 Subject: Overall Service Status Message-ID: I maybe missing something very obvious, or this may not be possible at all, but I'm trying to find a way of displaying an individual service status across all my hosts. For example, I collect the kernel version on all my servers, and can drill down into each host and see its kernel version. But, is it possible to list the kernel versions for all my hosts. Server Kernel ====== ====== host1 AS5 U3 host2 AS4 U6 host3 AS5 U3 ... Kernel version is just an example, there are many service results I'd like to be able to display in this manner. Something similar to how the Hosts page, displays ping status against each host. I'm assuming I could create another customised page, and stick it on the sidebar, but was wondering if anything is available out of the box. Cheers, 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 benny at bennyvision.com Mon Mar 15 13:49:03 2010 From: benny at bennyvision.com (C. Bensend) Date: Mon, 15 Mar 2010 07:49:03 -0500 Subject: Overall Service Status In-Reply-To: References: Message-ID: > Kernel version is just an example, there are many service results I'd like > to be able to display in this manner. > > Something similar to how the Hosts page, displays ping status against each > host. I'm assuming I could create another customised page, and stick it on > the sidebar, but was wondering if anything is available out of the box. Sure! Create a servicegroup. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#servicegroup 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 Mon Mar 15 13:54:31 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 15 Mar 2010 12:54:31 +0000 Subject: Overall Service Status In-Reply-To: References: Message-ID: <765d77c81003150554w2116e368p3be5e5fe07f0ab83@mail.gmail.com> On 15 March 2010 12:24, wrote: > > I maybe missing something very obvious, or this may not be possible at all, > but I'm trying to find a way of displaying an individual service status > across all my hosts. > > For example, I collect the kernel version on all my servers, and can drill > down into each host and see its kernel version. But, is it possible to list > the kernel versions for all my hosts. > > Server ? ? ? ? Kernel > ====== ====== > host1 ? ?AS5 U3 > host2 ? ?AS4 U6 > host3 ? ?AS5 U3 > ... > > Kernel version is just an example, there are many service results I'd like > to be able to display in this manner. > > Something similar to how the Hosts page, displays ping status against each > host. I'm assuming I could create another customised page, and stick it on > the sidebar, but was wondering if anything is available out of the box. For that kind of thing you need a Service Group. See: http://nagios.sourceforge.net/docs/3_0/configobject.html There is already an entry for Service Groups on the side-bar, but of course you can add a specific menu item for your kernel version service group if you wish. 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 Charles.Breite at altertrading.com Mon Mar 15 14:27:07 2010 From: Charles.Breite at altertrading.com (Charles Breite) Date: Mon, 15 Mar 2010 08:27:07 -0500 Subject: Whos Disabling Notifications In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local><4B98BA78.2080300@aidananderson.co.uk><2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com> Message-ID: <5D490E0402B4D14F836B5C4436D5949AEBAB56@VMEXCHANGE2.alterscrap.com> Somehow our notifications are getting disabled. I assume a user is doing this via the Process Info page. What and where can I grep to find out who is running this command from the Web interface. Thanks for any help! -------------- 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 Mon Mar 15 14:38:04 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Mon, 15 Mar 2010 14:38:04 +0100 Subject: Whos Disabling Notifications In-Reply-To: <5D490E0402B4D14F836B5C4436D5949AEBAB56@VMEXCHANGE2.alterscrap.com> References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> <4B98BA78.2080300@aidananderson.co.uk> <2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com> <5D490E0402B4D14F836B5C4436D5949AEBAB56@VMEXCHANGE2.alterscrap.com> Message-ID: > Somehow our notifications are getting disabled. I assume a user is doing > this via the Process Info page. > > What and where can I grep to find out who is running this command from the > Web interface. > > - Check .../var/nagios.log , configure proper authentication setup(s) for 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 marc at ena.com Mon Mar 15 14:41:02 2010 From: marc at ena.com (Marc Powell) Date: Mon, 15 Mar 2010 08:41:02 -0500 Subject: Whos Disabling Notifications In-Reply-To: <5D490E0402B4D14F836B5C4436D5949AEBAB56@VMEXCHANGE2.alterscrap.com> References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local><4B98BA78.2080300@aidananderson.co.uk><2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com> <5D490E0402B4D14F836B5C4436D5949AEBAB56@VMEXCHANGE2.alterscrap.com> Message-ID: On Mar 15, 2010, at 8:27 AM, Charles Breite wrote: > Somehow our notifications are getting disabled. I assume a user is doing this via the Process Info page. > What and where can I grep to find out who is running this command from the Web interface. In your web server log files -- - mpowell [15/Mar/2010:08:37:33 -0500] "POST /cgi-bin/cmd.cgi HTTP/1.1" 200 1282 "http://nagios/cgi-bin/cmd.cgi?cmd_typ=11" "" -- 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 Mon Mar 15 14:41:48 2010 From: marc at ena.com (Marc Powell) Date: Mon, 15 Mar 2010 08:41:48 -0500 Subject: Whos Disabling Notifications In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> <4B98BA78.2080300@aidananderson.co.uk> <2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com> <5D490E0402B4D14F836B5C4436D5949AEBAB56@VMEXCHANGE2.alterscrap.com> Message-ID: <54CAF5CD-F3B2-4080-AF69-AD52E2F311E4@ena.com> On Mar 15, 2010, at 8:38 AM, Mark Elsen wrote: >> Somehow our notifications are getting disabled. I assume a user is doing >> this via the Process Info page. >> >> What and where can I grep to find out who is running this command from the >> Web interface. >> >> > > - Check .../var/nagios.log , configure proper authentication > setup(s) for NAGIOS This is all he'll find there... Not very useful for his purposes -- [1268660255] EXTERNAL COMMAND: DISABLE_NOTIFICATIONS;1268660255 -- 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 jim at jimavery.me.uk Mon Mar 15 14:51:22 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 15 Mar 2010 13:51:22 +0000 Subject: Whos Disabling Notifications In-Reply-To: <5D490E0402B4D14F836B5C4436D5949AEBAB56@VMEXCHANGE2.alterscrap.com> References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> <4B98BA78.2080300@aidananderson.co.uk> <2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com> <5D490E0402B4D14F836B5C4436D5949AEBAB56@VMEXCHANGE2.alterscrap.com> Message-ID: <765d77c81003150651p31afa2ady4194c0898dca580f@mail.gmail.com> On 15 March 2010 13:27, Charles Breite wrote: > Somehow our notifications are getting disabled. I assume a user is doing > this via the Process Info page. > > What and where can I grep to find out who is running this command from the > Web interface. > > Thanks for any help! Search for the relevant portion of the URL for that page in your apache access log, for example: $ grep "cgi-bin/cmd.cgi?cmd_typ=23" /var/log/apache2/access.log Where your apache access log is will depend on how you have installed it. You might find it under /var/log/httpd or similar. 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 Charles.Breite at altertrading.com Mon Mar 15 14:55:54 2010 From: Charles.Breite at altertrading.com (Charles Breite) Date: Mon, 15 Mar 2010 08:55:54 -0500 Subject: Whos Disabling Notifications In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local><4B98BA78.2080300@aidananderson.co.uk><2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com><5D490E0402B4D14F836B5C4436D5949AEBAB56@VMEXCHANGE2.alterscrap.com> Message-ID: <5D490E0402B4D14F836B5C4436D5949AEBAB77@VMEXCHANGE2.alterscrap.com> Thanks Strange I can see in the /var/log/messages that it was disabled at Mar 12 14:25:37 vmnagios2 nagios: EXTERNAL COMMAND: DISABLE_NOTIFICATIONS;1268425532 But if I grep for cmd_typ=11 in my Nagios_access.log-20100312 for that day I don't find a match? If I manually look for an entry at 14:25:37 there isn't one? -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Monday, March 15, 2010 8:41 AM To: Nagios Users List Subject: Re: [Nagios-users] Whos Disabling Notifications On Mar 15, 2010, at 8:27 AM, Charles Breite wrote: > Somehow our notifications are getting disabled. I assume a user is doing this via the Process Info page. > What and where can I grep to find out who is running this command from the Web interface. In your web server log files -- - mpowell [15/Mar/2010:08:37:33 -0500] "POST /cgi-bin/cmd.cgi HTTP/1.1" 200 1282 "http://nagios/cgi-bin/cmd.cgi?cmd_typ=11" "" -- 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 jim at jimavery.me.uk Mon Mar 15 14:59:29 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 15 Mar 2010 13:59:29 +0000 Subject: Whos Disabling Notifications In-Reply-To: <5D490E0402B4D14F836B5C4436D5949AEBAB56@VMEXCHANGE2.alterscrap.com> References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> <4B98BA78.2080300@aidananderson.co.uk> <2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com> <5D490E0402B4D14F836B5C4436D5949AEBAB56@VMEXCHANGE2.alterscrap.com> Message-ID: <765d77c81003150659p68b87ac7w737af9318ab2afbd@mail.gmail.com> On 15 March 2010 13:27, Charles Breite wrote: > Somehow our notifications are getting disabled. I assume a user is doing > this via the Process Info page. > > What and where can I grep to find out who is running this command from the > Web interface. > > Thanks for any help! p.s. You can also disable all notifications from the tactical overview screen (cmd_typ=11 same as from the Process Info screen), or notifications for a specific host from the host information screen (cmd_typ=25), or for a specific service from the Service Information screen (cmd_typ=23). ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 15 15:39:08 2010 From: Charles.Breite at altertrading.com (Charles Breite) Date: Mon, 15 Mar 2010 09:39:08 -0500 Subject: Whos Disabling Notifications In-Reply-To: <765d77c81003150659p68b87ac7w737af9318ab2afbd@mail.gmail.com> References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local><4B98BA78.2080300@aidananderson.co.uk><2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com><5D490E0402B4D14F836B5C4436D5949AEBAB56@VMEXCHANGE2.alterscrap.com> <765d77c81003150659p68b87ac7w737af9318ab2afbd@mail.gmail.com> Message-ID: <5D490E0402B4D14F836B5C4436D5949AEBABA0@VMEXCHANGE2.alterscrap.com> Thanks for all the responses. We use Kerberos auth in our vhost setup for Nagios and I think some of the logging is off. I cant find anything corresponding to the DISABLE_NOTIFICATIONS string I found In my Nagios.log. I will keep digging. -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Monday, March 15, 2010 8:59 AM To: Nagios Users List Subject: Re: [Nagios-users] Whos Disabling Notifications On 15 March 2010 13:27, Charles Breite wrote: > Somehow our notifications are getting disabled. I assume a user is doing > this via the Process Info page. > > What and where can I grep to find out who is running this command from the > Web interface. > > Thanks for any help! p.s. You can also disable all notifications from the tactical overview screen (cmd_typ=11 same as from the Process Info screen), or notifications for a specific host from the host information screen (cmd_typ=25), or for a specific service from the Service Information screen (cmd_typ=23). ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Mon Mar 15 16:05:48 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Mon, 15 Mar 2010 11:05:48 -0400 Subject: Upgrading 3.2.0 to 3.2.1 Message-ID: <33C7BE4CE80D504E8907FDC31F8A08304BDF4F193C@iexchange.I-EVOLVE.com> Good day all! I logged into our Nagios page this morning and noticed that the 3.2.1 version is available for downloading. Is there any documentation that outlines how to upgrade the 3.2.0 version to 3.2.1? I would like to possibly do this without killing the custom configs and scripts/checks that we currently have in place right now (ie I don't want to break anything ). Thanks in advance! Robert Wolfe - Linux+, MCP, MCITP: Windows Server 2008 Ent. Admin., MCTS: Windows 7 Config 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 . . . . . . . . *** Message Virus Free. Email scanned by I-FILTER *** Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com . -------------- 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 Mon Mar 15 16:12:59 2010 From: Charles.Breite at altertrading.com (Charles Breite) Date: Mon, 15 Mar 2010 10:12:59 -0500 Subject: Upgrading 3.2.0 to 3.2.1 In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A08304BDF4F193C@iexchange.I-EVOLVE.com> References: <33C7BE4CE80D504E8907FDC31F8A08304BDF4F193C@iexchange.I-EVOLVE.com> Message-ID: <5D490E0402B4D14F836B5C4436D5949AEBABB5@VMEXCHANGE2.alterscrap.com> Start here http://nagios.sourceforge.net/docs/3_0/upgrading.html From: Robert Wolfe [mailto:rwolfe at i-evolve.com] Sent: Monday, March 15, 2010 10:06 AM To: Nagios Users List Subject: [Nagios-users] Upgrading 3.2.0 to 3.2.1 Good day all! I logged into our Nagios page this morning and noticed that the 3.2.1 version is available for downloading. Is there any documentation that outlines how to upgrade the 3.2.0 version to 3.2.1? I would like to possibly do this without killing the custom configs and scripts/checks that we currently have in place right now (ie I don't want to break anything ). Thanks in advance! Robert Wolfe - Linux+, MCP, MCITP: Windows Server 2008 Ent. Admin., MCTS: Windows 7 Config 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 . . . . . . . . *** Message Virus Free. Email scanned by I-FILTER *** Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com . -------------- 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 15 16:15:44 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 15 Mar 2010 15:15:44 +0000 Subject: Upgrading 3.2.0 to 3.2.1 In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A08304BDF4F193C@iexchange.I-EVOLVE.com> References: <33C7BE4CE80D504E8907FDC31F8A08304BDF4F193C@iexchange.I-EVOLVE.com> Message-ID: <4B9E4F20.3030504@flatto.net> Robert Wolfe wrote: > > Good day all! > > I logged into our Nagios page this morning and noticed that the 3.2.1 > version is available for downloading. Is there any documentation that > outlines how to upgrade the 3.2.0 version to 3.2.1? I would like to > possibly do this without killing the custom configs and scripts/checks > that we currently have in place right now (ie I don?t want to break > anything ). > > Thanks in advance! > My guess is download the tar ball , compile and when doing the make install phase , DO NOT initiate the make install-config as that writes the config files. once you've upgraded the cgi's and binaries , check that the config is read properly ( /path/to/nagios -v /path/to/nagios.cfg ) and then run /etc/init.d/nagios reload. Assaf -- 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 rwolfe at i-evolve.com Mon Mar 15 16:19:37 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Mon, 15 Mar 2010 11:19:37 -0400 Subject: Upgrading 3.2.0 to 3.2.1 In-Reply-To: <5D490E0402B4D14F836B5C4436D5949AEBABB5@VMEXCHANGE2.alterscrap.com> References: <33C7BE4CE80D504E8907FDC31F8A08304BDF4F193C@iexchange.I-EVOLVE.com> <5D490E0402B4D14F836B5C4436D5949AEBABB5@VMEXCHANGE2.alterscrap.com> Message-ID: <33C7BE4CE80D504E8907FDC31F8A08304BDF4F193E@iexchange.I-EVOLVE.com> Thanks! :) From: Charles Breite [mailto:Charles.Breite at altertrading.com] Sent: Monday, March 15, 2010 11:13 AM To: Nagios Users List Subject: Re: [Nagios-users] Upgrading 3.2.0 to 3.2.1 Start here http://nagios.sourceforge.net/docs/3_0/upgrading.html From: Robert Wolfe [mailto:rwolfe at i-evolve.com] Sent: Monday, March 15, 2010 10:06 AM To: Nagios Users List Subject: [Nagios-users] Upgrading 3.2.0 to 3.2.1 Good day all! I logged into our Nagios page this morning and noticed that the 3.2.1 version is available for downloading. Is there any documentation that outlines how to upgrade the 3.2.0 version to 3.2.1? I would like to possibly do this without killing the custom configs and scripts/checks that we currently have in place right now (ie I don't want to break anything ). Thanks in advance! Robert Wolfe - Linux+, MCP, MCITP: Windows Server 2008 Ent. Admin., MCTS: Windows 7 Config 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 . . . . . . . . *** Message Virus Free. Email scanned by I-FILTER *** Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com . -------------- 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 15 16:23:20 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Mon, 15 Mar 2010 11:23:20 -0400 Subject: Upgrading 3.2.0 to 3.2.1 In-Reply-To: <4B9E4F20.3030504@flatto.net> References: <33C7BE4CE80D504E8907FDC31F8A08304BDF4F193C@iexchange.I-EVOLVE.com> <4B9E4F20.3030504@flatto.net> Message-ID: <33C7BE4CE80D504E8907FDC31F8A08304BDF4F1940@iexchange.I-EVOLVE.com> Charles Breite gave me a good place to start, actually :) http://nagios.sourceforge.net/docs/3_0/upgrading.html -----Original Message----- From: Assaf Flatto [mailto:nagios at flatto.net] Sent: Monday, March 15, 2010 11:16 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Upgrading 3.2.0 to 3.2.1 Robert Wolfe wrote: > > Good day all! > > I logged into our Nagios page this morning and noticed that the 3.2.1 > version is available for downloading. Is there any documentation that > outlines how to upgrade the 3.2.0 version to 3.2.1? I would like to > possibly do this without killing the custom configs and scripts/checks > that we currently have in place right now (ie I don't want to break > anything ). > > Thanks in advance! > My guess is download the tar ball , compile and when doing the make install phase , DO NOT initiate the make install-config as that writes the config files. once you've upgraded the cgi's and binaries , check that the config is read properly ( /path/to/nagios -v /path/to/nagios.cfg ) and then run /etc/init.d/nagios reload. Assaf -- 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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsico.com Mon Mar 15 16:25:33 2010 From: mark.frost1 at pepsico.com (Frost, Mark {PBC}) Date: Mon, 15 Mar 2010 11:25:33 -0400 Subject: Nagios DST bug and upcoming DST-time switch in Europe In-Reply-To: References: Message-ID: >-----Original Message----- >From: Ton Voon [mailto:ton.voon at opsera.com] >Sent: Tuesday, March 09, 2010 3:33 AM >To: Nagios Users Mailinglist >Subject: Re: [Nagios-users] Nagios DST bug and upcoming DST-time switch in Europe > > >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 Unless I'm mistaken, we had this timeperiod problem occur here. Some alerts were sent during a timeperiod for which notifications are not enabled. I did restart Nagios after DST went into affect just for fun, but that was before these alerts went out. I know that the fix for this when this bug was evidenced last fall was to run a script against one of the .dat files (retention.dat?). However, that was for the monitoring problem. Is there something similar that we need to do to correct timeperiods? Thanks Mark ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Mon Mar 15 16:40:35 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Mon, 15 Mar 2010 16:40:35 +0100 Subject: Nagios DST bug and upcoming DST-time switch in Europe In-Reply-To: References: Message-ID: > > Unless I'm mistaken, we had this timeperiod problem occur here. ?Some > alerts were sent during a timeperiod for which notifications > are not enabled. ?I did restart Nagios after DST went into affect > just for fun, but that was before these alerts went out. > > I know that the fix for this when this bug was evidenced last fall > was to run a script against one of the .dat files (retention.dat?). > However, that was for the monitoring problem. ?Is there something > similar that we need to do to correct timeperiods? > > Thanks > Upgrade to nagios 3.2.1, for which this issue is fixed. 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 mitsuto at gmail.com Mon Mar 15 17:35:20 2010 From: mitsuto at gmail.com (Marcel) Date: Mon, 15 Mar 2010 13:35:20 -0300 Subject: Accessing Nagios for the first time In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> <4B98BA78.2080300@aidananderson.co.uk> <2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com> Message-ID: <2dfcbd1b1003150935j5cebe58dgfc548ab45cef6fc0@mail.gmail.com> 404 means that either you don't have the nagios.conf sourced in httpd.conf or you haven't restarted httpd, don't see any other choice here. On Sun, Mar 14, 2010 at 4:36 PM, Tim Tompson wrote: > Yes, I restarted during the installation process. > > Any other ideas? Thanks! > > > On Fri, Mar 12, 2010 at 6:12 PM, Marcel wrote: > >> have you restarted httpd? >> >> On Thu, Mar 11, 2010 at 6:10 PM, Tim Tompson wrote: >> >>> 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 < >>>> mail at aidananderson.co.uk> 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 >>>>> >>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 fredrik at barrud.se Mon Mar 15 20:19:41 2010 From: fredrik at barrud.se (Fredrik Barrud) Date: Mon, 15 Mar 2010 20:19:41 +0100 Subject: Accessing Nagios for the first time In-Reply-To: <2dfcbd1b1003150935j5cebe58dgfc548ab45cef6fc0@mail.gmail.com> References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> <4B98BA78.2080300@aidananderson.co.uk> <2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com> <2dfcbd1b1003150935j5cebe58dgfc548ab45cef6fc0@mail.gmail.com> Message-ID: <006301cac474$76e91e40$64bb5ac0$@barrud.se> Could it be that your nagios installation directory is called nagios3 and not nagios? -- Fredrik From: Marcel [mailto:mitsuto at gmail.com] Sent: den 15 mars 2010 17:35 To: Nagios Users List Subject: Re: [Nagios-users] Accessing Nagios for the first time 404 means that either you don't have the nagios.conf sourced in httpd.conf or you haven't restarted httpd, don't see any other choice here. On Sun, Mar 14, 2010 at 4:36 PM, Tim Tompson wrote: Yes, I restarted during the installation process. Any other ideas? Thanks! On Fri, Mar 12, 2010 at 6:12 PM, Marcel wrote: have you restarted httpd? On Thu, Mar 11, 2010 at 6:10 PM, Tim Tompson wrote: 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 ---------------------------------------------------------------------------- -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ron at tvnz.co.nz Mon Mar 15 22:14:54 2010 From: ron at tvnz.co.nz (Ron Wilson) Date: Tue, 16 Mar 2010 10:14:54 +1300 Subject: NagioSQL Message-ID: <7D85034F6BBBD540AF52C59CED3AA1E801C71343@AKVXCH02.tvnzad.tvnz.co.nz> I am using NagioSQL and find some of the tables are growing quite rapidly. nagios_externalcommands is quite large and I would like to reduce it. Has anyone any tips for general maintenance of the sql tables in ngaios. I don't want to zap something that system needs 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 lecb79 at gmail.com Mon Mar 15 23:02:54 2010 From: lecb79 at gmail.com (Eduardo Barreto) Date: Mon, 15 Mar 2010 19:02:54 -0300 Subject: Performance Message-ID: Hi All, Could anybody tell me what's better, checking hosts through icmp protocol or snmp? What are the risks or may set the network at all on a poor status? Cheers Eduardo Barreto -------------- 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 15 23:32:33 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 15 Mar 2010 22:32:33 +0000 Subject: Performance In-Reply-To: References: Message-ID: <765d77c81003151532ra2d2e26o46287dbd4a566ed4@mail.gmail.com> On 15 March 2010 22:02, Eduardo Barreto wrote: > Hi All, Could anybody tell me what's better, checking hosts through icmp > protocol or snmp? What are the risks or may set the network at all on a poor > status? In Nagios, you should check a host using ICMP (the Nagios host check is only to see if the host is alive). SNMP can be used for service checks in Nagios, but some people say that security is bad with SNMP. If your servers are not connected to the internet, SNMP is perhaps ok. I use SNMP to test disk space, users, cpu load and some other checks for some of my servers inside my network. I hope that helps. 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 jim at jimavery.me.uk Mon Mar 15 23:46:17 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 15 Mar 2010 22:46:17 +0000 Subject: NagioSQL In-Reply-To: <7D85034F6BBBD540AF52C59CED3AA1E801C71343@AKVXCH02.tvnzad.tvnz.co.nz> References: <7D85034F6BBBD540AF52C59CED3AA1E801C71343@AKVXCH02.tvnzad.tvnz.co.nz> Message-ID: <765d77c81003151546m7ddad7ccxdcbd098d59426b88@mail.gmail.com> On 15 March 2010 21:14, Ron Wilson wrote: > I am using NagioSQL and find some of the tables are growing quite rapidly. > nagios_externalcommands is quite large and I would like to reduce it. Has > anyone any tips for general maintenance of the sql tables in ngaios. I don?t > want to zap something that system needs Nagios itself doesn't use anything in the database. I would point you to the NagioSQL support page at http://www.nagiosql.org/support.html , but it seems to be down at the moment :-( I doubt NagioSQL would need much in the nagios_externalcommands table so I guess you could trim it quite aggressively. I don't use NagioSQL myself, so can't be 100% sure though. Other addons, for example NagVis use the database too, but I doubt anything would need the externalcommands history for more than a day or two if at all. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 15 23:55:49 2010 From: rkomorn at dofc.org (Romain Komorn) Date: Mon, 15 Mar 2010 15:55:49 -0700 Subject: NagioSQL In-Reply-To: <765d77c81003151546m7ddad7ccxdcbd098d59426b88@mail.gmail.com> References: <7D85034F6BBBD540AF52C59CED3AA1E801C71343@AKVXCH02.tvnzad.tvnz.co.nz> <765d77c81003151546m7ddad7ccxdcbd098d59426b88@mail.gmail.com> Message-ID: <6288478a1003151555s638c72ebg3b2cce485d978b9d@mail.gmail.com> Off the top of my head, The nagios_externalcommands table sounds a lot more related to NDOutils than it is to NagioSQL . I don't know if NagioSQL uses external commands to adjust the configuration while nagios is running, without reloads, but that's the only link I could see between NagioSQL and a growing nagios_externalcommands table. Romain On Mon, Mar 15, 2010 at 3:46 PM, Jim Avery wrote: > On 15 March 2010 21:14, Ron Wilson wrote: >> I am using NagioSQL and find some of the tables are growing quite rapidly. >> nagios_externalcommands is quite large and I would like to reduce it. Has >> anyone any tips for general maintenance of the sql tables in ngaios. I don?t >> want to zap something that system needs > > Nagios itself doesn't use anything in the database. > > I would point you to the NagioSQL support page at > http://www.nagiosql.org/support.html , but it seems to be down at the > moment :-( > > I doubt NagioSQL would need much in the nagios_externalcommands table > so I guess you could trim it quite aggressively. ?I don't use NagioSQL > myself, so can't be 100% sure though. > > Other addons, for example NagVis use the database too, but I doubt > anything would need the externalcommands history for more than a day > or two if at all. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 patrick.morris at hp.com Tue Mar 16 00:24:39 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Mon, 15 Mar 2010 16:24:39 -0700 Subject: Accessing Nagios for the first time In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3E2CBB6951@off-win2003-01.ausregistrygroup.local> <4B98BA78.2080300@aidananderson.co.uk> <2dfcbd1b1003121412w196f0fb9g45dd878670c3f830@mail.gmail.com> Message-ID: <20100315232439.GX4621@bakgwai.americas.hpqcorp.net> On Sun, 14 Mar 2010, Tim Tompson wrote: > Yes, I restarted during the installation process. > > Any other ideas? Thanks! > > On Fri, Mar 12, 2010 at 6:12 PM, Marcel > wrote: > have you restarted httpd? > > On Thu, Mar 11, 2010 at 6:10 PM, Tim Tompson > wrote: > 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. There is precisely one reason you will get a 404 when accessing the URL you believe will get you to Nagios: Your Apache configuration is wrong. Double-check that Nagios really lives in the directories you've specified in your Apache config, and make sure you have PHP installed or Apache won't find the index page (but that would likely result in a different error than a 404). Then make sure your config is actually being loaded by Apache via an include line in httpd.conf. If it looks right to you, triple-check. It's almost a sure thing that you've specified the Nagios html directory incorrectly or that you're not loading the config you've specified it in. What's currently in /usr/local/nagios/share? Anything like index.*? If not, your path is wrong. Is nagios.conf even being loaded by your main Apache config? Try "grep -i ^Include httpd.conf". Does it return anything? If not, your nagios.conf file is not being used. If it does return something, make sure it includes that file, either specifically or through a wildcard. I ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 00:49:10 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Mon, 15 Mar 2010 16:49:10 -0700 Subject: Two IP for the Same server In-Reply-To: References: Message-ID: <20100315234910.GY4621@bakgwai.americas.hpqcorp.net> On Sat, 13 Mar 2010, Digital Edge wrote: > > > > From: perldork at webwizarddesign.com > > Date: Fri, 12 Mar 2010 13:15:46 -0500 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Two IP for the Same server > > > > 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. > > > > > What I mean to say that , > > define host{ > use generic-servers > host_name Example1 > alias Example1 - Used for Cookie > address 192.168.1.100 > address1 192.168.1.101 > } > > Is anyway it possible to add multiple address field in the host definition, if the same server having more than one IP address. To quote the original reply: > > Not with a single host definition ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 00:53:34 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Mon, 15 Mar 2010 16:53:34 -0700 Subject: switch off send a notification for acknowledgement In-Reply-To: <765d77c81003120005r4927ed22vc2223ecbf8658985@mail.gmail.com> References: <4B99EB97.6070309@gmail.com> <765d77c81003120005r4927ed22vc2223ecbf8658985@mail.gmail.com> Message-ID: <20100315235334.GZ4621@bakgwai.americas.hpqcorp.net> Hi Jim! On Fri, 12 Mar 2010, Jim Avery wrote: > 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). Why would you expect to find acknowledgements documented at a link that provides instructions for host config objects? Again. look at the web interface when you submit an acknowledgement. The option to not to send a notification is right there. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moby at mobsternet.com Tue Mar 16 02:23:27 2010 From: moby at mobsternet.com (Moby) Date: Mon, 15 Mar 2010 20:23:27 -0500 Subject: NagioSQL In-Reply-To: <6288478a1003151555s638c72ebg3b2cce485d978b9d@mail.gmail.com> References: <7D85034F6BBBD540AF52C59CED3AA1E801C71343@AKVXCH02.tvnzad.tvnz.co.nz> <765d77c81003151546m7ddad7ccxdcbd098d59426b88@mail.gmail.com> <6288478a1003151555s638c72ebg3b2cce485d978b9d@mail.gmail.com> Message-ID: <4B9EDD8F.7020503@mobsternet.com> On 03/15/2010 05:55 PM, Romain Komorn wrote: > Off the top of my head, > > The nagios_externalcommands table sounds a lot more related to > NDOutils than it is to NagioSQL . > I don't know if NagioSQL uses external commands to adjust the > configuration while nagios is running, without reloads, but that's the > only link I could see between NagioSQL and a growing > nagios_externalcommands table. > > Romain > > On Mon, Mar 15, 2010 at 3:46 PM, Jim Avery wrote: >> On 15 March 2010 21:14, Ron Wilson wrote: >>> I am using NagioSQL and find some of the tables are growing quite rapidly. >>> nagios_externalcommands is quite large and I would like to reduce it. Has >>> anyone any tips for general maintenance of the sql tables in ngaios. I don?t >>> want to zap something that system needs >> Nagios itself doesn't use anything in the database. >> >> I would point you to the NagioSQL support page at >> http://www.nagiosql.org/support.html , but it seems to be down at the >> moment :-( >> >> I doubt NagioSQL would need much in the nagios_externalcommands table >> so I guess you could trim it quite aggressively. I don't use NagioSQL >> myself, so can't be 100% sure though. >> >> Other addons, for example NagVis use the database too, but I doubt >> anything would need the externalcommands history for more than a day >> or two if at all. >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 > > It is indeed to do with ndoutils and I have a script to clean out old (6 months in my case) data from all tables of ndoutils - if interested, I can send that script over. -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 08:59:46 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 16 Mar 2010 07:59:46 +0000 Subject: switch off send a notification for acknowledgement In-Reply-To: <20100315235334.GZ4621@bakgwai.americas.hpqcorp.net> References: <4B99EB97.6070309@gmail.com> <765d77c81003120005r4927ed22vc2223ecbf8658985@mail.gmail.com> <20100315235334.GZ4621@bakgwai.americas.hpqcorp.net> Message-ID: <765d77c81003160059mf884b31i6457fe51a68d882e@mail.gmail.com> On 15 March 2010 23:53, wrote: > Hi Jim! > > On Fri, 12 Mar 2010, Jim Avery wrote: > >> 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). > > Why would you expect to find acknowledgements documented at a link that > provides instructions for host config objects? > > Again. look at the web interface when you submit an acknowledgement. > The option to not to send a notification is right there. You can turn on/off various other kinds of notification using the notification_options directive. It's bizarre that you can't use this directive to specify whether you want acknowledgement notifications (except by using notification_options=n). ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 09:45:14 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Tue, 16 Mar 2010 09:45:14 +0100 Subject: Confused about (new) 'Schedule downtime for this host and all services' in NAGIOS 3.2.1 Message-ID: The new link ' Schedule downtime for this host and all services' in NAGIOS 3.2.1 confused me. Does it schedukle shutdown for host's services only as described in ChangeLog and or is scheduled shutdown for the host itself included ? The naming seems to suggest scheduling shutdown for BOTH host and services, yet using it , indicates that cloud-sleep symbols only appear for services and not the particular host. If services only were intended, I would have name it differently as in : 'Schedule downtime for all services on this host' ? 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 zarrelli at linux.it Tue Mar 16 07:59:02 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 16 Mar 2010 07:59:02 +0100 Subject: Performance In-Reply-To: <765d77c81003151532ra2d2e26o46287dbd4a566ed4@mail.gmail.com> References: <765d77c81003151532ra2d2e26o46287dbd4a566ed4@mail.gmail.com> Message-ID: Snmp can be secured using version 3 feautures and narrowing down the ip range allowed to place an snmp poll. Ciao, Giorgio Il giorno 15/mar/2010, alle ore 23.32, Jim Avery ha scritto: > On 15 March 2010 22:02, Eduardo Barreto wrote: >> Hi All, Could anybody tell me what's better, checking hosts through >> icmp >> protocol or snmp? What are the risks or may set the network at all >> on a poor >> status? > > In Nagios, you should check a host using ICMP (the Nagios host check > is only to see if the host is alive). > > SNMP can be used for service checks in Nagios, but some people say > that security is bad with SNMP. > > If your servers are not connected to the internet, SNMP is perhaps ok. > I use SNMP to test disk space, users, cpu load and some other checks > for some of my servers inside my network. > > I hope that helps. > > 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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Tue Mar 16 07:56:49 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 16 Mar 2010 07:56:49 +0100 Subject: Performance In-Reply-To: References: Message-ID: Hi, If you just want to check if a host is alive, icmp is the protocol that's always been used for this purpose. I use snmp mostly for appliances, eg. Routers, firewall and switches, wherr I can't install a proper Nagios client to rely on. Ciao, Giorgio Il giorno 15/mar/2010, alle ore 23.02, Eduardo Barreto ha scritto: > Hi All, Could anybody tell me what's better, checking hosts through > icmp protocol or snmp? What are the risks or may set the network at > all on a poor status? > > Cheers > > Eduardo Barreto > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Traiano.Welcome at mtnbusiness.co.za Tue Mar 16 13:57:27 2010 From: Traiano.Welcome at mtnbusiness.co.za (Traiano Welcome) Date: Tue, 16 Mar 2010 14:57:27 +0200 Subject: Change the Syslog Facility in Nagios 3 Message-ID: Hi List We have a requirement that our nagios (Version 3.0.6 running) instance send log messages to syslogd using the Local5 facility instead of the "User" facility. Currently it seems nagios only logs via "User", is there any way to change this? Thanks in Advance, Traiano ________________________________ NOTE: This e-mail message and all attachments thereto contain confidential information intended for a specific addressee and purpose. If you are not the addressee (a) you may not disclose, copy, distribute or take any action based on the contents hereof; (b) kindly inform the sender immediately and destroy all copies hereof. Any copying, publication or disclosure of this message, or part hereof, in any form whatsoever, without the sender's express written consent, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of MTN. This message does not constitute a guarantee or proof of the facts mentioned herein. No Employee or intermediary is authorised to conclude a binding agreement on behalf of MTN Group Limited, or any of its subsidiary companies, by e-mail without the express written confirmation by a duly authorised representative of MTN Group Limited. -------------- 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 Tue Mar 16 15:08:48 2010 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 16 Mar 2010 15:08:48 +0100 Subject: Change the Syslog Facility in Nagios 3 In-Reply-To: References: Message-ID: <4B9F90F0.4030107@ederdrom.de> Am 16.03.10 13:57, schrieb Traiano Welcome: > Hi List > > We have a requirement that our nagios (Version 3.0.6 running) instance send log messages to syslogd using the Local5 facility instead of the "User" facility. Currently it seems nagios only logs via "User", is there any way to change this? base/logging.c line 223ff syslog(LOG_USER|LOG_INFO,"%s",buffer); Per default it look like facility USER and not LOCAL5 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 Traiano.Welcome at mtnbusiness.co.za Tue Mar 16 16:30:45 2010 From: Traiano.Welcome at mtnbusiness.co.za (Traiano Welcome) Date: Tue, 16 Mar 2010 17:30:45 +0200 Subject: Change the Syslog Facility in Nagios 3 In-Reply-To: <4B9F90F0.4030107@ederdrom.de> References: <4B9F90F0.4030107@ederdrom.de> Message-ID: Thanks, changing this to LOG_LOCAL5 seemed to work. I guess I should add this to a wishlist of config file options for nagios Traiano From: Joerg Linge Reply-To: Nagios Users List Date: Tue, 16 Mar 2010 16:08:48 +0200 To: Subject: Re: [Nagios-users] Change the Syslog Facility in Nagios 3 base/logging.c line 223ff syslog(LOG_USER|LOG_INFO,"%s",buffer); ________________________________ NOTE: This e-mail message and all attachments thereto contain confidential information intended for a specific addressee and purpose. If you are not the addressee (a) you may not disclose, copy, distribute or take any action based on the contents hereof; (b) kindly inform the sender immediately and destroy all copies hereof. Any copying, publication or disclosure of this message, or part hereof, in any form whatsoever, without the sender's express written consent, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of MTN. This message does not constitute a guarantee or proof of the facts mentioned herein. No Employee or intermediary is authorised to conclude a binding agreement on behalf of MTN Group Limited, or any of its subsidiary companies, by e-mail without the express written confirmation by a duly authorised representative of MTN Group Limited. -------------- 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 Tue Mar 16 18:05:13 2010 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 16 Mar 2010 17:05:13 +0000 Subject: Nagvis odd behaviour Message-ID: <4B9FBA49.9040201@flatto.net> Hello List In my attempt to build a failover nagios system I came across an annoying problem , and I am at a loss as to how to resolve it . I have two nagios servers (master and secondary ) , on both i have installed NDO , and Nagvis , on the Master the nagvis automap displays the icons and the correct names of the servers . On secondary , the automap is shown properly but without the icons and the host names , instead host are numbered "host_1" , "host_2" ... "host_N" , I checked the database and the names are inserted properly . I tried several configurations - and even went as far as copying the working one from the Master - but to no success , i've compared the output of the ./configure command ,and they are identical . I made sure the requirements are installed (Zlib and gd and gd-devel) and the graphviz . Any ideas anyone ? Thanks -- 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 nagios at flatto.net Tue Mar 16 18:36:04 2010 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 16 Mar 2010 17:36:04 +0000 Subject: Nagvis odd behaviour In-Reply-To: <4B9FBA49.9040201@flatto.net> References: <4B9FBA49.9040201@flatto.net> Message-ID: <4B9FC184.1080908@flatto.net> Managed to fix it - it was a problem in the underlying Graphviz . Sorry for "spamming" the list. Assaf Flatto wrote: > Hello List > > In my attempt to build a failover nagios system I came across an > annoying problem , and I am at a loss as to how to resolve it . > I have two nagios servers (master and secondary ) , on both i have > installed NDO , and Nagvis , on the Master the nagvis automap displays > the icons and the correct names of the servers . > On secondary , the automap is shown properly but without the icons and > the host names , instead host are numbered "host_1" , "host_2" ... > "host_N" , I checked the database and the names are inserted properly . > > I tried several configurations - and even went as far as copying the > working one from the Master - but to no success , i've compared the > output of the ./configure command ,and they are identical . > > I made sure the requirements are installed (Zlib and gd and gd-devel) > and the graphviz . > > Any ideas anyone ? > > Thanks > > > -- 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 mitsuto at gmail.com Tue Mar 16 22:08:18 2010 From: mitsuto at gmail.com (Marcel) Date: Tue, 16 Mar 2010 18:08:18 -0300 Subject: Two IP for the Same server In-Reply-To: <20100315234910.GY4621@bakgwai.americas.hpqcorp.net> References: <20100315234910.GY4621@bakgwai.americas.hpqcorp.net> Message-ID: <2dfcbd1b1003161408id2a8de9ne0522a580f44fa7b@mail.gmail.com> Well, This could be completely out of line, but what if custom macros and a custom host check was baked for this kind of situation? He could associate a custom macro and a custom host check that uses that custom macro to try to achieve what he wants. Any ideas? On Mon, Mar 15, 2010 at 8:49 PM, wrote: > On Sat, 13 Mar 2010, Digital Edge wrote: > > > > > > > > From: perldork at webwizarddesign.com > > > Date: Fri, 12 Mar 2010 13:15:46 -0500 > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Two IP for the Same server > > > > > > 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. > > > > > > > > > What I mean to say that , > > > > define host{ > > use generic-servers > > host_name Example1 > > alias Example1 - Used for Cookie > > address 192.168.1.100 > > address1 192.168.1.101 > > } > > > > Is anyway it possible to add multiple address field in the host > definition, if the same server having more than one IP address. > > To quote the original reply: > > > > Not with a single host definition > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Tue Mar 16 22:14:48 2010 From: mitsuto at gmail.com (Marcel) Date: Tue, 16 Mar 2010 18:14:48 -0300 Subject: Performance In-Reply-To: References: Message-ID: <2dfcbd1b1003161414k617e6829w469aba46e538608e@mail.gmail.com> well, SNMP is a proper Nagios client. With rocommunity and firewall rules, security isn't a big deal. I'm using SNMP to actively issue checks when passive transport get stalled. It tries to send the passive result, expecting good return code from send_nsca (and could check for cron, try to determine if server is thrashing, and so on), or, sends back to snmpget the result. Cheers, Marcel On Tue, Mar 16, 2010 at 3:56 AM, Giorgio Zarrelli wrote: > Hi, > > If you just want to check if a host is alive, icmp is the protocol > that's always been used for this purpose. > > I use snmp mostly for appliances, eg. Routers, firewall and switches, > wherr I can't install a proper Nagios client to rely on. > > Ciao, > > Giorgio > > Il giorno 15/mar/2010, alle ore 23.02, Eduardo Barreto > ha scritto: > > > Hi All, Could anybody tell me what's better, checking hosts through > > icmp protocol or snmp? What are the risks or may set the network at > > all on a poor status? > > > > Cheers > > > > Eduardo Barreto > > --- > > --- > > --- > > --------------------------------------------------------------------- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 jim at jimavery.me.uk Wed Mar 17 00:16:28 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 16 Mar 2010 23:16:28 +0000 Subject: Two IP for the Same server In-Reply-To: <2dfcbd1b1003161408id2a8de9ne0522a580f44fa7b@mail.gmail.com> References: <20100315234910.GY4621@bakgwai.americas.hpqcorp.net> <2dfcbd1b1003161408id2a8de9ne0522a580f44fa7b@mail.gmail.com> Message-ID: <765d77c81003161616wc414494qeac051cc212cc058@mail.gmail.com> On 16 March 2010 21:08, Marcel wrote: > Well, > > This could be completely out of line, but what if custom macros and a custom > host check was baked for this kind of situation? > > He could associate a custom macro and a custom host check that uses that > custom macro to try to achieve what he wants. > > Any ideas? I guess if you want both interfaces in the same Nagios host you could use the check_cluster plugin for your host check. Next time I need to do something similar I'll give it a try. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Traiano.Welcome at mtnbusiness.co.za Wed Mar 17 11:29:05 2010 From: Traiano.Welcome at mtnbusiness.co.za (Traiano Welcome) Date: Wed, 17 Mar 2010 12:29:05 +0200 Subject: NAGIOS 3: Adjusting fields which appear in the default nagios log Message-ID: Hi All I'm sending nagios logs to a 3rd party application (Netcool) for processing, and there is a requirement for the IP address of the monitored device to appear in the ALERT and NOTIFY log lines for host and service statuses. Where would I adjust which fields appear in the nagios log lines? A typical host ALERT log line on my installation looks like this: --- Mar 17 11:51:42 nagserver nagios: HOST ALERT: ;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = 260.81 ms --- I'd like an extra field to appear after indicating the IP of the host. If possible, I'd even like to insert $PARENT for the host as a field somewhere here. Thanks in Advance Traiano ________________________________ NOTE: This e-mail message and all attachments thereto contain confidential information intended for a specific addressee and purpose. If you are not the addressee (a) you may not disclose, copy, distribute or take any action based on the contents hereof; (b) kindly inform the sender immediately and destroy all copies hereof. Any copying, publication or disclosure of this message, or part hereof, in any form whatsoever, without the sender's express written consent, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of MTN. This message does not constitute a guarantee or proof of the facts mentioned herein. No Employee or intermediary is authorised to conclude a binding agreement on behalf of MTN Group Limited, or any of its subsidiary companies, by e-mail without the express written confirmation by a duly authorised representative of MTN Group Limited. -------------- 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 Traiano.Welcome at mtnbusiness.co.za Wed Mar 17 13:11:00 2010 From: Traiano.Welcome at mtnbusiness.co.za (Traiano Welcome) Date: Wed, 17 Mar 2010 14:11:00 +0200 Subject: NAGIOS 3: Adjusting fields which appear in the default nagios log In-Reply-To: References: Message-ID: Hmmm. For the interim we've had to modify our NAGIOS source and play around with this line: --- asprintf(&temp_buffer,"HOST ALERT: %s;$HOSTSTATE$;$HOSTSTATETYPE$;$HOSTATTEMPT$;%s\n",hst->name,(hst->plugin_output==NULL)?"":hst->plugin_output); --- Although, we'd really like to avoid this and have it be a configuration option in the standard nagios.cfg ... I hereby wish this to the wish-list ;-) Regards, Traiano ________________________________ From: Traiano Welcome Reply-To: Nagios Users List Date: Wed, 17 Mar 2010 12:29:05 +0200 To: Nagios Users List Subject: [Nagios-users] NAGIOS 3: Adjusting fields which appear in the default nagios log Hi All I'm sending nagios logs to a 3rd party application (Netcool) for processing, and there is a requirement for the IP address of the monitored device to appear in the ALERT and NOTIFY log lines for host and service statuses. Where would I adjust which fields appear in the nagios log lines? A typical host ALERT log line on my installation looks like this: --- Mar 17 11:51:42 nagserver nagios: HOST ALERT: ;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = 260.81 ms --- I'd like an extra field to appear after indicating the IP of the host. If possible, I'd even like to insert $PARENT for the host as a field somewhere here. Thanks in Advance Traiano ________________________________ NOTE: This e-mail message and all attachments thereto contain confidential information intended for a specific addressee and purpose. If you are not the addressee (a) you may not disclose, copy, distribute or take any action based on the contents hereof; (b) kindly inform the sender immediately and destroy all copies hereof. Any copying, publication or disclosure of this message, or part hereof, in any form whatsoever, without the sender's express written consent, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of MTN. This message does not constitute a guarantee or proof of the facts mentioned herein. No Employee or intermediary is authorised to conclude a binding agreement on behalf of MTN Group Limited, or any of its subsidiary companies, by e-mail without the express written confirmation by a duly authorised representative of MTN Group Limited. ________________________________ NOTE: This e-mail message and all attachments thereto contain confidential information intended for a specific addressee and purpose. If you are not the addressee (a) you may not disclose, copy, distribute or take any action based on the contents hereof; (b) kindly inform the sender immediately and destroy all copies hereof. Any copying, publication or disclosure of this message, or part hereof, in any form whatsoever, without the sender's express written consent, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of MTN. This message does not constitute a guarantee or proof of the facts mentioned herein. No Employee or intermediary is authorised to conclude a binding agreement on behalf of MTN Group Limited, or any of its subsidiary companies, by e-mail without the express written confirmation by a duly authorised representative of MTN Group Limited. -------------- 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 mad at b-care.net Wed Mar 17 14:16:49 2010 From: mad at b-care.net (=?ISO-8859-1?Q?Marc-Andr=E9?= Doll) Date: Wed, 17 Mar 2010 14:16:49 +0100 Subject: check_http and proxy Message-ID: <1268831809.2258.32.camel@MADness> Hi list, I'm trying to check some web applications through a proxy with check_http (version 1.4.13). I googled it and found that, with version 1.4.8, it might be possible to try this ( http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg11186.html ) : check_http -H my.proxy -p my_proxy_port -u http://my.website Unfortunately, I have to access my application through HTTPS. So I tried with check_http -H my.proxy -p my_proxy_port -u https://my.website -vvv And I obtained this message : > GET https://my.website HTTP/1.0 > User-Agent: check_http/v2053 (nagios-plugins 1.4.13) > Connection: close > Host: my.proxy:my_proxy_port > > > http://my.proxy:my_proxy_porthttps://my.website > STATUS: HTTP/1.1 400 Bad Request > [....] Does soemone know how I should deal with this ? Thank you, Marc-Andr? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From komodo at uvt.cz Wed Mar 17 15:08:56 2010 From: komodo at uvt.cz (komodo) Date: Wed, 17 Mar 2010 15:08:56 +0100 Subject: check_http and proxy Message-ID: <201003171508.56110.komodo@uvt.cz> > Unfortunately, I have to access my application through HTTPS. So I tried > with > > check_http -H my.proxy -p my_proxy_port -u https://my.website -vvv > > And I obtained this message : > > GET https://my.website HTTP/1.0 > > User-Agent: check_http/v2053 (nagios-plugins 1.4.13) > > Connection: close > > Host: my.proxy:my_proxy_port > > > > > > http://my.proxy:my_proxy_porthttps://my.website > > STATUS: HTTP/1.1 400 Bad Request > > [....] > > Does soemone know how I should deal with this ? > > Thank you, > > Marc-Andr? > Hi You get bad request, because you don't use SSL. You need to add this option -S, --ssl Connect via SSL. Port defaults to 443 Martin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leo.Stolk at enovation.nl Wed Mar 17 15:34:26 2010 From: Leo.Stolk at enovation.nl (Leo Stolk) Date: Wed, 17 Mar 2010 15:34:26 +0100 Subject: check_http and proxy In-Reply-To: <1268831809.2258.32.camel@MADness> References: <1268831809.2258.32.camel@MADness> Message-ID: <8634845864125D4D9B397A3E59899598DA857211@MBX.emd.enovation.net> Hi, You could try to use --ssl in the check. check_http --ssl -H my.proxy -p my_proxy_port -u http://my.website Greetings, Leo -----Oorspronkelijk bericht----- Van: Marc-Andr? Doll [mailto:mad at b-care.net] Verzonden: woensdag 17 maart 2010 14:17 Aan: Nagios-Users Onderwerp: [Nagios-users] check_http and proxy Hi list, I'm trying to check some web applications through a proxy with check_http (version 1.4.13). I googled it and found that, with version 1.4.8, it might be possible to try this ( http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg11186.html ) : check_http -H my.proxy -p my_proxy_port -u http://my.website Unfortunately, I have to access my application through HTTPS. So I tried with check_http -H my.proxy -p my_proxy_port -u https://my.website -vvv And I obtained this message : > GET https://my.website HTTP/1.0 > User-Agent: check_http/v2053 (nagios-plugins 1.4.13) > Connection: close > Host: my.proxy:my_proxy_port > > > http://my.proxy:my_proxy_porthttps://my.website > STATUS: HTTP/1.1 400 Bad Request > [....] Does soemone know how I should deal with this ? Thank you, Marc-Andr? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 mark.frost1 at pepsico.com Wed Mar 17 16:15:26 2010 From: mark.frost1 at pepsico.com (Frost, Mark {PBC}) Date: Wed, 17 Mar 2010 11:15:26 -0400 Subject: check_http and proxy In-Reply-To: <8634845864125D4D9B397A3E59899598DA857211@MBX.emd.enovation.net> References: <1268831809.2258.32.camel@MADness> <8634845864125D4D9B397A3E59899598DA857211@MBX.emd.enovation.net> Message-ID: I had this same issue (trying to check sites with SSL through a proxy). Unfortunately, it appears that the issue is that check_http does not support the 'CONNECT' tunneling protocol that our proxy servers require for that service. I'm not really sure what other options exist to do this. Like, for instance if WWW::Mechanize would allow it either. I wish check_http did, though. Mark -----Original Message----- From: Leo Stolk [mailto:Leo.Stolk at enovation.nl] Sent: Wednesday, March 17, 2010 10:34 AM To: Nagios Users List Subject: Re: [Nagios-users] check_http and proxy Hi, You could try to use --ssl in the check. check_http --ssl -H my.proxy -p my_proxy_port -u http://my.website Greetings, Leo -----Oorspronkelijk bericht----- Van: Marc-Andr? Doll [mailto:mad at b-care.net] Verzonden: woensdag 17 maart 2010 14:17 Aan: Nagios-Users Onderwerp: [Nagios-users] check_http and proxy Hi list, I'm trying to check some web applications through a proxy with check_http (version 1.4.13). I googled it and found that, with version 1.4.8, it might be possible to try this ( http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg11186.html ) : check_http -H my.proxy -p my_proxy_port -u http://my.website Unfortunately, I have to access my application through HTTPS. So I tried with check_http -H my.proxy -p my_proxy_port -u https://my.website -vvv And I obtained this message : > GET https://my.website HTTP/1.0 > User-Agent: check_http/v2053 (nagios-plugins 1.4.13) > Connection: close > Host: my.proxy:my_proxy_port > > > http://my.proxy:my_proxy_porthttps://my.website > STATUS: HTTP/1.1 400 Bad Request > [....] Does soemone know how I should deal with this ? Thank you, Marc-Andr? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 lists at xodus.org Wed Mar 17 16:30:20 2010 From: lists at xodus.org (Marc Powell) Date: Wed, 17 Mar 2010 10:30:20 -0500 Subject: check_http and proxy In-Reply-To: <1268831809.2258.32.camel@MADness> References: <1268831809.2258.32.camel@MADness> Message-ID: <25b3bf361003170830i4cb45390t8aff57069cb38c45@mail.gmail.com> On Wed, Mar 17, 2010 at 8:16 AM, Marc-Andr? Doll wrote: > Hi list, > > I'm trying to check some web applications through a proxy with > check_http (version 1.4.13). > > I googled it and found that, with version 1.4.8, it might be possible to > try this > ( > http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg11186.html) : > > check_http -H my.proxy -p my_proxy_port -u http://my.website > > Unfortunately, I have to access my application through HTTPS. So I tried > with > I do not believe you can do this with check_http. From my recollection and looking at the code, it does not support the CONNECT method required to tunnel the https traffic through the proxy. -- Marc formerly marc /at/ ena.com -------------- 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 lists at xodus.org Wed Mar 17 13:15:07 2010 From: lists at xodus.org (Marc Powell) Date: Wed, 17 Mar 2010 07:15:07 -0500 Subject: NAGIOS 3: Adjusting fields which appear in the default nagios log In-Reply-To: References: Message-ID: <3DBF2ED9-5C84-4766-B77E-D83438AE3D8C@xodus.org> On Mar 17, 2010, at 5:29 AM, Traiano Welcome wrote: > Hi All > > I?m sending nagios logs to a 3rd party application (Netcool) for processing, and there is a requirement for the IP address of the monitored device to appear in the ALERT and NOTIFY log lines for host and service statuses. Where would I adjust which fields appear in the nagios log lines? > > A typical host ALERT log line on my installation looks like this: > > --- > Mar 17 11:51:42 nagserver nagios: HOST ALERT: ;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = 260.81 ms There are many components of nagios that rely on the format of these log lines. You'll need to touch all of them if you intend to keep them working. A simple grep to get you started -- $ grep -rl "HOST ALERT" * base/logging.c cgi/summary.c cgi/avail.c cgi/history.c cgi/showlog.c cgi/histogram.c cgi/trends.c Perhaps a better/more flexible/more scalable solution would be to write your own event broker module that creates it's own log file (or other integration with netcool) in the format you need. -- 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 patrick.morris at hp.com Wed Mar 17 18:43:42 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 17 Mar 2010 10:43:42 -0700 Subject: NAGIOS 3: Adjusting fields which appear in the default nagios log In-Reply-To: References: Message-ID: <4BA114CE.3050802@hp.com> Traiano Welcome wrote: > Hi All > > I?m sending nagios logs to a 3rd party application (Netcool) for > processing, and there is a requirement for the IP address of the > monitored device to appear in the ALERT and NOTIFY log lines for host > and service statuses. Where would I adjust which fields appear in the > nagios log lines? > > A typical host ALERT log line on my installation looks like this: > > --- > Mar 17 11:51:42 nagserver nagios: HOST ALERT: > ;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = 260.81 ms > --- > > I?d like an extra field to appear after indicating the IP > of the host. If possible, I?d even like to insert $PARENT for the > host as a field somewhere here. If I had to do this, I'd just modify my notification command to generate a separate log with the fields required, using the provided macros. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 23:01:08 2010 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Thu, 18 Mar 2010 09:01:08 +1100 Subject: NAGIOS 3: Adjusting fields which appear in the default nagios log In-Reply-To: <4BA114CE.3050802@hp.com> References: <4BA114CE.3050802@hp.com> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3E335B8690@off-win2003-01.ausregistrygroup.local> > -----Original Message----- > From: Morris, Patrick [mailto:patrick.morris at hp.com] > Traiano Welcome wrote: > > Hi All > > > > I'm sending nagios logs to a 3rd party application (Netcool) for > > processing, and there is a requirement for the IP address of the > > monitored device to appear in the ALERT and NOTIFY log lines for host > > and service statuses. Where would I adjust which fields appear in the > > nagios log lines? > > > > A typical host ALERT log line on my installation looks like this: > > > > --- > > Mar 17 11:51:42 nagserver nagios: HOST ALERT: > > ;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = 260.81 ms > > --- > > > > I'd like an extra field to appear after indicating the > IP > > of the host. If possible, I'd even like to insert $PARENT for the > > host as a field somewhere here. > > If I had to do this, I'd just modify my notification command to > generate > a separate log with the fields required, using the provided macros. What about the obsessive compulsive service/host command? Completely customizable, and easy to implement. 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 Traiano.Welcome at mtnbusiness.co.za Thu Mar 18 08:29:41 2010 From: Traiano.Welcome at mtnbusiness.co.za (Traiano Welcome) Date: Thu, 18 Mar 2010 09:29:41 +0200 Subject: NAGIOS 3: Adjusting fields which appear in the default nagios log In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB3E335B8690@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB3E335B8690@off-win2003-01.ausregistrygroup.local> Message-ID: Hmmm. Thanks, good suggestions all, I'll investigate each one :-) Thanks, Traiano ________________________________ From: Stuart Browne Reply-To: Nagios Users List Date: Thu, 18 Mar 2010 00:01:08 +0200 To: Nagios Users List Subject: Re: [Nagios-users] NAGIOS 3: Adjusting fields which appear in the default nagios log > -----Original Message----- > From: Morris, Patrick [mailto:patrick.morris at hp.com] > Traiano Welcome wrote: > > Hi All > > > > I'm sending nagios logs to a 3rd party application (Netcool) for > > processing, and there is a requirement for the IP address of the > > monitored device to appear in the ALERT and NOTIFY log lines for host > > and service statuses. Where would I adjust which fields appear in the > > nagios log lines? > > > > A typical host ALERT log line on my installation looks like this: > > > > --- > > Mar 17 11:51:42 nagserver nagios: HOST ALERT: > > ;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = 260.81 ms > > --- > > > > I'd like an extra field to appear after indicating the > IP > > of the host. If possible, I'd even like to insert $PARENT for the > > host as a field somewhere here. > > If I had to do this, I'd just modify my notification command to > generate > a separate log with the fields required, using the provided macros. What about the obsessive compulsive service/host command? Completely customizable, and easy to implement. 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 ________________________________ NOTE: This e-mail message and all attachments thereto contain confidential information intended for a specific addressee and purpose. If you are not the addressee (a) you may not disclose, copy, distribute or take any action based on the contents hereof; (b) kindly inform the sender immediately and destroy all copies hereof. Any copying, publication or disclosure of this message, or part hereof, in any form whatsoever, without the sender's express written consent, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of MTN. This message does not constitute a guarantee or proof of the facts mentioned herein. No Employee or intermediary is authorised to conclude a binding agreement on behalf of MTN Group Limited, or any of its subsidiary companies, by e-mail without the express written confirmation by a duly authorised representative of MTN Group Limited. -------------- 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 mad at b-care.net Thu Mar 18 10:03:12 2010 From: mad at b-care.net (=?ISO-8859-1?Q?Marc-Andr=E9?= Doll) Date: Thu, 18 Mar 2010 10:03:12 +0100 Subject: check_http and proxy In-Reply-To: <8634845864125D4D9B397A3E59899598DA857211@MBX.emd.enovation.net> References: <1268831809.2258.32.camel@MADness> <8634845864125D4D9B397A3E59899598DA857211@MBX.emd.enovation.net> Message-ID: <1268902992.14249.5.camel@MADness> Hi and thank you all for your help, I tried check_http -H http://my.proxy -p proxy_port -u https://my.website -S -vvv And I got : CRITICAL - cannot make SSL connection 23041:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:583: GET https://my.website HTTP/1.0 User-Agent: check_http/v2053 (nagios-plugins 1.4.13) Connection: close Host: my.proxy:proxy_port HTTP CRITICAL - Error in reception Is that a dead end ? Le mercredi 17 mars 2010 ? 15:34 +0100, Leo Stolk a ?crit : > Hi, > > You could try to use --ssl in the check. > > check_http --ssl -H my.proxy -p my_proxy_port -u http://my.website > > Greetings, > > Leo > > > -----Oorspronkelijk bericht----- > Van: Marc-Andr? Doll [mailto:mad at b-care.net] > Verzonden: woensdag 17 maart 2010 14:17 > Aan: Nagios-Users > Onderwerp: [Nagios-users] check_http and proxy > > Hi list, > > I'm trying to check some web applications through a proxy with > check_http (version 1.4.13). > > I googled it and found that, with version 1.4.8, it might be possible to > try this > ( http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg11186.html ) : > > check_http -H my.proxy -p my_proxy_port -u http://my.website > > Unfortunately, I have to access my application through HTTPS. So I tried > with > > check_http -H my.proxy -p my_proxy_port -u https://my.website -vvv > > And I obtained this message : > > GET https://my.website HTTP/1.0 > > User-Agent: check_http/v2053 (nagios-plugins 1.4.13) > > Connection: close > > Host: my.proxy:my_proxy_port > > > > > > http://my.proxy:my_proxy_porthttps://my.website > > STATUS: HTTP/1.1 400 Bad Request > > [....] > > Does soemone know how I should deal with this ? > > Thank you, > > Marc-Andr? > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 mad at b-care.net Thu Mar 18 14:29:26 2010 From: mad at b-care.net (=?ISO-8859-1?Q?Marc-Andr=E9?= Doll) Date: Thu, 18 Mar 2010 14:29:26 +0100 Subject: check_http and HTTP Basic Authentication Message-ID: <1268918967.14249.86.camel@MADness> Hi all, I'm trying to reach a website hosted on a IIS webserver and supervise it with check_http (from the nagios-plugins v1.4.13 bundle). This website asks for a Basic HTTP authentication, so I tried check_http -H 'my.server' -a 'domain\user:pass' -f follow and got : HTTP WARNING - 401 Unauthorized So i tried this to check if the username/password was correct : wget http://my.server/ --http-user='domain\user' --http-passwd='pass' and got : HTTP request sent, waiting response ... 401 Unauthorized Reusing existing connection to my.server:80 HTTP request sent, waiting response ... 401 Unauthorized Reusing existing connection to my.server:80 HTTP request sent, waiting response ... 200 OK What am I supposed to understand ? Is that a flawn in check_http Basic Authentication implementation or a IIS configuration issue ? Thank you, Marc-Andr? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 xodus.org Thu Mar 18 15:39:03 2010 From: lists at xodus.org (Marc Powell) Date: Thu, 18 Mar 2010 09:39:03 -0500 Subject: check_http and HTTP Basic Authentication In-Reply-To: <1268918967.14249.86.camel@MADness> References: <1268918967.14249.86.camel@MADness> Message-ID: On Mar 18, 2010, at 8:29 AM, Marc-Andr? Doll wrote: > Hi all, > > > I'm trying to reach a website hosted on a IIS webserver and supervise it > with check_http (from the nagios-plugins v1.4.13 bundle). This website > asks for a Basic HTTP authentication, so I tried > > check_http -H 'my.server' -a 'domain\user:pass' -f follow Are you *sure* you're using basic authentication. This looks more like NTLM authentication to me. > and got : > > HTTP WARNING - 401 Unauthorized check_http does not support NTLM authentication. I expect that your server log files will have more detail but all things being equal, I'd say that the server isn't accepting basic authentication. > So i tried this to check if the username/password was correct : > > wget http://my.server/ --http-user='domain\user' --http-passwd='pass' Modern versions of wget supports 3 authentication types: basic, digest and NTLM. It tries to figure out which one to use on-the-fly based on server responses. > and got : > > HTTP request sent, waiting response ... 401 Unauthorized Failed attempt using basic authentication (?) > Reusing existing connection to my.server:80 > HTTP request sent, waiting response ... 401 Unauthorized Failed fallback attempt using digest authentication (?) > Reusing existing connection to my.server:80 > HTTP request sent, waiting response ... 200 OK Fallback success using NTLM authentication (?). > What am I supposed to understand ? Is that a flawn in check_http Basic > Authentication implementation or a IIS configuration issue ? I'd say that your IIS server isn't using basic authentication. If you're not able to specify Basic authentication on the server side, you might want to look at http://exchange.nagios.org. I believe there are a number of check_http'ish plugins there that support NTLM (by way of curl or other external program). -- 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 dd-b at dd-b.net Thu Mar 18 15:53:56 2010 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Thu, 18 Mar 2010 09:53:56 -0500 Subject: Host check timing Message-ID: I'm monitoring some far-away remote hosts, that we connect to via the public internet (well, there's an encrypted VPN involved). I'm trying not to send notifications until an outage persists for a while. In an example I looked at this morning, I see that it was repeating the host check every 10 seconds until it hit the retry count. Where does that 10 seconds time come from? The manual is remarkably vague about host check scheduling; about all it says is that it does them on demand, and "If the first host check returns a non-OK state, Nagios will keep pounding out checks of the host until either (a) the maximum number of host checks (specified by the max_attempts option in the host definition) is reached or (b) a host check results in an OK state." Does this mean I have no control over the timing? Can I treat the 10 second observed delay as real (and then control total time delay by setting max_attempts high)? (Running Nagios 2.12 on Centos 5). -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 xodus.org Thu Mar 18 16:42:37 2010 From: lists at xodus.org (Marc Powell) Date: Thu, 18 Mar 2010 10:42:37 -0500 Subject: Host check timing In-Reply-To: References: Message-ID: On Mar 18, 2010, at 9:53 AM, David Dyer-Bennet wrote: > I'm monitoring some far-away remote hosts, that we connect to via the > public internet (well, there's an encrypted VPN involved). I'm trying not > to send notifications until an outage persists for a while. > > In an example I looked at this morning, I see that it was repeating the > host check every 10 seconds until it hit the retry count. With nagios-2, when a host enters a non-OK state, nagios switches to a serial mode where the host check is retried until max_check_attempts is reached. The fact that it's 10 seconds has more to do with the check that you are performing than any nagios timing. That's apparently about how long it takes each check run to complete (are you issuing 10 pings perhaps?). > Where does that 10 seconds time come from? The manual is remarkably vague > about host check scheduling; about all it says is that it does them on > demand, With nagios-2, host checks are only run when a service on the host fails. Nagios will then run the host's check_command, up to max_check_attempts, to determine if the host is down or just the service. > and "If the first host check returns a non-OK state, Nagios will > keep pounding out checks of the host until either (a) the maximum number > of host checks (specified by the max_attempts option in the host > definition) is reached or (b) a host check results in an OK state." Yup, the host check_command is run, one immediately after the previous, until max_check_attempts is reached. During this time nagios is doing *nothing* else besides checking this host. > Does this mean I have no control over the timing? Depends on your version of nagios. With nagios-2, yes, you have no control over the timing. > Can I treat the 10 second observed delay as real (and then control total time delay by > setting max_attempts high)? Setting max_attempts is a way to deal with that but if you're using nagios-2, you're stopping *all* other checks and processing until max_attempts is reached. If you set it so that it's 6 then for about the next 60 seconds nagios is doing nothing besides checking this single host. This may be important to you if you have lots of other checks you are doing. If you need to have more control over that then I'd suggest upgrading to nagios-3. Host check logic was greatly improved and more in line with how service checks are done. -- 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 mad at b-care.net Thu Mar 18 17:25:34 2010 From: mad at b-care.net (=?ISO-8859-1?Q?Marc-Andr=E9?= Doll) Date: Thu, 18 Mar 2010 17:25:34 +0100 Subject: check_http and HTTP Basic Authentication In-Reply-To: References: <1268918967.14249.86.camel@MADness> Message-ID: <1268929534.14249.88.camel@MADness> Le jeudi 18 mars 2010 ? 09:39 -0500, Marc Powell a ?crit : > On Mar 18, 2010, at 8:29 AM, Marc-Andr? Doll wrote: > > > Hi all, > > > > > > I'm trying to reach a website hosted on a IIS webserver and supervise it > > with check_http (from the nagios-plugins v1.4.13 bundle). This website > > asks for a Basic HTTP authentication, so I tried > > > > check_http -H 'my.server' -a 'domain\user:pass' -f follow > > Are you *sure* you're using basic authentication. This looks more like NTLM authentication to me. > > > and got : > > > > HTTP WARNING - 401 Unauthorized > > check_http does not support NTLM authentication. I expect that your server log files will have more detail but all things being equal, I'd say that the server isn't accepting basic authentication. > > > So i tried this to check if the username/password was correct : > > > > wget http://my.server/ --http-user='domain\user' --http-passwd='pass' > > Modern versions of wget supports 3 authentication types: basic, digest and NTLM. It tries to figure out which one to use on-the-fly based on server responses. > > > and got : > > > > HTTP request sent, waiting response ... 401 Unauthorized > > Failed attempt using basic authentication (?) > > > Reusing existing connection to my.server:80 > > HTTP request sent, waiting response ... 401 Unauthorized > > Failed fallback attempt using digest authentication (?) > > > Reusing existing connection to my.server:80 > > HTTP request sent, waiting response ... 200 OK > > Fallback success using NTLM authentication (?). > > > What am I supposed to understand ? Is that a flawn in check_http Basic > > Authentication implementation or a IIS configuration issue ? > > I'd say that your IIS server isn't using basic authentication. If you're not able to specify Basic authentication on the server side, you might want to look at http://exchange.nagios.org. I believe there are a number of check_http'ish plugins there that support NTLM (by way of curl or other external program). Oops, you're right, sorry. It was NTML Authentication > > -- > 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 mlrtime3 at gmail.com Thu Mar 18 21:16:51 2010 From: mlrtime3 at gmail.com (mlrtime3) Date: Thu, 18 Mar 2010 16:16:51 -0400 Subject: Multiple instances of same service for a host Message-ID: <1268943411.25269.1365549457@webmail.messagingengine.com> I've been using Nagios for awhile (since netsaint). I'm not sure if this is possible, so I'm asking here. I hope this makes sense. I currently have a service that I run for every host in a hostgroup. The service is executed by pulling a macro from the host definition $_HOSTPARAM1$. This works well for instances where there is a 1 to 1 relationship between the host and the service. Meaning I'm just calling one instance of the service for each host. What I need to do is have multiple instances of this same service for some of the hosts depending on the macros on the host. For example HOST1 - SERVICE ($PARAM1$) HOST2 - SERVICE ($PARAM1$) - SERVICE ($PARAM2$) HOST3 - SERVICE ($PARAM1$) - SERVICE ($PARAM2$) - SERVICE ($PARAM3$) I know I can modify my service to take in multiple parameters, but then the whole service would be down if any of the parameters caused the service instance to be down. I also can't create multiple service copies because the number of "PARAMS" is dynamic per host. Any ideas on how to do something like this? Thanks for any suggestions. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 19 05:48:44 2010 From: grs533 at yahoo.co.in (Pavan kumar) Date: Fri, 19 Mar 2010 10:18:44 +0530 (IST) Subject: Nagios+gammu Message-ID: <603132.3180.qm@web95707.mail.in.yahoo.com> hi everyone ? ? can any one tell me how to configure SMS alerts by using gammu in nagios ? ........Urgent........ Regards, G.R.S.PAVAN KUMAR The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ -------------- 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 asraikhn at gmail.com Fri Mar 19 07:41:38 2010 From: asraikhn at gmail.com (Asrai khn) Date: Fri, 19 Mar 2010 11:41:38 +0500 Subject: Nagios+gammu In-Reply-To: <603132.3180.qm@web95707.mail.in.yahoo.com> References: <603132.3180.qm@web95707.mail.in.yahoo.com> Message-ID: <5f0f8dba1003182341q240fed6cv45e369e751d20d56@mail.gmail.com> http://en.doc.centreon.com/HowToSendSMSWithGammu Please first try 'google' and then ask here for relevant mailing list for the problem you are facing. On Fri, Mar 19, 2010 at 9:48 AM, Pavan kumar wrote: > hi everyone > > can any one tell me how to configure SMS alerts by using gammu in nagios > ........Urgent........ > > > Regards, > G.R.S.PAVAN KUMAR > ------------------------------ > Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! > . > > > ------------------------------------------------------------------------------ > Download Intel? Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Fri Mar 19 08:49:33 2010 From: juki.emma at gmail.com (Juki) Date: Fri, 19 Mar 2010 10:49:33 +0300 Subject: Nagios-Plugins Compile errors Message-ID: <7545d7d21003190049n2ea5b117l6aa8c66657154569@mail.gmail.com> Hello list, I'm running Solaris 10 on a client host and I'm in the processing of installing and compiling the nagios-plugins (v1.4.14). However, I have encountered the following error and can't seem to get around it; *ld: fatal: Symbol referencing errors. No output written to check_http collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `check_http' Current working directory /tmp/nagios-plugins-1.4.14/plugins *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='gl tap lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `all-recursive' Current working directory /tmp/nagios-plugins-1.4.14 *** Error code 1 make: Fatal error: Command failed for target `all'* Anyone encountered this before? Any pointers? Thanks in advance, 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 grs533 at yahoo.co.in Fri Mar 19 09:28:53 2010 From: grs533 at yahoo.co.in (Pavan kumar) Date: Fri, 19 Mar 2010 13:58:53 +0530 (IST) Subject: Nagios+gammu In-Reply-To: <5f0f8dba1003182341q240fed6cv45e369e751d20d56@mail.gmail.com> References: <5f0f8dba1003182341q240fed6cv45e369e751d20d56@mail.gmail.com> Message-ID: <225147.3376.qm@web95709.mail.in.yahoo.com> Thanks for ur help Regards, G.R.S.PAVAN KUMAR --- On Fri, 19/3/10, Asrai khn wrote: From: Asrai khn Subject: Re: [Nagios-users] Nagios+gammu To: "Nagios Users List" Date: Friday, 19 March, 2010, 12:11 PM http://en.doc.centreon.com/HowToSendSMSWithGammu Please first try 'google' and then ask here for relevant mailing list for the problem you are facing. On Fri, Mar 19, 2010 at 9:48 AM, Pavan kumar wrote: hi everyone ? ? can any one tell me how to configure SMS alerts by using gammu in nagios ? ........Urgent........ Regards, G.R.S.PAVAN KUMAR Your Mail works best with the New Yahoo Optimized IE8. Get it NOW!. ------------------------------------------------------------------------------ Download Intel? Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Download Intel? Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -----Inline Attachment Follows----- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ -------------- 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 puran.rai at tashicell.com Fri Mar 19 12:22:08 2010 From: puran.rai at tashicell.com (Puran Rai) Date: Fri, 19 Mar 2010 17:22:08 +0600 Subject: Monitoring mysql with nagios on centos Message-ID: <4BA35E60.3070905@tashicell.com> Hello I have install nagios core 3.0 using yum in my centos 5.4 system. I have few configuration and modification to monitor some of the services like http, pop, imap etc. Now I am facing the problem of configuring nagios to monitor mysql services. Can you please help me? Thank You -- With Best Regards Puran Rai IT Engineer ISP Div, Network Opeartion Dept. Tashi InfoComm Ltd, Thimphu; Bhutan Ph No: +975-77101888, 77889977(8836) http://www.tashicell.com -- This message has been scanned for the virus and dangerous content by MailScanner smtp1.tashicell.com 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 nagios at flatto.net Fri Mar 19 12:49:31 2010 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 19 Mar 2010 11:49:31 +0000 Subject: Monitoring mysql with nagios on centos In-Reply-To: <4BA35E60.3070905@tashicell.com> References: <4BA35E60.3070905@tashicell.com> Message-ID: <4BA364CB.5030408@flatto.net> Puran Rai wrote: > Hello > I have install nagios core 3.0 using yum in my centos 5.4 system. I have > few configuration and modification to monitor some of the services like > http, pop, imap etc. Now I am facing the problem of configuring nagios > to monitor mysql services. Can you please help me? > > Thank You > > Hello Your statement is a bit vague , what do you need to monitor in mysql ? A good place to start is in http://www.monitoringexchange.org/ where you can find many plugins for checks . once you know what you want to monitor in mysql , we might give more "on the point" advice . Assaf -- 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 chris at westnet.com Fri Mar 19 14:33:42 2010 From: chris at westnet.com (Christopher X. Candreva) Date: Fri, 19 Mar 2010 09:33:42 -0400 (EDT) Subject: Nagios-Plugins Compile errors In-Reply-To: <7545d7d21003190049n2ea5b117l6aa8c66657154569@mail.gmail.com> References: <7545d7d21003190049n2ea5b117l6aa8c66657154569@mail.gmail.com> Message-ID: On Fri, 19 Mar 2010, Juki wrote: > Hello list, > > I'm running Solaris 10 on a client host and I'm in the processing of installing and compiling the nagios-plugins > (v1.4.14). However, I have encountered the following > error and can't seem to get around it; > > > ld: fatal: Symbol referencing errors. No output written to check_http I am running plugins 1.4.14 on Solaris 10 i386 without that error. I compiled with gcc 4.4.3 and binutils 2.19 ========================================================== Chris Candreva -- chris at westnet.com -- (914) 948-3162 WestNet Internet Services of Westchester http://www.westnet.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 lists at xodus.org Fri Mar 19 15:17:10 2010 From: lists at xodus.org (Marc Powell) Date: Fri, 19 Mar 2010 09:17:10 -0500 Subject: Monitoring mysql with nagios on centos In-Reply-To: <4BA35E60.3070905@tashicell.com> References: <4BA35E60.3070905@tashicell.com> Message-ID: <3FFA4C14-AEBA-4085-951F-1B0959D817F5@xodus.org> On Mar 19, 2010, at 6:22 AM, Puran Rai wrote: > Hello > I have install nagios core 3.0 using yum in my centos 5.4 system. I have > few configuration and modification to monitor some of the services like > http, pop, imap etc. Now I am facing the problem of configuring nagios > to monitor mysql services. Can you please help me? The standard plugins include check_mysql. Is that what you're looking for? -- 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 benny at bennyvision.com Fri Mar 19 15:31:43 2010 From: benny at bennyvision.com (C. Bensend) Date: Fri, 19 Mar 2010 09:31:43 -0500 Subject: Does anyone have event log monitors that *work*? Message-ID: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> Hey folks, I have been beating my head against various and sundry walls, tables, and desks for quite some time now, and my brain is starting to get very, VERY mushy. I need to monitor Windows event logs. You'd think this would be easy, but either the tools available out there don't work (which I doubt, I KNOW you monitor event logs), or I'm man enough to admit that I'm a hopeless idiot. I've tried to get help on the 3rd-party sites (Steve Shipway's site for Nagios EventLog Service and NSClient++), but they're either away from their desks for an extended period of time or I've just plain worn them out and they're no longer answering my questions. I beg of you; if you use either of these tools and *successfuly* monitor Windows event logs, please give me a hand. I apologize for the length of this email, but this is my last stand - if I cannot get event log monitoring working, this entire project may get scrapped. THE PROBLEM: Both tools appear to work. There are no errors, just lack of expected results. If I look in an event log and *see* a 1074 in the system log, I expect to find a hit for a 1074 with either tool. Both tools are completely missing them or returning the wrong severity, or not filtering on event ID at all. Example with NSClient++ and NRPE: I am looking at a system event log on a host. I SEE a 1041 with a severity of "error" from source DhcpServer yesterday at 10:58:32AM. So, I fire up the following from the command line: ./check_nrpe -H hntbw598 -p 5666 -t 90 -c CheckEventLog \ -a file="system" filter=new filter=in MaxWarn="1" \ MaxCrit="10" filter-generated=="\>24h" filter+severity=="error" \ filter+eventID=="1041" truncate=900 unique descriptions \ "syntax=%source%: (%severity% event ID %id%) %message% (%count% events found)" (sorry about the line wrap) Now, to my understanding, this means: * check in the system event log (file="system") * use the new EventLog syntax for NSClient++ (filter=new) * include all the things that match my filters (filter=in) * warn at 1 hit (MaxWarn="1") * critical at 1 hit (MaxCrit="1") * ignore things over 24 hours (filter-generated=="\>24h") * only include errors (filter+severity=="error") * only include event ID 1041 (filter+eventID=="1041") * truncate output at 900 char (truncate=900) * only include unique hits (unique) * include the descriptions (descriptions) * format the syntax nicely Am I misunderstanding any of these parameters? When I run it, however, I get the following: SideBySide: (error event ID 32) Dependent Assembly Microsoft.VC80.ATL could not be found and Last Error was The referenced assembly is not installed on your sys (8 events found), SideBySide: (error event ID 59) Resolve Partial Assembly fai Reference error message: The referenced assembly is not installed on your syste . (16 events found), DhcpServer: (success event ID 1041) The DHCP service is no addresses, or there are no active interfaces. (10 events found), EventLog: (error event ID 6013) The system uptime is 1632415 seconds. (52 events found), DCOM: (error event ID 10016) The application-specific permission settings do not gran to the...|'eventlog'=88;1;10; AA3DA1}erver application with CLSID (again, sorry for the line wrap) WTF. Am I just completely absolutely not understanding how these filters work? WHY did it return anything other than my single 1041? When I try the same type of filter with Nagios EventLog Agent, I just don't get any NSCA events at all, it just skips it. Running the agent on debug level hasn't given me clue yet, although I'm still trying. How do you guys monitor your event logs? Anyone using NSClient++? I can't use NC_Net, I cannot install .NET on these hundreds of Windows machines. I just cannot understand why this is so damned hard/frustrating/whatever. Maybe I'm just an idiot, but I'm at the end of my rope here... THANK YOU for any help you can provide (including cluebats to the head)! 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 Rutul.Patel at nrsonline.com Fri Mar 19 16:09:29 2010 From: Rutul.Patel at nrsonline.com (Rutul Patel) Date: Fri, 19 Mar 2010 11:09:29 -0400 Subject: nagios alert In-Reply-To: <1268918967.14249.86.camel@MADness> References: <1268918967.14249.86.camel@MADness> Message-ID: Hi, I need to configure nagios such a way that it sends alert when host is down and when host is up, Currently nagios is sending alert very often. Please advice, Thanks, Rutul ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 16:34:28 2010 From: mitsuto at gmail.com (Marcel) Date: Fri, 19 Mar 2010 12:34:28 -0300 Subject: nagios alert In-Reply-To: References: <1268918967.14249.86.camel@MADness> Message-ID: <2dfcbd1b1003190834y7d754c4bt4ba14c3dba83b79c@mail.gmail.com> at least it's not a question about notifications *not* being sent. what do you mean about nagios sending alerts very often? Isn't that why you setup it for? On Fri, Mar 19, 2010 at 12:09 PM, Rutul Patel wrote: > Hi, > > I need to configure nagios such a way that it sends alert when host is down > and when host is up, > Currently nagios is sending alert very often. > > Please advice, > > Thanks, > Rutul > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Rutul.Patel at nrsonline.com Fri Mar 19 16:41:30 2010 From: Rutul.Patel at nrsonline.com (Rutul Patel) Date: Fri, 19 Mar 2010 11:41:30 -0400 Subject: nagios alert In-Reply-To: <2dfcbd1b1003190834y7d754c4bt4ba14c3dba83b79c@mail.gmail.com> References: <1268918967.14249.86.camel@MADness> <2dfcbd1b1003190834y7d754c4bt4ba14c3dba83b79c@mail.gmail.com> Message-ID: I didn't change any nagios default setting, Nagios is sending alert to all receipts every 15-30 mins, ________________________________ From: Marcel [mailto:mitsuto at gmail.com] Sent: Friday, March 19, 2010 11:34 AM To: Nagios Users List Subject: Re: [Nagios-users] nagios alert at least it's not a question about notifications *not* being sent. what do you mean about nagios sending alerts very often? Isn't that why you setup it for? On Fri, Mar 19, 2010 at 12:09 PM, Rutul Patel > wrote: Hi, I need to configure nagios such a way that it sends alert when host is down and when host is up, Currently nagios is sending alert very often. Please advice, Thanks, Rutul ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Click here to report this email as spam. -------------- 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.frost1 at pepsico.com Fri Mar 19 16:00:42 2010 From: mark.frost1 at pepsico.com (Frost, Mark {PBC}) Date: Fri, 19 Mar 2010 11:00:42 -0400 Subject: Does anyone have event log monitors that *work*? In-Reply-To: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> References: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> Message-ID: >-----Original Message----- >From: C. Bensend [mailto:benny at bennyvision.com] >Sent: Friday, March 19, 2010 10:32 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Does anyone have event log monitors that *work*? > > >Hey folks, > > I have been beating my head against various and sundry walls, >tables, and desks for quite some time now, and my brain is starting >to get very, VERY mushy. > > I need to monitor Windows event logs. You'd think this would >be easy, but either the tools available out there don't work (which >I doubt, I KNOW you monitor event logs), or I'm man enough to admit >that I'm a hopeless idiot. > > I've tried to get help on the 3rd-party sites (Steve >Shipway's site for Nagios EventLog Service and NSClient++), but >they're either away from their desks for an extended period of >time or I've just plain worn them out and they're no longer answering >my questions. > > I beg of you; if you use either of these tools and *successfuly* >monitor Windows event logs, please give me a hand. I apologize for >the length of this email, but this is my last stand - if I cannot >get event log monitoring working, this entire project may get >scrapped. Benny, This is probably overkill for your situation but you could use Splunk to watch event logs (and other logs) via saved searches and then have it notify Nagios when it spots something. We do this here as Splunk just has more smarts about dealing with events/logs/matches within certain time windows. But as I say, it IS more overhead than the other solutions you cite. Mark -------------- 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 dd-b at dd-b.net Fri Mar 19 17:36:00 2010 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Fri, 19 Mar 2010 11:36:00 -0500 Subject: Host check timing In-Reply-To: References: Message-ID: <7b660b25568d16461ed2fc1f34816bca.squirrel@webmail.dd-b.net> On Thu, March 18, 2010 10:42, Marc Powell wrote: > If you need to have more control over that then I'd suggest upgrading to > nagios-3. Host check logic was greatly improved and more in line with how > service checks are done. Upgrading to 3 is being problematic. I built 3.2.1 with default options except for specifying user nagios. I've updated my config to pass check-config. I've put in the init.d script. And when I start it, I get [1268949181] Nagios 3.2.1 starting... (PID=5575) [1268949181] Local time is Thu Mar 18 16:53:01 CDT 2010 [1268949181] LOG VERSION: 2.0 [1268949181] Failed to obtain lock on file /var/run/nagios.pid: Permission denied [1268949181] Bailing out due to errors encountered while attempting to daemonize... I can't see why it's trying to access /var/run/nagios.pid; everything else it's doing is in /usr/local/nagios. I stepped through the startup steps in the init.d script, and that error is being logged when it tries to start the main nagios executable; it's not in the script itself. I'm sure it's my new executable; I removed the RPM install, and in stepping through I typed the path by hand, definitely the new nagios executable. I would guess that was "localstatedir" in config; but if so, the default prefix is /usr/local, so it shouldn't end up accessing /var/run. But I don't see the actual config stuff that produces /var/run at all. I haven't looked into the source yet -- but I don't really think I should have to to get it to build and run with default locations, either! -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 17:39:47 2010 From: martinm at op5.org (Martin Melin) Date: Fri, 19 Mar 2010 17:39:47 +0100 Subject: nagios alert In-Reply-To: References: <1268918967.14249.86.camel@MADness> <2dfcbd1b1003190834y7d754c4bt4ba14c3dba83b79c@mail.gmail.com> Message-ID: <5f0bcb7c1003190939j5d9663d5ifa97528d331d9bd@mail.gmail.com> Set notification_interval to 0, that should do the trick. On Fri, Mar 19, 2010 at 4:41 PM, Rutul Patel wrote: > I didn't change any nagios default setting, > Nagios is sending alert to all receipts every 15-30 mins, > > > ------------------------------ > *From:* Marcel [mailto:mitsuto at gmail.com] > *Sent:* Friday, March 19, 2010 11:34 AM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] nagios alert > > at least it's not a question about notifications *not* being sent. > > what do you mean about nagios sending alerts very often? Isn't that why you > setup it for? > > On Fri, Mar 19, 2010 at 12:09 PM, Rutul Patel > wrote: > >> Hi, >> >> I need to configure nagios such a way that it sends alert when host is >> down and when host is up, >> Currently nagios is sending alert very often. >> >> Please advice, >> >> Thanks, >> Rutul >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > Click hereto report this email as spam. > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Rutul.Patel at nrsonline.com Fri Mar 19 17:43:58 2010 From: Rutul.Patel at nrsonline.com (Rutul Patel) Date: Fri, 19 Mar 2010 12:43:58 -0400 Subject: nagios alert In-Reply-To: <5f0bcb7c1003190939j5d9663d5ifa97528d331d9bd@mail.gmail.com> References: <1268918967.14249.86.camel@MADness> <2dfcbd1b1003190834y7d754c4bt4ba14c3dba83b79c@mail.gmail.com> <5f0bcb7c1003190939j5d9663d5ifa97528d331d9bd@mail.gmail.com> Message-ID: Thanks Martin, I will try this, Rutul ________________________________ From: Martin Melin [mailto:martinm at op5.org] Sent: Friday, March 19, 2010 12:40 PM To: Nagios Users List Subject: Re: [Nagios-users] nagios alert Set notification_interval to 0, that should do the trick. On Fri, Mar 19, 2010 at 4:41 PM, Rutul Patel > wrote: I didn't change any nagios default setting, Nagios is sending alert to all receipts every 15-30 mins, ________________________________ From: Marcel [mailto:mitsuto at gmail.com] Sent: Friday, March 19, 2010 11:34 AM To: Nagios Users List Subject: Re: [Nagios-users] nagios alert at least it's not a question about notifications *not* being sent. what do you mean about nagios sending alerts very often? Isn't that why you setup it for? On Fri, Mar 19, 2010 at 12:09 PM, Rutul Patel > wrote: Hi, I need to configure nagios such a way that it sends alert when host is down and when host is up, Currently nagios is sending alert very often. Please advice, Thanks, Rutul ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Click here to report this email as spam. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 juki.emma at gmail.com Fri Mar 19 17:44:58 2010 From: juki.emma at gmail.com (Juki) Date: Fri, 19 Mar 2010 19:44:58 +0300 Subject: nagios alert In-Reply-To: References: <1268918967.14249.86.camel@MADness> <2dfcbd1b1003190834y7d754c4bt4ba14c3dba83b79c@mail.gmail.com> Message-ID: <7545d7d21003190944w68f9720cnfaf95d8499538f19@mail.gmail.com> If memory serves me right, you will have to look at your service and contact definitions... On 3/19/10, Rutul Patel wrote: > I didn't change any nagios default setting, > Nagios is sending alert to all receipts every 15-30 mins, > > > ________________________________ > From: Marcel [mailto:mitsuto at gmail.com] > Sent: Friday, March 19, 2010 11:34 AM > To: Nagios Users List > Subject: Re: [Nagios-users] nagios alert > > at least it's not a question about notifications *not* being sent. > > what do you mean about nagios sending alerts very often? Isn't that why you > setup it for? > > On Fri, Mar 19, 2010 at 12:09 PM, Rutul Patel > > wrote: > Hi, > > I need to configure nagios such a way that it sends alert when host is down > and when host is up, > Currently nagios is sending alert very often. > > Please advice, > > Thanks, > Rutul > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > Click > here > to report this email as spam. > -- JuKi "Intelligence plus character - that is the goal of true education." ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ennis at nmcourts.gov Fri Mar 19 17:34:42 2010 From: ennis at nmcourts.gov (Ennis Ibarra) Date: Fri, 19 Mar 2010 10:34:42 -0600 (MDT) Subject: Does anyone have event log monitors that *work*? In-Reply-To: <118834531.5054.1269012286872.JavaMail.root@mail.nmcourts.gov> References: <118834531.5054.1269012286872.JavaMail.root@mail.nmcourts.gov> Message-ID: <1520147639.8900.1269016482250.JavaMail.root@mail.nmcourts.gov> You may want to consider a unified SYSLOG in a linux box for your windows machines an build your own plugins, this not only cuts off the stress on the windows side but allows you quite a bit of freedom in processing logging. It's just an idea, we are doing it over here, and we've had great results. Good luck. ----- Original Message ----- From: "Mark Frost {PBC}" To: "Nagios Users List" Sent: Friday, March 19, 2010 9:00:42 AM Subject: Re: [Nagios-users] Does anyone have event log monitors that *work*? >-----Original Message----- >From: C. Bensend [mailto:benny at bennyvision.com] >Sent: Friday, March 19, 2010 10:32 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Does anyone have event log monitors that *work*? > > >Hey folks, > > I have been beating my head against various and sundry walls, >tables, and desks for quite some time now, and my brain is starting >to get very, VERY mushy. > > I need to monitor Windows event logs. You'd think this would >be easy, but either the tools available out there don't work (which >I doubt, I KNOW you monitor event logs), or I'm man enough to admit >that I'm a hopeless idiot. > > I've tried to get help on the 3rd-party sites (Steve >Shipway's site for Nagios EventLog Service and NSClient++), but >they're either away from their desks for an extended period of >time or I've just plain worn them out and they're no longer answering >my questions. > > I beg of you; if you use either of these tools and *successfuly* >monitor Windows event logs, please give me a hand. I apologize for >the length of this email, but this is my last stand - if I cannot >get event log monitoring working, this entire project may get >scrapped. Benny, This is probably overkill for your situation but you could use Splunk to watch event logs (and other logs) via saved searches and then have it notify Nagios when it spots something. We do this here as Splunk just has more smarts about dealing with events/logs/matches within certain time windows. But as I say, it IS more overhead than the other solutions you cite. Mark ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Fri Mar 19 18:05:32 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 19 Mar 2010 10:05:32 -0700 Subject: nagios alert In-Reply-To: References: <1268918967.14249.86.camel@MADness> Message-ID: <4BA3AEDC.9040301@hp.com> Rutul Patel wrote: > Hi, > > I need to configure nagios such a way that it sends alert when host is down and when host is up, > Currently nagios is sending alert very often. RTFM. Specifically: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 18:22:26 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 19 Mar 2010 17:22:26 +0000 Subject: Does anyone have event log monitors that *work*? In-Reply-To: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> References: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> Message-ID: <765d77c81003191022p2e6764aahb9ada934e1d015a7@mail.gmail.com> On 19 March 2010 14:31, C. Bensend wrote: > > Hey folks, > > ? I have been beating my head against various and sundry walls, > tables, and desks for quite some time now, and my brain is starting > to get very, VERY mushy. I agree, it's not easy. If it's any help, the best I've been able or bothered to get for monitoring any errors from MS SQL Server is to put this in the NSClient++ .ini file: Event_MSSQL=inject CheckEventLog filter=new file=application MaxWarn=1 MaxCrit=2 filter+generated=<30m filter+eventSource=substr:MSSQL filter+eventType==error truncate=64 This means all the command options are kept in the NSClient++ config which means you don't have to worry so much about escaping various non-alphanumeric characters. To run the nrpe check (for example from the command line on your nagios server), all you need to do is: /usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -c Event_MSSQL An alternative is to configure the Windows server to send events as SNMP traps and use snmptrapd and snmptt to push these through to Nagios as passive checks. I wrote a section in the Nagios Wiki on it at: http://wiki.nagios.org/index.php/Howtos:snmp-windows I confess I never actually got to use this method in anger (which is a shame because I think it works pretty well) because our Windows admins wouldn't let me enable the SNMP service on our production Windows servers. 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 benny at bennyvision.com Fri Mar 19 18:29:09 2010 From: benny at bennyvision.com (C. Bensend) Date: Fri, 19 Mar 2010 12:29:09 -0500 Subject: Does anyone have event log monitors that *work*? In-Reply-To: References: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> Message-ID: <9b3087f1dcc3b418d50fbca982c22cd6.squirrel@webmail.stinkweasel.net> > This is probably overkill for your situation but you could use Splunk > > to watch event logs (and other logs) via saved searches and then > > have it notify Nagios when it spots something. We do this here as > > Splunk just has more smarts about dealing with events/logs/matches > > within certain time windows. But as I say, it IS more overhead than > > the other solutions you cite. It's something to keep in mind... I'm not really looking for another heavy-duty system like Splunk to build and maintain, but it's always an option. Thanks, Mark! 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 benny at bennyvision.com Fri Mar 19 18:40:15 2010 From: benny at bennyvision.com (C. Bensend) Date: Fri, 19 Mar 2010 12:40:15 -0500 Subject: Does anyone have event log monitors that *work*? In-Reply-To: <1520147639.8900.1269016482250.JavaMail.root@mail.nmcourts.gov> References: <1520147639.8900.1269016482250.JavaMail.root@mail.nmcourts.gov> Message-ID: <7c1f715541c74d7acca9854c2c09d194.squirrel@webmail.stinkweasel.net> > You may want to consider a unified SYSLOG in a linux box for your windows > machines an build your own plugins, this not only cuts off the stress on > the windows side but allows you quite a bit of freedom in processing > logging. It's just an idea, we are doing it over here, and we've had great > results. Hi Innis, I agree, this would be nice to have, but I cannot re-engineer the entire Windows network to be able to do this... :/ I really had no idea that monitoring the event logs would be this .. uh .. challenging. Inconsistent results, missed events, it's just amazing how difficult this has become. Thank you! 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 dd-b at dd-b.net Fri Mar 19 19:28:08 2010 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Fri, 19 Mar 2010 13:28:08 -0500 Subject: init.d/nagios Message-ID: <1caaab23f657d53a06bd2803d142df3c.squirrel@webmail.dd-b.net> The init file built and installed by "make install-init" doesn't seem to work right. I apparently have nagios running after saying "service nagios start" (it reported success), based on receiving some notifications and on ps showing /usr/local/nagios/bin/nagios running as a daemon, but "service nagios status" reports "nagios is not running". (This is on a Centos 4.8 system, with Nagios 3.2.1 built from source.) I configured this version with "--with-lockfile=/usr/local/nagios/var/nagios.pid" after the previous version, without that, logged a permissions error when it tried to start up nagios. I suppose that could be the wrong fix for that problem, and hence causing this one. -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 20:57:50 2010 From: martinm at op5.org (Martin Melin) Date: Fri, 19 Mar 2010 20:57:50 +0100 Subject: Multiple instances of same service for a host In-Reply-To: <1268943411.25269.1365549457@webmail.messagingengine.com> References: <1268943411.25269.1365549457@webmail.messagingengine.com> Message-ID: <5f0bcb7c1003191257x52a604fv9c64a9554203b7bd@mail.gmail.com> On Thu, Mar 18, 2010 at 9:16 PM, mlrtime3 wrote: > I've been using Nagios for awhile (since netsaint). I'm not sure if > this is possible, so I'm asking here. I hope this makes sense. > > I currently have a service that I run for every host in a hostgroup. The > service is executed by pulling a macro from the host definition > $_HOSTPARAM1$. This works well for instances where there is a 1 to 1 > relationship between the host and the service. Meaning I'm just calling > one instance of the service for each host. > > What I need to do is have multiple instances of this same service for > some of the hosts depending on the macros on the host. > > For example > > HOST1 - SERVICE ($PARAM1$) > > HOST2 - SERVICE ($PARAM1$) > - SERVICE ($PARAM2$) > > HOST3 - SERVICE ($PARAM1$) > - SERVICE ($PARAM2$) > - SERVICE ($PARAM3$) > > > I know I can modify my service to take in multiple parameters, but then > the whole service would be down if any of the parameters caused the > service instance to be down. I also can't create multiple service copies > because the number of "PARAMS" is dynamic per host. > > Any ideas on how to do something like this? > An ugly hack would be to have multiple sub-templates, one for each number of services a host can have (assuming the max is a reasonable number). However, I do not feel that the proper place for this logic is to somehow hack it into Nagios' definitions. Nagios does not support dynamic service/host definitions, other than modifying its configuration files and sending a SIGHUP, and changing that behavior causes all kinds of interesting issues that I'm not sure you want a program like Nagios handling. A simple script should be enough to read your host definitions and generate the appropiate number of service definitions for each host. I know people who have their custom server management scripts output a Nagios config tree every N minutes, then send a SIGHUP to Nagios to have it re-read the configuration files. My opinion is that this would be the best way forward for you, too. > > Thanks for any suggestions. > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 kurt.buff at gmail.com Fri Mar 19 22:25:22 2010 From: kurt.buff at gmail.com (Kurt Buff) Date: Fri, 19 Mar 2010 14:25:22 -0700 Subject: Does anyone have event log monitors that *work*? In-Reply-To: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> References: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> Message-ID: On Fri, Mar 19, 2010 at 07:31, C. Bensend wrote: > > Hey folks, > > ? I have been beating my head against various and sundry walls, > tables, and desks for quite some time now, and my brain is starting > to get very, VERY mushy. You might wish to have a look at the snare client for windows, from intersect alliance. It sits on the Windows machine and monitors the event logs, casting them to syslog, though it might be capable of doing more than that. At least, if you're running a syslog on the nagios box, and it is configured to receive, you could probably use a nagios module to monitor that. Kurt ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 20:42:21 2010 From: martinm at op5.org (Martin Melin) Date: Fri, 19 Mar 2010 20:42:21 +0100 Subject: init.d/nagios In-Reply-To: <1caaab23f657d53a06bd2803d142df3c.squirrel@webmail.dd-b.net> References: <1caaab23f657d53a06bd2803d142df3c.squirrel@webmail.dd-b.net> Message-ID: <5f0bcb7c1003191242g57c1c6ceta93a6e89c77f4f95@mail.gmail.com> On Fri, Mar 19, 2010 at 7:28 PM, David Dyer-Bennet wrote: > > The init file built and installed by "make install-init" doesn't seem to > work right. I apparently have nagios running after saying "service nagios > start" (it reported success), based on receiving some notifications and on > ps showing /usr/local/nagios/bin/nagios running as a daemon, but "service > nagios status" reports "nagios is not running". > > (This is on a Centos 4.8 system, with Nagios 3.2.1 built from source.) > > I configured this version with > "--with-lockfile=/usr/local/nagios/var/nagios.pid" after the previous > version, without that, logged a permissions error when it tried to start > up nagios. I suppose that could be the wrong fix for that problem, and > hence causing this one. > This is probably because the init script says: NagiosRunFile=${prefix}/var/nagios.lock But your pid file is called nagios.pid. So either recompile Nagios, or edit your init script to look in the nagios.pid file instead (probably the easier route, eh? :-) -- 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 polifemos at conedsolutions.com Fri Mar 19 22:33:34 2010 From: polifemos at conedsolutions.com (Polifemo, Salvatore) Date: Fri, 19 Mar 2010 17:33:34 -0400 Subject: NRPE performance data Message-ID: <5BE7D0404F28DC44B780100927AA4CB01866482C@whplex3.int.cecdes.net> I have configured the nagios check_nrpe plugin to check memory usage and it displays the graphs as %. Is it possible to graph the performance as MB ? The servers all have different amount of memory installed and it would make it easier if I saw the amount of memory instead of a percent. Thanks, Sal -------------- 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 19 23:35:55 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 19 Mar 2010 22:35:55 +0000 Subject: NRPE performance data In-Reply-To: <5BE7D0404F28DC44B780100927AA4CB01866482C@whplex3.int.cecdes.net> References: <5BE7D0404F28DC44B780100927AA4CB01866482C@whplex3.int.cecdes.net> Message-ID: <765d77c81003191535n5cc865d2lc0efa6202c1f254d@mail.gmail.com> On 19 March 2010 21:33, Polifemo, Salvatore wrote: > I have configured the nagios check_nrpe plugin to check memory usage and it > displays the graphs as %. > > Is it possible to graph the performance as MB ? check_nrpe is just a way of running a plugin remotely. If the remote plugin only returns performance data as a %, then that is what you will get. Simple answer is choose a different plugin which returns the performance data in the form you want or try running the plugin with the "--help" option to see if if you can specify another format. It would help to know a little more about what your check does. Most importantly what is the check command in your Nagios config? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 19 23:56:48 2010 From: neufpas at gmail.com (Noel Platzke) Date: Fri, 19 Mar 2010 18:56:48 -0400 Subject: init.d/nagios In-Reply-To: <5f0bcb7c1003191242g57c1c6ceta93a6e89c77f4f95@mail.gmail.com> References: <1caaab23f657d53a06bd2803d142df3c.squirrel@webmail.dd-b.net> <5f0bcb7c1003191242g57c1c6ceta93a6e89c77f4f95@mail.gmail.com> Message-ID: <96c54e8b1003191556x63d6377fm5d5b5fc54a01821b@mail.gmail.com> The init script should really be changed to this so we avoid this problem altogether... NagiosStatusFile=$(grep "status_file=" $NagiosCfgFile | awk -F\= '{print $2}') NagiosRetentionFile=$(grep "state_retention_file=" $NagiosCfgFile | awk -F\= '{print $2}') NagiosCommandFile=$(grep "command_file" $NagiosCfgFile | awk -F\= '{print $2}') NagiosCacheFile=$(grep "object_cache_file" $NagiosCfgFile | awk -F\= '{print $2}') NagiosPrecacheFile=$(grep "precached_object_file" $NagiosCfgFile | awk -F\= '{print $2}') NagiosRunFile=$(grep "lock_file" $NagiosCfgFile | awk -F\= '{print $2}') On Fri, Mar 19, 2010 at 3:42 PM, Martin Melin wrote: > On Fri, Mar 19, 2010 at 7:28 PM, David Dyer-Bennet wrote: > >> >> The init file built and installed by "make install-init" doesn't seem to >> work right. I apparently have nagios running after saying "service nagios >> start" (it reported success), based on receiving some notifications and on >> ps showing /usr/local/nagios/bin/nagios running as a daemon, but "service >> nagios status" reports "nagios is not running". >> >> (This is on a Centos 4.8 system, with Nagios 3.2.1 built from source.) >> >> I configured this version with >> "--with-lockfile=/usr/local/nagios/var/nagios.pid" after the previous >> version, without that, logged a permissions error when it tried to start >> up nagios. I suppose that could be the wrong fix for that problem, and >> hence causing this one. >> > > This is probably because the init script says: > > NagiosRunFile=${prefix}/var/nagios.lock > > But your pid file is called nagios.pid. > > So either recompile Nagios, or edit your init script to look in the > nagios.pid file instead (probably the easier route, eh? :-) > > -- > 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/ > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 benny at bennyvision.com Sat Mar 20 01:18:43 2010 From: benny at bennyvision.com (C. Bensend) Date: Fri, 19 Mar 2010 19:18:43 -0500 Subject: Does anyone have event log monitors that *work*? In-Reply-To: <765d77c81003191022p2e6764aahb9ada934e1d015a7@mail.gmail.com> References: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> <765d77c81003191022p2e6764aahb9ada934e1d015a7@mail.gmail.com> Message-ID: > I agree, it's not easy. > > If it's any help, the best I've been able or bothered to get for > monitoring any errors from MS SQL Server is to put this in the > NSClient++ .ini file: > > Event_MSSQL=inject CheckEventLog filter=new file=application MaxWarn=1 > MaxCrit=2 filter+generated=<30m filter+eventSource=substr:MSSQL > filter+eventType==error truncate=64 > > This means all the command options are kept in the NSClient++ config > which means you don't have to worry so much about escaping various > non-alphanumeric characters. To run the nrpe check (for example from > the command line on your nagios server), all you need to do is: > > /usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -c Event_MSSQL Thank you, Jim. I will give that a shot. I very much appreciate all the comments and suggestions I have received so far, but this one is the most workable for me so far. I simply cannot re-architect our Windows network to provide events via another transport, so the SNMP suggestion won't work. But, the thoughts about defining the check locally is a good one, and I'll try it out on Monday. And anyone else out there that is monitoring Windows event logs successfully, PLEASE chime in with thoughts/suggestions! I *know* there are a bunch of you out there, I'd love to hear how you do it! :) Thanks everyone! 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 ravishankar.gundlapali at wipro.com Sat Mar 20 09:35:06 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sat, 20 Mar 2010 14:05:06 +0530 Subject: Servive showing Unknown Status Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08AEE5CB@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 a server with six services for it. All services are showing OK except one service i.e.' Physical Memory Usage ' This service status is showing as UNKNOWN and status information as mentioned below ' CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages' Please someone help me to resolve this. Thanks a lot in advance. 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 jim at jimavery.me.uk Sat Mar 20 11:50:25 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 20 Mar 2010 10:50:25 +0000 Subject: Does anyone have event log monitors that *work*? In-Reply-To: References: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> <765d77c81003191022p2e6764aahb9ada934e1d015a7@mail.gmail.com> Message-ID: <765d77c81003200350g7893db6cq6cc946217c28fb19@mail.gmail.com> On 20 March 2010 00:18, C. Bensend wrote: > And anyone else out there that is monitoring Windows event logs > successfully, PLEASE chime in with thoughts/suggestions! ?I > *know* there are a bunch of you out there, I'd love to hear how > you do it! ?:) Likewise please ask again if you're still stuck. I don't mind having another bash at some of these issues when I have a minute. I just read your thread on the NSClient++ forum too. I have found that whenever I try to combine too many matches in one check it simply doesn't work right (can't remember the precise details). So I normally try to match on as few things as possible for each check even if that means I'm casting the net maybe a little wider than I'd really like. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From averyjim at gmail.com Sat Mar 20 11:54:37 2010 From: averyjim at gmail.com (Jim Avery) Date: Sat, 20 Mar 2010 10:54:37 +0000 Subject: Servive showing Unknown Status In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08AEE5CB@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08AEE5CB@PNE-HJN-MBX02.wipro.com> Message-ID: <765d77c81003200354g22e6f255x43d3958bec5de1eb@mail.gmail.com> On 20 March 2010 08:35, wrote: > Hi, > > > > I am using Nagios 3.2.4 with Nagios plugins 1.4.14 on Linux with Fedora > > 10.1. > > > > I have configured a server with six services for it. > > > > All services are showing OK except one service i.e.? Physical Memory Usage ? > > > > This service status is showing as UNKNOWN and status information as > mentioned below > > > > ? CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for > error messages? > > > > > > Please someone help me to resolve this. > > > > Thanks a lot in advance. I'm sorry, but there are so many ways you could have configured this it is difficult to know where to start without some more detailed information. Please list your Nagios service definition and the command definition for the check which is failing. Also what is it on the remote server which is listening for nrpe? Is it a nrpe daemon on a unix/linux server or is it NSClient++ on a Windows server or something else? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 12:10:56 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sat, 20 Mar 2010 16:40:56 +0530 Subject: Servive showing Unknown Status In-Reply-To: <765d77c81003200354g22e6f255x43d3958bec5de1eb@mail.gmail.com> References: <39C5D75C6A5D3440A833E1C014384BAA08AEE5CB@PNE-HJN-MBX02.wipro.com> <765d77c81003200354g22e6f255x43d3958bec5de1eb@mail.gmail.com> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08AEE5F9@PNE-HJN-MBX02.wipro.com> Hi, The service which is showing in Unknown status is ' Physical Memory Usage '. I am using NSClient++ on the windows server. Please suggest me how to resolve this error. Thanks & Regards, Ravi G -----Original Message----- From: Jim Avery [mailto:averyjim at gmail.com] Sent: Saturday, March 20, 2010 4:25 PM To: Nagios Users List Subject: Re: [Nagios-users] Servive showing Unknown Status On 20 March 2010 08:35, wrote: > Hi, > > > > I am using Nagios 3.2.4 with Nagios plugins 1.4.14 on Linux with Fedora > > 10.1. > > > > I have configured a server with six services for it. > > > > All services are showing OK except one service i.e.' Physical Memory Usage ' > > > > This service status is showing as UNKNOWN and status information as > mentioned below > > > > ' CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for > error messages' > > > > > > Please someone help me to resolve this. > > > > Thanks a lot in advance. I'm sorry, but there are so many ways you could have configured this it is difficult to know where to start without some more detailed information. Please list your Nagios service definition and the command definition for the check which is failing. Also what is it on the remote server which is listening for nrpe? Is it a nrpe daemon on a unix/linux server or is it NSClient++ on a Windows server or something else? ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 averyjim at gmail.com Sat Mar 20 13:48:53 2010 From: averyjim at gmail.com (Jim Avery) Date: Sat, 20 Mar 2010 12:48:53 +0000 Subject: Servive showing Unknown Status In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08AEE5F9@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08AEE5CB@PNE-HJN-MBX02.wipro.com> <765d77c81003200354g22e6f255x43d3958bec5de1eb@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA08AEE5F9@PNE-HJN-MBX02.wipro.com> Message-ID: <765d77c81003200548g75256ad8wdafdfde90917866f@mail.gmail.com> On 20 March 2010 11:10, wrote: > Hi, > > The service which is showing in Unknown status is ' Physical Memory > Usage '. > > I am using NSClient++ on the windows server. Okay, that's good. Check the log file for NSClient++ to see if it is reporting any errors. If I recall, it is usually called "nsclient.log" or maybe "nsc.log" and will be found in the directory where you installed NSClient++, usually C:\Program Files\NSClient++\ If the Windows server is 64-bit and you are running a 64-bit version of Windows, make sure you are running the version of NSClient++ which is for 64-bit. 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 ravishankar.gundlapali at wipro.com Sat Mar 20 14:40:43 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sat, 20 Mar 2010 19:10:43 +0530 Subject: Servive showing Unknown Status In-Reply-To: <765d77c81003200548g75256ad8wdafdfde90917866f@mail.gmail.com> References: <39C5D75C6A5D3440A833E1C014384BAA08AEE5CB@PNE-HJN-MBX02.wipro.com><765d77c81003200354g22e6f255x43d3958bec5de1eb@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08AEE5F9@PNE-HJN-MBX02.wipro.com> <765d77c81003200548g75256ad8wdafdfde90917866f@mail.gmail.com> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08AEE639@PNE-HJN-MBX02.wipro.com> Hi, I am able to see the following in nsclient.log file.Please suggest. 2010-03-18 00:41:22: message:modules\FileLogger\FileLogger.cpp:92: Starting to log for: NSClient++ - 0.3.6.816 2009-06-14 2010-03-18 00:41:23: debug:CACHENSClient++.cpp:494: Attempting to start NSCLient++ - 0.3.6.816 2009-06-14 2010-03-18 00:41:23: message:CACHEmodules\FileLogger\FileLogger.cpp:93: Log path is: C:\Program Files (x86)\NSClient++-0.3.6-x64\\nsclient.log 2010-03-18 00:41:23: message:NSClient++.cpp:600: NSCLient++ - 0.3.6.816 2009-06-14 Started! 2010-03-18 00:41:45: error:modules\NSClientListener\NSClientListener.cpp:313: Unauthorized access from: x.x.x.x 2010-03-18 00:42:22: error:modules\NSClientListener\NSClientListener.cpp:313: Unauthorized access from: x.x.x.x 2010-03-18 00:42:27: message:modules\FileLogger\FileLogger.cpp:92: Starting to log for: NSClient++ - 0.3.6.816 2009-06-14 2010-03-18 00:42:27: debug:CACHENSClient++.cpp:494: Attempting to start NSCLient++ - 0.3.6.816 2009-06-14 2010-03-18 00:42:27: message:CACHEmodules\FileLogger\FileLogger.cpp:93: Log path is: C:\Program Files (x86)\NSClient++-0.3.6-x64\\nsclient.log 2010-03-18 00:42:27: message:NSClient++.cpp:600: NSCLient++ - 0.3.6.816 2009-06-14 Started! 2010-03-18 00:42:59: error:modules\NSClientListener\NSClientListener.cpp:313: Unauthorized access from: x.x.x.x 2010-03-18 00:43:37: error:modules\NRPEListener\NRPEListener.cpp:289: Unauthorize access from: x.x.x.x 2010-03-18 00:44:16: error:modules\NSClientListener\NSClientListener.cpp:313: Unauthorized access from: x.x.x.x 2010-03-18 00:46:08: error:modules\NSClientListener\NSClientListener.cpp:313: Unauthorized access from: x.x.x.x 2010-03-18 00:46:45: error:modules\NSClientListener\NSClientListener.cpp:313: Unauthorized access from: x.x.x.x 2010-03-18 00:47:22: error:modules\NSClientListener\NSClientListener.cpp:313: Unauthorized access from: x.x.x.x 2010-03-18 00:47:59: error:modules\NSClientListener\NSClientListener.cpp:313: Unauthorized access from: x.x.x.x 2010-03-18 00:48:37: error:modules\NRPEListener\NRPEListener.cpp:289: Unauthorize access from: x.x.x.x Thanks & Regards, Ravi G -----Original Message----- From: Jim Avery [mailto:averyjim at gmail.com] Sent: Saturday, March 20, 2010 6:19 PM To: nagios List Subject: Re: [Nagios-users] Servive showing Unknown Status On 20 March 2010 11:10, wrote: > Hi, > > The service which is showing in Unknown status is ' Physical Memory > Usage '. > > I am using NSClient++ on the windows server. Okay, that's good. Check the log file for NSClient++ to see if it is reporting any errors. If I recall, it is usually called "nsclient.log" or maybe "nsc.log" and will be found in the directory where you installed NSClient++, usually C:\Program Files\NSClient++\ If the Windows server is 64-bit and you are running a 64-bit version of Windows, make sure you are running the version of NSClient++ which is for 64-bit. 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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 14:48:31 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sat, 20 Mar 2010 19:18:31 +0530 Subject: Recall: Servive showing Unknown Status Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08AEE63B@PNE-HJN-MBX02.wipro.com> Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) would like to recall the message, "[Nagios-users] Servive showing Unknown Status". -------------- 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 Sat Mar 20 14:53:29 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sat, 20 Mar 2010 19:23:29 +0530 Subject: Servive showing Unknown Status In-Reply-To: <765d77c81003200548g75256ad8wdafdfde90917866f@mail.gmail.com> References: <39C5D75C6A5D3440A833E1C014384BAA08AEE5CB@PNE-HJN-MBX02.wipro.com><765d77c81003200354g22e6f255x43d3958bec5de1eb@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08AEE5F9@PNE-HJN-MBX02.wipro.com> <765d77c81003200548g75256ad8wdafdfde90917866f@mail.gmail.com> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08AEE63C@PNE-HJN-MBX02.wipro.com> Hi, Please ignore the previous mail. This is present in the nsclient.log file. 2010-03-19 22:02:22: error:modules\NRPEListener\NRPEListener.cpp:289: Unauthorize access from: x.x.x.x 2010-03-19 22:07:22: error:modules\NRPEListener\NRPEListener.cpp:289: Unauthorize access from: x.x.x.x 2010-03-19 22:12:22: error:modules\NRPEListener\NRPEListener.cpp:289: Unauthorize access from: x.x.x.x 2010-03-19 22:17:22: error:modules\NRPEListener\NRPEListener.cpp:289: Unauthorize access from: x.x.x.x 2010-03-19 22:22:22: error:modules\NRPEListener\NRPEListener.cpp:289: Unauthorize access from: x.x.x.x 2010-03-19 22:27:22: error:modules\NRPEListener\NRPEListener.cpp:289: Unauthorize access from: x.x.x.x 2010-03-19 22:32:22: error:modules\NRPEListener\NRPEListener.cpp:289: Unauthorize access from: x.x.x.x 2010-03-19 22:37:22: error:modules\NRPEListener\NRPEListener.cpp:289: Unauthorize access from: x.x.x.x 2010-03-19 22:38:29: error:modules\CheckSystem\PDHCollector.cpp:208: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: -2147481642: A counter with a negative denominator value was detected. Thanks & Regards, Ravi G -----Original Message----- From: Jim Avery [mailto:averyjim at gmail.com] Sent: Saturday, March 20, 2010 6:19 PM To: nagios List Subject: Re: [Nagios-users] Servive showing Unknown Status On 20 March 2010 11:10, wrote: > Hi, > > The service which is showing in Unknown status is ' Physical Memory > Usage '. > > I am using NSClient++ on the windows server. Okay, that's good. Check the log file for NSClient++ to see if it is reporting any errors. If I recall, it is usually called "nsclient.log" or maybe "nsc.log" and will be found in the directory where you installed NSClient++, usually C:\Program Files\NSClient++\ If the Windows server is 64-bit and you are running a 64-bit version of Windows, make sure you are running the version of NSClient++ which is for 64-bit. 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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From averyjim at gmail.com Sat Mar 20 14:59:39 2010 From: averyjim at gmail.com (Jim Avery) Date: Sat, 20 Mar 2010 13:59:39 +0000 Subject: Servive showing Unknown Status In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08AEE639@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08AEE5CB@PNE-HJN-MBX02.wipro.com> <765d77c81003200354g22e6f255x43d3958bec5de1eb@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA08AEE5F9@PNE-HJN-MBX02.wipro.com> <765d77c81003200548g75256ad8wdafdfde90917866f@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA08AEE639@PNE-HJN-MBX02.wipro.com> Message-ID: <765d77c81003200659k13aa5942xbd50735d117cad27@mail.gmail.com> On 20 March 2010 13:40, wrote: > Hi, > > I am able to see the following in nsclient.log file.Please suggest. > ... > error:modules\NSClientListener\NSClientListener.cpp:313: Unauthorized > access from: x.x.x.x ... > 2010-03-18 00:43:37: error:modules\NRPEListener\NRPEListener.cpp:289: > Unauthorize access from: x.x.x.x This means this host isn't allowed to connect to the NSClient++ agent. By default "allowed_hosts" is set to 127.0.0.1 which effectively means nothing can connect to the agent. Edit the nsc.ini file and in the [settings] section and make sure the "allowed_hosts" option is set to the IP address of your Nagios server (and that it is not commented out with a ";") then restart the NSClient++ service. It's a good idea to read the documentation for all the options and make sure you understand what they are for, as some of them affect security and other are just useful to know about. http://nsclient.org/nscp/wiki/doc/configuration#Settings If you are trying to connect to the agent using a password, you might need to set that up too (again see the documentation page). 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 averyjim at gmail.com Sat Mar 20 15:04:46 2010 From: averyjim at gmail.com (Jim Avery) Date: Sat, 20 Mar 2010 14:04:46 +0000 Subject: Servive showing Unknown Status In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08AEE63C@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08AEE5CB@PNE-HJN-MBX02.wipro.com> <765d77c81003200354g22e6f255x43d3958bec5de1eb@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA08AEE5F9@PNE-HJN-MBX02.wipro.com> <765d77c81003200548g75256ad8wdafdfde90917866f@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA08AEE63C@PNE-HJN-MBX02.wipro.com> Message-ID: <765d77c81003200704t26ecd309n439dfd186b8d3754@mail.gmail.com> On 20 March 2010 13:53, wrote: > Hi, > > Please ignore the previous mail. This is present in the nsclient.log > file. > > 2010-03-19 22:02:22: error:modules\NRPEListener\NRPEListener.cpp:289: > Unauthorize access from: x.x.x.x ... > 2010-03-19 22:38:29: error:modules\CheckSystem\PDHCollector.cpp:208: > Failed to query performance counters: \Processor(_total)\% Processor > Time: PdhGetFormattedCounterValue failed: -2147481642: A counter with a > negative denominator value was detected. Okay, it looks like either you have a problem with performance counters on that server or you might be running the wrong version of NSClient++ for the operating-system (check that if you are using 64-bit Windows you must use the 64-bit NSClient++ agent). See the FAQ at http://nsclient.org/nscp/wiki/FAQ for some advice about the performance counters. 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 ravishankar.gundlapali at wipro.com Sat Mar 20 15:49:13 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sat, 20 Mar 2010 20:19:13 +0530 Subject: Servive showing Unknown Status In-Reply-To: <765d77c81003200659k13aa5942xbd50735d117cad27@mail.gmail.com> References: <39C5D75C6A5D3440A833E1C014384BAA08AEE5CB@PNE-HJN-MBX02.wipro.com><765d77c81003200354g22e6f255x43d3958bec5de1eb@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08AEE5F9@PNE-HJN-MBX02.wipro.com><765d77c81003200548g75256ad8wdafdfde90917866f@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08AEE639@PNE-HJN-MBX02.wipro.com> <765d77c81003200659k13aa5942xbd50735d117cad27@mail.gmail.com> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08AEE642@PNE-HJN-MBX02.wipro.com> Thanks a lot Jim....... This has resolved my problem... Thanks & Regards, Ravi G Wipro Support - STW - Wipro Technologies - India VOIP - 8540803, Desk : +91-20-39105657 , Cell - +91 9503029658 ? please consider the environment - do you really need to print this email? -----Original Message----- From: Jim Avery [mailto:averyjim at gmail.com] Sent: Saturday, March 20, 2010 7:30 PM To: nagios List Subject: Re: [Nagios-users] Servive showing Unknown Status On 20 March 2010 13:40, wrote: > Hi, > > I am able to see the following in nsclient.log file.Please suggest. > ... > error:modules\NSClientListener\NSClientListener.cpp:313: Unauthorized > access from: x.x.x.x ... > 2010-03-18 00:43:37: error:modules\NRPEListener\NRPEListener.cpp:289: > Unauthorize access from: x.x.x.x This means this host isn't allowed to connect to the NSClient++ agent. By default "allowed_hosts" is set to 127.0.0.1 which effectively means nothing can connect to the agent. Edit the nsc.ini file and in the [settings] section and make sure the "allowed_hosts" option is set to the IP address of your Nagios server (and that it is not commented out with a ";") then restart the NSClient++ service. It's a good idea to read the documentation for all the options and make sure you understand what they are for, as some of them affect security and other are just useful to know about. http://nsclient.org/nscp/wiki/doc/configuration#Settings If you are trying to connect to the agent using a password, you might need to set that up too (again see the documentation page). 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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Mar 20 16:33:41 2010 From: benny at bennyvision.com (C. Bensend) Date: Sat, 20 Mar 2010 10:33:41 -0500 Subject: Does anyone have event log monitors that *work*? In-Reply-To: <765d77c81003200350g7893db6cq6cc946217c28fb19@mail.gmail.com> References: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> <765d77c81003191022p2e6764aahb9ada934e1d015a7@mail.gmail.com> <765d77c81003200350g7893db6cq6cc946217c28fb19@mail.gmail.com> Message-ID: > I just read your thread on the NSClient++ forum too. I have found > that whenever I try to combine too many matches in one check it simply > doesn't work right (can't remember the precise details). So I > normally try to match on as few things as possible for each check even > if that means I'm casting the net maybe a little wider than I'd really > like. That's a lot of the reason I'm getting so frustrated with this - I don't really feel like I'm doing anything out of the ordinary. I simply need to look for specific event IDs within the last X time interval. That really seems like a very basic need for people doing network monitoring, and it's just driving me nuts that I can't get what I believe to be such a basic thing done. I REALLY appreciate all of the help/recommendations I've received, and I'll try some of them on Monday and we'll see if I can get my event IDs alerting properly. :) Thanks again, everyone! 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 bipsen at andebakken.dk Sat Mar 20 16:17:35 2010 From: bipsen at andebakken.dk (Brian Ipsen) Date: Sat, 20 Mar 2010 16:17:35 +0100 Subject: Configuration issue Message-ID: <000001cac840$787e3680$697aa380$@dk> Hi I have a question regarding the configuration of services and service dependencies. If I configure a service-check, and I specify a number of host-groups instead of a list of hosts - and I then try to make service dependencies on this service on each of the hosts included in the host-groups - then Nagios states, that it cannot find a matching service name for the specified host ?? I thought, that by specifying the hostgroups would make Nagios derive the list of hosts from the hostgroups - and thereby making it possible for me to make service dependencies on each host in the hostgroup. Is it a bug - or is it simply not possible ?? Example I have 5 hosts: host-a, host-b, host-c, host-d and host-e I create 2 hostgroups, hostgrp-1 (with host-a and host-b), and hostgrp2 (with host-d and host-e) In my e.g. PING service check, I specify hostgroups hostgrp-1, hostgrp-2 I also define another service - could e.g. be check_http - also with hostgroups hostgrp-1 and hostgrp-2 as targets Now, If I try to make a service dependency, and I specify host-a as host and dependant host - and then specify PING as service, and check_http as dependat service - then I'm told, that PING isn't listed as a service for host-a I'm currently running Nagios Core 3.2.0 Regards Brian -------------- 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 Sat Mar 20 22:54:55 2010 From: nagios at flatto.net (Assaf Flatto) Date: Sat, 20 Mar 2010 21:54:55 +0000 Subject: Configuration issue In-Reply-To: <000001cac840$787e3680$697aa380$@dk> References: <000001cac840$787e3680$697aa380$@dk> Message-ID: <4BA5442F.5010003@flatto.net> Brian Ipsen wrote: > > Hi > > I have a question regarding the configuration of services and service > dependencies? > > If I configure a service-check, and I specify a number of host-groups > instead of a list of hosts ? and I then try to make service > dependencies on this service on each of the hosts included in the > host-groups ? then Nagios states, that it cannot find a matching > service name for the specified host ?? > > I thought, that by specifying the hostgroups would make Nagios derive > the list of hosts from the hostgroups ? and thereby making it possible > for me to make service dependencies on each host in the hostgroup? > > Is it a bug ? or is it simply not possible ?? > > Example > > I have 5 hosts: host-a, host-b, host-c, host-d and host-e > > I create 2 hostgroups, hostgrp-1 (with host-a and host-b), and > hostgrp2 (with host-d and host-e) > > In my e.g. PING service check, I specify hostgroups hostgrp-1, hostgrp-2 > > I also define another service ? could e.g. be check_http - also with > hostgroups hostgrp-1 and hostgrp-2 as targets > > Now, If I try to make a service dependency, and I specify host-a as > host and dependant host ? and then specify PING as service, and > check_http as dependat service ? then I?m told, that PING isn?t listed > as a service for host-a > > I?m currently running Nagios Core 3.2.0 > from what you specify , the dependencies should work , in fact in my nagios configuration i have a similar config and it works fine. Can you post the definitions of the dependencies conf ? That will give more information and will help us help you. 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 kasper at nordal-lund.dk Sun Mar 21 06:58:05 2010 From: kasper at nordal-lund.dk (Kasper Nordal Lund) Date: Sun, 21 Mar 2010 06:58:05 +0100 Subject: Does anyone have event log monitors that *work*? In-Reply-To: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> References: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> Message-ID: <4BA5B56D.60908@nordal-lund.dk> C. Bensend wrote: > How do you guys monitor your event logs? Anyone using NSClient++? > I can't use NC_Net, I cannot install .NET on these hundreds of > Windows machines. I just cannot understand why this is so damned > hard/frustrating/whatever. Maybe I'm just an idiot, but I'm at > the end of my rope here... > > THANK YOU for any help you can provide (including cluebats to the > head)! > > Benny > > Hi Benny I have also been strugling a lot to get this to work, the filter options can be quite hard to understand. I suggest that you start with a more simple check command, the one you are using now do have a lot of options, personally I would start with a simple check that just filters out the event ID and then add the other options later. Here I have an example from my own setup looking for messages in the application log from the ServerRAID manager that are any other type than "info" and are less than 510m old. check_nrpe -H $HOSTADDRESS$ -p 5666 -t 30 -c CheckEventLog -a filter=new file=application MaxWarn=1 MaxCrit=1 filter+generated=\<510m "filter+eventSource==ServeRAID Manager Agent" filter-eventType==info The above is working as expected. In nagios i then have a command defined like this: check_nrpe -H $HOSTADDRESS$ -p 5666 -t 30 -c CheckEventLog -a filter=new file=$ARG1$ MaxWarn=1 MaxCrit=1 filter+generated=\$ARG2$ "filter+$ARG3$==$ARG4$" filter-eventType==info And then i have a service defined like this: define service { host_name dkaalbor019p-file service_description ServeRAID_Manager_Agent check_command NRPE_Check_EventLog!application!<510m!eventSource!ServeRAID Manager Agent is_volatile 0 max_check_attempts 3 check_interval 5 retry_interval 3 passive_checks_enabled 1 check_period 24x7 check_freshness 1 freshness_threshold 0 low_flap_threshold 0 high_flap_threshold 0 process_perf_data 1 notification_interval 0 notification_period 24x7 notification_options w,u,r,c,f notifications_enabled 1 contact_groups windows-admins I hope you can use this. Best Regards. Kasper ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Sun Mar 21 12:09:19 2010 From: termx23 at gmail.com (Peter Edmonds) Date: Sun, 21 Mar 2010 22:09:19 +1100 Subject: Does anyone have event log monitors that *work*? In-Reply-To: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> References: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> Message-ID: <6b8cee7e1003210409n7ca753ereadd4e78d3a771be@mail.gmail.com> > ? I need to monitor Windows event logs. ?You'd think this would > be easy, but either the tools available out there don't work (which > I doubt, I KNOW you monitor event logs), or I'm man enough to admit > that I'm a hopeless idiot. In my experience, managing Windows Event Logs is a huge pain. The one thing that I found simplified it was Microsoft Log Parser http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&displaylang=en http://www.microsoft.com/technet/community/columns/profwin/pw0505.mspx http://www.microsoft.com/technet/community/columns/scripts/sg0105.mspx >From the Microsoft blurb: "Log parser is a powerful, versatile tool that provides universal query access to text-based data such as log files, XML files and CSV files, as well as key data sources on the Windows(r) operating system such as the Event Log, the Registry, the file system, and Active Directory(r). You tell Log Parser what information you need and how you want it processed. The results of your query can be custom-formatted in text based output, or they can be persisted to more specialty targets like SQL, SYSLOG, or a chart. " I'm not sure if you can tail logs into Log Parser, but on Windows I have found it useful for dumping application logfiles to a central syslog server periodically. Log Parser uses checkpoints to keep track of where it is up to in an application logfile, so you can schedule Log Parser to run every minute and dump everything since the last checkpoint. You could have Microsoft Log Parser dump the Windows Event Log from every machine into a central syslog server or MS SQL Server, then query either of those. For querying MS SQL Server from Nagios, I have had good results with this http://article.gmane.org/gmane.network.nagios.user/49183 Either using bsqldb and freetds or a Perl script http://library.pantek.com/Mailing%20Lists/lists.sourceforge.net/nagios-users/att-1600/check_mssql.pl Peter Edmonds ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From witchaphon.sa at ntt.co.th Mon Mar 22 06:59:08 2010 From: witchaphon.sa at ntt.co.th (Witchaphon S.) Date: Mon, 22 Mar 2010 12:59:08 +0700 Subject: ndomod: Error writing to data sink! Some output may get lost. Message-ID: <4BA7072C.2030701@ntt.co.th> Dear Sirs, I have problem with NDOUtils that got below error after restart Nagios service "ndomod: Error writing to data sink! Some output may get lost." ################### ##Background Information### ################### I installed OS : FreeBSD 8.0 App : nagios-3.2.0_1 (by Port) ndoutils-1.4b9 (by source) mysql-server-5.0.89 (by Port) ########### ##ndo2db.cfg## ########### ndo2db_user=nagios ndo2db_group=nagios socket_type=unix socket_name=/var/spool/nagios/ndo.sock tcp_port=5668 use_ssl=0 db_servertype=mysql db_host=localhost db_port=3306 db_name=nagios db_prefix=nagios_ db_user=xxxx db_pass=xxxx max_timedevents_age=1440 max_systemcommands_age=10080 max_servicechecks_age=10080 max_hostchecks_age=10080 max_eventhandlers_age=44640 max_externalcommands_age=44640 debug_level=-1 debug_verbosity=2 debug_file=/var/spool/nagios/ndo2db.debug max_debug_file_size=1000000 ########### ##ndomod.cfg## ########### instance_name=default output_type=unixsocket output=/var/spool/nagios/ndo.sock tcp_port=5668 use_ssl=0 output_buffer_items=5000 buffer_file=/var/spool/nagios/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=2 ########### ##nagios.cfg### ########### Compiled Nagios with support for the event broker event_broker_options=-1 broker_module=/usr/local/bin/ndomod.o config_file=/usr/local/etc/nagios/ndomod.cfg ############ ##Permissions## ############ #ls -alh /usr/local/bin | grep ndo -r-xr-xr-x 1 root wheel 99K Feb 12 15:13 ndo2db -r-xr-xr-x 1 root wheel 99K Feb 12 15:13 ndo2db-3x -r-xr-xr-x 1 root wheel 63K Feb 12 15:13 ndomod-3x.o -r-xr-xr-x 1 root wheel 63K Feb 12 15:13 ndomod.o ############# ##Start ndo2db## ############# #/usr/local/bin/ndo2db -c /usr/local/etc/nagios/ndo2db.cfg # ps -aux | grep ndo2db nagios 26488 0.0 0.1 3940 1596 ?? Ss 11:49AM 0:00.03 /usr/local/bin/ndo2db -c /usr/local/etc/nagios/ndo2db.cfg root 26988 0.0 0.1 3492 1076 0 S+ 12:06PM 0:00.00 grep ndo2db ################# ##After restart Nagios## ################# # /usr/local/etc/rc.d/nagios restart&& tail -f /var/spool/nagios/nagios.log Performing sanity check of nagios configuration: OK nagios not running? (check /var/spool/nagios/nagios.lock). Performing sanity check of nagios configuration: OK Starting nagios. [1269234211] LOG VERSION: 2.0 [1269234211] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core Development Team and Community Contributors [1269234211] ndomod: Successfully connected to data sink. 177 queued items to flush. [1269234214] Nagios 3.2.0 starting... (PID=26958) [1269234214] Local time is Mon Mar 22 12:03:34 ICT 2010 [1269234214] LOG VERSION: 2.0 [1269234214] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core Development Team and Community Contributors [1269234214] ndomod: Successfully connected to data sink. 0 queued items to flush. [1269234214] Event broker module '/usr/local/bin/ndomod.o' initialized successfully. [1269234214] Finished daemonizing... (New PID=26960) [1269234214] ndomod: Error writing to data sink! Some output may get lost... [1269234214] ndomod: Please check remote ndo2db log, database connection or SSL Parameters Any more configuration else?? Thks your for you big help. Regards, Witchaphon S. -------------- 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 Mon Mar 22 09:59:05 2010 From: nagios at smetj.net (Jelle Smet) Date: Mon, 22 Mar 2010 09:59:05 +0100 Subject: Blocking outage Message-ID: <6e353416b2fed254d8c4a75addae4863@smetj.net> Hi List, I have a parent child relationship of network components defined within Nagios. nagios connects to 2 routers those two routers connect to 1 switch on which more servers are connected. When one of the 2 routers goes down, Nagios reports this as a network outage.... Which I think isn't true as the second router is still up and running and the site is still perfectly available... I though a network outage occurs when the complete networkpath is broken towards X amount of nodes.... Is this normal behaviour? 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 j2 at mupp.net Mon Mar 22 10:02:48 2010 From: j2 at mupp.net (Jan Johansson) Date: Mon, 22 Mar 2010 10:02:48 +0100 Subject: How to set "parent" for Nagios process? References: <9CB5A76200029E439A44D2E52901D6A439F257@waldorf.Muppnet.local> Message-ID: <9CB5A76200029E439A44D2E52901D6A439F258@waldorf.Muppnet.local> Hello! Running 3.2.0 and I think I have been through the relevant information/docs. But, I cannot figure out how to tell Nagios on which host the Nagios Process is running. It shows up in the wrong place on my Map. Thanks. -- Meddelandet har kontrollerats mot virus samt skadligt inneh?ll av MailScanner och f?rmodas vara s?kert. -------------- 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 richard.gliebe at fhv.at Mon Mar 22 10:55:00 2010 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Mon, 22 Mar 2010 10:55:00 +0100 Subject: NSCA Client Message-ID: <4BA73E74.6090706@fhv.at> Hi all, I'm looking for the nsca_client package for 'SunOS 5.9 Generic_112233-07 sun4u sparc SUNW,UltraAX-i2' which I can install with pkgadd. 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 t.h.amundsen at usit.uio.no Mon Mar 22 10:58:04 2010 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Mon, 22 Mar 2010 10:58:04 +0100 Subject: Problem with check_openmanage 3.5.6 In-Reply-To: <4B86C454.6000305@nicole-haehnel.de> ("Nicole =?utf-8?Q?H?= =?utf-8?Q?=C3=A4hnel=22's?= message of "Thu, 25 Feb 2010 19:41:24 +0100") References: <4B851AD7.1050904@nicole-haehnel.de> <15tr5oad93z.fsf@tux.uio.no> <4B865D66.80102@nicole-haehnel.de> <15tiq9lcrd1.fsf@tux.uio.no> <4B86925A.7010007@nicole-haehnel.de> <15teik9cof8.fsf@tux.uio.no> <4B86C454.6000305@nicole-haehnel.de> Message-ID: <15teijcsmoj.fsf@tux.uio.no> Nicole H?hnel writes: >>> CRITICAL: [xxx] Physical Disk 0:0 [Wdc WD1600JS-55MHB0, 160GB] on ctrl 0 needs >>> attention: >>> ------ SYSTEM: PowerEdge 830, SN: xxx >>> INTERNAL ERROR: Use of uninitialized value in string eq at /usr/lib64/nagios/ >>> plugins/grontmij/check_openmanage line 1432. >>> INTERNAL ERROR: Use of uninitialized value in sprintf at /usr/lib64/nagios/ >>> plugins/grontmij/check_openmanage line 1445. Mostly for the list archive: We took this off the list to do some back-and-forth debugging and testing, and the issue is now resolved. A new version of check_openmanage is released, which will print the above correctly as: CRITICAL: Physical Disk 0:0 [Wdc WD1600JS-55MHB0, 160GB] on ctrl 0 needs attention: Undefined value 4096 This relates to SNMP returning values which are not defined in the MIBs. Such values are now reported as "Undefined value ". Regards, -- 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 richard.gliebe at fhv.at Mon Mar 22 14:32:06 2010 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Mon, 22 Mar 2010 14:32:06 +0100 Subject: NSCA Client - SOLUTION In-Reply-To: <4BA73E74.6090706@fhv.at> References: <4BA73E74.6090706@fhv.at> Message-ID: <4BA77156.6080608@fhv.at> On 3/22/10 10:55 AM Richard Gliebe wrote: > Hi all, found it on http://www.monitoringexchange.org 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 benny at bennyvision.com Mon Mar 22 14:50:50 2010 From: benny at bennyvision.com (C. Bensend) Date: Mon, 22 Mar 2010 08:50:50 -0500 Subject: Does anyone have event log monitors that *work*? In-Reply-To: <765d77c81003200350g7893db6cq6cc946217c28fb19@mail.gmail.com> References: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> <765d77c81003191022p2e6764aahb9ada934e1d015a7@mail.gmail.com> <765d77c81003200350g7893db6cq6cc946217c28fb19@mail.gmail.com> Message-ID: <2c0ac63c53832e6cd5c72c8b507bf50e.squirrel@webmail.stinkweasel.net> > I just read your thread on the NSClient++ forum too. I have found > that whenever I try to combine too many matches in one check it simply > doesn't work right (can't remember the precise details). So I > normally try to match on as few things as possible for each check even > if that means I'm casting the net maybe a little wider than I'd really > like. I just posted a new thread over there... I did some more testing this morning trying to reduce the number of parameters, but I can't really do so to get a single event ID. It is still not working like I expect; I explained each option I was giving it in my post if you have a moment to take a look. If indeed it's the number of filters I'm adding, I'm totally at a loss. Simply looking for an event ID within a time interval seems like it's such a basic need that I'd just be flabbergasted... Thanks for all your help, everyone! 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 nagios at flatto.net Mon Mar 22 15:36:54 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 22 Mar 2010 14:36:54 +0000 Subject: How to set "parent" for Nagios process? In-Reply-To: <9CB5A76200029E439A44D2E52901D6A439F258@waldorf.Muppnet.local> References: <9CB5A76200029E439A44D2E52901D6A439F257@waldorf.Muppnet.local> <9CB5A76200029E439A44D2E52901D6A439F258@waldorf.Muppnet.local> Message-ID: <4BA78086.7010708@flatto.net> Jan Johansson wrote: > > > Hello! > > Running 3.2.0 and I think I have been through the relevant > information/docs. > But, I cannot figure out how to tell Nagios on which host the Nagios > Process is running. It shows up in the wrong place on my Map. > > Thanks. > > > Please elaborate ... The nagios process is associated with the "localhost" by default , as it is the server running the nagios process and hence has not parent . What are you trying to achieve ? maybe that will give us more understanding to the issue you are trying to resolve ? Assaf -- 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 j2 at mupp.net Mon Mar 22 15:45:09 2010 From: j2 at mupp.net (Jan Johansson) Date: Mon, 22 Mar 2010 15:45:09 +0100 Subject: How to set "parent" for Nagios process? References: <9CB5A76200029E439A44D2E52901D6A439F257@waldorf.Muppnet.local><9CB5A76200029E439A44D2E52901D6A439F258@waldorf.Muppnet.local> <4BA78086.7010708@flatto.net> Message-ID: <9CB5A76200029E439A44D2E52901D6A439F259@waldorf.Muppnet.local> > >Please elaborate ... > >The nagios process is associated with the "localhost" by default , as it >is the server running the nagios process and hence has not parent . > >What are you trying to achieve ? maybe that will give us more >understanding to the issue you are trying to resolve ? Well, that is what i WANT, but not what I am getting. If you take a look at this screen shot http://i43.tinypic.com/23kyir7.png You will see that for some reason, I have inadvertently managed to change that. -- Meddelandet har kontrollerats mot virus samt skadligt inneh?ll av MailScanner och f?rmodas vara s?kert. -------------- 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 22 15:57:22 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 22 Mar 2010 14:57:22 +0000 Subject: How to set "parent" for Nagios process? In-Reply-To: <9CB5A76200029E439A44D2E52901D6A439F259@waldorf.Muppnet.local> References: <9CB5A76200029E439A44D2E52901D6A439F257@waldorf.Muppnet.local><9CB5A76200029E439A44D2E52901D6A439F258@waldorf.Muppnet.local> <4BA78086.7010708@flatto.net> <9CB5A76200029E439A44D2E52901D6A439F259@waldorf.Muppnet.local> Message-ID: <4BA78552.5040301@flatto.net> Jan Johansson wrote: > > > > >Please elaborate ... > > > >The nagios process is associated with the "localhost" by default , as it > >is the server running the nagios process and hence has not parent . > > > >What are you trying to achieve ? maybe that will give us more > >understanding to the issue you are trying to resolve ? > > Well, that is what i WANT, but not what I am getting. > > If you take a look at this screen shot http://i43.tinypic.com/23kyir7.png > > You will see that for some reason, I have inadvertently managed to > change that. > Odd , i had to modify the statusmap.c in order to get something similar , you haven't done that , Right ? is it possible that you have some configuration issue where "localhost" is not 127.0.0.1 ? and a host for the nagios server has a different ip ? from what i can see your nagios process is communicating over the internet to all the servers (i might be wrong - but that is the "picture" i get from the map .) so it might be an IP issue . -- 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 j2 at mupp.net Mon Mar 22 16:19:49 2010 From: j2 at mupp.net (Jan Johansson) Date: Mon, 22 Mar 2010 16:19:49 +0100 Subject: How to set "parent" for Nagios process? References: <9CB5A76200029E439A44D2E52901D6A439F257@waldorf.Muppnet.local><9CB5A76200029E439A44D2E52901D6A439F258@waldorf.Muppnet.local> <4BA78086.7010708@flatto.net> <9CB5A76200029E439A44D2E52901D6A439F259@waldorf.Muppnet.local> <4BA78552.5040301@flatto.net> Message-ID: <9CB5A76200029E439A44D2E52901D6A439F25B@waldorf.Muppnet.local> >Odd , i had to modify the statusmap.c in order to get something similar >, you haven't done that , Right ? Nope. >is it possible that you have some configuration issue where "localhost" >is not 127.0.0.1 ? >and a host for the nagios server has a different ip ? define host{ use linux-server ; Name of host template to use ; This host definition will inherit all variables that are defin ed ; in (or inherited by) the linux-server host template definition . host_name localhost alias localhost address 127.0.0.1 parents gotlogswitch01 } >from what i can see your nagios process is communicating over the >internet to all the servers (i might be wrong - but that is the >"picture" i get from the map .) so it might be an IP issue . No, everything is local, and the "internet" is really just an abstract check to a major web site to test our internet connectivity. So i would want "Nagios process" to be linked to "Localhost" in the map. -- Meddelandet har kontrollerats mot virus samt skadligt inneh?ll av MailScanner och f?rmodas vara s?kert. -------------- 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 zarrelli at linux.it Mon Mar 22 17:07:03 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Mon, 22 Mar 2010 17:07:03 +0100 Subject: How to set "parent" for Nagios process? In-Reply-To: <9CB5A76200029E439A44D2E52901D6A439F25B@waldorf.Muppnet.local> References: <9CB5A76200029E439A44D2E52901D6A439F257@waldorf.Muppnet.local><9CB5A76200029E439A44D2E52901D6A439F258@waldorf.Muppnet.local> <4BA78086.7010708@flatto.net> <9CB5A76200029E439A44D2E52901D6A439F259@waldorf.Muppnet.local> <4BA78552.5040301@flatto.net> <9CB5A76200029E439A44D2E52901D6A439F25B@waldorf.Muppnet.local> Message-ID: Nagios has no parents, delete IT. Ciao, Giorgio Il giorno 22/mar/2010, alle ore 16.19, "Jan Johansson" ha scritto: > > >Odd , i had to modify the statusmap.c in order to get something > similar > >, you haven't done that , Right ? > > Nope. > > >is it possible that you have some configuration issue where > "localhost" > >is not 127.0.0.1 ? > >and a host for the nagios server has a different ip ? > > define host{ > use linux-server ; Name of > host template to use > ; This host > definition will inherit all variables that are > defin ed > ; in (or > inherited by) the linux-server host template > definition . > host_name localhost > alias localhost > address 127.0.0.1 > parents gotlogswitch01 > } > > > > >from what i can see your nagios process is communicating over the > >internet to all the servers (i might be wrong - but that is the > >"picture" i get from the map .) so it might be an IP issue . > > No, everything is local, and the "internet" is really just an > abstract check to a major web site to test our internet connectivity. > > So i would want "Nagios process" to be linked to "Localhost" in the > map. > > > -- > Meddelandet har kontrollerats mot virus > samt skadligt inneh?ll av MailScanner > och f?rmodas vara s?kert. > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 22 21:38:12 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Tue, 23 Mar 2010 02:08:12 +0530 Subject: Changing the emails alerts interval???? Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08B629A7@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 want nagios to send the notification email every 4 hours. Currently it is sending the emails every 30 minutes. I tried to edit the Templates.cfg file by changing notification_interval to 240.But still I am receiving the emails every 30 minutes. define host{ name stw_app_server ; The name of this host template # use generic-host ; Inherit default values from the generic-host template check_period 24x7 ; By default, Windows servers are monitored round the clock check_interval 5 ; Actively check the server every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 2 ; Check each server 10 times (max) check_command check-host-alive ; Default command to check if servers are "alive" notification_period 24x7 ; Send notification out at any time - day or night notification_interval 240 ; Resend notifications every 30 minutes notification_options d,r ; Only send notifications for specific host states # contact_groups stw_app_server ; Notifications get sent to the admins by default hostgroups stw_app_server ; Host groups that Windows servers should be a member of register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE } Please someone help me to resolve this. Thanks a lot in advance. 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 ravishankar.gundlapali at wipro.com Mon Mar 22 23:40:09 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Tue, 23 Mar 2010 04:10:09 +0530 Subject: Changing the emails alerts interval???? References: <39C5D75C6A5D3440A833E1C014384BAA08B629A7@PNE-HJN-MBX02.wipro.com> <605203aa1003221536y6872b916g8c53d50a743df401@mail.gmail.com> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08B629C7@PNE-HJN-MBX02.wipro.com> Hi, If I change the time in service definition will this get affected to all the devices in Nagios? Please let me know if I want to change for a particular host group?? Thanks & Regards, Ravi G From: Jorge Gil [mailto:georgyboy at gmail.com] Sent: Tuesday, March 23, 2010 4:06 AM To: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) Subject: Re: [Nagios-users] Changing the emails alerts interval???? Hi, just a quick idea.. did you try to set that time on the service definition? till tomorrow in the office i can't have a look at my cfg files.. jorge On 3/22/10, ravishankar.gundlapali at wipro.com wrote: Hi, I am using Nagios 3.2.4 with Nagios plugins 1.4.14 on Linux with Fedora 10.1. I want nagios to send the notification email every 4 hours. Currently it is sending the emails every 30 minutes. I tried to edit the Templates.cfg file by changing notification_interval to 240.But still I am receiving the emails every 30 minutes. define host{ name stw_app_server ; The name of this host template # use generic-host ; Inherit default values from the generic-host template check_period 24x7 ; By default, Windows servers are monitored round the clock check_interval 5 ; Actively check the server every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 2 ; Check each server 10 times (max) check_command check-host-alive ; Default command to check if servers are "alive" notification_period 24x7 ; Send notification out at any time - day or night notification_interval 240 ; Resend notifications every 30 minutes notification_options d,r ; Only send notifications for specific host states # contact_groups stw_app_server ; Notifications get sent to the admins by default hostgroups stw_app_server ; Host groups that Windows servers should be a member of register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE } Please someone help me to resolve this. Thanks a lot in advance. 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 jcasale at activenetwerx.com Tue Mar 23 02:38:57 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Tue, 23 Mar 2010 01:38:57 +0000 Subject: op5 check_esx plugin and net usage Message-ID: Seems this plugin wraps over ~100000K and returns an invalid result. Anyone seen this, is it fixable or a limit somewhere? 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 jashokda at cisco.com Tue Mar 23 06:36:50 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 23 Mar 2010 11:06:50 +0530 Subject: Changing the emails alerts interval???? In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08B629C7@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08B629A7@PNE-HJN-MBX02.wipro.com> Message-ID: <4BA85372.90104@cisco.com> Notification interval is different for hosts and services. You need to set it for both so that you get the notifications as you want. If you want notifications for the host then modify only the host template. By doing so you will receive host related notifications once in 4 hours (or whatever you configured) , If you want your services to notify you every 4 hours (or whatever you configured in the notification interval) then you must add this information in the services template for the notification interval parameter. Thanks Jatin On 3/23/2010 4:10 AM, ravishankar.gundlapali at wipro.com wrote: > > Hi, > > If I change the time in service definition will this get affected to > all the devices in Nagios? > > Please let me know if I want to change for a particular host group?? > > Thanks & Regards, > > *Ravi G* > > *From:* Jorge Gil [mailto:georgyboy at gmail.com] > *Sent:* Tuesday, March 23, 2010 4:06 AM > *To:* Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) > *Subject:* Re: [Nagios-users] Changing the emails alerts interval???? > > Hi, > > just a quick idea.. did you try to set that time on the service > definition? till tomorrow in the office i can't have a look at my cfg > files.. > > jorge > > On 3/22/10, *ravishankar.gundlapali at wipro.com > * > > wrote: > > Hi, > > I am using Nagios 3.2.4 with Nagios plugins 1.4.14 on Linux with Fedora > > 10.1. > > I want nagios to send the notification email every 4 hours. > > Currently it is sending the emails every 30 minutes. > > I tried to edit the Templates.cfg file by changing > notification_interval to 240.But still I am receiving the emails every > 30 minutes. > > define host{ > > name stw_app_server ; The name of this > host template > > # use generic-host ; Inherit default > values from the generic-host template > > check_period 24x7 ; By default, Windows > servers are monitored round the clock > > check_interval 5 ; Actively check the > server every 5 minutes > > retry_interval 1 ; Schedule host check > retries at 1 minute intervals > > max_check_attempts 2 ; Check each server 10 > times (max) > > check_command check-host-alive ; Default > command to check if servers are "alive" > > notification_period 24x7 ; Send notification > out at any time - day or night > > *notification_interval 240* ; Resend notifications > every 30 minutes > > notification_options d,r ; Only send > notifications for specific host states > > # contact_groups stw_app_server ; > Notifications get sent to the admins by default > > hostgroups stw_app_server ; Host groups that > Windows servers should be a member of > > register 0 ; DONT REGISTER THIS - > ITS JUST A TEMPLATE > > } > > Please someone help me to resolve this. > > Thanks a lot in advance. > > 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 -------------- 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 Tue Mar 23 08:21:38 2010 From: georgyboy at gmail.com (Jorge Gil) Date: Tue, 23 Mar 2010 08:21:38 +0100 Subject: Changing the emails alerts interval???? In-Reply-To: <4BA85372.90104@cisco.com> References: <39C5D75C6A5D3440A833E1C014384BAA08B629A7@PNE-HJN-MBX02.wipro.com> <605203aa1003221536y6872b916g8c53d50a743df401@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA08B629C7@PNE-HJN-MBX02.wipro.com> <4BA85372.90104@cisco.com> Message-ID: <605203aa1003230021h69647b91n7ec136862ed3bbe2@mail.gmail.com> Hi everyone, I copy one of my service definitions, where I repeated the notification_interval line, so I hope it helps ravishankar : define service{ use generic-service host_name [names_of_my_hosts] service_description PING is_volatile 0 check_period 24x7 max_check_attempts 2 check_command check_ping!200.0,20%!600.0,60% normal_check_interval 5 retry_check_interval 5 contacts nagiosadmin notification_interval 60 notification_period 24x7 notification_options c,r,w,u,f notifications_enabled 1 I am not sure how efficient it is but it works fine for us.. Kind regards, Jorge On 3/23/10, Jatin Davey wrote: > > Notification interval is different for hosts and services. You need to set > it for both so that you get the notifications as you want. If you want > notifications for the host then modify only the host template. By doing so > you will receive host related notifications once in 4 hours (or whatever you > configured) , If you want your services to notify you every 4 hours (or > whatever you configured in the notification interval) then you must add this > information in the services template for the notification interval > parameter. > > Thanks > Jatin > > > On 3/23/2010 4:10 AM, ravishankar.gundlapali at wipro.com wrote: > > Hi, > > > > If I change the time in service definition will this get affected to all > the devices in Nagios? > > > > Please let me know if I want to change for a particular host group?? > > > > Thanks & Regards, > > *Ravi G* > > > > *From:* Jorge Gil [mailto:georgyboy at gmail.com ] > *Sent:* Tuesday, March 23, 2010 4:06 AM > *To:* Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) > *Subject:* Re: [Nagios-users] Changing the emails alerts interval???? > > > > Hi, > > just a quick idea.. did you try to set that time on the service definition? > till tomorrow in the office i can't have a look at my cfg files.. > > jorge > > On 3/22/10, *ravishankar.gundlapali at wipro.com* < > ravishankar.gundlapali at wipro.com> wrote: > > Hi, > > > > I am using Nagios 3.2.4 with Nagios plugins 1.4.14 on Linux with Fedora > > 10.1. > > > > I want nagios to send the notification email every 4 hours. > > > > Currently it is sending the emails every 30 minutes. > > > > I tried to edit the Templates.cfg file by changing notification_interval to > 240.But still I am receiving the emails every 30 minutes. > > > > > > > > define host{ > > name stw_app_server ; The name of this host > template > > # use generic-host ; Inherit default values > from the generic-host template > > check_period 24x7 ; By default, Windows > servers are monitored round the clock > > check_interval 5 ; Actively check the server > every 5 minutes > > retry_interval 1 ; Schedule host check > retries at 1 minute intervals > > max_check_attempts 2 ; Check each server 10 times > (max) > > check_command check-host-alive ; Default command > to check if servers are "alive" > > notification_period 24x7 ; Send notification out at > any time - day or night > > *notification_interval 240* ; Resend notifications > every 30 minutes > > notification_options d,r ; Only send notifications > for specific host states > > # contact_groups stw_app_server ; Notifications get > sent to the admins by default > > hostgroups stw_app_server ; Host groups that Windows > servers should be a member of > > register 0 ; DONT REGISTER THIS - ITS > JUST A TEMPLATE > > } > > > > Please someone help me to resolve this. > > > > Thanks a lot in advance. > > > > > > > > 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 j2 at mupp.net Tue Mar 23 10:45:30 2010 From: j2 at mupp.net (Jan Johansson) Date: Tue, 23 Mar 2010 10:45:30 +0100 Subject: How to set "parent" for Nagios process? References: <9CB5A76200029E439A44D2E52901D6A439F257@waldorf.Muppnet.local><9CB5A76200029E439A44D2E52901D6A439F258@waldorf.Muppnet.local> <4BA78086.7010708@flatto.net><9CB5A76200029E439A44D2E52901D6A439F259@waldorf.Muppnet.local><4BA78552.5040301@flatto.net><9CB5A76200029E439A44D2E52901D6A439F25B@waldorf.Muppnet.local> Message-ID: <9CB5A76200029E439A44D2E52901D6A439F25C@waldorf.Muppnet.local> >Nagios has no parents, delete IT. Thanks. But, then I am confused. It now looke like this.http://i41.tinypic.com/212yfl0.png And that is not quite right either. Because localhost is connected to gotlogswitch01. I am obviously missing something about parent/child relationships? -- Meddelandet har kontrollerats mot virus samt skadligt inneh?ll av MailScanner och f?rmodas vara s?kert. -------------- 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 Tue Mar 23 10:52:20 2010 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 23 Mar 2010 09:52:20 +0000 Subject: How to set "parent" for Nagios process? In-Reply-To: <9CB5A76200029E439A44D2E52901D6A439F25C@waldorf.Muppnet.local> References: <9CB5A76200029E439A44D2E52901D6A439F257@waldorf.Muppnet.local><9CB5A76200029E439A44D2E52901D6A439F258@waldorf.Muppnet.local> <4BA78086.7010708@flatto.net><9CB5A76200029E439A44D2E52901D6A439F259@waldorf.Muppnet.local><4BA78552.5040301@flatto.net><9CB5A76200029E439A44D2E52901D6A439F25B@waldorf.Muppnet.local> <9CB5A76200029E439A44D2E52901D6A439F25C@waldorf.Muppnet.local> Message-ID: <4BA88F54.7010701@flatto.net> Jan Johansson wrote: > > >Nagios has no parents, delete IT. > > > Thanks. But, then I am confused. > > It now looke like this.http://i41.tinypic.com/212yfl0.png > > And that is not quite right either. Because localhost is connected to > gotlogswitch01. > > I am obviously missing something about parent/child relationships? > > From the picture it seem that the parent child relations you defined have a bit of confusion in them . can you provide the definitions for the Gothnet-router , intrernet , and gotlogsrv09 , since it seems from what you say that the links should not be displayed like they way you mean it should be . that might shed some light on the issue . Assaf -- 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 georgyboy at gmail.com Tue Mar 23 12:56:52 2010 From: georgyboy at gmail.com (Jorge Gil) Date: Tue, 23 Mar 2010 12:56:52 +0100 Subject: perl scripts (check_squid.pl) In-Reply-To: <605203aa1003030832m208f2867u23de15f98d78ef55@mail.gmail.com> References: <605203aa1003030832m208f2867u23de15f98d78ef55@mail.gmail.com> Message-ID: <605203aa1003230456yf45cb02w1e2d5fff8c5a8285@mail.gmail.com> Hi everyone again: I think I was wrong in my question, in case it helps anyone having the same troubles, it s better to use the check_http command to test proxies also: >From the command line you can check if it works with this: ./check_http -H [proxy_server_IP_address] -p [proxy_server_port] -u http://www.google.es And then you can use simple commands like define command { command_name check_bluecoat command_line $USER1$/check_http -H $HOSTADDRESS$ -p 8080 -u http://www.google.es } (my proxy listens on port 8080) In recent emails (from where I got this idea, thank you!), it looks like the https connections can't be tested like this... Kind regards, Jorge On 3/3/10, Jorge Gil wrote: > > 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 kgoutos at libertymgt.com Tue Mar 23 15:41:47 2010 From: kgoutos at libertymgt.com (Goutos, Kevin) Date: Tue, 23 Mar 2010 10:41:47 -0400 Subject: Nagios Web Interface Times Out In-Reply-To: <605203aa1003230456yf45cb02w1e2d5fff8c5a8285@mail.gmail.com> References: <605203aa1003030832m208f2867u23de15f98d78ef55@mail.gmail.com> <605203aa1003230456yf45cb02w1e2d5fff8c5a8285@mail.gmail.com> Message-ID: Hello all, For some reason, recently when I've tried to submit downtime or anything for that matter via the web interface, it times out. I'm logged in as nagiosadmin and haven't made any permissions changes. Tried doing several reboots to see if that would fix the issue. Any ideas? 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 djoshih at hotmail.com Tue Mar 23 16:17:28 2010 From: djoshih at hotmail.com (Deepak Joshi) Date: Tue, 23 Mar 2010 20:47:28 +0530 Subject: Nagios sending alerts even the server is up Message-ID: Hi All, We are using Nagios 3.03 with Ubantu. Nagios continously sending server up alerts even the server is up and running fine. This behavior is only for one server. Can anyone help me to troubleshoot this problem. Thx, _________________________________________________________________ Green cities and the melting world http://green.in.msn.com/ -------------- 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 23 16:21:45 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 23 Mar 2010 08:21:45 -0700 Subject: Nagios Web Interface Times Out In-Reply-To: References: <605203aa1003030832m208f2867u23de15f98d78ef55@mail.gmail.com> <605203aa1003230456yf45cb02w1e2d5fff8c5a8285@mail.gmail.com> Message-ID: <4BA8DC89.5010903@hp.com> Goutos, Kevin wrote: > > Hello all, > > > > For some reason, recently when I?ve tried to submit downtime or > anything for that matter via the web interface, it times out. I?m > logged in as nagiosadmin and haven?t made any permissions changes. > Tried doing several reboots to see if that would fix the issue. > Sounds to me like you've got a really busy box there. Maybe. Could be your network. You're probably going to do some basic troubleshooting to see what's going on. There are a billion different things that can cause slow response times, and without any information about your system it's not likely a third party is going to be able to pinpoint where your problem is. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 18:24:05 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 23 Mar 2010 17:24:05 +0000 Subject: Nagios sending alerts even the server is up In-Reply-To: References: Message-ID: <765d77c81003231024h3082018am383cdbf8c1b7f67f@mail.gmail.com> On 23 March 2010 15:17, Deepak Joshi wrote: > Hi All, > > We are using Nagios 3.03 with Ubantu. Nagios continously sending server up > alerts even the server is up and running fine. This behavior is only for one > server. > > Can anyone help me to troubleshoot this problem. > > Thx, What does the host definition look like in your objects.cache file? (the objects.cache file is found under /usr/local/nagios/var/ or similar). ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 23:35:54 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Tue, 23 Mar 2010 22:35:54 +0000 Subject: check_snmp and quoted oid's Message-ID: Seems this is an old issue fixed in some distros and shod full of creative quoting suggestions but I can't get it to work. Anyone know how to pass an oid such as: REDHAT-CLUSTER-MIB::rhcServiceRunningOnNode."service" to the check_snmp plugin? 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 mgius at createspace.com Wed Mar 24 00:03:26 2010 From: mgius at createspace.com (Gius, Mark) Date: Tue, 23 Mar 2010 19:03:26 -0400 Subject: check_snmp and quoted oid's In-Reply-To: References: Message-ID: <23193A17705DD246AFFFDF09B779F56F2515C5397C@EX-IAD6-B.ant.amazon.com> In my Nagios command definitions I always escape quote anything like this. IE, check_snmp \'OID"b"\' -Gius > -----Original Message----- > From: Joseph L. Casale [mailto:jcasale at activenetwerx.com] > Sent: Tuesday, March 23, 2010 3:36 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] check_snmp and quoted oid's > > Seems this is an old issue fixed in some distros and shod full of > creative quoting suggestions but I can't get it to work. > > Anyone know how to pass an oid such as: > REDHAT-CLUSTER-MIB::rhcServiceRunningOnNode."service" > to the check_snmp plugin? > > 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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Mar 24 01:05:47 2010 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 23 Mar 2010 20:05:47 -0400 Subject: check_snmp and quoted oid's In-Reply-To: <23193A17705DD246AFFFDF09B779F56F2515C5397C@EX-IAD6-B.ant.amazon.com> References: <23193A17705DD246AFFFDF09B779F56F2515C5397C@EX-IAD6-B.ant.amazon.com> Message-ID: <4BA9575B.5000101@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/03/10 07:03 PM, Gius, Mark wrote: > In my Nagios command definitions I always escape quote anything like this. IE, > > check_snmp \'OID"b"\' OIDs are always numeric; this notation is actually being interpreted into numbers by net-snmp. To get the numeric notation, use: snmptranslate -On REDHAT-CLUSTER-MIB::rhcServiceRunningOnNode."service" NB: that's a big "O", not a zero... It's also faster to use numeric notation as the MIBs won't have to be loaded - makes a real difference when polling many thousand OIDs per minute. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLqVdb6dZ+Kt5BchYRAun4AJ9Qw4EOC7XEXX68LnGgLfFe6IIsygCgp9ic eTx3Kfh2JbqS8+vCynVCtZo= =DTvG -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 24 01:09:27 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Wed, 24 Mar 2010 00:09:27 +0000 Subject: check_snmp and quoted oid's In-Reply-To: <23193A17705DD246AFFFDF09B779F56F2515C5397C@EX-IAD6-B.ant.amazon.com> References: <23193A17705DD246AFFFDF09B779F56F2515C5397C@EX-IAD6-B.ant.amazon.com> Message-ID: >In my Nagios command definitions I always escape quote anything like this. IE, > >check_snmp \'OID"b"\' Strange, I am using nagios-plugins-1.4.13-1.el5.rf and this syntax causes nagios 3.2.0 to still error out? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 isprime.org Wed Mar 24 03:00:35 2010 From: nagios at isprime.org (Kyle O'Donnell) Date: Tue, 23 Mar 2010 22:00:35 -0400 Subject: ampersand in email address Message-ID: <96360e9fdff3abd6262721d8527d43de@localhost> Trying to figure out how to escape an ampersand (&) in one of the email addresses I need to send notifications to (yes it is RFC compliant). Short of writing a script with the address hard coded and creating a custom command what can be done? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 11:22:30 2010 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 24 Mar 2010 10:22:30 +0000 Subject: ampersand in email address In-Reply-To: <96360e9fdff3abd6262721d8527d43de@localhost> References: <96360e9fdff3abd6262721d8527d43de@localhost> Message-ID: <4BA9E7E6.1020404@flatto.net> Kyle O'Donnell wrote: > Trying to figure out how to escape an ampersand (&) in one of the email > addresses I need to send notifications to (yes it is RFC compliant). Short > of writing a script with the address hard coded and creating a custom > command what can be done? > > have you tried escaping the '&' ? e.g dormant\&dragon at hiddeenlair.com (dormant esc ampersend dragon at hiddenlair dot com ) -- 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 nagios at isprime.org Wed Mar 24 11:53:10 2010 From: nagios at isprime.org (Kyle O'Donnell) Date: Wed, 24 Mar 2010 06:53:10 -0400 Subject: ampersand in email address In-Reply-To: <4BA9E7E6.1020404@flatto.net> References: <96360e9fdff3abd6262721d8527d43de@localhost> <4BA9E7E6.1020404@flatto.net> Message-ID: <77ea8b015cc68faef23b9e1951133a4a@localhost> Yes and I've tried putting quotes around the $CONTACTEMAIL$ in the notification command, as well as in the email address definition in the contact. On Wed, 24 Mar 2010 10:22:30 +0000, Assaf Flatto wrote: > Kyle O'Donnell wrote: >> Trying to figure out how to escape an ampersand (&) in one of the email >> addresses I need to send notifications to (yes it is RFC compliant). >> Short >> of writing a script with the address hard coded and creating a custom >> command what can be done? >> >> > have you tried escaping the '&' ? > > e.g dormant\&dragon at hiddeenlair.com (dormant esc ampersend dragon at > hiddenlair dot 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 nagios at flatto.net Wed Mar 24 11:55:09 2010 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 24 Mar 2010 10:55:09 +0000 Subject: ampersand in email address In-Reply-To: <77ea8b015cc68faef23b9e1951133a4a@localhost> References: <96360e9fdff3abd6262721d8527d43de@localhost> <4BA9E7E6.1020404@flatto.net> <77ea8b015cc68faef23b9e1951133a4a@localhost> Message-ID: <4BA9EF8D.5010906@flatto.net> Kyle O'Donnell wrote: > Yes and I've tried putting quotes around the $CONTACTEMAIL$ in the > notification command, as well as in the email address definition in the > contact. > > On Wed, 24 Mar 2010 10:22:30 +0000, Assaf Flatto > wrote: > >> Kyle O'Donnell wrote: >> >>> Trying to figure out how to escape an ampersand (&) in one of the email >>> addresses I need to send notifications to (yes it is RFC compliant). >>> Short >>> of writing a script with the address hard coded and creating a custom >>> command what can be done? >>> >>> >>> >> have you tried escaping the '&' ? >> >> e.g dormant\&dragon at hiddeenlair.com (dormant esc ampersend dragon at >> hiddenlair dot com ) >> Can you show us the command for sending the email and the contact definitions ? -- 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 pete at stuff-done.co.uk Wed Mar 24 12:06:48 2010 From: pete at stuff-done.co.uk (Pete Dewell) Date: Wed, 24 Mar 2010 11:06:48 +0000 Subject: ampersand in email address In-Reply-To: <4BA9EF8D.5010906@flatto.net> References: <96360e9fdff3abd6262721d8527d43de@localhost> <4BA9E7E6.1020404@flatto.net> <77ea8b015cc68faef23b9e1951133a4a@localhost> <4BA9EF8D.5010906@flatto.net> Message-ID: <4BA9F248.7060805@stuff-done.co.uk> Have you tried defining a $USERx$ entry in resource.cfg and using that as the $CONTACTEMAIL$ entry? I have found that this is a useful way of allowing Un*x metacharacters in Nagios configs. eg:- in resource.cfg. define $USER1$='one&two at domain.com' Then use $USER1$ as the contact email address. P Assaf Flatto wrote: > Kyle O'Donnell wrote: >> Yes and I've tried putting quotes around the $CONTACTEMAIL$ in the >> notification command, as well as in the email address definition in the >> contact. >> >> On Wed, 24 Mar 2010 10:22:30 +0000, Assaf Flatto >> wrote: >> >>> Kyle O'Donnell wrote: >>> >>>> Trying to figure out how to escape an ampersand (&) in one of the email >>>> addresses I need to send notifications to (yes it is RFC compliant). >>>> Short >>>> of writing a script with the address hard coded and creating a custom >>>> command what can be done? >>>> >>>> >>>> >>> have you tried escaping the '&' ? >>> >>> e.g dormant\&dragon at hiddeenlair.com (dormant esc ampersend dragon at >>> hiddenlair dot com ) >>> > Can you show us the command for sending the email and the contact > definitions ? > > -- 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 lists at xodus.org Wed Mar 24 12:46:33 2010 From: lists at xodus.org (Marc Powell) Date: Wed, 24 Mar 2010 06:46:33 -0500 Subject: ampersand in email address In-Reply-To: <96360e9fdff3abd6262721d8527d43de@localhost> References: <96360e9fdff3abd6262721d8527d43de@localhost> Message-ID: <57FFCC1E-36E1-437C-A99B-72DB7784B2EB@xodus.org> On Mar 23, 2010, at 9:00 PM, Kyle O'Donnell wrote: > Trying to figure out how to escape an ampersand (&) in one of the email > addresses I need to send notifications to (yes it is RFC compliant). Short > of writing a script with the address hard coded and creating a custom > command what can be done? Are you sure it needs escaping and not being removed on purpose? check the value of illegal_macro_output_chars in nagios.cfg. & is specified there by default I believe. -- 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 Charles.Breite at altertrading.com Wed Mar 24 12:47:22 2010 From: Charles.Breite at altertrading.com (Charles Breite) Date: Wed, 24 Mar 2010 06:47:22 -0500 Subject: ampersand in email address In-Reply-To: <77ea8b015cc68faef23b9e1951133a4a@localhost> References: <96360e9fdff3abd6262721d8527d43de@localhost><4BA9E7E6.1020404@flatto.net> <77ea8b015cc68faef23b9e1951133a4a@localhost> Message-ID: <5D490E0402B4D14F836B5C4436D5949AEBB524@VMEXCHANGE2.alterscrap.com> Is this a contact email or the From email that Nagios is using to send it out? Have you tried \\ Here is our email command command_line $USER1$/mime_mail "[NG] $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$" "Type: $NOTIFICATIONTYPE$\\nService: $HOSTACKAUTHOR$\\nInfo: $HOSTACKCOMMENT$\\nComment: $SERVICEACKAUTHOR$\\nInfo: $SERVICEACKCOMMENT$\\nComment: $SERVICEDESC$\\nHost: $HOSTNAME$\\nAddress: $HOSTADDRESS$\\nState: $SERVICESTATE$\\nDate/Time: $LONGDATETIME$\\nAdditional Info:\\n$SERVICEOUTPUT$" $CONTACTEMAIL$ } -----Original Message----- From: Kyle O'Donnell [mailto:nagios at isprime.org] Sent: Wednesday, March 24, 2010 5:53 AM To: Nagios Users List Subject: Re: [Nagios-users] ampersand in email address Yes and I've tried putting quotes around the $CONTACTEMAIL$ in the notification command, as well as in the email address definition in the contact. On Wed, 24 Mar 2010 10:22:30 +0000, Assaf Flatto wrote: > Kyle O'Donnell wrote: >> Trying to figure out how to escape an ampersand (&) in one of the email >> addresses I need to send notifications to (yes it is RFC compliant). >> Short >> of writing a script with the address hard coded and creating a custom >> command what can be done? >> >> > have you tried escaping the '&' ? > > e.g dormant\&dragon at hiddeenlair.com (dormant esc ampersend dragon at > hiddenlair dot 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 j2 at mupp.net Wed Mar 24 15:00:24 2010 From: j2 at mupp.net (Jan Johansson) Date: Wed, 24 Mar 2010 15:00:24 +0100 Subject: How to set "parent" for Nagios process? References: <9CB5A76200029E439A44D2E52901D6A439F257@waldorf.Muppnet.local><9CB5A76200029E439A44D2E52901D6A439F258@waldorf.Muppnet.local> <4BA78086.7010708@flatto.net><9CB5A76200029E439A44D2E52901D6A439F259@waldorf.Muppnet.local><4BA78552.5040301@flatto.net><9CB5A76200029E439A44D2E52901D6A439F25B@waldorf.Muppnet.local> <9CB5A76200029E439A44D2E52901D6A439F25C@waldorf.Muppnet.local> <4BA88F54.7010701@flatto.net> Message-ID: <9CB5A76200029E439A44D2E52901D6A439F25D@waldorf.Muppnet.local> > > From the picture it seem that the parent child relations you defined >have a bit of confusion in them . No, it is probably _I_ that is confused ;) >can you provide the definitions for the Gothnet-router , intrernet , and >gotlogsrv09 , since it seems from what you say that the links should not >be displayed like they way you mean it should be . define host{ use generic-switch ; Inherit default values from a template host_name Internet ; The name we're giving to this switch alias Internet ; A longer name associated with the switch address www.gp.se hostgroups Internet Connectivity ; Host groups this switch is associated with } define host{ use generic-switch ; Inherit default values from a template host_name gotlogsrv09 ; The name we're giving to this switch alias ISA Firewall ; A longer name associated with the switch address 10.46.10.27 ; IP address of the switch hostgroups Internet Connectivity ; Host groups this switch is associated with parents GothNet-Router } define host{ use generic-switch ; Inherit default values from a template host_name GothNet-Router ; The name we're giving to this switch alias GothNet Router ; A longer name associated with the switch address 82.193.172.1 ; IP address of the switch hostgroups Internet Connectivity ; Host groups this switch is associated with parents Internet } >that might shed some light on the issue . I really appreciate your effort. Basically, seen from the view of "localhost" it is Localhost -> Gotlogswitch01 -> Gothlogsrv09 -> GothNetRouter -> Internet -- Meddelandet har kontrollerats mot virus samt skadligt inneh?ll av MailScanner och f?rmodas vara s?kert. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3507 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 raymond.setchfield at seewhy.com Wed Mar 24 18:01:57 2010 From: raymond.setchfield at seewhy.com (Raymond Setchfield) Date: Wed, 24 Mar 2010 17:01:57 -0000 Subject: Nagios Appender 1.5.1 Message-ID: <26025.1311040067$1269451210@news.gmane.org> Hi Folks I am trying to follow the documentation on the Nagios Application Monitoring and I am having a few issues which if someone could help me resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into my objects folder and pointed nagios.cfg to look at them. I have altered the files to suit my requirements etc. Whilst doing the pre-flight checks it is flagging up an error; Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16) Error processing object config files! When checking line 16 of the HelloWorld it is this; define service{ This appears to me that there is nothing wrong with it at all, but for some reason Nagios doesn't like it. Can someone please help me on why this isn't working? Or possibly point me in the direction of some documentation on how to install this Appender properly? Many Thanks Raymond -------------- 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 24 18:52:52 2010 From: martinm at op5.org (Martin Melin) Date: Wed, 24 Mar 2010 18:52:52 +0100 Subject: Nagios Appender 1.5.1 In-Reply-To: <-809945248632403704@unknownmsgid> References: <-809945248632403704@unknownmsgid> Message-ID: <5f0bcb7c1003241052k11b0c532k30bb1986ae1e443f@mail.gmail.com> On Wed, Mar 24, 2010 at 6:01 PM, Raymond Setchfield < raymond.setchfield at seewhy.com> wrote: > Hi Folks > > > > I am trying to follow the documentation on the Nagios Application > Monitoring and I am having a few issues which if someone could help me > resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into my > objects folder and pointed nagios.cfg to look at them. I have altered the > files to suit my requirements etc. > > > > Whilst doing the pre-flight checks it is flagging up an error; > > > > Error: Service description, host name, or check command is NULL > > Error: Could not register service (config file > '/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16) > > Error processing object config files! > > > > When checking line 16 of the HelloWorld it is this; > > > > define service{ > What the error message means is that it has a problem with the definition that starts on line 16, not necessarily what's on line 16 - confusing, I know :-) Show us the full define service {} block and we can probably tell you what's wrong. > > > This appears to me that there is nothing wrong with it at all, but for some > reason Nagios doesn?t like it. Can someone please help me on why this isn?t > working? Or possibly point me in the direction of some documentation on how > to install this Appender properly? > > > > Many Thanks > > > > Raymond > > -- 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 rwolfe at i-evolve.com Wed Mar 24 19:00:24 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Wed, 24 Mar 2010 14:00:24 -0400 Subject: Nagios Appender 1.5.1 In-Reply-To: <017801cacb73$b745c140$25d143c0$@setchfield@seewhy.com> References: <017801cacb73$b745c140$25d143c0$@setchfield@seewhy.com> Message-ID: <33C7BE4CE80D504E8907FDC31F8A08304E77D495C0@iexchange.I-EVOLVE.com> Perhaps if you could post the entire service definition. From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: Wednesday, March 24, 2010 1:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Appender 1.5.1 Hi Folks I am trying to follow the documentation on the Nagios Application Monitoring and I am having a few issues which if someone could help me resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into my objects folder and pointed nagios.cfg to look at them. I have altered the files to suit my requirements etc. Whilst doing the pre-flight checks it is flagging up an error; Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16) Error processing object config files! When checking line 16 of the HelloWorld it is this; define service{ This appears to me that there is nothing wrong with it at all, but for some reason Nagios doesn't like it. Can someone please help me on why this isn't working? Or possibly point me in the direction of some documentation on how to install this Appender properly? Many Thanks Raymond -------------- 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 zarrelli at linux.it Wed Mar 24 19:22:06 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 24 Mar 2010 19:22:06 +0100 Subject: Nagios Appender 1.5.1 In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A08304E77D495C0@iexchange.I-EVOLVE.com> References: <017801cacb73$b745c140$25d143c0$@setchfield@seewhy.com> <33C7BE4CE80D504E8907FDC31F8A08304E77D495C0@iexchange.I-EVOLVE.com> Message-ID: <84C4A7ED-A1EF-4594-8EC4-BC7A2D9AC772@linux.it> Put a space between "define" and "{" Ciao, Giorgio Il giorno 24/mar/2010, alle ore 19.00, Robert Wolfe ha scritto: > Perhaps if you could post the entire service definition. > > > > From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] > Sent: Wednesday, March 24, 2010 1:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Appender 1.5.1 > > > > Hi Folks > > > > I am trying to follow the documentation on the Nagios Application > Monitoring and I am having a few issues which if someone could help > me resolve. I have copied the files VirtualHost.cfg and > HelloWorld.cfg into my objects folder and pointed nagios.cfg to look > at them. I have altered the files to suit my requirements etc. > > > > Whilst doing the pre-flight checks it is flagging up an error; > > > > Error: Service description, host name, or check command is NULL > > Error: Could not register service (config file '/usr/local/nagios/ > etc/objects/HelloWorld.cfg', starting on line 16) > > Error processing object config files! > > > > When checking line 16 of the HelloWorld it is this; > > > > define service{ > > > > This appears to me that there is nothing wrong with it at all, but > for some reason Nagios doesn?t like it. Can someone please help me o > n why this isn?t working? Or possibly point me in the direction of s > ome documentation on how to install this Appender properly? > > > > Many Thanks > > > > Raymond > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 25 08:14:19 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 25 Mar 2010 12:44:19 +0530 Subject: Graphing addons for nagios Message-ID: <4BAB0D4B.102@cisco.com> Hi Could someone suggest some good graphing addons for nagios. I need to log very granular data in graphs using nagios checks. Please suggest some good ones. 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 zarrelli at linux.it Thu Mar 25 09:03:24 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 25 Mar 2010 09:03:24 +0100 Subject: Graphing addons for nagios In-Reply-To: <4BAB0D4B.102@cisco.com> References: <4BAB0D4B.102@cisco.com> Message-ID: pnp4nagios or nagiosgrapher. Pay attention to this: the granularity of the graph depends on the frequency of the check. Ciao, Giorgio Il giorno 25/mar/2010, alle ore 08.14, Jatin Davey ha scritto: > Hi > > Could someone suggest some good graphing addons for nagios. I need to > log very granular data in graphs using nagios checks. > Please suggest some good ones. > > 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 raymond.setchfield at seewhy.com Thu Mar 25 10:25:06 2010 From: raymond.setchfield at seewhy.com (Raymond Setchfield) Date: Thu, 25 Mar 2010 09:25:06 -0000 Subject: Nagios Appender 1.5.1 In-Reply-To: <84C4A7ED-A1EF-4594-8EC4-BC7A2D9AC772@linux.it> References: <017801cacb73$b745c140$25d143c0$@setchfield@seewhy.com> <33C7BE4CE80D504E8907FDC31F8A08304E77D495C0@iexchange.I-EVOLVE.com> <84C4A7ED-A1EF-4594-8EC4-BC7A2D9AC772@linux.it> Message-ID: <3295.86937227777$1269509322@news.gmane.org> Hi Giorgio I placed a place between the define and { but still the same error message. Thanks Raymond From: Giorgio Zarrelli [mailto:zarrelli at linux.it] Sent: 24 March 2010 18:22 To: Nagios Users List Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Put a space between "define" and "{" Ciao, Giorgio Il giorno 24/mar/2010, alle ore 19.00, Robert Wolfe ha scritto: Perhaps if you could post the entire service definition. From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: Wednesday, March 24, 2010 1:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Appender 1.5.1 Hi Folks I am trying to follow the documentation on the Nagios Application Monitoring and I am having a few issues which if someone could help me resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into my objects folder and pointed nagios.cfg to look at them. I have altered the files to suit my requirements etc. Whilst doing the pre-flight checks it is flagging up an error; Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16) Error processing object config files! When checking line 16 of the HelloWorld it is this; define service{ This appears to me that there is nothing wrong with it at all, but for some reason Nagios doesn?t like it. Can someone please help me on why this isn?t working? Or possibly point me in the direction of some documentation on how to install this Appender properly? Many Thanks Raymond ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 raymond.setchfield at seewhy.com Thu Mar 25 10:25:57 2010 From: raymond.setchfield at seewhy.com (Raymond Setchfield) Date: Thu, 25 Mar 2010 09:25:57 -0000 Subject: Nagios Appender 1.5.1 In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A08304E77D495C0@iexchange.I-EVOLVE.com> References: <017801cacb73$b745c140$25d143c0$@setchfield@seewhy.com> <33C7BE4CE80D504E8907FDC31F8A08304E77D495C0@iexchange.I-EVOLVE.com> Message-ID: <486.328025772487$1269509327@news.gmane.org> Hi Robert & Martin Here is the full config file from the HelloWorld.cfg define service{ use virtual-passive-service host_name production service_description HelloWorldApplication active_checks_enabled 0 passive_checks_enabled 1 normal_check_interval 5 retry_check_interval 3 check_period 24x7 contact_groups server_admin } Thanks for your help Raymond From: Robert Wolfe [mailto:rwolfe at i-evolve.com] Sent: 24 March 2010 18:00 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Perhaps if you could post the entire service definition. From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: Wednesday, March 24, 2010 1:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Appender 1.5.1 Hi Folks I am trying to follow the documentation on the Nagios Application Monitoring and I am having a few issues which if someone could help me resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into my objects folder and pointed nagios.cfg to look at them. I have altered the files to suit my requirements etc. Whilst doing the pre-flight checks it is flagging up an error; Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16) Error processing object config files! When checking line 16 of the HelloWorld it is this; define service{ This appears to me that there is nothing wrong with it at all, but for some reason Nagios doesn't like it. Can someone please help me on why this isn't working? Or possibly point me in the direction of some documentation on how to install this Appender properly? Many Thanks Raymond -------------- 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 jonathan.wheeler at stfc.ac.uk Thu Mar 25 10:54:05 2010 From: jonathan.wheeler at stfc.ac.uk (jonathan.wheeler at stfc.ac.uk) Date: Thu, 25 Mar 2010 09:54:05 -0000 Subject: Nagios Appender 1.5.1 In-Reply-To: <00c601cacbfd$2d5ceeb0$8816cc10$@setchfield@seewhy.com> References: <017801cacb73$b745c140$25d143c0$@setchfield@seewhy.com><33C7BE4CE80D504E8907FDC31F8A08304E77D495C0@iexchange.I-EVOLVE.com> <00c601cacbfd$2d5ceeb0$8816cc10$@setchfield@seewhy.com> Message-ID: Well, there is no check_command defined in the configuration you have posted, but that also depends on the template virtual-passive-service. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: 25 March 2010 09:26 To: 'Nagios Users List' Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Hi Robert & Martin Here is the full config file from the HelloWorld.cfg define service{ use virtual-passive-service host_name production service_description HelloWorldApplication active_checks_enabled 0 passive_checks_enabled 1 normal_check_interval 5 retry_check_interval 3 check_period 24x7 contact_groups server_admin } Thanks for your help Raymond From: Robert Wolfe [mailto:rwolfe at i-evolve.com] Sent: 24 March 2010 18:00 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Perhaps if you could post the entire service definition. From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: Wednesday, March 24, 2010 1:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Appender 1.5.1 Hi Folks I am trying to follow the documentation on the Nagios Application Monitoring and I am having a few issues which if someone could help me resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into my objects folder and pointed nagios.cfg to look at them. I have altered the files to suit my requirements etc. Whilst doing the pre-flight checks it is flagging up an error; Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16) Error processing object config files! When checking line 16 of the HelloWorld it is this; define service{ This appears to me that there is nothing wrong with it at all, but for some reason Nagios doesn't like it. Can someone please help me on why this isn't working? Or possibly point me in the direction of some documentation on how to install this Appender properly? Many Thanks Raymond -- Scanned by iCritical. -------------- 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 rakesh.kakde at gmail.com Thu Mar 25 10:55:29 2010 From: rakesh.kakde at gmail.com (rakesh kakde) Date: Thu, 25 Mar 2010 15:25:29 +0530 Subject: Graphing addons for nagios In-Reply-To: References: <4BAB0D4B.102@cisco.com> Message-ID: <8a7841771003250255m1d683cd6h5f3569db0c945ec8@mail.gmail.com> pnp4nagios is best graphing tool..only you need to deal with custom templates if any required. Regards On Thu, Mar 25, 2010 at 1:33 PM, Giorgio Zarrelli wrote: > pnp4nagios or nagiosgrapher. Pay attention to this: the granularity of > the graph depends on the frequency of the check. > > Ciao, > > Giorgio > > Il giorno 25/mar/2010, alle ore 08.14, Jatin Davey > ha scritto: > > > Hi > > > > Could someone suggest some good graphing addons for nagios. I need to > > log very granular data in graphs using nagios checks. > > Please suggest some good ones. > > > > 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 > -------------- 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 raymond.setchfield at seewhy.com Thu Mar 25 11:06:04 2010 From: raymond.setchfield at seewhy.com (Raymond Setchfield) Date: Thu, 25 Mar 2010 10:06:04 -0000 Subject: Nagios Appender 1.5.1 In-Reply-To: References: <017801cacb73$b745c140$25d143c0$@setchfield@seewhy.com><33C7BE4CE80D504E8907FDC31F8A08304E77D495C0@iexchange.I-EVOLVE.com> <00c601cacbfd$2d5ceeb0$8816cc10$@setchfield@seewhy.com> Message-ID: <38004.5205624357$1269511780@news.gmane.org> Hi Jonathan This part has also been added into nagios called VirtualHost.cfg define host{ host_name production alias production address 127.0.0.1 ; we really don't care what the host ip is, because we're monitoring a 'virtual' server notifications_enabled 0 ; Host notifications are not enabled event_handler_enabled 0 ; Host event handler is not enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_period workhours ; Send host notifications only during working hours #notification_period 24x7 ; Send host notifications at any time notification_period none ; Send host notifications never active_checks_enabled 0 ; Active service checks are enabled check_period 24x7 ; By default, Linux hosts are checked round the clock check_command check_dummy ; This is a no-op plugin ... we aren't planning on using it max_check_attempts 1 ; Check each Linux host 10 times (max) notification_interval 120 ; Resend notification every 2 hours notification_options d,u,r ; Send notifications about warning, unknown, critical, and recovery events contact_groups server_admin ; Notifications get sent to the admins by default } define hostgroup{ hostgroup_name terminal alias West Coast Production members production } define service{ name virtual-passive-service ; The name of this service template use generic-service ; Inherit default values from the generic-service definition check_period none ; The service can be checked at any time of the day is_volatile 0 ; The service is not volatile max_check_attempts 1 ; Re-check the service up to 4 times in order to determine its final (hard) state normal_check_interval 1 ; Check the service every 5 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until a hard state can be determined contact_groups server_admin ; Notifications get sent out to everyone in the 'admins' group notifications_enabled 1 ; Service notifications are enabled notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 1 ; Re-notify about service problems every hour #notification_period workhours ; Send host notifications only during working hours notification_period 24x7 ; Notifications can be sent out at any time retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts check_freshness 0 ; Default is to NOT check service 'freshness' freshness_threshold 1 ; event_handler_enabled 0 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } Thanks Raymond From: jonathan.wheeler at stfc.ac.uk [mailto:jonathan.wheeler at stfc.ac.uk] Sent: 25 March 2010 09:54 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Well, there is no check_command defined in the configuration you have posted, but that also depends on the template virtual-passive-service. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: 25 March 2010 09:26 To: 'Nagios Users List' Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Hi Robert & Martin Here is the full config file from the HelloWorld.cfg define service{ use virtual-passive-service host_name production service_description HelloWorldApplication active_checks_enabled 0 passive_checks_enabled 1 normal_check_interval 5 retry_check_interval 3 check_period 24x7 contact_groups server_admin } Thanks for your help Raymond From: Robert Wolfe [mailto:rwolfe at i-evolve.com] Sent: 24 March 2010 18:00 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Perhaps if you could post the entire service definition. From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: Wednesday, March 24, 2010 1:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Appender 1.5.1 Hi Folks I am trying to follow the documentation on the Nagios Application Monitoring and I am having a few issues which if someone could help me resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into my objects folder and pointed nagios.cfg to look at them. I have altered the files to suit my requirements etc. Whilst doing the pre-flight checks it is flagging up an error; Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16) Error processing object config files! When checking line 16 of the HelloWorld it is this; define service{ This appears to me that there is nothing wrong with it at all, but for some reason Nagios doesn't like it. Can someone please help me on why this isn't working? Or possibly point me in the direction of some documentation on how to install this Appender properly? Many Thanks Raymond -- Scanned by iCritical. -------------- 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 25 11:27:13 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 25 Mar 2010 15:57:13 +0530 Subject: Graphing addons for nagios In-Reply-To: <8a7841771003250255m1d683cd6h5f3569db0c945ec8@mail.gmail.com> References: <4BAB0D4B.102@cisco.com> Message-ID: <4BAB3A81.4090601@cisco.com> What do you mean by custom templates ? Thanks Jatin On 3/25/2010 3:25 PM, rakesh kakde wrote: > pnp4nagios is best graphing tool..only you need to deal with custom > templates if any required. > Regards > > On Thu, Mar 25, 2010 at 1:33 PM, Giorgio Zarrelli > wrote: > > pnp4nagios or nagiosgrapher. Pay attention to this: the granularity of > the graph depends on the frequency of the check. > > Ciao, > > Giorgio > > Il giorno 25/mar/2010, alle ore 08.14, Jatin Davey > > ha scritto: > > > Hi > > > > Could someone suggest some good graphing addons for nagios. I > need to > > log very granular data in graphs using nagios checks. > > Please suggest some good ones. > > > > 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 -------------- 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 jonathan.wheeler at stfc.ac.uk Thu Mar 25 11:28:08 2010 From: jonathan.wheeler at stfc.ac.uk (jonathan.wheeler at stfc.ac.uk) Date: Thu, 25 Mar 2010 10:28:08 -0000 Subject: Nagios Appender 1.5.1 In-Reply-To: <010401cacc02$c82be040$5883a0c0$@setchfield@seewhy.com> References: <017801cacb73$b745c140$25d143c0$@setchfield@seewhy.com><33C7BE4CE80D504E8907FDC31F8A08304E77D495C0@iexchange.I-EVOLVE.com> <00c601cacbfd$2d5ceeb0$8816cc10$@setchfield@seewhy.com> <010401cacc02$c82be040$5883a0c0$@setchfield@seewhy.com> Message-ID: The check_command for "define host" is the command used to check that the host is alive; this is not a default for service checks which require (usually) their own individual check_command. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: 25 March 2010 10:06 To: 'Nagios Users List' Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Hi Jonathan This part has also been added into nagios called VirtualHost.cfg define host{ host_name production alias production address 127.0.0.1 ; we really don't care what the host ip is, because we're monitoring a 'virtual' server notifications_enabled 0 ; Host notifications are not enabled event_handler_enabled 0 ; Host event handler is not enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_period workhours ; Send host notifications only during working hours #notification_period 24x7 ; Send host notifications at any time notification_period none ; Send host notifications never active_checks_enabled 0 ; Active service checks are enabled check_period 24x7 ; By default, Linux hosts are checked round the clock check_command check_dummy ; This is a no-op plugin ... we aren't planning on using it max_check_attempts 1 ; Check each Linux host 10 times (max) notification_interval 120 ; Resend notification every 2 hours notification_options d,u,r ; Send notifications about warning, unknown, critical, and recovery events contact_groups server_admin ; Notifications get sent to the admins by default } define hostgroup{ hostgroup_name terminal alias West Coast Production members production } define service{ name virtual-passive-service ; The name of this service template use generic-service ; Inherit default values from the generic-service definition check_period none ; The service can be checked at any time of the day is_volatile 0 ; The service is not volatile max_check_attempts 1 ; Re-check the service up to 4 times in order to determine its final (hard) state normal_check_interval 1 ; Check the service every 5 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until a hard state can be determined contact_groups server_admin ; Notifications get sent out to everyone in the 'admins' group notifications_enabled 1 ; Service notifications are enabled notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 1 ; Re-notify about service problems every hour #notification_period workhours ; Send host notifications only during working hours notification_period 24x7 ; Notifications can be sent out at any time retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts check_freshness 0 ; Default is to NOT check service 'freshness' freshness_threshold 1 ; event_handler_enabled 0 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } Thanks Raymond From: jonathan.wheeler at stfc.ac.uk [mailto:jonathan.wheeler at stfc.ac.uk] Sent: 25 March 2010 09:54 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Well, there is no check_command defined in the configuration you have posted, but that also depends on the template virtual-passive-service. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: 25 March 2010 09:26 To: 'Nagios Users List' Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Hi Robert & Martin Here is the full config file from the HelloWorld.cfg define service{ use virtual-passive-service host_name production service_description HelloWorldApplication active_checks_enabled 0 passive_checks_enabled 1 normal_check_interval 5 retry_check_interval 3 check_period 24x7 contact_groups server_admin } Thanks for your help Raymond From: Robert Wolfe [mailto:rwolfe at i-evolve.com] Sent: 24 March 2010 18:00 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Perhaps if you could post the entire service definition. From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: Wednesday, March 24, 2010 1:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Appender 1.5.1 Hi Folks I am trying to follow the documentation on the Nagios Application Monitoring and I am having a few issues which if someone could help me resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into my objects folder and pointed nagios.cfg to look at them. I have altered the files to suit my requirements etc. Whilst doing the pre-flight checks it is flagging up an error; Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16) Error processing object config files! When checking line 16 of the HelloWorld it is this; define service{ This appears to me that there is nothing wrong with it at all, but for some reason Nagios doesn't like it. Can someone please help me on why this isn't working? Or possibly point me in the direction of some documentation on how to install this Appender properly? Many Thanks Raymond -- Scanned by iCritical. -- Scanned by iCritical. -------------- 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 raymond.setchfield at seewhy.com Thu Mar 25 11:47:37 2010 From: raymond.setchfield at seewhy.com (Raymond Setchfield) Date: Thu, 25 Mar 2010 10:47:37 -0000 Subject: Nagios Appender 1.5.1 In-Reply-To: References: <017801cacb73$b745c140$25d143c0$@setchfield@seewhy.com><33C7BE4CE80D504E8907FDC31F8A08304E77D495C0@iexchange.I-EVOLVE.com> <00c601cacbfd$2d5ceeb0$8816cc10$@setchfield@seewhy.com> <010401cacc02$c82be040$5883a0c0$@setchfield@seewhy.com> Message-ID: <35449.0337930203$1269514231@news.gmane.org> Considering this command is looking for "check_dummy" should I remove this then as it isn't required? From what I have read of the documentation of this Nagios Appender. There is no plugin required for it as it is all done via jboss and through NSCA. I could be wrong on this matter as I find the documentation isn't very clear.... Thanks Raymond From: jonathan.wheeler at stfc.ac.uk [mailto:jonathan.wheeler at stfc.ac.uk] Sent: 25 March 2010 10:28 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Appender 1.5.1 The check_command for "define host" is the command used to check that the host is alive; this is not a default for service checks which require (usually) their own individual check_command. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: 25 March 2010 10:06 To: 'Nagios Users List' Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Hi Jonathan This part has also been added into nagios called VirtualHost.cfg define host{ host_name production alias production address 127.0.0.1 ; we really don't care what the host ip is, because we're monitoring a 'virtual' server notifications_enabled 0 ; Host notifications are not enabled event_handler_enabled 0 ; Host event handler is not enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_period workhours ; Send host notifications only during working hours #notification_period 24x7 ; Send host notifications at any time notification_period none ; Send host notifications never active_checks_enabled 0 ; Active service checks are enabled check_period 24x7 ; By default, Linux hosts are checked round the clock check_command check_dummy ; This is a no-op plugin ... we aren't planning on using it max_check_attempts 1 ; Check each Linux host 10 times (max) notification_interval 120 ; Resend notification every 2 hours notification_options d,u,r ; Send notifications about warning, unknown, critical, and recovery events contact_groups server_admin ; Notifications get sent to the admins by default } define hostgroup{ hostgroup_name terminal alias West Coast Production members production } define service{ name virtual-passive-service ; The name of this service template use generic-service ; Inherit default values from the generic-service definition check_period none ; The service can be checked at any time of the day is_volatile 0 ; The service is not volatile max_check_attempts 1 ; Re-check the service up to 4 times in order to determine its final (hard) state normal_check_interval 1 ; Check the service every 5 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until a hard state can be determined contact_groups server_admin ; Notifications get sent out to everyone in the 'admins' group notifications_enabled 1 ; Service notifications are enabled notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 1 ; Re-notify about service problems every hour #notification_period workhours ; Send host notifications only during working hours notification_period 24x7 ; Notifications can be sent out at any time retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts check_freshness 0 ; Default is to NOT check service 'freshness' freshness_threshold 1 ; event_handler_enabled 0 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } Thanks Raymond From: jonathan.wheeler at stfc.ac.uk [mailto:jonathan.wheeler at stfc.ac.uk] Sent: 25 March 2010 09:54 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Well, there is no check_command defined in the configuration you have posted, but that also depends on the template virtual-passive-service. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: 25 March 2010 09:26 To: 'Nagios Users List' Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Hi Robert & Martin Here is the full config file from the HelloWorld.cfg define service{ use virtual-passive-service host_name production service_description HelloWorldApplication active_checks_enabled 0 passive_checks_enabled 1 normal_check_interval 5 retry_check_interval 3 check_period 24x7 contact_groups server_admin } Thanks for your help Raymond From: Robert Wolfe [mailto:rwolfe at i-evolve.com] Sent: 24 March 2010 18:00 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Perhaps if you could post the entire service definition. From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: Wednesday, March 24, 2010 1:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Appender 1.5.1 Hi Folks I am trying to follow the documentation on the Nagios Application Monitoring and I am having a few issues which if someone could help me resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into my objects folder and pointed nagios.cfg to look at them. I have altered the files to suit my requirements etc. Whilst doing the pre-flight checks it is flagging up an error; Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16) Error processing object config files! When checking line 16 of the HelloWorld it is this; define service{ This appears to me that there is nothing wrong with it at all, but for some reason Nagios doesn't like it. Can someone please help me on why this isn't working? Or possibly point me in the direction of some documentation on how to install this Appender properly? Many Thanks Raymond -- Scanned by iCritical. -- Scanned by iCritical. -------------- 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 raymond.setchfield at seewhy.com Thu Mar 25 12:37:53 2010 From: raymond.setchfield at seewhy.com (Raymond Setchfield) Date: Thu, 25 Mar 2010 11:37:53 -0000 Subject: Nagios Appender 1.5.1 In-Reply-To: <015701cacc08$95eccfd0$c1c66f70$@setchfield@seewhy.com> References: <017801cacb73$b745c140$25d143c0$@setchfield@seewhy.com><33C7BE4CE80D504E8907FDC31F8A08304E77D495C0@iexchange.I-EVOLVE.com> <00c601cacbfd$2d5ceeb0$8816cc10$@setchfield@seewhy.com> <010401cacc02$c82be040$5883a0c0$@setchfield@seewhy.com> <015701cacc08$95eccfd0$c1c66f70$@setchfield@seewhy.com> Message-ID: <204.960947348987$1269517308@news.gmane.org> Just to let you guys know, that I have resolved the nagios configuration issue. It appears that the entire configuration file was inherently wrong. I resolved this by adding in new hosts config, along with the usual service and hostgroups Thanks for all your help though guys R. From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: 25 March 2010 10:48 To: 'Nagios Users List' Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Considering this command is looking for "check_dummy" should I remove this then as it isn't required? From what I have read of the documentation of this Nagios Appender. There is no plugin required for it as it is all done via jboss and through NSCA. I could be wrong on this matter as I find the documentation isn't very clear.... Thanks Raymond From: jonathan.wheeler at stfc.ac.uk [mailto:jonathan.wheeler at stfc.ac.uk] Sent: 25 March 2010 10:28 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Appender 1.5.1 The check_command for "define host" is the command used to check that the host is alive; this is not a default for service checks which require (usually) their own individual check_command. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: 25 March 2010 10:06 To: 'Nagios Users List' Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Hi Jonathan This part has also been added into nagios called VirtualHost.cfg define host{ host_name production alias production address 127.0.0.1 ; we really don't care what the host ip is, because we're monitoring a 'virtual' server notifications_enabled 0 ; Host notifications are not enabled event_handler_enabled 0 ; Host event handler is not enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_period workhours ; Send host notifications only during working hours #notification_period 24x7 ; Send host notifications at any time notification_period none ; Send host notifications never active_checks_enabled 0 ; Active service checks are enabled check_period 24x7 ; By default, Linux hosts are checked round the clock check_command check_dummy ; This is a no-op plugin ... we aren't planning on using it max_check_attempts 1 ; Check each Linux host 10 times (max) notification_interval 120 ; Resend notification every 2 hours notification_options d,u,r ; Send notifications about warning, unknown, critical, and recovery events contact_groups server_admin ; Notifications get sent to the admins by default } define hostgroup{ hostgroup_name terminal alias West Coast Production members production } define service{ name virtual-passive-service ; The name of this service template use generic-service ; Inherit default values from the generic-service definition check_period none ; The service can be checked at any time of the day is_volatile 0 ; The service is not volatile max_check_attempts 1 ; Re-check the service up to 4 times in order to determine its final (hard) state normal_check_interval 1 ; Check the service every 5 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until a hard state can be determined contact_groups server_admin ; Notifications get sent out to everyone in the 'admins' group notifications_enabled 1 ; Service notifications are enabled notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 1 ; Re-notify about service problems every hour #notification_period workhours ; Send host notifications only during working hours notification_period 24x7 ; Notifications can be sent out at any time retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts check_freshness 0 ; Default is to NOT check service 'freshness' freshness_threshold 1 ; event_handler_enabled 0 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } Thanks Raymond From: jonathan.wheeler at stfc.ac.uk [mailto:jonathan.wheeler at stfc.ac.uk] Sent: 25 March 2010 09:54 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Well, there is no check_command defined in the configuration you have posted, but that also depends on the template virtual-passive-service. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: 25 March 2010 09:26 To: 'Nagios Users List' Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Hi Robert & Martin Here is the full config file from the HelloWorld.cfg define service{ use virtual-passive-service host_name production service_description HelloWorldApplication active_checks_enabled 0 passive_checks_enabled 1 normal_check_interval 5 retry_check_interval 3 check_period 24x7 contact_groups server_admin } Thanks for your help Raymond From: Robert Wolfe [mailto:rwolfe at i-evolve.com] Sent: 24 March 2010 18:00 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Perhaps if you could post the entire service definition. From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: Wednesday, March 24, 2010 1:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Appender 1.5.1 Hi Folks I am trying to follow the documentation on the Nagios Application Monitoring and I am having a few issues which if someone could help me resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into my objects folder and pointed nagios.cfg to look at them. I have altered the files to suit my requirements etc. Whilst doing the pre-flight checks it is flagging up an error; Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16) Error processing object config files! When checking line 16 of the HelloWorld it is this; define service{ This appears to me that there is nothing wrong with it at all, but for some reason Nagios doesn't like it. Can someone please help me on why this isn't working? Or possibly point me in the direction of some documentation on how to install this Appender properly? Many Thanks Raymond -- Scanned by iCritical. -- Scanned by iCritical. -------------- 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 robert.wolfe at robertwolfe.org Thu Mar 25 13:20:11 2010 From: robert.wolfe at robertwolfe.org (Robert Wolfe) Date: Thu, 25 Mar 2010 08:20:11 -0400 Subject: Nagios Appender 1.5.1 In-Reply-To: <00c601cacbfd$2d5ceeb0$8816cc10$@setchfield@seewhy.com> References: <017801cacb73$b745c140$25d143c0$@setchfield@seewhy.com> <33C7BE4CE80D504E8907FDC31F8A08304E77D495C0@iexchange.I-EVOLVE.com> <00c601cacbfd$2d5ceeb0$8816cc10$@setchfield@seewhy.com> Message-ID: <41847.3423379057$1269519859@news.gmane.org> Try putting a space between "device" and "{" From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: Thursday, March 25, 2010 5:26 AM To: 'Nagios Users List' Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Hi Robert & Martin Here is the full config file from the HelloWorld.cfg define service{ use virtual-passive-service host_name production service_description HelloWorldApplication active_checks_enabled 0 passive_checks_enabled 1 normal_check_interval 5 retry_check_interval 3 check_period 24x7 contact_groups server_admin } Thanks for your help Raymond From: Robert Wolfe [mailto:rwolfe at i-evolve.com] Sent: 24 March 2010 18:00 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Appender 1.5.1 Perhaps if you could post the entire service definition. From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] Sent: Wednesday, March 24, 2010 1:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Appender 1.5.1 Hi Folks I am trying to follow the documentation on the Nagios Application Monitoring and I am having a few issues which if someone could help me resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into my objects folder and pointed nagios.cfg to look at them. I have altered the files to suit my requirements etc. Whilst doing the pre-flight checks it is flagging up an error; Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16) Error processing object config files! When checking line 16 of the HelloWorld it is this; define service{ This appears to me that there is nothing wrong with it at all, but for some reason Nagios doesn't like it. Can someone please help me on why this isn't working? Or possibly point me in the direction of some documentation on how to install this Appender properly? Many Thanks Raymond -------------- 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 robert.wolfe at robertwolfe.org Thu Mar 25 13:21:06 2010 From: robert.wolfe at robertwolfe.org (Robert Wolfe) Date: Thu, 25 Mar 2010 08:21:06 -0400 Subject: Graphing addons for nagios In-Reply-To: <4BAB0D4B.102@cisco.com> References: <4BAB0D4B.102@cisco.com> Message-ID: <35723.9462937743$1269519864@news.gmane.org> Mrtg/rrd? -----Original Message----- From: Jatin Davey [mailto:jashokda at cisco.com] Sent: Thursday, March 25, 2010 3:14 AM To: Nagios Mailinglist Subject: [Nagios-users] Graphing addons for nagios Hi Could someone suggest some good graphing addons for nagios. I need to log very granular data in graphs using nagios checks. Please suggest some good ones. 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 25 13:46:05 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 25 Mar 2010 18:16:05 +0530 Subject: PHP GD Extension not available -- PNP4Nagios Message-ID: <4BAB5B0D.6030004@cisco.com> Hi I installed PNP4nagios and everything went fine. No errors were reported. Then configured the synchronous mode. After which started the first test to load the pnp4nagios web front end and i got the following message: PHP GD extension PHP GD extension not available Then i issues the following command: yum install php-gd and found that it is already installed in my system. Please let me know what to do next. I want to make pnp4nagios 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 jpratt at norwich.edu Thu Mar 25 13:50:53 2010 From: jpratt at norwich.edu (James Pratt) Date: Thu, 25 Mar 2010 08:50:53 -0400 Subject: PHP GD Extension not available -- PNP4Nagios In-Reply-To: <4BAB5B0D.6030004@cisco.com> References: <4BAB5B0D.6030004@cisco.com> Message-ID: <24B6509E4191AF44B60A24EAA3B4AD495C6DE9@nuexchg.norwich.edu> >> -----Original Message----- >> From: Jatin Davey [mailto:jashokda at cisco.com] >> Sent: Thursday, March 25, 2010 8:46 AM >> To: Nagios Mailinglist >> Subject: [Nagios-users] PHP GD Extension not available -- PNP4Nagios >> >> Hi >> >> I installed PNP4nagios and everything went fine. No errors were >> reported. Then configured the synchronous mode. After which started the >> first test to load the pnp4nagios web front end and i got the following >> message: >> >> PHP GD extension PHP GD extension not available >> >> Then i issues the following command: yum install php-gd and found that >> it is already installed in my system. >> >> Please let me know what to do next. I want to make pnp4nagios work. >> Did you restart apache after installing the gd module? That should fix it for you I would think. Cheers, jamie ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raymond.setchfield at seewhy.com Thu Mar 25 13:58:29 2010 From: raymond.setchfield at seewhy.com (Raymond Setchfield) Date: Thu, 25 Mar 2010 12:58:29 -0000 Subject: PHP GD Extension not available -- PNP4Nagios In-Reply-To: <4BAB5B0D.6030004@cisco.com> References: <4BAB5B0D.6030004@cisco.com> Message-ID: <10029.0485228927$1269522087@news.gmane.org> Have you check to see if the extension is available via a phpinfo page? It may require just a simple restart of apache? Are you also running the correct version too? Thanks Raymond -----Original Message----- From: Jatin Davey [mailto:jashokda at cisco.com] Sent: 25 March 2010 12:46 To: Nagios Mailinglist Subject: [Nagios-users] PHP GD Extension not available -- PNP4Nagios Hi I installed PNP4nagios and everything went fine. No errors were reported. Then configured the synchronous mode. After which started the first test to load the pnp4nagios web front end and i got the following message: PHP GD extension PHP GD extension not available Then i issues the following command: yum install php-gd and found that it is already installed in my system. Please let me know what to do next. I want to make pnp4nagios 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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 14:06:54 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 25 Mar 2010 18:36:54 +0530 Subject: PHP GD Extension not available -- PNP4Nagios In-Reply-To: <24B6509E4191AF44B60A24EAA3B4AD495C6DE9@nuexchg.norwich.edu> References: <4BAB5B0D.6030004@cisco.com> Message-ID: <4BAB5FEE.6070807@cisco.com> The GD extensions were already installed on my system. Also re-started the Apache web server but still it is showing that the extension is not available. Thanks Jatin On 3/25/2010 6:20 PM, James Pratt wrote: > > >>> -----Original Message----- >>> From: Jatin Davey [mailto:jashokda at cisco.com] >>> Sent: Thursday, March 25, 2010 8:46 AM >>> To: Nagios Mailinglist >>> Subject: [Nagios-users] PHP GD Extension not available -- PNP4Nagios >>> >>> Hi >>> >>> I installed PNP4nagios and everything went fine. No errors were >>> reported. Then configured the synchronous mode. After which started >>> > the > >>> first test to load the pnp4nagios web front end and i got the >>> > following > >>> message: >>> >>> PHP GD extension PHP GD extension not available >>> >>> Then i issues the following command: yum install php-gd and found >>> > that > >>> it is already installed in my system. >>> >>> Please let me know what to do next. I want to make pnp4nagios work. >>> >>> > Did you restart apache after installing the gd module? That should fix > it for you I would think. > > Cheers, > jamie > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 25 14:09:37 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 25 Mar 2010 18:39:37 +0530 Subject: PHP GD Extension not available -- PNP4Nagios In-Reply-To: <019501cacc1a$ddf5a600$99e0f200$@setchfield@seewhy.com> References: <4BAB5B0D.6030004@cisco.com> Message-ID: <4BAB6091.3070507@cisco.com> 1. How do i check to see if the extension is available via a phpinfo page ? 2. Yes , i did do a restart and still it is not working. 3. I am running php-gd-5.2.9-2.fc10.x86_64 Thanks Jatin On 3/25/2010 6:28 PM, Raymond Setchfield wrote: > Have you check to see if the extension is available via a phpinfo page? > > It may require just a simple restart of apache? Are you also running the > correct version too? > > Thanks > > Raymond > > -----Original Message----- > From: Jatin Davey [mailto:jashokda at cisco.com] > Sent: 25 March 2010 12:46 > To: Nagios Mailinglist > Subject: [Nagios-users] PHP GD Extension not available -- PNP4Nagios > > Hi > > I installed PNP4nagios and everything went fine. No errors were > reported. Then configured the synchronous mode. After which started the > first test to load the pnp4nagios web front end and i got the following > message: > > PHP GD extension PHP GD extension not available > > Then i issues the following command: yum install php-gd and found that > it is already installed in my system. > > Please let me know what to do next. I want to make pnp4nagios 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 > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 raymond.setchfield at seewhy.com Thu Mar 25 14:20:55 2010 From: raymond.setchfield at seewhy.com (Raymond Setchfield) Date: Thu, 25 Mar 2010 13:20:55 -0000 Subject: PHP GD Extension not available -- PNP4Nagios In-Reply-To: <4BAB6091.3070507@cisco.com> References: <4BAB5B0D.6030004@cisco.com> <4BAB6091.3070507@cisco.com> Message-ID: <41665.0995881811$1269523449@news.gmane.org> Hi I have answered your questions in the numbering which you have asked them 1) Open up a simple text editor like Notepad or Textpad (not Microsoft Word or similar). And paste this code into it; Save the file as phpinfo.php and then upload to your webserver. You will then need to go to your browser and go to the url this file is located. It will then give you all the information regarding your php and what extensions are installed. 2) Ok no worries 3) That should be fine :) -----Original Message----- From: Jatin Davey [mailto:jashokda at cisco.com] Sent: 25 March 2010 13:10 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] PHP GD Extension not available -- PNP4Nagios 1. How do i check to see if the extension is available via a phpinfo page ? 2. Yes , i did do a restart and still it is not working. 3. I am running php-gd-5.2.9-2.fc10.x86_64 Thanks Jatin On 3/25/2010 6:28 PM, Raymond Setchfield wrote: > Have you check to see if the extension is available via a phpinfo page? > > It may require just a simple restart of apache? Are you also running the > correct version too? > > Thanks > > Raymond > > -----Original Message----- > From: Jatin Davey [mailto:jashokda at cisco.com] > Sent: 25 March 2010 12:46 > To: Nagios Mailinglist > Subject: [Nagios-users] PHP GD Extension not available -- PNP4Nagios > > Hi > > I installed PNP4nagios and everything went fine. No errors were > reported. Then configured the synchronous mode. After which started the > first test to load the pnp4nagios web front end and i got the following > message: > > PHP GD extension PHP GD extension not available > > Then i issues the following command: yum install php-gd and found that > it is already installed in my system. > > Please let me know what to do next. I want to make pnp4nagios 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 > > > ---------------------------------------------------------------------------- -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 25 14:52:51 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 25 Mar 2010 19:22:51 +0530 Subject: PHP GD Extension not available -- PNP4Nagios In-Reply-To: <01b701cacc1e$0084aa60$018dff20$@setchfield@seewhy.com> References: <4BAB5B0D.6030004@cisco.com> Message-ID: <4BAB6AB3.7060607@cisco.com> Hi I did add this in my web server , but how do i check if the extension is enabled ? I can see a lot of things when i view this web page. Please let me know. Thanks Jatin On 3/25/2010 6:50 PM, Raymond Setchfield wrote: > phpinfo(); > ?> > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oklein at nccms.de Thu Mar 25 15:40:55 2010 From: oklein at nccms.de (Klein, Oliver) Date: Thu, 25 Mar 2010 15:40:55 +0100 Subject: NSCA and Windows Message-ID: <602226EBB63E1342A63331A1B7F63E3E6F3FD46A67@nccmskom2.ncc.cons> Hi List i have a question about Windows and NSCA. We use the NSclient with NCSA. In the nsclient config file there?re some checks descriped and this works well. So what we want to know is, where we can find more plugins? There?s a folder in the nsclient directory "modules" maybe we can use these plugins. Our problem is, that we don?t know how to use these plugins, like the syntax. Any help was appreciated kind regards Olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: info at nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _____________________________________________________________________ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _____________________________________________________________________ Versand am 25.03.2010 15:40 von Klein Oliver Validation-Code: 3511017320244 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: compass-logo.jpg Type: image/jpeg Size: 1941 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ncc-logo.jpg Type: image/jpeg Size: 2264 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 brian.omahony at curamsoftware.com Thu Mar 25 16:16:55 2010 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Thu, 25 Mar 2010 15:16:55 +0000 Subject: Check_multipath Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF30142BD827E76@MAIL06.curamsoftware.com> I downloaded this from monitoring exchange but it wont work. I have added nagios to the sudo allow files, and it works locally. However when I connect remotely it gives: MULTIPATH: UNKNOWN - sudo not configured I am running : /usr/lib/nagios/plugins/check_nrpe -H ccdub -c check_multipath When I su into the nagios user account on the client, and run /usr/lib/nagios/plugins/check_multipath it works. Any ideas? The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -------------- 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 trisha at rockyou.com Thu Mar 25 17:36:04 2010 From: trisha at rockyou.com (Trisha Hoang) Date: Thu, 25 Mar 2010 09:36:04 -0700 Subject: Check_multipath In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF30142BD827E76@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF30142BD827E76@MAIL06.curamsoftware.com> Message-ID: What about adding NOPASSWD. ALL = NOPASSWD: ALL On Thu, Mar 25, 2010 at 8:16 AM, Brian O'Mahony < brian.omahony at curamsoftware.com> wrote: > I downloaded this from monitoring exchange but it wont work. > > > > I have added nagios to the sudo allow files, and it works locally. However > when I connect remotely it gives: > > > > MULTIPATH: UNKNOWN - sudo not configured > > > > I am running : > > /usr/lib/nagios/plugins/check_nrpe -H ccdub -c check_multipath > > > > When I su into the nagios user account on the client, and run > /usr/lib/nagios/plugins/check_multipath it works. > > > > Any ideas? > > The information in this email is confidential and may be legally privileged. > It is intended solely for the addressee. Access to this email by anyone else > is unauthorized. If you are not the intended recipient, any disclosure, > copying, distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. If you are not the intended > addressee please contact the sender and dispose of this e-mail. Thank 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 > -------------- 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 brian.omahony at curamsoftware.com Thu Mar 25 18:48:28 2010 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Thu, 25 Mar 2010 17:48:28 +0000 Subject: Check_multipath In-Reply-To: References: <86E8DA9E18BC2344BD0218BF23C88DF30142BD827E76@MAIL06.curamsoftware.com> Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF30142BD827EFD@MAIL06.curamsoftware.com> It works locally though, and I have Cmnd_Alias MULTIPATH=/sbin/multipath -l nagios ALL= NOPASSWD: MULTIPATH From: Trisha Hoang [mailto:trisha at rockyou.com] Sent: Thursday, March 25, 2010 4:36 PM To: Nagios Users List Subject: Re: [Nagios-users] Check_multipath What about adding NOPASSWD. ALL = NOPASSWD: ALL On Thu, Mar 25, 2010 at 8:16 AM, Brian O'Mahony > wrote: I downloaded this from monitoring exchange but it wont work. I have added nagios to the sudo allow files, and it works locally. However when I connect remotely it gives: MULTIPATH: UNKNOWN - sudo not configured I am running : /usr/lib/nagios/plugins/check_nrpe -H ccdub -c check_multipath When I su into the nagios user account on the client, and run /usr/lib/nagios/plugins/check_multipath it works. Any ideas? The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank 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 The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -------------- 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 Thu Mar 25 18:52:21 2010 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 25 Mar 2010 17:52:21 +0000 Subject: Check_multipath In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF30142BD827EFD@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF30142BD827E76@MAIL06.curamsoftware.com> <86E8DA9E18BC2344BD0218BF23C88DF30142BD827EFD@MAIL06.curamsoftware.com> Message-ID: <4BABA2D5.6000705@flatto.net> Brian O'Mahony wrote: > > It works locally though, and I have > > > > Cmnd_Alias MULTIPATH=/sbin/multipath -l > > nagios ALL= NOPASSWD: MULTIPATH > > > > > > > > *From:* Trisha Hoang [mailto:trisha at rockyou.com] > *Sent:* Thursday, March 25, 2010 4:36 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Check_multipath > > > > What about adding NOPASSWD. > > ALL = NOPASSWD: ALL > > > > On Thu, Mar 25, 2010 at 8:16 AM, Brian O'Mahony > > wrote: > > I downloaded this from monitoring exchange but it wont work. > > > > I have added nagios to the sudo allow files, and it works locally. > However when I connect remotely it gives: > > > > MULTIPATH: UNKNOWN - sudo not configured > > > > I am running : > > /usr/lib/nagios/plugins/check_nrpe -H ccdub -c check_multipath > > > > When I su into the nagios user account on the client, and run > /usr/lib/nagios/plugins/check_multipath it works. > > > > Any ideas? > I assume you are executing it remotely via NRPE , did to remember to add the sudo in the nrpe.cfg command definitions ? Assaf -- 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 t.h.amundsen at usit.uio.no Thu Mar 25 19:17:21 2010 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 25 Mar 2010 19:17:21 +0100 Subject: Check_multipath In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF30142BD827EFD@MAIL06.curamsoftware.com> (Brian O'Mahony's message of "Thu, 25 Mar 2010 17:48:28 +0000") References: <86E8DA9E18BC2344BD0218BF23C88DF30142BD827E76@MAIL06.curamsoftware.com> <86E8DA9E18BC2344BD0218BF23C88DF30142BD827EFD@MAIL06.curamsoftware.com> Message-ID: <15twrx0uuz2.fsf@tux.uio.no> Brian O'Mahony writes: > It works locally though, and I have > > > > Cmnd_Alias MULTIPATH=/sbin/multipath -l > > nagios ALL= NOPASSWD: MULTIPATH My money is on "Requiretty". Locally you have a TTY, while NRPE does not. The "Requiretty" setting in /etc/sudoers must be turned off. Comment out this line in /etc/sudoers: Defaults requiretty 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 s.shipway at auckland.ac.nz Fri Mar 26 04:47:17 2010 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 26 Mar 2010 16:47:17 +1300 Subject: Check_multipath In-Reply-To: <15twrx0uuz2.fsf@tux.uio.no> References: <86E8DA9E18BC2344BD0218BF23C88DF30142BD827E76@MAIL06.curamsoftware.com> <86E8DA9E18BC2344BD0218BF23C88DF30142BD827EFD@MAIL06.curamsoftware.com> <15twrx0uuz2.fsf@tux.uio.no> Message-ID: <6B587E8C999646469B54486AF219584612D6349B1D@UXCHANGE7-1.UoA.auckland.ac.nz> > My money is on "Requiretty". Locally you have a TTY, while NRPE does > not. The "Requiretty" setting in /etc/sudoers must be turned > off. Comment out this line in /etc/sudoers: > > Defaults requiretty I agree -- this one had me stumped for days when I was producing a different plugin (for checking jvm processes) before the light finally came on. With RHEL5, the Requiretty setting became default on. Steve ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Fri Mar 26 06:17:41 2010 From: subscription at kkeane.com (Kevin Keane) Date: Thu, 25 Mar 2010 22:17:41 -0700 Subject: NSCA and Windows In-Reply-To: <602226EBB63E1342A63331A1B7F63E3E6F3FD46A67@nccmskom2.ncc.cons> References: <602226EBB63E1342A63331A1B7F63E3E6F3FD46A67@nccmskom2.ncc.cons> Message-ID: <724C3B2F1C5EB44D9108E471EC5E9933ADE9D3CB38@akechi-denki.ad.nctechcenter.com> The plugins are simply command-line programs. By convention, all plugins should provide documentation when you start them with the -h switch. You can find quite a few plugins on monitoringexchange.org . I wrote a collection of plugins that you might find useful at http://sourceforge.net/projects/tntnagiosplugin/ I'm not using them with NSClient, but they should work with it just fine. From: Klein, Oliver [mailto:oklein at nccms.de] Sent: Thursday, March 25, 2010 7:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSCA and Windows [cid:image001.jpg at 01CACC68.A7297EA0] Hi List i have a question about Windows and NSCA. We use the NSclient with NCSA. In the nsclient config file there?re some checks descriped and this works well. So what we want to know is, where we can find more plugins? There?s a folder in the nsclient directory "modules" maybe we can use these plugins. Our problem is, that we don?t know how to use these plugins, like the syntax. Any help was appreciated kind regards Olly Mit freundlichen Gr??en Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC N?then Computer Center GmbH Wolbecker Windm?hle 55 48167 M?nster Fon: 02506 / 93 20 0 Fax: 02506 / 93 20 20 Gesch?ftsf?hrer: Ralf Bakenecker Uwe-Christian Surma Amtsgericht M?nster HRB 5036 info at nccms.de http://www.nccms.de [cid:image002.jpg at 01CACC68.A7297EA0] Gesellschafter der Computer Compass-Gruppe Dieses E-Mail ist nur f?r den Empf?nger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- ?u?erung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empf?nger, so haben Sie diese E-Mail irrt?mlich erhalten und jegliche Verwendung, Ver?ffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) ?bernehmen die Haftung f?r Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anh?nge auf Viren zu pr?fen. Anh?nge:. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2264 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 1941 bytes Desc: image002.jpg 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 26 06:29:47 2010 From: jashokda at cisco.com (Jatin Davey) Date: Fri, 26 Mar 2010 10:59:47 +0530 Subject: [Pnp4nagios-users] PHP GD Extension not available In-Reply-To: <60567dcc1003250647n456cae07w253ca917f0dad3d0@mail.gmail.com> References: <4BAB4E95.9040901@cisco.com> Message-ID: <4BAC464B.4040504@cisco.com> Hi I added remi repo and installed the latest versions in it , After installation i executed the following to check whether they are installed or not: 1. rpm -q php php-5.3.2-1.fc10.remi.x86_64 2. rpm -q php-gd php-gd-5.3.2-1.fc10.remi.x86_64 After that i restarted the apache web server using the command: service httpd restart Stopping httpd: [ OK ] Starting httpd: [Thu Mar 25 09:13:16 2010] [warn] module php5_module is already loaded, skipping [ OK ] When i scroll to the pnp4nagios link using : http://x.x.x.x/pnp4nagios/ Here i am still seeing that the php-gd extension is not available. Please let me know how to proceed next ? Thanks Jatin On 3/25/2010 7:17 PM, Franky Van Liedekerke wrote: > On Thu, Mar 25, 2010 at 2:04 PM, Jatin Davey > wrote: > > Ok , here is the list of modules loaded in the file that you have > indicated: > > LoadModule auth_basic_module modules/mod_auth_basic.so > LoadModule auth_digest_module modules/mod_auth_digest.so > > ... > > LoadModule file_cache_module modules/mod_file_cache.so > LoadModule mem_cache_module modules/mod_mem_cache.so > LoadModule cgi_module modules/mod_cgi.so > > > Please let me know what to do next. > > Thanks > Jatin > > > The php-gd extension has nothing to do with apache configuration > itself. It is totally within php. Do try the following command: > > rpm -q php-gd > > If this doesn't give any output, it is not installed. If it does, it > must be at least of a high enough version (mine is php-gd-5.3.2 on > RHEL5). On RHEL servers, I use the remi repository to update php to a > reasonable version and install php-gd next to it: > > # download the remi rpm file itself > wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm > # install the remi repo (by default disabled) > rpm -Uvh remi-release-5*.rpm > # now upgrade php and install php-gd > yum -y --enablerepo=remi install php php-gd > > Afterwards, restart apache to reload the new php version and addons. > To check wether php has the gd module activated, create a simple > php-file (called eg. test.php) and put the following php code in it: > > phpinfo(); > ?> > > When you call this test.php from your webserver, you should find a > gd-specific section and the first line of it should say "GD Support" > with value "enabled" > > Hope this helps, > > Franky > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > _______________________________________________ > Pnp4nagios-users mailing list > Pnp4nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pnp4nagios-users > -------------- 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 KEF at pihl-as.dk Fri Mar 26 09:45:59 2010 From: KEF at pihl-as.dk (Kenneth Fribert) Date: Fri, 26 Mar 2010 09:45:59 +0100 Subject: Having multiple 'parents', how to do it right? References: <4BAC7D4B0200005C00004D3C@gwdom.pihl-as.dk> <4BAC82570200005C000029EE@gwdom.pihl-as.dk> Message-ID: <4BAC82570200005C000029EE@gwdom.pihl-as.dk> We have a few places where there are redundant paths. One example is our VMWare farm, that comprises of several servers, running a lot of virtual servers, which can move dynamically between servers. So we've created the vmware servers, and under them are the virtual servers, each virtual server thus have three 'parents'. This works well, only problem is that the map display gets completely f..... up, and displays the branches that are redundant as empty boxes. How do we do this better? -------------- 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 Fri Mar 26 13:40:00 2010 From: nagios at smetj.net (Jelle Smet) Date: Fri, 26 Mar 2010 13:40:00 +0100 Subject: =?utf-8?q?Drop_in_replacement_for_check=5Fping_wit?= =?utf-8?q?hout_performance_output_when_device_down?= Message-ID: Hi List, The default check_ping has an annoying feature I think and that's it will produce performance output equal to the timeout when a host is not reachable. That means the RTA graphs are completely filled, while I think they should be interrupted... by not producing performance output for RTA but only for the packets lost. To have this behaviour I'm looking for a drop in replacement for check_ping which produces exactly the same performance output labels as I don't want to recreate all my ping rrds On the other side I think it would make sense to at lease add this feature through a command line switch for check_ping. I'm using: check_ping v1.4.14 (nagios-plugins 1.4.14) Copyright (c) 1999 Ethan Galstad Copyright (c) 2000-2007 Nagios Plugin Development Team Use ping to check connection statistics for a remote host. Usage:check_ping -H -w ,% -c ,% [-p packets] [-t timeout] [-4|-6] Thanks for your advice and tips -- 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 jashokda at cisco.com Fri Mar 26 14:20:46 2010 From: jashokda at cisco.com (Jatin Davey) Date: Fri, 26 Mar 2010 18:50:46 +0530 Subject: Unable to install NRPE Addon Message-ID: <4BACB4AE.5040304@cisco.com> Hi While installing the NRPE addon , i am unable to issue the make all command. Following the NRPE documentation, first i did ./configure command and then when i gave the make all command , it shows me the following error: [root at pc-linux-1 nrpe-2.12]# make all make: *** No rule to make target `all'. Stop. I noticed the last step of the ./configure output was as below: checking for closesocket... no checking for socklen_t... yes checking for type of socket size... size_t checking for SSL headers... configure: error: Cannot find ssl headers 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 nagios at flatto.net Fri Mar 26 14:23:44 2010 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 26 Mar 2010 13:23:44 +0000 Subject: Unable to install NRPE Addon In-Reply-To: <4BACB4AE.5040304@cisco.com> References: <4BACB4AE.5040304@cisco.com> Message-ID: <4BACB560.5040303@flatto.net> Jatin Davey wrote: > Hi > > While installing the NRPE addon , i am unable to issue the make all command. > > Following the NRPE documentation, first i did ./configure command and > then when i gave the make all command , it shows me the following error: > > [root at pc-linux-1 nrpe-2.12]# make all > make: *** No rule to make target `all'. Stop. > > I noticed the last step of the ./configure output was as below: > > checking for closesocket... no > checking for socklen_t... yes > checking for type of socket size... size_t > checking for SSL headers... configure: error: Cannot find ssl headers > > Please let me know what to do next. > > Thanks > Jatin > > run ./configure --disable-ssl and after that run the make command . Or if you want ssl , install the openssl and openssl-devel packages for your distribution . Assaf -- 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 ae at op5.se Fri Mar 26 14:27:54 2010 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Mar 2010 14:27:54 +0100 Subject: Drop in replacement for check_ping without performance output when device down In-Reply-To: References: Message-ID: <4BACB65A.2060401@op5.se> On 03/26/2010 01:40 PM, Jelle Smet wrote: > > > Hi List, > > The default check_ping has an annoying feature I think and > that's it will produce performance output equal to the timeout when a host > is not reachable. > That means the RTA graphs are completely filled, while I > think they should be interrupted... by not producing performance output for > RTA but only for the packets lost. > Use check_icmp instead. It does something like that, iirc. -- 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 oklein at nccms.de Fri Mar 26 15:13:53 2010 From: oklein at nccms.de (Klein, Oliver) Date: Fri, 26 Mar 2010 15:13:53 +0100 Subject: NSCA and Windows In-Reply-To: <724C3B2F1C5EB44D9108E471EC5E9933ADE9D3CB38@akechi-denki.ad.nctechcenter.com> References: <602226EBB63E1342A63331A1B7F63E3E6F3FD46A67@nccmskom2.ncc.cons> <724C3B2F1C5EB44D9108E471EC5E9933ADE9D3CB38@akechi-denki.ad.nctechcenter.com> Message-ID: <602226EBB63E1342A63331A1B7F63E3E6F3FD46B4A@nccmskom2.ncc.cons> Hi Kevin, thx i think that is what we need. But I have some problems to get this plugins work with nsclient. Any idea about this? This is the error massage in syslog on the nagios server Mar 26 15:04:41 nagios nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;sonicwall2;C:\NSCLIENT++\scripts\check_cpu.exe;3;Command was not found: Mar 26 15:04:41 nagios nagios: Warning: Passive check result was received for service 'C:\NSCLIENT++\scripts\check_cpu.exe' on host 'sonicwall2', but the service could not be found! So I define the following option in the nsc.ini [External Scripts] ;check_es_long=scripts\long.bat ;check_es_ok=scripts\ok.bat ;check_es_nok=scripts\nok.bat ;check_vbs_sample=cscript.exe //T:30 //NoLogo scripts\check_vb.vbs ;check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe -command - check_cpu=scripts\check_cpu.exe [NSCA Commands] ;my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4 ;my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page ;my_svc_check=checkServiceState CheckAll exclude=wampmysqld exclude=MpfService ;host_check=check_ok C:\NSCLIENT++\scripts\check_cpu.exe I tested it without path and other variations but with no luck. I hope someone give me the right hint for the correct syntax Best regards & nice weekend Olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: info at nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _____________________________________________________________________ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _____________________________________________________________________ Versand am 26.03.2010 15:13 von Klein Oliver Validation-Code: 3623422302211 Von: Kevin Keane [mailto:subscription at kkeane.com] Gesendet: Freitag, 26. Maerz 2010 06:18 An: Nagios Users List Betreff: Re: [Nagios-users] NSCA and Windows The plugins are simply command-line programs. By convention, all plugins should provide documentation when you start them with the -h switch. You can find quite a few plugins on monitoringexchange.org . I wrote a collection of plugins that you might find useful at http://sourceforge.net/projects/tntnagiosplugin/ I'm not using them with NSClient, but they should work with it just fine. From: Klein, Oliver [mailto:oklein at nccms.de] Sent: Thursday, March 25, 2010 7:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSCA and Windows [cid:image001.jpg at 01CACCF6.29F1E420] Hi List i have a question about Windows and NSCA. We use the NSclient with NCSA. In the nsclient config file there?re some checks descriped and this works well. So what we want to know is, where we can find more plugins? There?s a folder in the nsclient directory "modules" maybe we can use these plugins. Our problem is, that we don?t know how to use these plugins, like the syntax. Any help was appreciated kind regards Olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Fon: 02506 / 93 20 0 Fax: 02506 / 93 20 20 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma Amtsgericht Muenster HRB 5036 info at nccms.de http://www.nccms.de [cid:image002.jpg at 01CACCF6.29F1E420] Gesellschafter der Computer Compass-Gruppe Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge:. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2264 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 1941 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: compass-logo.jpg Type: image/jpeg Size: 1941 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ncc-logo.jpg Type: image/jpeg Size: 2264 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 raymond.setchfield at seewhy.com Fri Mar 26 15:22:21 2010 From: raymond.setchfield at seewhy.com (Raymond Setchfield) Date: Fri, 26 Mar 2010 14:22:21 -0000 Subject: Unable to install NRPE Addon In-Reply-To: <4BACB4AE.5040304@cisco.com> References: <4BACB4AE.5040304@cisco.com> Message-ID: <30249.6677534238$1269613521@news.gmane.org> Hi You will need to install openssl-devel on your machine this will resolve the SSL headers issue Thanks Raymond -----Original Message----- From: Jatin Davey [mailto:jashokda at cisco.com] Sent: 26 March 2010 13:21 To: Nagios Mailinglist Subject: [Nagios-users] Unable to install NRPE Addon Hi While installing the NRPE addon , i am unable to issue the make all command. Following the NRPE documentation, first i did ./configure command and then when i gave the make all command , it shows me the following error: [root at pc-linux-1 nrpe-2.12]# make all make: *** No rule to make target `all'. Stop. I noticed the last step of the ./configure output was as below: checking for closesocket... no checking for socklen_t... yes checking for type of socket size... size_t checking for SSL headers... configure: error: Cannot find ssl headers 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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alen.Grizonic at comparex.si Fri Mar 26 15:16:31 2010 From: Alen.Grizonic at comparex.si (Grizonic Alen) Date: Fri, 26 Mar 2010 15:16:31 +0100 Subject: Nagios NRPE: Unable to read output Message-ID: <49BA6272FE20D8478E384FEDA647D8C35F45AFF587@cpxsrv03.intern.comparex.at> Hello! I know that this post is nothing new, but I still didn't find any solution for it. I am working on a AIX 5.3 machine with NRPE running under inetd. On the local AIX machine the command for TSM works fine ... # ./tsmonitor db db - database utilization 0%, OK But when I start if from the Nagios server ... # ./check_nrpe -n -t 60 -H 172.21.100.121 -c tsmonitor_db NRPE: Unable to read output or from the AIX machine with the NRPE I get ... # ./check_nrpe -n -t 60 -H localhost -c tsmonitor_db NRPE: Unable to read output The nrpe.cfg file is properly configured with the commands command[tsmonitor_db]=/usr/local/nagios/libexec/tsmonitor db command[check_disk/]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p / Where check_disk/ works fine, but tsmonitor_db NOT! Any suggestions? Best regards, Alen -------------- 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 natxo.asenjo at gmail.com Fri Mar 26 15:51:30 2010 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Fri, 26 Mar 2010 15:51:30 +0100 Subject: NSCA and Windows In-Reply-To: <602226EBB63E1342A63331A1B7F63E3E6F3FD46B4A@nccmskom2.ncc.cons> References: <602226EBB63E1342A63331A1B7F63E3E6F3FD46A67@nccmskom2.ncc.cons> <724C3B2F1C5EB44D9108E471EC5E9933ADE9D3CB38@akechi-denki.ad.nctechcenter.com> <602226EBB63E1342A63331A1B7F63E3E6F3FD46B4A@nccmskom2.ncc.cons> Message-ID: <90f6e8271003260751q1ad83c65l72a794bef289f458@mail.gmail.com> On Fri, Mar 26, 2010 at 3:13 PM, Klein, Oliver wrote: > > > > Hi Kevin, > > > > thx i think that is what we need. But I have some problems to get this plugins work with nsclient. Any idea about this? > > This is the error massage in syslog on the nagios server > > > > Mar 26 15:04:41 nagios nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;sonicwall2;C:\NSCLIENT++\scripts\check_cpu.exe;3;Command was not found: > > Mar 26 15:04:41 nagios nagios: Warning:? Passive check result was received for service 'C:\NSCLIENT++\scripts\check_cpu.exe' on host 'sonicwall2', but the service could not be found! Actually, that is quite a good error message. > So I define the following option in the nsc.ini > > > > [External Scripts] > > ;check_es_long=scripts\long.bat > > ;check_es_ok=scripts\ok.bat > > ;check_es_nok=scripts\nok.bat > > ;check_vbs_sample=cscript.exe //T:30 //NoLogo scripts\check_vb.vbs > > ;check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe -command - > > check_cpu=scripts\check_cpu.exe What you have defined is the handler 'check_cpu' In this section [External Scripts]. Those are for NRPE if I recall correctly although I never used that section for NRPE, I use [NRPE Handlers] instead for my custom commands. > [NSCA Commands] > > ;my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4 > > ;my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page > > ;my_svc_check=checkServiceState CheckAll exclude=wampmysqld exclude=MpfService > > ;host_check=check_ok > > C:\NSCLIENT++\scripts\check_cpu.exe and here you have not defined anything, there is no LHS=RHS combination. I suppose that what you meant is check_cpu=scripts\check_cpu.exe. Restart the nsclientpp service and try again. -- groeten, natxo ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From natxo.asenjo at gmail.com Fri Mar 26 15:57:31 2010 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Fri, 26 Mar 2010 15:57:31 +0100 Subject: NSCA and Windows In-Reply-To: <90f6e8271003260751q1ad83c65l72a794bef289f458@mail.gmail.com> References: <602226EBB63E1342A63331A1B7F63E3E6F3FD46A67@nccmskom2.ncc.cons> <724C3B2F1C5EB44D9108E471EC5E9933ADE9D3CB38@akechi-denki.ad.nctechcenter.com> <602226EBB63E1342A63331A1B7F63E3E6F3FD46B4A@nccmskom2.ncc.cons> <90f6e8271003260751q1ad83c65l72a794bef289f458@mail.gmail.com> Message-ID: <90f6e8271003260757j2b94fde5lf5ff719f0286695a@mail.gmail.com> hi, now I realize that you are using nsca. I have never used that, so my previous posting may not work at all. I misread your question, sorry. -- groeten, natxo ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 15:57:19 2010 From: Quentin.Marquez at experian.com (Marquez, Quentin) Date: Fri, 26 Mar 2010 14:57:19 -0000 Subject: Nagios NRPE: Unable to read output In-Reply-To: <49BA6272FE20D8478E384FEDA647D8C35F45AFF587@cpxsrv03.intern.comparex.at> References: <49BA6272FE20D8478E384FEDA647D8C35F45AFF587@cpxsrv03.intern.comparex.at> Message-ID: <28D49132D5CF31498C9C381879963AD74A167E@exch-mon-msg01.uk.experian.local> Hi Alen, I don't know much about this plugin, but it looks like your command requires root permission. Thus you would need to setup a sudo command to run /usr/local/nagios/libexec/tsmonitor db Then use your new sudo command in your nrpe.cfg : command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db Cheers, Quentin From: Grizonic Alen [mailto:Alen.Grizonic at comparex.si] Sent: 26 March 2010 15:17 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios NRPE: Unable to read output Hello! I know that this post is nothing new, but I still didn't find any solution for it. I am working on a AIX 5.3 machine with NRPE running under inetd. On the local AIX machine the command for TSM works fine ... # ./tsmonitor db db - database utilization 0%, OK But when I start if from the Nagios server ... # ./check_nrpe -n -t 60 -H 172.21.100.121 -c tsmonitor_db NRPE: Unable to read output or from the AIX machine with the NRPE I get ... # ./check_nrpe -n -t 60 -H localhost -c tsmonitor_db NRPE: Unable to read output The nrpe.cfg file is properly configured with the commands command[tsmonitor_db]=/usr/local/nagios/libexec/tsmonitor db command[check_disk/]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p / Where check_disk/ works fine, but tsmonitor_db NOT! Any suggestions? Best regards, Alen 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 gtj at addicks.org Fri Mar 26 16:13:51 2010 From: gtj at addicks.org (gtj at addicks.org) Date: Fri, 26 Mar 2010 15:13:51 +0000 Subject: Checking Windows Backup (ntbackup) Message-ID: <6f847c37f6f1e747b5e0588b56a7385e@mail.addicks.org> Hi, I've had a look around and I can't see a plugin for checking if a standard windows backup (using ntbackup) has been successful or not. A requirement has come up for me to monitor this on a Win XP based host. Am I missing something, or does someone have a plugin that will do 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 nagios at smetj.net Fri Mar 26 16:57:43 2010 From: nagios at smetj.net (Jelle Smet) Date: Fri, 26 Mar 2010 15:57:43 +0000 (UTC) Subject: =?utf-8?q?Drop_in_replacement_for_check=5Fping_wit?= =?utf-8?q?hout_performance_output_when_device_down?= References: <4BACB65A.2060401@op5.se> Message-ID: Andreas Ericsson op5.se> writes: > > Use check_icmp instead. It does something like that, iirc. > Yes indeed, but it has 2 extra performance output values rtmax and rtmin. This makes pnp4nagios complain it now receives 4 values instead of 2 and as a result not updating the graphs... Adding DS's to all RRD's would bring me too far.... ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 26 17:26:14 2010 From: nagios at smetj.net (Jelle Smet) Date: Fri, 26 Mar 2010 16:26:14 +0000 (UTC) Subject: =?utf-8?q?Drop_in_replacement_for_check=5Fping_wit?= =?utf-8?q?hout_performance_output_when_device_down?= References: <4BACB65A.2060401@op5.se> Message-ID: > > Use check_icmp instead. It does something like that, iirc. > Hi Andreas, When untarring nagios-plugins-1.4.13.tar.gz there's already a compiled version sitting nagios-plugins-1.4.13/plugins-root/check_icmp which has the behaviour you were referring to. It has only 2 performance output parameters. Although when compiling the complete nagios-plugins package I end up with check_icmp in libexec which has 4 performance output parameters. The first one is the one I'm going to use now in my dev env. Thanks for pointing out, 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 jcasale at activenetwerx.com Fri Mar 26 21:06:13 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Fri, 26 Mar 2010 20:06:13 +0000 Subject: Checking Windows Backup (ntbackup) In-Reply-To: <6f847c37f6f1e747b5e0588b56a7385e@mail.addicks.org> References: <6f847c37f6f1e747b5e0588b56a7385e@mail.addicks.org> Message-ID: >I've had a look around and I can't see a plugin for checking if a standard >windows backup (using ntbackup) has been successful or not. A requirement >has come up for me to monitor this on a Win XP based host. Am I missing >something, or does someone have a plugin that will do this? I just finished revamping this very process. I used to use nsca but I wanted to use a better approach that was easier to maintain and didn't have unneeded deps on my Nagios server. At the start of my script, I bring a passive check into a warning state with an snmp trap, at the end of my script, I check exit codes and now send an snmp trap based on this code as to whether or not it failed or passed. A freshness check makes sure it even ran, and alerts on the status of it failing. Works very well. For the record, my trap parsing is very flexible in that one script handles the passive check updates for any service based on the service name. Hth, 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 benny at bennyvision.com Sat Mar 27 00:53:14 2010 From: benny at bennyvision.com (C. Bensend) Date: Fri, 26 Mar 2010 18:53:14 -0500 Subject: Does anyone have event log monitors that *work*? In-Reply-To: <765d77c81003200350g7893db6cq6cc946217c28fb19@mail.gmail.com> References: <52aeaccd64ff9c1da87e03ba5ae8588f.squirrel@webmail.stinkweasel.net> <765d77c81003191022p2e6764aahb9ada934e1d015a7@mail.gmail.com> <765d77c81003200350g7893db6cq6cc946217c28fb19@mail.gmail.com> Message-ID: <8819ad35d790608a27ec6eb8d0598445.squirrel@webmail.stinkweasel.net> > Likewise please ask again if you're still stuck. I don't mind having > another bash at some of these issues when I have a minute. > > I just read your thread on the NSClient++ forum too. I have found > that whenever I try to combine too many matches in one check it simply > doesn't work right (can't remember the precise details). So I > normally try to match on as few things as possible for each check even > if that means I'm casting the net maybe a little wider than I'd really > like. Thanks everyone for your suggestions... In the end, I gave up on using either NSClient++ or the Nagios EventLog Agent to check my windows event logs. While I certainly will admit the problem still may have been with me, I have come to the conclusion that either they're not designed to do what I needed (to find a single event ID) or they're inconsistent/under-documented. I ended up going with check_logfiles from ConSol: http://labs.consol.de/lang/en/nagios/check_logfiles/ Not only are the developers responsive, but it *works*. I use it with a very flexible definition via NSClient++, and so far it's performing *exactly* like I need. :) Thanks again, everyone! Benny -- Whoever said that hell hath no fury like a women scorned never owned a cat. -- bash.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 jashokda at cisco.com Sat Mar 27 04:28:41 2010 From: jashokda at cisco.com (Jatin Davey) Date: Sat, 27 Mar 2010 08:58:41 +0530 Subject: Unable to install NRPE Addon In-Reply-To: <4BACB560.5040303@flatto.net> References: <4BACB4AE.5040304@cisco.com> Message-ID: <4BAD7B69.7030106@cisco.com> Thanks Assaf. Appreciate your timely response in this regard. Thanks Jatin On 3/26/2010 6:53 PM, Assaf Flatto wrote: > Jatin Davey wrote: > >> Hi >> >> While installing the NRPE addon , i am unable to issue the make all command. >> >> Following the NRPE documentation, first i did ./configure command and >> then when i gave the make all command , it shows me the following error: >> >> [root at pc-linux-1 nrpe-2.12]# make all >> make: *** No rule to make target `all'. Stop. >> >> I noticed the last step of the ./configure output was as below: >> >> checking for closesocket... no >> checking for socklen_t... yes >> checking for type of socket size... size_t >> checking for SSL headers... configure: error: Cannot find ssl headers >> >> Please let me know what to do next. >> >> Thanks >> Jatin >> >> >> > run ./configure --disable-ssl > and after that run the make command . > > Or if you want ssl , install the openssl and openssl-devel packages for > your distribution . > > 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 Sat Mar 27 04:28:14 2010 From: jashokda at cisco.com (Jatin Davey) Date: Sat, 27 Mar 2010 08:58:14 +0530 Subject: Unable to install NRPE Addon In-Reply-To: <01d601caccef$bfa593b0$3ef0bb10$@setchfield@seewhy.com> References: <4BACB4AE.5040304@cisco.com> Message-ID: <4BAD7B4E.5060800@cisco.com> Thanks Raymond. Appreciate your timely response in this regard. Thanks Jatin On 3/26/2010 7:52 PM, Raymond Setchfield wrote: > Hi > > You will need to install openssl-devel on your machine this will resolve the > SSL headers issue > > Thanks > > Raymond > > -----Original Message----- > From: Jatin Davey [mailto:jashokda at cisco.com] > Sent: 26 March 2010 13:21 > To: Nagios Mailinglist > Subject: [Nagios-users] Unable to install NRPE Addon > > Hi > > While installing the NRPE addon , i am unable to issue the make all command. > > Following the NRPE documentation, first i did ./configure command and > then when i gave the make all command , it shows me the following error: > > [root at pc-linux-1 nrpe-2.12]# make all > make: *** No rule to make target `all'. Stop. > > I noticed the last step of the ./configure output was as below: > > checking for closesocket... no > checking for socklen_t... yes > checking for type of socket size... size_t > checking for SSL headers... configure: error: Cannot find ssl headers > > 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 > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sat Mar 27 05:03:24 2010 From: jashokda at cisco.com (Jatin Davey) Date: Sat, 27 Mar 2010 09:33:24 +0530 Subject: Clarification on Check_Load Plugin Message-ID: <4BAD838C.3080506@cisco.com> Hi The check load plugin gives 1 min , 5 min and 15 min average load on the target machine. My question is: How does the plugin claculate the 1 min avg load , 5 min avg load and 15 min avg load. Take the case of 1 min avg load : -- How many data points does it use to calulcate the average ? -- Does it internally do the checks every 5 secs or 10 secs ? What is the number of secs that it internally polls to calculate the average ? -- On similar lines how does it do for 5 min and 15 min loads ? Please clarify. 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 smetj.net Sat Mar 27 10:51:33 2010 From: nagios at smetj.net (Jelle Smet) Date: Sat, 27 Mar 2010 09:51:33 +0000 (UTC) Subject: =?utf-8?q?Clarification_on_Check=5FLoad_Plugin?= References: <4BAD838C.3080506@cisco.com> Message-ID: > My question is: How does the plugin claculate the 1 min avg load , 5 min > avg load and 15 min avg load. Hi Jatin, The Nagios plugins doesn't calculate anything, it just read the load averages produced by the Linux/*nix OS itself. Have a look at this article: http://www.linuxjournal.com/article/9001?page=0,0 If you execute following commands on the command line of your linux box you'll see the numbers originate from your os itself: #top #w #cat /proc/loadavg #uptime ... most likely a couple more The only thing the load plugin does is evaluating the threshold you defined to the value returned by your OS. Hope it helps 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 daveyjatin at gmail.com Sat Mar 27 12:48:08 2010 From: daveyjatin at gmail.com (Jatin) Date: Sat, 27 Mar 2010 17:18:08 +0530 Subject: Clarification on Check_Load Plugin In-Reply-To: References: <4BAD838C.3080506@cisco.com> Message-ID: <4BADF078.30004@gmail.com> Thanks Jelle, The article cleared a lot of misunderstanding that i had about the check_load plugin. Now i understood the difference between load and % usage. Thanks for giving this insight. I was actually looking for a plugin that can give me the %CPU used , Do we have one with the default installation of the nagios plugins. Please let me know about it. Thanks Jatin Jelle Smet wrote: >> My question is: How does the plugin claculate the 1 min avg load , 5 min >> avg load and 15 min avg load. >> > > Hi Jatin, > The Nagios plugins doesn't calculate anything, it just read the load averages > produced by the Linux/*nix OS itself. > Have a look at this article: http://www.linuxjournal.com/article/9001?page=0,0 > > If you execute following commands on the command line of your linux box you'll > see the numbers originate from your os itself: > > #top > #w > #cat /proc/loadavg > #uptime > ... most likely a couple more > > The only thing the load plugin does is evaluating the threshold you defined to > the value returned by your OS. > > Hope it helps > > 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 > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Mar 27 17:06:51 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Sat, 27 Mar 2010 16:06:51 +0000 Subject: Browser refreshes back to redirecting to start page after upgrade to 3.2.1 Message-ID: With 3.2.0, I was using the change to /usr/share/nagios/index.php: to prevent this, but that change has no effect on 3.2.1 (rpmforge packages). Renaming index.php to index.html had no effect either? Anyone know how to get this functionality back? 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 ravishankar.gundlapali at wipro.com Sat Mar 27 23:15:27 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sun, 28 Mar 2010 03:45:27 +0530 Subject: Unable to Open Nagios Web Console-'Page Cannot be Displayed' In-Reply-To: References: Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com> Hi, I have successfully configured and installed Nagios, according to: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html. No problems at all throughout the process. My problem occurred 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. I tried accessing my http://serveripaddress/nagios, and no luck - I am getting Page Cannot be Displayed error. Anyone know what I should do at this point? 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 georgyboy at gmail.com Sun Mar 28 00:23:34 2010 From: georgyboy at gmail.com (Jorge Gil) Date: Sun, 28 Mar 2010 00:23:34 +0100 Subject: Unable to Open Nagios Web Console-'Page Cannot be Displayed' In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com> Message-ID: <605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com> Hi Ravi, just a quick check: when you type just localhost or http://localhost on the browser of your server, do you get anything? (i.e., is Apache up?) Jorge On 3/27/10, ravishankar.gundlapali at wipro.com < ravishankar.gundlapali at wipro.com> wrote: > > Hi, > > I have successfully configured and installed Nagios, according to: > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html. No problems > at all throughout the process. > > My problem occurred 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. I tried accessing my > http://serveripaddress/nagios, and no luck ? > > > > I am getting Page Cannot be Displayed error. > > > Anyone know what I should do at this point? 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 Sun Mar 28 01:20:43 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sun, 28 Mar 2010 05:50:43 +0530 Subject: Unable to Open Nagios Web Console-'Page Cannotbe Displayed' In-Reply-To: <605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com> References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com> <605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com> Hi, When I type http://localhost ,I am getting as ' Page Cannot be Displayed' Any idea how to resolve this... Thanks & Regards, Ravi G From: Jorge Gil [mailto:georgyboy at gmail.com] Sent: Sunday, March 28, 2010 4:54 AM To: Nagios Users List Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page Cannotbe Displayed' Hi Ravi, just a quick check: when you type just localhost or http://localhost on the browser of your server, do you get anything? (i.e., is Apache up?) Jorge On 3/27/10, ravishankar.gundlapali at wipro.com wrote: Hi, I have successfully configured and installed Nagios, according to: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html. No problems at all throughout the process. My problem occurred 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. I tried accessing my http://serveripaddress/nagios, and no luck - I am getting Page Cannot be Displayed error. Anyone know what I should do at this point? 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 zarrelli at linux.it Sun Mar 28 12:23:14 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Sun, 28 Mar 2010 12:23:14 +0200 Subject: Unable to Open Nagios Web Console-'Page Cannotbe Displayed' In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com> <605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com> Message-ID: Check wether the apache2 process is running or not ps ax | grep apache Ciao, Giorgio Il giorno 28/mar/2010, alle ore 01.20, ha scritto: > Hi, > > > > When I type http://localhost ,I am getting as ? Page Cannot be Displ > ayed? > > > > Any idea how to resolve this? > > > > > > Thanks & Regards, > > Ravi G > > > > From: Jorge Gil [mailto:georgyboy at gmail.com] > Sent: Sunday, March 28, 2010 4:54 AM > To: Nagios Users List > Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page > Cannotbe Displayed' > > > > Hi Ravi, > > just a quick check: when you type just localhost or http://localhost > on the browser of your server, do you get anything? (i.e., is Apache > up?) > > Jorge > > On 3/27/10, ravishankar.gundlapali at wipro.com > wrote: > > Hi, > > I have successfully configured and installed Nagios, according to: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html > . No problems at all throughout the process. > > My problem occurred 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. I tried accessing my http://serveripaddress/nagios > , and no luck ? > > > > I am getting Page Cannot be Displayed error. > > > Anyone know what I should do at this point? 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 -------------- 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 Sun Mar 28 15:29:20 2010 From: mgargiullo at pivotpointsecurity.com (Michael Gargiullo) Date: Sun, 28 Mar 2010 09:29:20 -0400 Subject: Unable to Open Nagios Web Console-'Page CannotbeDisplayed' In-Reply-To: References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com> Message-ID: For Fedora? try ps ax | grep httpd From: Giorgio Zarrelli [mailto:zarrelli at linux.it] Sent: Sunday, March 28, 2010 6:23 AM To: Nagios Users List Cc: Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page CannotbeDisplayed' Check wether the apache2 process is running or not ps ax | grep apache Ciao, Giorgio Il giorno 28/mar/2010, alle ore 01.20, ha scritto: Hi, When I type http://localhost ,I am getting as ? Page Cannot be Displayed? Any idea how to resolve this? Thanks & Regards, Ravi G From: Jorge Gil [mailto:georgyboy at gmail.com] Sent: Sunday, March 28, 2010 4:54 AM To: Nagios Users List Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page Cannotbe Displayed' Hi Ravi, just a quick check: when you type just localhost or http://localhost on the browser of your server, do you get anything? (i.e., is Apache up?) Jorge On 3/27/10, ravishankar.gundlapali at wipro.com wrote: Hi, I have successfully configured and installed Nagios, according to: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html. No problems at all throughout the process. My problem occurred 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. I tried accessing my http://serveripaddress/nagios, and no luck ? I am getting Page Cannot be Displayed error. Anyone know what I should do at this point? 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 -------------- 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 oklein at nccms.de Sun Mar 28 16:39:35 2010 From: oklein at nccms.de (Klein, Oliver) Date: Sun, 28 Mar 2010 16:39:35 +0200 Subject: NSCA and Windows In-Reply-To: <602226EBB63E1342A63331A1B7F63E3E6F3FD46B4A@nccmskom2.ncc.cons> References: <602226EBB63E1342A63331A1B7F63E3E6F3FD46A67@nccmskom2.ncc.cons><724C3B2F1C5EB44D9108E471EC5E9933ADE9D3CB38@akechi-denki.ad.nctechcenter.com>, <602226EBB63E1342A63331A1B7F63E3E6F3FD46B4A@nccmskom2.ncc.cons> Message-ID: <602226EBB63E1342A63331A1B7F63E3E6F3FA5D2AF@nccmskom2.ncc.cons> Hi plz help, nobody use the tnt_plugins with nsclient++? regards olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: info at nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _____________________________________________________________________ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _____________________________________________________________________ Versand am 28.03.2010 16:40 von Klein Oliver Validation-Code: 4050430246410 ________________________________ Von: Klein, Oliver [oklein at nccms.de] Gesendet: Freitag, 26. Maerz 2010 15:13 An: Nagios Users List Betreff: Re: [Nagios-users] NSCA and Windows [cid:ncc-logo.jpg] Hi Kevin, thx i think that is what we need. But I have some problems to get this plugins work with nsclient. Any idea about this? This is the error massage in syslog on the nagios server Mar 26 15:04:41 nagios nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;sonicwall2;C:\NSCLIENT++\scripts\check_cpu.exe;3;Command was not found: Mar 26 15:04:41 nagios nagios: Warning: Passive check result was received for service 'C:\NSCLIENT++\scripts\check_cpu.exe' on host 'sonicwall2', but the service could not be found! So I define the following option in the nsc.ini [External Scripts] ;check_es_long=scripts\long.bat ;check_es_ok=scripts\ok.bat ;check_es_nok=scripts\nok.bat ;check_vbs_sample=cscript.exe //T:30 //NoLogo scripts\check_vb.vbs ;check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe -command - check_cpu=scripts\check_cpu.exe [NSCA Commands] ;my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4 ;my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page ;my_svc_check=checkServiceState CheckAll exclude=wampmysqld exclude=MpfService ;host_check=check_ok C:\NSCLIENT++\scripts\check_cpu.exe I tested it without path and other variations but with no luck. I hope someone give me the right hint for the correct syntax Best regards & nice weekend Olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Fon: 02506 / 93 20 0 Fax: 02506 / 93 20 20 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma Amtsgericht Muenster HRB 5036 info at nccms.de http://www.nccms.de [cid:compass-logo.jpg] Gesellschafter der Computer Compass-Gruppe Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge:. Von: Kevin Keane [mailto:subscription at kkeane.com] Gesendet: Freitag, 26. Maerz 2010 06:18 An: Nagios Users List Betreff: Re: [Nagios-users] NSCA and Windows The plugins are simply command-line programs. By convention, all plugins should provide documentation when you start them with the ?h switch. You can find quite a few plugins on monitoringexchange.org . I wrote a collection of plugins that you might find useful at http://sourceforge.net/projects/tntnagiosplugin/ I?m not using them with NSClient, but they should work with it just fine. From: Klein, Oliver [mailto:oklein at nccms.de] Sent: Thursday, March 25, 2010 7:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSCA and Windows [cid:image001.jpg at 01CACCF6.29F1E420] Hi List i have a question about Windows and NSCA. We use the NSclient with NCSA. In the nsclient config file there?re some checks descriped and this works well. So what we want to know is, where we can find more plugins? There?s a folder in the nsclient directory ?modules? maybe we can use these plugins. Our problem is, that we don?t know how to use these plugins, like the syntax. Any help was appreciated kind regards Olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Fon: 02506 / 93 20 0 Fax: 02506 / 93 20 20 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma Amtsgericht Muenster HRB 5036 info at nccms.de http://www.nccms.de [cid:image002.jpg at 01CACCF6.29F1E420] Gesellschafter der Computer Compass-Gruppe Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge:. -------------- next part -------------- A non-text attachment was scrubbed... Name: ncc-logo.jpg Type: image/jpeg Size: 2264 bytes Desc: ncc-logo.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: compass-logo.jpg Type: image/jpeg Size: 1941 bytes Desc: compass-logo.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2264 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 1941 bytes Desc: image002.jpg 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 Sun Mar 28 23:31:32 2010 From: nagios at smetj.net (Jelle Smet) Date: Sun, 28 Mar 2010 21:31:32 +0000 (UTC) Subject: =?utf-8?q?Clarification_on_Check=5FLoad_Plugin?= References: <4BAD838C.3080506@cisco.com> <4BADF078.30004@gmail.com> Message-ID: > I was actually looking for a plugin that can give me the %CPU used , Do > we have one with the default installation of the nagios plugins. Please > let me know about it. Have a look on http://www.monitoringexchange.org/ and http://exchange.nagios.org/ there you might find what you're looking for. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at smetj.net Sun Mar 28 23:53:49 2010 From: nagios at smetj.net (Jelle Smet) Date: Sun, 28 Mar 2010 23:53:49 +0200 Subject: Initial release of NSCAweb an alternative for NSCA. Message-ID: <2e41a4570c414fd2805433ecb392ad6e@smetj.net> Hi list, I just released an initial development release of NSCAweb which aims to be an alternative for the NSCA addon of Nagios. It offers multiline support, http transport, authentication, ssl encryption... You can submit data through a simple http post for 1 or a large amount of check results at once. All incoming data is immediately accepted and placed into a tweakable queue for maximum performance. Downloads can be found here https://launchpad.net/nscaweb/+download and documentation can be found here http://www.smetj.net/wiki/Nscaweb Maybe it could be helpful for one of you. Cheers, -- Jelle Smet -------------- 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 29 03:05:42 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Mon, 29 Mar 2010 06:35:42 +0530 Subject: Unable to Open Nagios Web Console-'PageCannotbeDisplayed' In-Reply-To: References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com> Hi, I have got the following output when I entered the command ps ax | grep httpd. Still I am getting as Page Cannot be displayed. Please suggest. [root at host ~]# ps ax | grep httpd 12563 ? Ss 0:03 /usr/sbin/httpd 14312 ? S 0:00 /usr/sbin/httpd 14316 ? S 0:00 /usr/sbin/httpd 14318 ? S 0:00 /usr/sbin/httpd 14321 ? S 0:00 /usr/sbin/httpd 14323 ? S 0:00 /usr/sbin/httpd 14326 ? S 0:00 /usr/sbin/httpd 14328 ? S 0:00 /usr/sbin/httpd 14330 ? S 0:00 /usr/sbin/httpd 24995 pts/0 S+ 0:00 grep httpd Thanks & Regards, Ravi G From: Michael Gargiullo [mailto:mgargiullo at pivotpointsecurity.com] Sent: Sunday, March 28, 2010 6:59 PM To: Nagios Users List Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'PageCannotbeDisplayed' For Fedora? try ps ax | grep httpd From: Giorgio Zarrelli [mailto:zarrelli at linux.it] Sent: Sunday, March 28, 2010 6:23 AM To: Nagios Users List Cc: Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page CannotbeDisplayed' Check wether the apache2 process is running or not ps ax | grep apache Ciao, Giorgio Il giorno 28/mar/2010, alle ore 01.20, ha scritto: Hi, When I type http://localhost ,I am getting as ? Page Cannot be Displayed? Any idea how to resolve this? Thanks & Regards, Ravi G From: Jorge Gil [mailto:georgyboy at gmail.com] Sent: Sunday, March 28, 2010 4:54 AM To: Nagios Users List Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page Cannotbe Displayed' Hi Ravi, just a quick check: when you type just localhost or http://localhost on the browser of your server, do you get anything? (i.e., is Apache up?) Jorge On 3/27/10, ravishankar.gundlapali at wipro.com wrote: Hi, I have successfully configured and installed Nagios, according to: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html. No problems at all throughout the process. My problem occurred 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. I tried accessing my http://serveripaddress/nagios, and no luck ? I am getting Page Cannot be Displayed error. Anyone know what I should do at this point? 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 -------------- 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 Mon Mar 29 04:30:55 2010 From: jashokda at cisco.com (Jatin Davey) Date: Mon, 29 Mar 2010 08:00:55 +0530 Subject: Clarification on Check_Load Plugin In-Reply-To: References: <4BAD838C.3080506@cisco.com> Message-ID: <4BB010DF.6090109@cisco.com> Thanks Jelle. Thanks Jatin On 3/29/2010 3:01 AM, Jelle Smet wrote: >> I was actually looking for a plugin that can give me the %CPU used , Do >> we have one with the default installation of the nagios plugins. Please >> let me know about it. >> > Have a look on http://www.monitoringexchange.org/ and > http://exchange.nagios.org/ there you might find what you're looking for. > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 zarrelli at linux.it Mon Mar 29 07:06:58 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Mon, 29 Mar 2010 07:06:58 +0200 Subject: Unable to Open Nagios Web Console-'PageCannotbeDisplayed' In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com> <39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com> Message-ID: Try netstat -tap And let's see what's binding. Ciao, Giorgio Il giorno 29/mar/2010, alle ore 03.05, ha scritto: > Hi, > > > > I have got the following output when I entered the command ps ax | > grep httpd. > > > > Still I am getting as Page Cannot be displayed. Please suggest. > > > > [root at host ~]# ps ax | grep httpd > > 12563 ? Ss 0:03 /usr/sbin/httpd > > 14312 ? S 0:00 /usr/sbin/httpd > > 14316 ? S 0:00 /usr/sbin/httpd > > 14318 ? S 0:00 /usr/sbin/httpd > > 14321 ? S 0:00 /usr/sbin/httpd > > 14323 ? S 0:00 /usr/sbin/httpd > > 14326 ? S 0:00 /usr/sbin/httpd > > 14328 ? S 0:00 /usr/sbin/httpd > > 14330 ? S 0:00 /usr/sbin/httpd > > 24995 pts/0 S+ 0:00 grep httpd > > > > Thanks & Regards, > > Ravi G > > > > From: Michael Gargiullo [mailto:mgargiullo at pivotpointsecurity.com] > Sent: Sunday, March 28, 2010 6:59 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Unable to Open Nagios Web > Console-'PageCannotbeDisplayed' > > > > For Fedora? try ps ax | grep httpd > > > > From: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Sent: Sunday, March 28, 2010 6:23 AM > To: Nagios Users List > Cc: > Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page > CannotbeDisplayed' > > > > Check wether the apache2 process is running or not > > > > ps ax | grep apache > > Ciao, > > > > Giorgio > > > Il giorno 28/mar/2010, alle ore 01.20, > ha scritto: > > Hi, > > > > When I type http://localhost ,I am getting as ? Page Cannot be Displ > ayed? > > > > Any idea how to resolve this? > > > > > > Thanks & Regards, > > Ravi G > > > > From: Jorge Gil [mailto:georgyboy at gmail.com] > Sent: Sunday, March 28, 2010 4:54 AM > To: Nagios Users List > Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page > Cannotbe Displayed' > > > > Hi Ravi, > > just a quick check: when you type just localhost or http://localhost > on the browser of your server, do you get anything? (i.e., is Apache > up?) > > Jorge > > On 3/27/10, ravishankar.gundlapali at wipro.com > wrote: > > Hi, > > I have successfully configured and installed Nagios, according to: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html > . No problems at all throughout the process. > > My problem occurred 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. I tried accessing my http://serveripaddress/nagios > , and no luck ? > > > > I am getting Page Cannot be Displayed error. > > > Anyone know what I should do at this point? 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 ravishankar.gundlapali at wipro.com Mon Mar 29 07:27:43 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Mon, 29 Mar 2010 10:57:43 +0530 Subject: Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' In-Reply-To: References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com> Hi, Please see the output mentioned in the attachment. Request someone to please help me on this as I am not able to understand what is the error. Thanks a lot in advance. Thanks & Regards, Ravi G From: Giorgio Zarrelli [mailto:zarrelli at linux.it] Sent: Monday, March 29, 2010 10:37 AM To: Nagios Users List Cc: Subject: Re: [Nagios-users] Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' Try netstat -tap And let's see what's binding. Ciao, Giorgio Il giorno 29/mar/2010, alle ore 03.05, ha scritto: Hi, I have got the following output when I entered the command ps ax | grep httpd. Still I am getting as Page Cannot be displayed. Please suggest. [root at host ~]# ps ax | grep httpd 12563 ? Ss 0:03 /usr/sbin/httpd 14312 ? S 0:00 /usr/sbin/httpd 14316 ? S 0:00 /usr/sbin/httpd 14318 ? S 0:00 /usr/sbin/httpd 14321 ? S 0:00 /usr/sbin/httpd 14323 ? S 0:00 /usr/sbin/httpd 14326 ? S 0:00 /usr/sbin/httpd 14328 ? S 0:00 /usr/sbin/httpd 14330 ? S 0:00 /usr/sbin/httpd 24995 pts/0 S+ 0:00 grep httpd Thanks & Regards, Ravi G From: Michael Gargiullo [mailto:mgargiullo at pivotpointsecurity.com] Sent: Sunday, March 28, 2010 6:59 PM To: Nagios Users List Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'PageCannotbeDisplayed' For Fedora? try ps ax | grep httpd From: Giorgio Zarrelli [mailto:zarrelli at linux.it] Sent: Sunday, March 28, 2010 6:23 AM To: Nagios Users List Cc: Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page CannotbeDisplayed' Check wether the apache2 process is running or not ps ax | grep apache Ciao, Giorgio Il giorno 28/mar/2010, alle ore 01.20, ha scritto: Hi, When I type http://localhost ,I am getting as ? Page Cannot be Displayed? Any idea how to resolve this? Thanks & Regards, Ravi G From: Jorge Gil [mailto:georgyboy at gmail.com] Sent: Sunday, March 28, 2010 4:54 AM To: Nagios Users List Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page Cannotbe Displayed' Hi Ravi, just a quick check: when you type just localhost or http://localhost on the browser of your server, do you get anything? (i.e., is Apache up?) Jorge On 3/27/10, ravishankar.gundlapali at wipro.com wrote: Hi, I have successfully configured and installed Nagios, according to: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html. No problems at all throughout the process. My problem occurred 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. I tried accessing my http://serveripaddress/nagios, and no luck ? I am getting Page Cannot be Displayed error. Anyone know what I should do at this point? 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 -------------- An embedded and charset-unspecified text was scrubbed... Name: netstat.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 oklein at nccms.de Mon Mar 29 09:17:07 2010 From: oklein at nccms.de (Klein, Oliver) Date: Mon, 29 Mar 2010 09:17:07 +0200 Subject: NSCA and Windows In-Reply-To: <4BB35DA376812A4182C8347A873F67810BFE96@FINSYSEXCH02.finsys.co.nz> References: <602226EBB63E1342A63331A1B7F63E3E6F3FD46A67@nccmskom2.ncc.cons><724C3B2F1C5EB44D9108E471EC5E9933ADE9D3CB38@akechi-denki.ad.nctechcenter.com>, <602226EBB63E1342A63331A1B7F63E3E6F3FD46B4A@nccmskom2.ncc.cons> <602226EBB63E1342A63331A1B7F63E3E6F3FA5D2AF@nccmskom2.ncc.cons>, <4BB35DA376812A4182C8347A873F67810BFE96@FINSYSEXCH02.finsys.co.nz> Message-ID: <602226EBB63E1342A63331A1B7F63E3E6F3FA5D2B7@nccmskom2.ncc.cons> Hi Gareth i remove the semi-colon on the last lines for example, i think the format is lost in the e-mail. [External Scripts] check_cpu=scripts\check_cpu.exe and [NSCA Commands] C:\NSCLIENT++\scripts\check_cpu.exe greetz Olly ________________________________________ Von: Gareth Fletcher [gareth.fletcher at onenet.co.nz] Gesendet: Montag, 29. Maerz 2010 03:08 An: Klein, Oliver Betreff: RE: NSCA and Windows Hi Olly, Did you manage to find a solution for this? All the commands you pated below from your NSC.ini are commented out, you need to remove the semi-colon beforehand. Cheers Gareth Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: info at nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _____________________________________________________________________ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _____________________________________________________________________ Versand am 29.03.2010 09:21 von Klein Oliver Validation-Code: 4163033227071 -----Original Message----- From: Klein, Oliver [mailto:oklein at nccms.de] Sent: Monday, 29 March 2010 3:40 a.m. To: Nagios Users List Subject: Re: [Nagios-users] NSCA and Windows Hi plz help, nobody use the tnt_plugins with nsclient++? regards olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: info at nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _____________________________________________________________________ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _____________________________________________________________________ Versand am 28.03.2010 16:40 von Klein Oliver Validation-Code: 4050430246410 ________________________________ Von: Klein, Oliver [oklein at nccms.de] Gesendet: Freitag, 26. Maerz 2010 15:13 An: Nagios Users List Betreff: Re: [Nagios-users] NSCA and Windows [cid:ncc-logo.jpg] Hi Kevin, thx i think that is what we need. But I have some problems to get this plugins work with nsclient. Any idea about this? This is the error massage in syslog on the nagios server Mar 26 15:04:41 nagios nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;sonicwall2;C:\NSCLIENT++\scripts\check_cpu.exe;3;Command was not found: Mar 26 15:04:41 nagios nagios: Warning: Passive check result was received for service 'C:\NSCLIENT++\scripts\check_cpu.exe' on host 'sonicwall2', but the service could not be found! So I define the following option in the nsc.ini [External Scripts] ;check_es_long=scripts\long.bat ;check_es_ok=scripts\ok.bat ;check_es_nok=scripts\nok.bat ;check_vbs_sample=cscript.exe //T:30 //NoLogo scripts\check_vb.vbs ;check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe -command - check_cpu=scripts\check_cpu.exe [NSCA Commands] ;my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4 ;my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page ;my_svc_check=checkServiceState CheckAll exclude=wampmysqld exclude=MpfService ;host_check=check_ok C:\NSCLIENT++\scripts\check_cpu.exe I tested it without path and other variations but with no luck. I hope someone give me the right hint for the correct syntax Best regards & nice weekend Olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Fon: 02506 / 93 20 0 Fax: 02506 / 93 20 20 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma Amtsgericht Muenster HRB 5036 info at nccms.de http://www.nccms.de [cid:compass-logo.jpg] Gesellschafter der Computer Compass-Gruppe Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge:. Von: Kevin Keane [mailto:subscription at kkeane.com] Gesendet: Freitag, 26. Maerz 2010 06:18 An: Nagios Users List Betreff: Re: [Nagios-users] NSCA and Windows The plugins are simply command-line programs. By convention, all plugins should provide documentation when you start them with the -h switch. You can find quite a few plugins on monitoringexchange.org . I wrote a collection of plugins that you might find useful at http://sourceforge.net/projects/tntnagiosplugin/ I'm not using them with NSClient, but they should work with it just fine. From: Klein, Oliver [mailto:oklein at nccms.de] Sent: Thursday, March 25, 2010 7:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSCA and Windows [cid:image001.jpg at 01CACCF6.29F1E420] Hi List i have a question about Windows and NSCA. We use the NSclient with NCSA. In the nsclient config file there?re some checks descriped and this works well. So what we want to know is, where we can find more plugins? There?s a folder in the nsclient directory "modules" maybe we can use these plugins. Our problem is, that we don?t know how to use these plugins, like the syntax. Any help was appreciated kind regards Olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Fon: 02506 / 93 20 0 Fax: 02506 / 93 20 20 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma Amtsgericht Muenster HRB 5036 info at nccms.de http://www.nccms.de [cid:image002.jpg at 01CACCF6.29F1E420] Gesellschafter der Computer Compass-Gruppe Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge:. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 29 09:56:12 2010 From: gtj at addicks.org (gtj at addicks.org) Date: Mon, 29 Mar 2010 08:56:12 +0100 Subject: Checking Windows Backup (ntbackup) In-Reply-To: References: <6f847c37f6f1e747b5e0588b56a7385e@mail.addicks.org> Message-ID: <3997489e0ba0a8500ec62e7b79a590f5@mail.addicks.org> On Fri, 26 Mar 2010 20:06:13 +0000, "Joseph L. Casale" wrote: >>I've had a look around and I can't see a plugin for checking if a standard >>windows backup (using ntbackup) has been successful or not. A requirement >>has come up for me to monitor this on a Win XP based host. Am I missing >>something, or does someone have a plugin that will do this? > > I just finished revamping this very process. I used to use nsca but I > wanted to > use a better approach that was easier to maintain and didn't have unneeded > deps > on my Nagios server. > > At the start of my script, I bring a passive check into a warning state > with an > snmp trap, at the end of my script, I check exit codes and now send an > snmp trap > based on this code as to whether or not it failed or passed. How are you checking the exit code? 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 Quentin.Marquez at experian.com Mon Mar 29 12:11:05 2010 From: Quentin.Marquez at experian.com (Marquez, Quentin) Date: Mon, 29 Mar 2010 11:11:05 +0100 Subject: Nagios NRPE: Unable to read output In-Reply-To: <49BA6272FE20D8478E384FEDA647D8C3673F0E88DF@cpxsrv03.intern.comparex.at> References: <49BA6272FE20D8478E384FEDA647D8C35F45AFF587@cpxsrv03.intern.comparex.at> <28D49132D5CF31498C9C381879963AD74A167E@exch-mon-msg01.uk.experian.local> <49BA6272FE20D8478E384FEDA647D8C3673F0E88DF@cpxsrv03.intern.comparex.at> Message-ID: <28D49132D5CF31498C9C381879963AD74A1712@exch-mon-msg01.uk.experian.local> Hi Alen, Hi list, Your issue is related to the knowledge about configuring and using sudo commands, not with Nagios. Although, this knowledge is required for every Nagios plugins containing commands that need root permissions to be allowed to get executed. I know the ?check_mem.pl? plugin requires the same kind of configuration. Setting up a sudo command means editing a user alias, a command alias, and then allow your user alias to run your command alias with some other user permission, ie the root user. The file you want to edit is /etc/sudoers, edit it with your vi editor by typing as root : visudo (should be located in /usr/sbin/ ) On AIX, you need the ?rpm.rte? AIX package, and the sudo rpm coming from your ?AIX toolbox for Linux Applications? CD or ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/ Edit this file as follow : Be carefull about the syntax, it has to be strictly respected : Add a user alias such as : User_Alias SU_TO_NAGIOS_PLUGINS_USER = nagios Make sure you are using a tabulation between User_Alias and the alias name, also make sure the U and A of User_Alias are uppercase. Add a command alias such as : Cmnd_Alias SU_TO_NAGIOS_PLUGINS = /usr/local/nagios/current/libexec/tsmonitor db (seems your path uses nagios instead of ?nagios-plugins?) Again, make sure you are using a tabulation between Cmnd_Alias and the alias name, and that the C and A of Cmnd_Alias are uppercase. Then add the authorization such as : SU_TO_NAGIOS_PLUGINS_USER ALL = NOPASSWD: SU_TO_NAGIOS_PLUGINS This line will let the command ?/usr/local/nagios/current/libexec/tsmonitor db ? run with root permissions. Save and exit, AIX will let you know if you have a syntax issue in your /etc/sudoers file, if this is the case, edit the file again to fix it. Now you can check user Nagios gained this permission by entering : su ? nagios ?c sudo ?l - sudo ?l (Lower L option to list your configured sudo commands) - su ? nagios ?c (to run the following command using nagios identity) you should see something like : User nagios may run the following commands on this host: (root) NOPASSWD: /usr/local/nagios/current/libexec/tsmonitor db Which means user nagios may run : sudo /usr/local/nagios/current/libexec/tsmonitor db Now you have to use this sudo command in your nrpe.cfg such as : command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db Hope this helps!! Cheers, Quentin Marquez Unix / linux admin Global Technology Services Experian - Monaco Tel : (377) 97 98 54 27 From: Grizonic Alen [mailto:Alen.Grizonic at comparex.si] Sent: 29 March 2010 09:48 To: Marquez, Quentin Subject: RE: [Nagios-users] Nagios NRPE: Unable to read output Thank you very much! I changed the command in my nrpe.cfg file, but now looks like there is something else blocking the response. Even with a log timeout I get ... CHECK_NRPE: Socket timeout after XY seconds. I would think of a firewall blocking, but the other commands work and run very fast ... and apparently there is no firewall on that AIX machine. p.s. Maybe I missed something out ... what did you mean with ?you would need to setup a sudo command?? Just change the command to ... command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db ... or something else? If you have any idea I wuold be more than thankful! But really J Best regards, Alen From: Marquez, Quentin [mailto:Quentin.Marquez at experian.com] Sent: Friday, March 26, 2010 3:57 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios NRPE: Unable to read output Hi Alen, I don?t know much about this plugin, but it looks like your command requires root permission. Thus you would need to setup a sudo command to run /usr/local/nagios/libexec/tsmonitor db Then use your new sudo command in your nrpe.cfg : command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db Cheers, Quentin From: Grizonic Alen [mailto:Alen.Grizonic at comparex.si] Sent: 26 March 2010 15:17 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios NRPE: Unable to read output Hello! I know that this post is nothing new, but I still didn't find any solution for it. I am working on a AIX 5.3 machine with NRPE running under inetd. On the local AIX machine the command for TSM works fine ... # ./tsmonitor db db - database utilization 0%, OK But when I start if from the Nagios server ... # ./check_nrpe -n -t 60 -H 172.21.100.121 -c tsmonitor_db NRPE: Unable to read output or from the AIX machine with the NRPE I get ... # ./check_nrpe -n -t 60 -H localhost -c tsmonitor_db NRPE: Unable to read output The nrpe.cfg file is properly configured with the commands command[tsmonitor_db]=/usr/local/nagios/libexec/tsmonitor db command[check_disk/]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p / Where check_disk/ works fine, but tsmonitor_db NOT! Any suggestions? Best regards, Alen 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 jcasale at activenetwerx.com Mon Mar 29 12:47:32 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Mon, 29 Mar 2010 10:47:32 +0000 Subject: Checking Windows Backup (ntbackup) In-Reply-To: <3997489e0ba0a8500ec62e7b79a590f5@mail.addicks.org> References: <6f847c37f6f1e747b5e0588b56a7385e@mail.addicks.org> <3997489e0ba0a8500ec62e7b79a590f5@mail.addicks.org> Message-ID: >How are you checking the exit code? With the %errorlevel% if in a batch file, or as my scripts are all powershell, $LASTEXITCODE as an example. With a conditional if it's not "0", I pass the specific trap back. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 29 12:57:55 2010 From: gtj at addicks.org (gtj at addicks.org) Date: Mon, 29 Mar 2010 11:57:55 +0100 Subject: Checking Windows Backup (ntbackup) In-Reply-To: References: <6f847c37f6f1e747b5e0588b56a7385e@mail.addicks.org> <3997489e0ba0a8500ec62e7b79a590f5@mail.addicks.org> Message-ID: <76073dd00c6da5da92c32df46f8994a6@mail.addicks.org> On Mon, 29 Mar 2010 10:47:32 +0000, "Joseph L. Casale" wrote: >>How are you checking the exit code? > > With the %errorlevel% if in a batch file, or as my scripts are > all powershell, $LASTEXITCODE as an example. > > With a conditional if it's not "0", I pass the specific trap back. Care to share your scripts? 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 jcasale at activenetwerx.com Mon Mar 29 13:12:01 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Mon, 29 Mar 2010 11:12:01 +0000 Subject: Checking Windows Backup (ntbackup) In-Reply-To: <76073dd00c6da5da92c32df46f8994a6@mail.addicks.org> References: <6f847c37f6f1e747b5e0588b56a7385e@mail.addicks.org> <3997489e0ba0a8500ec62e7b79a590f5@mail.addicks.org> <76073dd00c6da5da92c32df46f8994a6@mail.addicks.org> Message-ID: >Care to share your scripts? Most of the scripts are rather site specific, but here are some relevant parts (In this script, I let the passive check deduce the failure, others I send a CRITICAL update, just test for $LastExitCode -ne "0"): $NTBackupDest = 'C:\Temp\Remote_SystemState.bkf' $NTBackupList = 'C:\Scripts\Backup\rsyncd\SystemState.bks' $NTBackupParam = 'backup' + ' ' + '"@' + $NTBackupList + '"' + ' /n "DC - SystemState" /d "DC - SytemState" /v:yes /r:no /rs:no /hc:off /m normal /j "DC - SystemState" /l:f /f ' + '"' + $NTBackupDest + '"' $NagiosSrv = '10.0.0.21' $TrapGenDef = 'Daily Backup - System State' Write-Host "*** Informing Nagios a backup has begun ***" -foregroundcolor Yellow -backgroundcolor Black $TrapParam = '-d' + ' ' + $NagiosSrv + ':162' + ' ' + '-c public -g 5 -s 23 -v 1.3.6.1.4.1.1824.1.0.0.1 STRING' + ' ' + '"' + $TrapGenDef + '"' + ' ' + '-v 1.3.6.1.4.1.1824.1.0.0.2 STRING WARNING -v 1.3.6.1.4.1.1824.1.0.0.3 STRING' + ' ' + '"' + "Running Backup - $(Get-Date)" + '"' cmd /c "TrapGen.exe $TrapParam" cmd /c "ntbackup.exe $NTBackupParam" If ($LASTEXITCODE -ne "0") { Write-Host "NTBackup Failed, LastExitCode: $LastExitCode" -foregroundcolor Red -backgroundcolor Black; Exit $LASTEXITCODE } My trap parsing script is a super hacked up version of this script: http://www.frank4dd.com/howto/nagios/windows-reboot-monitoring-nagios.htm Hth, 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 jashokda at cisco.com Mon Mar 29 13:17:35 2010 From: jashokda at cisco.com (Jatin Davey) Date: Mon, 29 Mar 2010 16:47:35 +0530 Subject: check_snmp does not provide performance data ?? Message-ID: <4BB08C4F.7040400@cisco.com> Hi I use the HOST-RESOURCES-MIB to get the status of the system and its various parameters. There is one such MIB parameter that provides memory used by a specific process on a linux box. It is : "hrSWRunPerfMem" , When i execute this command using the check_snmp plugin it does not provide any performance data after the '|' symbol. The output is as below : [root at pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.xxxxx SNMP OK - 1652 KBytes | Is it a bug on the check_snmp plugin ? Please let me know if i am missing something. 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 misch at multinet.de Mon Mar 29 13:19:38 2010 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 29 Mar 2010 13:19:38 +0200 Subject: check_snmp does not provide performance data ?? In-Reply-To: <4BB08C4F.7040400@cisco.com> References: <4BB08C4F.7040400@cisco.com> Message-ID: <201003291319.38459.misch@multinet.de> Am Montag, 29. M?rz 2010 13:17:35 schrieb Jatin Davey: > Hi > > I use the HOST-RESOURCES-MIB to get the status of the system and its > various parameters. There is one such MIB parameter that provides memory > used by a specific process on a linux box. It is : "hrSWRunPerfMem" , > When i execute this command using the check_snmp plugin it does not > provide any performance data after the '|' symbol. > > The output is as below : > > [root at pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.xxxxx > SNMP OK - 1652 KBytes | > > Is it a bug on the check_snmp plugin ? > Please let me know if i am missing something. > > 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 Well, it does. Perhaps it is not quite compliant to the plugin writing guide. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Mon Mar 29 13:23:15 2010 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 29 Mar 2010 13:23:15 +0200 Subject: check_snmp does not provide performance data ?? In-Reply-To: <4BB08C4F.7040400@cisco.com> References: <4BB08C4F.7040400@cisco.com> Message-ID: <201003291323.15458.misch@multinet.de> Am Montag, 29. M?rz 2010 13:17:35 schrieb Jatin Davey: > Hi > > I use the HOST-RESOURCES-MIB to get the status of the system and its > various parameters. There is one such MIB parameter that provides memory > used by a specific process on a linux box. It is : "hrSWRunPerfMem" , > When i execute this command using the check_snmp plugin it does not > provide any performance data after the '|' symbol. > > The output is as below : > > [root at pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.xxxxx > SNMP OK - 1652 KBytes | > > Is it a bug on the check_snmp plugin ? > Please let me know if i am missing something. > > 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 I don't know which version you are using. My output is: ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2 SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 13:23:38 2010 From: hsjang at gmail.com (HyunSung Jang) Date: Mon, 29 Mar 2010 20:23:38 +0900 Subject: check_cluster configuration. Message-ID: hello folks, I'm trying to configure cluster configuration. we have 100 servers for www service and i don't wanna get notification from all of my www servers. so i decided to configure check_cluster, and it works very well. but my question is Nagios doc said that i have to configure it as "service" .. then what should be the "host_name" for service definition ? my server hostname start from www1 ~ www100 and at this time I just added one more service under www1 definition. but this doesn't look good. Can i make it like a "standalone" ? I mean, i don't want put cluster service under one of my www server. it looks like a service that belongs to just one host. any idea about this~? -------------- 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 Mon Mar 29 13:26:23 2010 From: jashokda at cisco.com (Jatin Davey) Date: Mon, 29 Mar 2010 16:56:23 +0530 Subject: check_snmp does not provide performance data ?? In-Reply-To: <201003291319.38459.misch@multinet.de> References: <4BB08C4F.7040400@cisco.com> Message-ID: <4BB08E5F.1060909@cisco.com> Then it should be a bug right ? Please let me know if i can file it. Thanks Jatin On 3/29/2010 4:49 PM, Michael Schwartzkopff wrote: > Am Montag, 29. M?rz 2010 13:17:35 schrieb Jatin Davey: > >> Hi >> >> I use the HOST-RESOURCES-MIB to get the status of the system and its >> various parameters. There is one such MIB parameter that provides memory >> used by a specific process on a linux box. It is : "hrSWRunPerfMem" , >> When i execute this command using the check_snmp plugin it does not >> provide any performance data after the '|' symbol. >> >> The output is as below : >> >> [root at pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.xxxxx >> SNMP OK - 1652 KBytes | >> >> Is it a bug on the check_snmp plugin ? >> Please let me know if i am missing something. >> >> 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 >> > Well, it does. Perhaps it is not quite compliant to the plugin writing guide. > > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Mon Mar 29 13:26:14 2010 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 29 Mar 2010 13:26:14 +0200 Subject: check_cluster configuration. In-Reply-To: References: Message-ID: <201003291326.14803.misch@multinet.de> Am Montag, 29. M?rz 2010 13:23:38 schrieb HyunSung Jang: > hello folks, > I'm trying to configure cluster configuration. > > we have 100 servers for www service and i don't wanna get notification from > all of my www servers. > so i decided to configure check_cluster, and it works very well. > > but my question is Nagios doc said that i have to configure it as "service" > .. > then what should be the "host_name" for service definition ? > > my server hostname start from www1 ~ www100 > and at this time I just added one more service under www1 definition. but > this doesn't look good. > Can i make it like a "standalone" ? > I mean, i don't want put cluster service under one of my www server. > it looks like a service that belongs to just one host. > > any idea about this~? Use the check_multi plugin. It makes your life much easier. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 13:32:41 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Mon, 29 Mar 2010 17:02:41 +0530 Subject: Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08D279AB@PNE-HJN-MBX02.wipro.com> Hi, Someone please provide the solution?. Thanks & Regards, Ravi G From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) Sent: Monday, March 29, 2010 10:58 AM To: Nagios Users List Cc: 'zarrelli at linux.it' Subject: RE: [Nagios-users] Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' Hi, Please see the output mentioned in the attachment. Request someone to please help me on this as I am not able to understand what is the error. Thanks a lot in advance. Thanks & Regards, Ravi G From: Giorgio Zarrelli [mailto:zarrelli at linux.it] Sent: Monday, March 29, 2010 10:37 AM To: Nagios Users List Cc: Subject: Re: [Nagios-users] Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' Try netstat -tap And let's see what's binding. Ciao, Giorgio Il giorno 29/mar/2010, alle ore 03.05, ha scritto: Hi, I have got the following output when I entered the command ps ax | grep httpd. Still I am getting as Page Cannot be displayed. Please suggest. [root at host ~]# ps ax | grep httpd 12563 ? Ss 0:03 /usr/sbin/httpd 14312 ? S 0:00 /usr/sbin/httpd 14316 ? S 0:00 /usr/sbin/httpd 14318 ? S 0:00 /usr/sbin/httpd 14321 ? S 0:00 /usr/sbin/httpd 14323 ? S 0:00 /usr/sbin/httpd 14326 ? S 0:00 /usr/sbin/httpd 14328 ? S 0:00 /usr/sbin/httpd 14330 ? S 0:00 /usr/sbin/httpd 24995 pts/0 S+ 0:00 grep httpd Thanks & Regards, Ravi G From: Michael Gargiullo [mailto:mgargiullo at pivotpointsecurity.com] Sent: Sunday, March 28, 2010 6:59 PM To: Nagios Users List Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'PageCannotbeDisplayed' For Fedora? try ps ax | grep httpd From: Giorgio Zarrelli [mailto:zarrelli at linux.it] Sent: Sunday, March 28, 2010 6:23 AM To: Nagios Users List Cc: Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page CannotbeDisplayed' Check wether the apache2 process is running or not ps ax | grep apache Ciao, Giorgio Il giorno 28/mar/2010, alle ore 01.20, ha scritto: Hi, When I type http://localhost ,I am getting as ? Page Cannot be Displayed? Any idea how to resolve this? Thanks & Regards, Ravi G From: Jorge Gil [mailto:georgyboy at gmail.com] Sent: Sunday, March 28, 2010 4:54 AM To: Nagios Users List Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page Cannotbe Displayed' Hi Ravi, just a quick check: when you type just localhost or http://localhost on the browser of your server, do you get anything? (i.e., is Apache up?) Jorge On 3/27/10, ravishankar.gundlapali at wipro.com wrote: Hi, I have successfully configured and installed Nagios, according to: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html. No problems at all throughout the process. My problem occurred 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. I tried accessing my http://serveripaddress/nagios, and no luck ? I am getting Page Cannot be Displayed error. Anyone know what I should do at this point? 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 perldork at webwizarddesign.com Mon Mar 29 13:33:25 2010 From: perldork at webwizarddesign.com (Max) Date: Mon, 29 Mar 2010 07:33:25 -0400 Subject: check_cluster configuration. In-Reply-To: References: Message-ID: On Mon, Mar 29, 2010 at 7:23 AM, HyunSung Jang wrote: > then what should be the "host_name" for service definition ? > my server hostname start from www1 ~ www100 > and at this time I just added one more service under www1 definition. but > this doesn't look good. > Can i make it like a "standalone" ? > I mean, i don't want put cluster service under one of my www server. > it looks like a service that belongs to just one host. > any idea about this~? One common pattern for this is to give the clustered host the name of the URL it represents, e.g. if the cluster represented the web service http://www.example.com I would use example.com as the name. If the cluster is behind a VIP, even better, you can then use the VIP IP as the 'virtual host' object IP. - Max ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 13:45:43 2010 From: jashokda at cisco.com (Jatin Davey) Date: Mon, 29 Mar 2010 17:15:43 +0530 Subject: check_snmp does not provide performance data ?? In-Reply-To: <201003291323.15458.misch@multinet.de> References: <4BB08C4F.7040400@cisco.com> Message-ID: <4BB092E7.1010706@cisco.com> Ok , here go the version of the plugin used taken from the help page of the plugin: [root at pc-fedora-1 libexec]# ./check_snmp --help check_snmp v1.4.14 (nagios-plugins 1.4.14) Copyright (c) 1999-2007 Nagios Plugin Development Team Check status of remote machines and obtain system information via SNMP Thanks Jatin On 3/29/2010 4:53 PM, Michael Schwartzkopff wrote: > Am Montag, 29. M?rz 2010 13:17:35 schrieb Jatin Davey: > >> Hi >> >> I use the HOST-RESOURCES-MIB to get the status of the system and its >> various parameters. There is one such MIB parameter that provides memory >> used by a specific process on a linux box. It is : "hrSWRunPerfMem" , >> When i execute this command using the check_snmp plugin it does not >> provide any performance data after the '|' symbol. >> >> The output is as below : >> >> [root at pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.xxxxx >> SNMP OK - 1652 KBytes | >> >> Is it a bug on the check_snmp plugin ? >> Please let me know if i am missing something. >> >> 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 >> > I don't know which version you are using. My output is: > ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2 > > SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 13:52:58 2010 From: hsjang at gmail.com (HyunSung Jang) Date: Mon, 29 Mar 2010 20:52:58 +0900 Subject: check_cluster configuration. In-Reply-To: References: Message-ID: what a nice solution it is!! why I didn't think about that.. we have VIP and represented domain name so this is very clear to me.. thank you~ On Mon, Mar 29, 2010 at 8:33 PM, Max wrote: > On Mon, Mar 29, 2010 at 7:23 AM, HyunSung Jang wrote: > > then what should be the "host_name" for service definition ? > > my server hostname start from www1 ~ www100 > > and at this time I just added one more service under www1 definition. but > > this doesn't look good. > > Can i make it like a "standalone" ? > > I mean, i don't want put cluster service under one of my www server. > > it looks like a service that belongs to just one host. > > any idea about this~? > > One common pattern for this is to give the clustered host the name of > the URL it represents, e.g. if the cluster represented the web service > http://www.example.com I would use example.com as the name. > > If the cluster is behind a VIP, even better, you can then use the VIP > IP as the 'virtual host' object IP. > > - Max > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Nigel.Heaney at bgfl.org Mon Mar 29 13:53:44 2010 From: Nigel.Heaney at bgfl.org (Nigel Heaney) Date: Mon, 29 Mar 2010 12:53:44 +0100 Subject: automated response Message-ID: <11003291253.AA11801@bgfl.org> I am on leave now until 1st April, If your query is urgent, then either contact another member of the team or link2ict who can assist. ************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster at bgfl.org The views expressed within this email are those of the individual, and not necessarily those of the 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 From raymond.setchfield at seewhy.com Mon Mar 29 14:17:50 2010 From: raymond.setchfield at seewhy.com (Raymond Setchfield) Date: Mon, 29 Mar 2010 13:17:50 +0100 Subject: Nagios Appender Message-ID: <20259.2861176983$1269865930@news.gmane.org> Hi folks Finally trying to get to the bottom of the nagios appender plugin which allows jboss connections using the nsca. After get through all the stress and strain of a lot of issues we are finally starting to see logs come through for nagios. However this is the information which I am receiving; Mar 29 07:16:09 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;NOT_SET;HelloWorldApplication;0;server: : remoteUser=null Mar 29 07:16:09 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'NOT_SET', but the host could not be found! Mar 29 07:16:09 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;NOT_SET;HelloWorldApplication;0;server: : header=accept=*/* Mar 29 07:16:09 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'NOT_SET', but the host could not be found! Mar 29 07:16:09 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;NOT_SET;HelloWorldApplication;0;server: : header=if-modified-since=Mon, 04 Aug 2008 23:02:56 GMT Mar 29 07:16:09 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'NOT_SET', but the host could not be found! Mar 29 07:16:09 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;NOT_SET;HelloWorldApplication;0;server: : header=host=ec2-79-125-38-135.eu-west-1.compute.amazonaws.com:8080 Mar 29 07:16:09 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'NOT_SET', but the host could not be found! Mar 29 07:16:09 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;NOT_SET;HelloWorldApplication;0;server: : pathInfo=null Mar 29 07:16:09 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'NOT_SET', but the host could not be found! Mar 29 07:16:09 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;NOT_SET;HelloWorldApplication;0;server: : queryString=null Mar 29 07:16:09 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'NOT_SET', but the host could not be found! Mar 29 07:18:36 centos-64bit xinetd[10931]: START: nsca pid=14735 from=10.228.239.15 Mar 29 07:18:36 centos-64bit nsca[14735]: Handling the connection... Mar 29 07:18:37 centos-64bit nsca[14735]: SERVICE CHECK -> Host Name: 'centos-64bit', Service Description: 'HelloWorldApplication', Return Code: '0', Output: 'server: centos-64bit: Application Errors Cleared ' Mar 29 07:18:37 centos-64bit nsca[14735]: End of connection... Mar 29 07:18:37 centos-64bit xinetd[10931]: EXIT: nsca status=0 pid=14735 duration=1(sec) Mar 29 07:18:37 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;centos-64bit;HelloWorldApplication;0;server: centos-64bit: Application Errors Cleared Mar 29 07:18:37 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'centos-64bit', but the host could not be found! Mar 29 07:22:08 centos-64bit syslog-ng[946]: STATS: dropped 0 Mar 29 07:31:49 centos-64bit nagios: Auto-save of retention data completed successfully. My question is the host not set issue. Is jboss complaining or nagios? Should I be looking at jboss or nagios for the miss-configuration issue? Many thanks Raymond -------------- 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 lists at xodus.org Mon Mar 29 14:46:14 2010 From: lists at xodus.org (Marc Powell) Date: Mon, 29 Mar 2010 07:46:14 -0500 Subject: Nagios Appender In-Reply-To: <020701cacf39$da3321b0$8e996510$@setchfield@seewhy.com> References: <020701cacf39$da3321b0$8e996510$@setchfield@seewhy.com> Message-ID: <984339ED-C5F9-484C-A4E9-1AD8EF0A123E@xodus.org> On Mar 29, 2010, at 7:17 AM, Raymond Setchfield wrote: > Mar 29 07:18:37 centos-64bit nsca[14735]: SERVICE CHECK -> Host Name: 'centos-64bit', Service Description: 'HelloWorldApplication', Return Code: '0', Output: 'server: centos-64bit: Application Errors Cleared ' > Mar 29 07:18:37 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;centos-64bit;HelloWorldApplication;0;server: centos-64bit: Application Errors Cleared > Mar 29 07:18:37 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'centos-64bit', but the host could not be found! > My question is the host not set issue. Is jboss complaining or nagios? Should I be looking at jboss or nagios for the miss-configuration issue? It's nagios complaining. For every passive result host/service combination you're going to be using, you must have a matching host and service definition within nagios. You need a host{} definition for host_name 'centos-64-bit' and a service{} definition for service_description 'HelloWorldApplicatin' for host_name 'centos-64bit' for this check result to be handled. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 15:01:50 2010 From: jashokda at cisco.com (Jatin Davey) Date: Mon, 29 Mar 2010 18:31:50 +0530 Subject: check_snmp does not provide performance data ?? In-Reply-To: <4BB092E7.1010706@cisco.com> References: <4BB08C4F.7040400@cisco.com> Message-ID: <4BB0A4BE.8080302@cisco.com> Well , when i use the complete OID path i get the performance data , Say instead of using hrSWRunPerfMem if use 1.3.6.1.2.1.25.5.1.1.2 Then it works fine and the performance data is collected for the specific process of interest. I dont know why it does not do so if the OID name is not resolved ? Anyone knows please let me know. Thanks Jatin On 3/29/2010 5:15 PM, Jatin Davey wrote: > Ok , here go the version of the plugin used taken from the help page of > the plugin: > > [root at pc-fedora-1 libexec]# ./check_snmp --help > check_snmp v1.4.14 (nagios-plugins 1.4.14) > Copyright (c) 1999-2007 Nagios Plugin Development Team > > > Check status of remote machines and obtain system information via SNMP > > Thanks > Jatin > > On 3/29/2010 4:53 PM, Michael Schwartzkopff wrote: > >> Am Montag, 29. M?rz 2010 13:17:35 schrieb Jatin Davey: >> >> >>> Hi >>> >>> I use the HOST-RESOURCES-MIB to get the status of the system and its >>> various parameters. There is one such MIB parameter that provides memory >>> used by a specific process on a linux box. It is : "hrSWRunPerfMem" , >>> When i execute this command using the check_snmp plugin it does not >>> provide any performance data after the '|' symbol. >>> >>> The output is as below : >>> >>> [root at pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.xxxxx >>> SNMP OK - 1652 KBytes | >>> >>> Is it a bug on the check_snmp plugin ? >>> Please let me know if i am missing something. >>> >>> 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 >>> >>> >> I don't know which version you are using. My output is: >> ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2 >> >> SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes >> >> >> > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 zarrelli at linux.it Mon Mar 29 15:02:36 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Mon, 29 Mar 2010 15:02:36 +0200 Subject: Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08D279AB@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com> <39C5D75C6A5D3440A833E1C014384BAA08D279AB@PNE-HJN-MBX02.wipro.com> Message-ID: <5FD67192-6DDE-4FB9-9692-E54832427ED0@linux.it> So, you have both http and https up and binding correctly. Can you please attach? you apache error log? Ciao, Giorgio Il giorno 29/mar/2010, alle ore 13.32, ha scritto: > Hi, > > > > Someone please provide the solution?. > > > > Thanks & Regards, > > Ravi G > > > > From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) > Sent: Monday, March 29, 2010 10:58 AM > To: Nagios Users List > Cc: 'zarrelli at linux.it' > Subject: RE: [Nagios-users] Unable to Open Nagios > WebConsole-'PageCannotbeDisplayed' > > > > Hi, > > > > Please see the output mentioned in the attachment. > > > > Request someone to please help me on this as I am not able to > understand what is the error. > > > > Thanks a lot in advance. > > > > Thanks & Regards, > > Ravi G > > From: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Sent: Monday, March 29, 2010 10:37 AM > To: Nagios Users List > Cc: > Subject: Re: [Nagios-users] Unable to Open Nagios > WebConsole-'PageCannotbeDisplayed' > > > > Try > > > > netstat -tap > > > > And let's see what's binding. > > Ciao, > > > > Giorgio > > > Il giorno 29/mar/2010, alle ore 03.05, > ha scritto: > > Hi, > > > > I have got the following output when I entered the command ps ax | > grep httpd. > > > > Still I am getting as Page Cannot be displayed. Please suggest. > > > > [root at host ~]# ps ax | grep httpd > > 12563 ? Ss 0:03 /usr/sbin/httpd > > 14312 ? S 0:00 /usr/sbin/httpd > > 14316 ? S 0:00 /usr/sbin/httpd > > 14318 ? S 0:00 /usr/sbin/httpd > > 14321 ? S 0:00 /usr/sbin/httpd > > 14323 ? S 0:00 /usr/sbin/httpd > > 14326 ? S 0:00 /usr/sbin/httpd > > 14328 ? S 0:00 /usr/sbin/httpd > > 14330 ? S 0:00 /usr/sbin/httpd > > 24995 pts/0 S+ 0:00 grep httpd > > > > Thanks & Regards, > > Ravi G > > > > From: Michael Gargiullo [mailto:mgargiullo at pivotpointsecurity.com] > Sent: Sunday, March 28, 2010 6:59 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Unable to Open Nagios Web > Console-'PageCannotbeDisplayed' > > > > For Fedora? try ps ax | grep httpd > > > > From: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Sent: Sunday, March 28, 2010 6:23 AM > To: Nagios Users List > Cc: > Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page > CannotbeDisplayed' > > > > Check wether the apache2 process is running or not > > > > ps ax | grep apache > > Ciao, > > > > Giorgio > > > Il giorno 28/mar/2010, alle ore 01.20, > ha scritto: > > Hi, > > > > When I type http://localhost ,I am getting as ? Page Cannot be Displ > ayed? > > > > Any idea how to resolve this? > > > > > > Thanks & Regards, > > Ravi G > > > > From: Jorge Gil [mailto:georgyboy at gmail.com] > Sent: Sunday, March 28, 2010 4:54 AM > To: Nagios Users List > Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page > Cannotbe Displayed' > > > > Hi Ravi, > > just a quick check: when you type just localhost or http://localhost > on the browser of your server, do you get anything? (i.e., is Apache > up?) > > Jorge > > On 3/27/10, ravishankar.gundlapali at wipro.com > wrote: > > Hi, > > I have successfully configured and installed Nagios, according to: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html > . No problems at all throughout the process. > > My problem occurred 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. I tried accessing my http://serveripaddress/nagios > , and no luck ? > > > > I am getting Page Cannot be Displayed error. > > > Anyone know what I should do at this point? 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 > > 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. > > WARNING: Computer viruses can be transmitted via email. The > recipient should check this email and any attachments for the > presence of viruses. The company accepts no liability for any damage > caused by any virus transmitted by this email. > > www.wipro.com -------------- 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 Mon Mar 29 15:06:03 2010 From: nagios at smetj.net (Jelle Smet) Date: Mon, 29 Mar 2010 15:06:03 +0200 Subject: =?utf-8?q?Recommended_nice_level_for_NRPE=3F?= Message-ID: Hi list, I have a bunch of processing hosts, which consume all their cpu resources when working. This is normal, by design. As a result I often get timeouts for certain checks. I have set my global nrpe timeout on 30 seconds, which is already quite high. Do you have any experience with setting/resetting the nicelevel for the nrpe daemon? Is there a recommended setting? 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 misch at multinet.de Mon Mar 29 15:08:03 2010 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 29 Mar 2010 15:08:03 +0200 Subject: check_snmp does not provide performance data ?? In-Reply-To: <4BB0A4BE.8080302@cisco.com> References: <4BB08C4F.7040400@cisco.com> <4BB0A4BE.8080302@cisco.com> Message-ID: <201003291508.04324.misch@multinet.de> Am Montag, 29. M?rz 2010 15:01:50 schrieb Jatin Davey: > Well , when i use the complete OID path i get the performance data , Say > instead of using > > hrSWRunPerfMem if use 1.3.6.1.2.1.25.5.1.1.2 > > Then it works fine and the performance data is collected for the specific > process of interest. > > I dont know why it does not do so if the OID name is not resolved ? > Anyone knows please let me know. > > Thanks > Jatin > > On 3/29/2010 5:15 PM, Jatin Davey wrote: > > Ok , here go the version of the plugin used taken from the help page of > > the plugin: > > > > [root at pc-fedora-1 libexec]# ./check_snmp --help > > check_snmp v1.4.14 (nagios-plugins 1.4.14) > > Copyright (c) 1999-2007 Nagios Plugin Development Team > > > > > > Check status of remote machines and obtain system information via SNMP > > > > Thanks > > Jatin > > > > On 3/29/2010 4:53 PM, Michael Schwartzkopff wrote: > >> Am Montag, 29. M?rz 2010 13:17:35 schrieb Jatin Davey: > >>> Hi > >>> > >>> I use the HOST-RESOURCES-MIB to get the status of the system and its > >>> various parameters. There is one such MIB parameter that provides > >>> memory used by a specific process on a linux box. It is : > >>> "hrSWRunPerfMem" , When i execute this command using the check_snmp > >>> plugin it does not provide any performance data after the '|' symbol. > >>> > >>> The output is as below : > >>> > >>> [root at pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o > >>> hrSWRunPerfMem.xxxxx SNMP OK - 1652 KBytes | > >>> > >>> Is it a bug on the check_snmp plugin ? > >>> Please let me know if i am missing something. > >>> > >>> 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 > >> > >> I don't know which version you are using. My output is: > >> ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2 > >> > >> SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes > > > > ------------------------------------------------------------------------- > >----- Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 Perhaps your snmp command does not read in that MIB. try the "-m ALL" option. Greetings, -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 isprime.org Mon Mar 29 15:17:20 2010 From: nagios at isprime.org (Kyle O'Donnell) Date: Mon, 29 Mar 2010 09:17:20 -0400 Subject: =?utf-8?q?Recommended_nice_level_for_NRPE=3F?= In-Reply-To: References: Message-ID: <9dfef09fb44aa0f953d6662e38ac45e3@localhost> We rolled out nrpe with a `nice` of '+5', but noticed that we would have a number of service check timeouts. We have increased the service check timeout to 45 and even 60 seconds on our older systems. We expect to remove the `nice` though. Monitoring is too important :) On Mon, 29 Mar 2010 15:06:03 +0200, Jelle Smet wrote: > Hi list, > > I have a bunch of processing hosts, which consume all their > cpu resources when working. This is normal, by design. > > As a result I > often get timeouts for certain checks. I have set my global nrpe timeout on > 30 seconds, which is already quite high. > Do you have any experience with > setting/resetting the nicelevel for the nrpe daemon? > Is there a recommended > setting? > > 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 Alen.Grizonic at comparex.si Mon Mar 29 16:19:12 2010 From: Alen.Grizonic at comparex.si (Grizonic Alen) Date: Mon, 29 Mar 2010 16:19:12 +0200 Subject: Nagios NRPE: Unable to read output In-Reply-To: <28D49132D5CF31498C9C381879963AD74A1712@exch-mon-msg01.uk.experian.local> References: <49BA6272FE20D8478E384FEDA647D8C35F45AFF587@cpxsrv03.intern.comparex.at> <28D49132D5CF31498C9C381879963AD74A167E@exch-mon-msg01.uk.experian.local> <49BA6272FE20D8478E384FEDA647D8C3673F0E88DF@cpxsrv03.intern.comparex.at> <28D49132D5CF31498C9C381879963AD74A1712@exch-mon-msg01.uk.experian.local> Message-ID: <49BA6272FE20D8478E384FEDA647D8C3673F0E8A38@cpxsrv03.intern.comparex.at> Hmmm ... the problem still persists. I have edited everything like you said, but ... I still get CHECK_NRPE: Socket timeout in x seconds ... Two days ago I also added the line nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/libexec (with visudo) ... but nothing to do. If I write the command without the sudo prefix ... I (again) get NRPE: Unable to read output Now really don't know what to do ... Anyway ... thanks for you help! I hope you have any other idea or someone else to help me :-/ Best regards, Alen From: Marquez, Quentin [mailto:Quentin.Marquez at experian.com] Sent: Monday, March 29, 2010 12:11 PM To: Grizonic Alen Cc: Nagios Users List Subject: RE: [Nagios-users] Nagios NRPE: Unable to read output Hi Alen, Hi list, Your issue is related to the knowledge about configuring and using sudo commands, not with Nagios. Although, this knowledge is required for every Nagios plugins containing commands that need root permissions to be allowed to get executed. I know the ?check_mem.pl? plugin requires the same kind of configuration. Setting up a sudo command means editing a user alias, a command alias, and then allow your user alias to run your command alias with some other user permission, ie the root user. The file you want to edit is /etc/sudoers, edit it with your vi editor by typing as root : visudo (should be located in /usr/sbin/ ) On AIX, you need the ?rpm.rte? AIX package, and the sudo rpm coming from your ?AIX toolbox for Linux Applications? CD or ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/ Edit this file as follow : Be carefull about the syntax, it has to be strictly respected : Add a user alias such as : User_Alias SU_TO_NAGIOS_PLUGINS_USER = nagios Make sure you are using a tabulation between User_Alias and the alias name, also make sure the U and A of User_Alias are uppercase. Add a command alias such as : Cmnd_Alias SU_TO_NAGIOS_PLUGINS = /usr/local/nagios/current/libexec/tsmonitor db (seems your path uses nagios instead of ?nagios-plugins?) Again, make sure you are using a tabulation between Cmnd_Alias and the alias name, and that the C and A of Cmnd_Alias are uppercase. Then add the authorization such as : SU_TO_NAGIOS_PLUGINS_USER ALL = NOPASSWD: SU_TO_NAGIOS_PLUGINS This line will let the command ?/usr/local/nagios/current/libexec/tsmonitor db ? run with root permissions. Save and exit, AIX will let you know if you have a syntax issue in your /etc/sudoers file, if this is the case, edit the file again to fix it. Now you can check user Nagios gained this permission by entering : su ? nagios ?c sudo ?l - sudo ?l (Lower L option to list your configured sudo commands) - su ? nagios ?c (to run the following command using nagios identity) you should see something like : User nagios may run the following commands on this host: (root) NOPASSWD: /usr/local/nagios/current/libexec/tsmonitor db Which means user nagios may run : sudo /usr/local/nagios/current/libexec/tsmonitor db Now you have to use this sudo command in your nrpe.cfg such as : command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db Hope this helps!! Cheers, Quentin Marquez Unix / linux admin Global Technology Services Experian - Monaco Tel : (377) 97 98 54 27 From: Grizonic Alen [mailto:Alen.Grizonic at comparex.si] Sent: 29 March 2010 09:48 To: Marquez, Quentin Subject: RE: [Nagios-users] Nagios NRPE: Unable to read output Thank you very much! I changed the command in my nrpe.cfg file, but now looks like there is something else blocking the response. Even with a log timeout I get ... CHECK_NRPE: Socket timeout after XY seconds. I would think of a firewall blocking, but the other commands work and run very fast ... and apparently there is no firewall on that AIX machine. p.s. Maybe I missed something out ... what did you mean with ?you would need to setup a sudo command?? Just change the command to ... command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db ... or something else? If you have any idea I wuold be more than thankful! But really ? Best regards, Alen From: Marquez, Quentin [mailto:Quentin.Marquez at experian.com] Sent: Friday, March 26, 2010 3:57 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios NRPE: Unable to read output Hi Alen, I don?t know much about this plugin, but it looks like your command requires root permission. Thus you would need to setup a sudo command to run /usr/local/nagios/libexec/tsmonitor db Then use your new sudo command in your nrpe.cfg : command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db Cheers, Quentin From: Grizonic Alen [mailto:Alen.Grizonic at comparex.si] Sent: 26 March 2010 15:17 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios NRPE: Unable to read output Hello! I know that this post is nothing new, but I still didn't find any solution for it. I am working on a AIX 5.3 machine with NRPE running under inetd. On the local AIX machine the command for TSM works fine ... # ./tsmonitor db db - database utilization 0%, OK But when I start if from the Nagios server ... # ./check_nrpe -n -t 60 -H 172.21.100.121 -c tsmonitor_db NRPE: Unable to read output or from the AIX machine with the NRPE I get ... # ./check_nrpe -n -t 60 -H localhost -c tsmonitor_db NRPE: Unable to read output The nrpe.cfg file is properly configured with the commands command[tsmonitor_db]=/usr/local/nagios/libexec/tsmonitor db command[check_disk/]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p / Where check_disk/ works fine, but tsmonitor_db NOT! Any suggestions? Best regards, Alen 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 nagios at smetj.net Mon Mar 29 17:31:34 2010 From: nagios at smetj.net (Jelle Smet) Date: Mon, 29 Mar 2010 15:31:34 +0000 (UTC) Subject: =?utf-8?q?Drop_in_replacement_for_check=5Fping_wit?= =?utf-8?q?hout_performance_output_when_device_down?= References: <4BACB65A.2060401@op5.se> Message-ID: > > Use check_icmp instead. It does something like that, iirc. > Just for clarification, check_icmp of nagios-plugins 1.4.13 suits my needs (it has exactly the same performance output layout) check_icmp of nagios-plugins 1.4.14 does not as it has the 2 extra performance data entries which breaks pnp4nagios not updating the graphs anymore. I must add that pnp4nagios has a way to migrate & split multipe rrd's over the different performance data entries, but I'm not going to take that road. Cheers, Jelle Smet. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Tue Mar 30 00:49:50 2010 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 29 Mar 2010 18:49:50 -0400 Subject: Checking Windows Backup (ntbackup) In-Reply-To: References: <6f847c37f6f1e747b5e0588b56a7385e@mail.addicks.org> <3997489e0ba0a8500ec62e7b79a590f5@mail.addicks.org> <76073dd00c6da5da92c32df46f8994a6@mail.addicks.org> Message-ID: HI List, Other option for monitoring backups: 1) if the backup lists in a director use a FIleAge check 2) if the backup lists to Event Logs, do an eventlog Check 3) custom scripts as specified before. There are several ways to do Fileage and Eventlogs, NC_Net and NSCLient++ should be able to provide both of these Tony Author of NC_Net On Mon, Mar 29, 2010 at 7:12 AM, Joseph L. Casale wrote: > >Care to share your scripts? > > Most of the scripts are rather site specific, but here > are some relevant parts (In this script, I let the passive > check deduce the failure, others I send a CRITICAL update, > just test for $LastExitCode -ne "0"): > > > $NTBackupDest = 'C:\Temp\Remote_SystemState.bkf' > $NTBackupList = 'C:\Scripts\Backup\rsyncd\SystemState.bks' > $NTBackupParam = 'backup' + ' ' + '"@' + $NTBackupList + '"' + > ' /n "DC - SystemState" /d "DC - SytemState" /v:yes /r:no > /rs:no /hc:off /m normal /j "DC - SystemState" /l:f /f ' + > '"' + $NTBackupDest + '"' > > $NagiosSrv = '10.0.0.21' > $TrapGenDef = 'Daily Backup - System State' > > Write-Host "*** Informing Nagios a backup has begun ***" -foregroundcolor > Yellow -backgroundcolor Black > $TrapParam = '-d' + ' ' + $NagiosSrv + ':162' + ' ' + '-c public -g 5 -s 23 > -v 1.3.6.1.4.1.1824.1.0.0.1 STRING' + ' ' + > '"' + $TrapGenDef + '"' + ' ' + '-v 1.3.6.1.4.1.1824.1.0.0.2 > STRING WARNING -v 1.3.6.1.4.1.1824.1.0.0.3 STRING' + > ' ' + '"' + "Running Backup - $(Get-Date)" + '"' > cmd /c "TrapGen.exe $TrapParam" > > cmd /c "ntbackup.exe $NTBackupParam" > If ($LASTEXITCODE -ne "0") { Write-Host "NTBackup Failed, LastExitCode: > $LastExitCode" -foregroundcolor Red -backgroundcolor Black; Exit > $LASTEXITCODE } > > > My trap parsing script is a super hacked up version of this script: > http://www.frank4dd.com/howto/nagios/windows-reboot-monitoring-nagios.htm > > > Hth, > 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 > -------------- 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 30 02:28:24 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Mon, 29 Mar 2010 17:28:24 -0700 Subject: Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com> <605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com> <39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com> <39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com> Message-ID: <20100330002824.GH4621@bakgwai.americas.hpqcorp.net> On Mon, 29 Mar 2010, ravishankar.gundlapali at wipro.com wrote: > Hi, > > Please see the output mentioned in the attachment. > > Request someone to please help me on this as I am not able to understand what is the error. > Thanks & Regards, To quickly summarize: You mentioned you are entering http://localhost and getting a "Page Cannot Be Displayed" error. This may be a dumb question, byt where are you entering "http://localhost"? I would assume it's a web browser, but is it a web browser being run from the same machine you've installed Apache on? Also, it would help to know *specifically* what the error is. Is it a timeout? A DNS lookup error? Something else? there should be more details, and it would help if you could pass those on. Off the top of my head, given that you have Apache running and bound to port 80, the following seem the most likely: Either a) Your browser and your webserver are on two different machines, so using "http://localhost" is not going to work, since it points to the machine your browser is on, b) "localhost" is somehow not defined on the machine you're using, or c) your Apache configuration is incorrect. Let me throw in a little tip on asking questions on mailing lists while I'm here. Details are good. Knowing what your Apache configuration looks like, what's showing up in the logs, *exactly* what you're doing to test and what the *complete* results are of those tests, and any other information you have that we don't would really help someone else troubleshoot your issue. You've given us very little, and as a result what you now have is a bunch of people throwing out wild guesses since we've got no real data from you to work with. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Mar 30 03:03:16 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Tue, 30 Mar 2010 06:33:16 +0530 Subject: Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' In-Reply-To: <20100330002824.GH4621@bakgwai.americas.hpqcorp.net> References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com> <20100330002824.GH4621@bakgwai.americas.hpqcorp.net> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08D27DCE@PNE-HJN-MBX02.wipro.com> > Hi, > > Please see the output mentioned in the attachment. > > Request someone to please help me on this as I am not able to understand what is the error. > Thanks & Regards, To quickly summarize: You mentioned you are entering http://localhost and getting a "Page Cannot Be Displayed" error. This may be a dumb question, byt where are you entering "http://localhost"? I would assume it's a web browser, but is it a web browser being run from the same machine you've installed Apache on? Yes I am running the web browser from the same machine where I have installed Apche. Also, it would help to know *specifically* what the error is. Is it a timeout? A DNS lookup error? Something else? there should be more details, and it would help if you could pass those on. I am getting as Page Cannot be displayed. Off the top of my head, given that you have Apache running and bound to port 80, the following seem the most likely: Either a) Your browser and your webserver are on two different machines, so using "http://localhost" is not going to work, since it points to the machine your browser is on, b) "localhost" is somehow not defined on the machine you're using, or c) your Apache configuration is incorrect. Let me throw in a little tip on asking questions on mailing lists while I'm here. Details are good. Knowing what your Apache configuration looks like, what's showing up in the logs, *exactly* what you're doing to test and what the *complete* results are of those tests, and any other information you have that we don't would really help someone else troubleshoot your issue. You've given us very little, and as a result what you now have is a bunch of people throwing out wild guesses since we've got no real data from you to work with. ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Tue Mar 30 09:03:27 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 30 Mar 2010 12:33:27 +0530 Subject: Bandwidth Usage on a linux Box Message-ID: <4BB1A23F.5090203@cisco.com> Hi I want to monitor the bandwidth usage on my linux box using nagios. I checked the already existing plugins that i downloaded. I found that the plugin named as : "check_mrtgtraf" can be used to achieve this functionality. When i read through its help page i sensed that it reads these values from a file on the target machine which i want to monitor. I have no prior experience working with MRTG. Can some one throw some more light on how this plugin is used ? What is the log file that it reads that data from the target machine being monitored ? What do i need to do as a pre-requisite to use this plugin on the target machine ? Is there any other way like say via SNMP that i can achieve the similar functonality ? 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 paul.vaes at gmail.com Tue Mar 30 09:13:54 2010 From: paul.vaes at gmail.com (Paul Vaes) Date: Tue, 30 Mar 2010 09:13:54 +0200 Subject: Nagios 3.2.1 - browser refresh Message-ID: Hello, I have just upgraded a test Nagios environment from 3.0.5 to 3.2.1 and when I hit thr "refresh button" in the browser I always go back to the Home page instead of refreshing the current page I am on. Is this because of the change to PHP for the ( index, main and side ) HTML pages? What can I do to get back the behaviour we were used to? -- Groetjes, Paul -------------- 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 zarrelli at linux.it Tue Mar 30 09:24:04 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 30 Mar 2010 09:24:04 +0200 Subject: Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08D27DCE@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com> <20100330002824.GH4621@bakgwai.americas.hpqcorp.net> <39C5D75C6A5D3440A833E1C014384BAA08D27DCE@PNE-HJN-MBX02.wipro.com> Message-ID: <21B11D87-C2E3-42E7-B242-E597C08AC2F7@linux.it> Error log is the key Ciao, Giorgio Il giorno 30/mar/2010, alle ore 03.03, ha scritto: >> Hi, >> >> Please see the output mentioned in the attachment. >> >> Request someone to please help me on this as I am not able to > understand what is the error. >> Thanks & Regards, > > To quickly summarize: You mentioned you are entering http://localhost > and getting a "Page Cannot Be Displayed" error. > > This may be a dumb question, byt where are you entering > "http://localhost"? I would assume it's a web browser, but is it a > web > browser being run from the same machine you've installed Apache on? > > Yes I am running the web browser from the same machine where I have > installed Apche. > > Also, it would help to know *specifically* what the error is. Is it a > timeout? A DNS lookup error? Something else? there should be more > details, and it would help if you could pass those on. > > I am getting as Page Cannot be displayed. > > Off the top of my head, given that you have Apache running and bound > to > port 80, the following seem the most likely: > > Either a) Your browser and your webserver are on two different > machines, > so using "http://localhost" is not going to work, since it points to > the > machine your browser is on, > > b) "localhost" is somehow not defined on the machine you're using, or > > c) your Apache configuration is incorrect. > > Let me throw in a little tip on asking questions on mailing lists > while > I'm here. Details are good. Knowing what your Apache configuration > looks like, what's showing up in the logs, *exactly* what you're doing > to test and what the *complete* results are of those tests, and any > other information you have that we don't would really help someone > else > troubleshoot your issue. > > You've given us very little, and as a result what you now have is a > bunch of people throwing out wild guesses since we've got no real data > from you to work with. > > --- > --------------------------------------------------------------------- > ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 michal.lackovic at cz.schneider-electric.com Tue Mar 30 09:52:50 2010 From: michal.lackovic at cz.schneider-electric.com (michal.lackovic at cz.schneider-electric.com) Date: Tue, 30 Mar 2010 09:52:50 +0200 Subject: Pending hosts check Message-ID: Hello, I know this topic have been discussed many times but maybe my problem is slightly different :) All my hosts are in pending state. So no host checks are initiated until I start them manually. I can see the check scheduled but when it comes to this all check are again rescheduled. All my hosts have 15 services associated. some of them are in critical state. Even though no host check are being performed. Any idea? Michal -------------- 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 michal.lackovic at cz.schneider-electric.com Tue Mar 30 10:21:28 2010 From: michal.lackovic at cz.schneider-electric.com (michal.lackovic at cz.schneider-electric.com) Date: Tue, 30 Mar 2010 10:21:28 +0200 Subject: Pending hosts check - fixed In-Reply-To: References: Message-ID: hm, I set up parent to each hosts and it started to work... Michal Michal Lackovic/CZ/Schneider at Europe 03/30/2010 09:52 AM Please respond to Nagios Users List To Nagios Users List cc Subject [Nagios-users] Pending hosts check Hello, I know this topic have been discussed many times but maybe my problem is slightly different :) All my hosts are in pending state. So no host checks are initiated until I start them manually. I can see the check scheduled but when it comes to this all check are again rescheduled. All my hosts have 15 services associated. some of them are in critical state. Even though no host check are being performed. Any idea? Michal ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. ______________________________________________________________________ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Sascha.Runschke at gfkl.com Tue Mar 30 10:28:48 2010 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Tue, 30 Mar 2010 10:28:48 +0200 Subject: Antwort: Bandwidth Usage on a linux Box In-Reply-To: <4BB1A23F.5090203@cisco.com> References: <4BB1A23F.5090203@cisco.com> Message-ID: > I want to monitor the bandwidth usage on my linux box using nagios. I > checked the already existing plugins that i downloaded. I found that the > plugin named as : "check_mrtgtraf" can be used to achieve this > functionality. When i read through its help page i sensed that it reads > these values from a file on the target machine which i want to monitor. > I have no prior experience working with MRTG. > > Can some one throw some more light on how this plugin is used ? > > What is the log file that it reads that data from the target machine > being monitored ? > > What do i need to do as a pre-requisite to use this plugin on the target > machine ? > > Is there any other way like say via SNMP that i can achieve the similar > functonality ? check_snmp_int is what you are looking for. Take a look at the extensive parameterlist and you can check for most anything you could think of. It's on manubulons website, I don't have it handy - $SEARCHENGINE is your friend. Regards Sascha GFKL Financial Services AG Vorstand: J?rgen Baltes, Peter Blaschkowski Vorsitzender des Aufsichtsrats: Wilhelm Plumpe Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- 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 30 12:47:12 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 30 Mar 2010 16:17:12 +0530 Subject: Antwort: Bandwidth Usage on a linux Box In-Reply-To: References: <4BB1A23F.5090203@cisco.com> Message-ID: <4BB1D6B0.6020409@cisco.com> Hi I downloaded the plugin onto my nagios server , I executed a sample command but i have some questions on it: The output goes like this: [root at pc-fedora-1 libexec]# ./check_snmp_int.pl -H x.x.x.x -C xxx -n eth0 -r -fY -k -w 100,100 -c 200,200 -d 40 eth0:UP (12.2KBps/20.6KBps):1 UP: OK | 'eth0_in_Bps'=12506;102400;204800;0;1250000 'eth0_out_Bps'=21068;102400;204800;0;1250000 As you can see the output has the following: eth0_in_Bps=12506;102400;204800;0;1250000 Could you explain what they indicate , i know of only "in Bytes per second" , what are the other 4 values ? Is it something like "in Discards" , "in Errors" Etc. Can someone throw more light on this. Thanks Jatin On 3/30/2010 1:58 PM, Sascha.Runschke at gfkl.com wrote: > > I want to monitor the bandwidth usage on my linux box using nagios. I > > checked the already existing plugins that i downloaded. I found that > the > > plugin named as : "check_mrtgtraf" can be used to achieve this > > functionality. When i read through its help page i sensed that it reads > > these values from a file on the target machine which i want to monitor. > > I have no prior experience working with MRTG. > > > > Can some one throw some more light on how this plugin is used ? > > > > What is the log file that it reads that data from the target machine > > being monitored ? > > > > What do i need to do as a pre-requisite to use this plugin on the > target > > machine ? > > > > Is there any other way like say via SNMP that i can achieve the similar > > functonality ? > > check_snmp_int is what you are looking for. > Take a look at the extensive parameterlist and you can check for most > anything you could think of. > > It's on manubulons website, I don't have it handy - $SEARCHENGINE > is your friend. > > Regards > Sascha > > > GFKL Financial Services AG > Vorstand: J?rgen Baltes, Peter Blaschkowski > Vorsitzender des Aufsichtsrats: Wilhelm Plumpe > Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 30 13:28:17 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 30 Mar 2010 16:58:17 +0530 Subject: Performance Data given by check_snmp_int not shown in PNP4Graphs Message-ID: <4BB1E051.2070209@cisco.com> Hi I used the plugin check_snmp_int from the following site: http://nagios.manubulon.com/snmp_int.html The following command was executed on the nagios server: [root at pc-fedora-1 libexec]# ./check_snmp_int -H x.x.x.x -C xxxx -n eth0 -r -fY -k -w 1000,1000 -c 1100,1100 -d 40 eth0:UP (7.5KBps/13.0KBps):1 UP: OK | 'eth0_in_Bps'=7637;1024000;1126400;0;1250000 'eth0_out_Bps'=13293;1024000;1126400;0;1250000 The Performance data as returned by this command is not supported by pnp4 to plot graphs. Is there any other way in which i can achieve the same. 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 jashokda at cisco.com Tue Mar 30 13:36:59 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 30 Mar 2010 17:06:59 +0530 Subject: Performance Data given by check_snmp_int not shown in PNP4Graphs In-Reply-To: <4BB1E051.2070209@cisco.com> References: <4BB1E051.2070209@cisco.com> Message-ID: <4BB1E25B.4090407@cisco.com> I am getting the following error: application/models/data.php *[217]: The XML file not found. Thanks Jatin* On 3/30/2010 4:58 PM, Jatin Davey wrote: > Hi > > I used the plugin check_snmp_int from the following site: > > http://nagios.manubulon.com/snmp_int.html > > The following command was executed on the nagios server: > > [root at pc-fedora-1 libexec]# ./check_snmp_int -H x.x.x.x -C xxxx -n eth0 > -r -fY -k -w 1000,1000 -c 1100,1100 -d 40 > eth0:UP (7.5KBps/13.0KBps):1 UP: OK | > 'eth0_in_Bps'=7637;1024000;1126400;0;1250000 > 'eth0_out_Bps'=13293;1024000;1126400;0;1250000 > > The Performance data as returned by this command is not supported by > pnp4 to plot graphs. > > Is there any other way in which i can achieve the same. > > 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 > > -------------- 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 Sascha.Runschke at gfkl.com Tue Mar 30 13:57:52 2010 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Tue, 30 Mar 2010 13:57:52 +0200 Subject: Antwort: Re: Antwort: Bandwidth Usage on a linux Box In-Reply-To: <4BB1D6B0.6020409@cisco.com> References: <4BB1D6B0.6020409@cisco.com> Message-ID: > [root at pc-fedora-1 libexec]# ./check_snmp_int.pl -H x.x.x.x -C xxx > -n eth0 -r -fY -k -w 100,100 -c 200,200 -d 40 > eth0:UP (12.2KBps/20.6KBps):1 UP: OK | 'eth0_in_Bps'=12506;102400; > 204800;0;1250000 'eth0_out_Bps'=21068;102400;204800;0;1250000 > > As you can see the output has the following: eth0_in_Bps=12506; > 102400;204800;0;1250000 > > Could you explain what they indicate , i know of only "in Bytes per > second" , what are the other 4 values ? > Is it something like "in Discards" , "in Errors" Etc. No, you have to activate the check for discards manually via a parameter. The four values in question are: Warning, Critical, Minimum, Maximum Warning and Critical have been set by yourself via -w and -c. Minimum and Maximum contain the theoretical values that the interface can give by range [minimum - maximum]. Those values are supplied by the snmpd if mib. They can be overriden in the remote snmpd.conf if desired. Regards Sascha GFKL Financial Services AG Vorstand: J?rgen Baltes, Peter Blaschkowski Vorsitzender des Aufsichtsrats: Wilhelm Plumpe Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- 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 Tue Mar 30 13:59:04 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 30 Mar 2010 12:59:04 +0100 Subject: Performance Data given by check_snmp_int not shown in PNP4Graphs In-Reply-To: <4BB1E051.2070209@cisco.com> References: <4BB1E051.2070209@cisco.com> Message-ID: <765d77c81003300459t65a1048aj1111c5781fae6c63@mail.gmail.com> On 30 March 2010 12:28, Jatin Davey wrote: > Hi > > I used the plugin check_snmp_int from the following site: > > http://nagios.manubulon.com/snmp_int.html > > The following command was executed on the nagios server: > > [root at pc-fedora-1 libexec]# ./check_snmp_int ?-H x.x.x.x -C xxxx -n eth0 > -r -fY -k -w 1000,1000 -c 1100,1100 -d 40 > eth0:UP (7.5KBps/13.0KBps):1 UP: OK | > 'eth0_in_Bps'=7637;1024000;1126400;0;1250000 > 'eth0_out_Bps'=13293;1024000;1126400;0;1250000 > > The Performance data as returned by this command is not supported by > pnp4 to plot graphs. That performance data looks fine to me. What makes you think it is not supported by pnp4? If it's any help, the options I normally use when monitoring interfaces are: -H x.x.x.x -C xxxx -n "Nortel Ethernet Routing Switch 5510-48T Module - Unit 2 Port 2 " -fY -kqB -g -w 600000,600000,100,100,100000,10 -c 800000,800000,200,200,200000,20 -d 300 And the performance data returned is like this: 'Nortel Ethernet Routing Switch 5510-48T Module - Unit 2 Port 2 _in_bps'=1870970;600000000;800000000;0;1000000000 'Nortel Ethernet Routing Switch 5510-48T Module - Unit 2 Port 2 _out_bps'=238;600000000;800000000;0;1000000000 which looks pretty similar to yours. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 xodus.org Tue Mar 30 13:57:16 2010 From: lists at xodus.org (Marc Powell) Date: Tue, 30 Mar 2010 06:57:16 -0500 Subject: Nagios 3.2.1 - browser refresh In-Reply-To: References: Message-ID: <10E728E6-661D-46D8-91A5-E12B2A63C68B@xodus.org> On Mar 30, 2010, at 2:13 AM, Paul Vaes wrote: > Hello, > > I have just upgraded a test Nagios environment from 3.0.5 to 3.2.1 and when I hit thr "refresh button" in the browser I always go back to the Home page instead of refreshing the current page I am on. > Is this because of the change to PHP for the ( index, main and side ) HTML pages? What can I do to get back the behaviour we were used to? See this recent thread for a couple of suggestions -- http://thread.gmane.org/gmane.network.nagios.user/66432/focus=66435 -- 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 Sascha.Runschke at gfkl.com Tue Mar 30 13:59:01 2010 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Tue, 30 Mar 2010 13:59:01 +0200 Subject: Antwort: Performance Data given by check_snmp_int not shown in PNP4Graphs In-Reply-To: <4BB1E051.2070209@cisco.com> References: <4BB1E051.2070209@cisco.com> Message-ID: > The following command was executed on the nagios server: > > [root at pc-fedora-1 libexec]# ./check_snmp_int -H x.x.x.x -C xxxx -n eth0 > -r -fY -k -w 1000,1000 -c 1100,1100 -d 40 > eth0:UP (7.5KBps/13.0KBps):1 UP: OK | > 'eth0_in_Bps'=7637;1024000;1126400;0;1250000 > 'eth0_out_Bps'=13293;1024000;1126400;0;1250000 > > The Performance data as returned by this command is not supported by > pnp4 to plot graphs. It is, since I make excessive use of it. And it supports it out of the box - I think even with a default template for that check I think. So something with your PNP installation must be bogus. Regards Sascha GFKL Financial Services AG Vorstand: J?rgen Baltes, Peter Blaschkowski Vorsitzender des Aufsichtsrats: Wilhelm Plumpe Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- 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 zarrelli at linux.it Tue Mar 30 13:58:44 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 30 Mar 2010 13:58:44 +0200 Subject: Performance Data given by check_snmp_int not shown in PNP4Graphs In-Reply-To: <4BB1E25B.4090407@cisco.com> References: <4BB1E051.2070209@cisco.com> <4BB1E25B.4090407@cisco.com> Message-ID: <275658FE-74EE-4EC7-8DAB-AB3515955231@linux.it> Probably there arr no default templare to graph the values gathered by that control. Ciao, Giorgio Il giorno 30/mar/2010, alle ore 13.36, Jatin Davey ha scritto: > I am getting the following error: > > application/models/data.php [217]: > The XML file not found. > > Thanks > Jatin > > On 3/30/2010 4:58 PM, Jatin Davey wrote: >> >> Hi >> >> I used the plugin check_snmp_int from the following site: >> >> http://nagios.manubulon.com/snmp_int.html >> >> The following command was executed on the nagios server: >> >> [root at pc-fedora-1 libexec]# ./check_snmp_int -H x.x.x.x -C xxxx -n >> eth0 >> -r -fY -k -w 1000,1000 -c 1100,1100 -d 40 >> eth0:UP (7.5KBps/13.0KBps):1 UP: OK | >> 'eth0_in_Bps'=7637;1024000;1126400;0;1250000 >> 'eth0_out_Bps'=13293;1024000;1126400;0;1250000 >> >> The Performance data as returned by this command is not supported by >> pnp4 to plot graphs. >> >> Is there any other way in which i can achieve the same. >> >> 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 >> >> > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 lists at xodus.org Tue Mar 30 14:04:02 2010 From: lists at xodus.org (Marc Powell) Date: Tue, 30 Mar 2010 07:04:02 -0500 Subject: Antwort: Bandwidth Usage on a linux Box In-Reply-To: <4BB1D6B0.6020409@cisco.com> References: <4BB1A23F.5090203@cisco.com> <4BB1D6B0.6020409@cisco.com> Message-ID: <4FA7678B-AE66-4772-8C41-CDA9A87F130B@xodus.org> On Mar 30, 2010, at 5:47 AM, Jatin Davey wrote: > As you can see the output has the following: eth0_in_Bps=12506;102400;204800;0;1250000 > > Could you explain what they indicate , i know of only "in Bytes per second" , what are the other 4 values ? > Is it something like "in Discards" , "in Errors" Etc. It's performance data. If the author has followed the plugin guidelines, and it looks like they have, it's current value;warning threshold;critical threshold;minimum possible value;maximum possible value. http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201 -- 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 jim at jimavery.me.uk Tue Mar 30 14:04:39 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 30 Mar 2010 13:04:39 +0100 Subject: Performance Data given by check_snmp_int not shown in PNP4Graphs In-Reply-To: <4BB1E25B.4090407@cisco.com> References: <4BB1E051.2070209@cisco.com> <4BB1E25B.4090407@cisco.com> Message-ID: <765d77c81003300504u31d73396m45687752ff6768e6@mail.gmail.com> On 30 March 2010 12:36, Jatin Davey wrote: > I am getting the following error: > > application/models/data.php [217]: > The XML file not found. I would check under /usr/local/nagios/share/perfdata/ in the directory for the host in question and maybe delete the .rrd and .xml file and let PNP recreate them. Are other graphs working okay for you in PNP? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 14:15:02 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 30 Mar 2010 17:45:02 +0530 Subject: Performance Data given by check_snmp_int not shown in PNP4Graphs In-Reply-To: <275658FE-74EE-4EC7-8DAB-AB3515955231@linux.it> References: <4BB1E051.2070209@cisco.com> Message-ID: <4BB1EB46.7070504@cisco.com> There is a default template available in the templates.dist directory. Is this the one that you are talking about ? Thanks Jatin On 3/30/2010 5:28 PM, Giorgio Zarrelli wrote: > Probably there arr no default templare to graph the values gathered by > that control. > > Ciao, > > Giorgio > > Il giorno 30/mar/2010, alle ore 13.36, Jatin Davey > ha scritto: > >> I am getting the following error: >> >> application/models/data.php *[217]: >> The XML file not found. >> >> Thanks >> Jatin* >> >> On 3/30/2010 4:58 PM, Jatin Davey wrote: >>> Hi >>> >>> I used the plugin check_snmp_int from the following site: >>> >>> http://nagios.manubulon.com/snmp_int.html >>> >>> The following command was executed on the nagios server: >>> >>> [root at pc-fedora-1 libexec]# ./check_snmp_int -H x.x.x.x -C xxxx -n eth0 >>> -r -fY -k -w 1000,1000 -c 1100,1100 -d 40 >>> eth0:UP (7.5KBps/13.0KBps):1 UP: OK | >>> 'eth0_in_Bps'=7637;1024000;1126400;0;1250000 >>> 'eth0_out_Bps'=13293;1024000;1126400;0;1250000 >>> >>> The Performance data as returned by this command is not supported by >>> pnp4 to plot graphs. >>> >>> Is there any other way in which i can achieve the same. >>> >>> 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 >>> >>> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 30 14:24:35 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 30 Mar 2010 17:54:35 +0530 Subject: Antwort: Bandwidth Usage on a linux Box In-Reply-To: <4FA7678B-AE66-4772-8C41-CDA9A87F130B@xodus.org> References: <4BB1A23F.5090203@cisco.com> Message-ID: <4BB1ED83.8080002@cisco.com> Thanks Marc. Thanks Jatin On 3/30/2010 5:34 PM, Marc Powell wrote: > On Mar 30, 2010, at 5:47 AM, Jatin Davey wrote: > > >> As you can see the output has the following: eth0_in_Bps=12506;102400;204800;0;1250000 >> >> Could you explain what they indicate , i know of only "in Bytes per second" , what are the other 4 values ? >> Is it something like "in Discards" , "in Errors" Etc. >> > It's performance data. If the author has followed the plugin guidelines, and it looks like they have, it's current value;warning threshold;critical threshold;minimum possible value;maximum possible value. > > http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201 > > -- > 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 Tue Mar 30 14:24:03 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 30 Mar 2010 17:54:03 +0530 Subject: Antwort: Re: Antwort: Bandwidth Usage on a linux Box In-Reply-To: References: Message-ID: <4BB1ED63.4010606@cisco.com> Thanks Sascha. Thanks Jatin On 3/30/2010 5:27 PM, Sascha.Runschke at gfkl.com wrote: > > [root at pc-fedora-1 libexec]# ./check_snmp_int.pl -H x.x.x.x -C xxx > > -n eth0 -r -fY -k -w 100,100 -c 200,200 -d 40 > > eth0:UP (12.2KBps/20.6KBps):1 UP: OK | 'eth0_in_Bps'=12506;102400; > > 204800;0;1250000 'eth0_out_Bps'=21068;102400;204800;0;1250000 > > > > As you can see the output has the following: eth0_in_Bps=12506; > > 102400;204800;0;1250000 > > > > Could you explain what they indicate , i know of only "in Bytes per > > second" , what are the other 4 values ? > > Is it something like "in Discards" , "in Errors" Etc. > > No, you have to activate the check for discards manually via a > parameter. > The four values in question are: Warning, Critical, Minimum, Maximum > > Warning and Critical have been set by yourself via -w and -c. > Minimum and Maximum contain the theoretical values > that the interface can give by range [minimum - maximum]. > Those values are supplied by the snmpd if mib. They can be overriden > in the remote snmpd.conf if desired. > > Regards > Sascha > > > GFKL Financial Services AG > Vorstand: J?rgen Baltes, Peter Blaschkowski > Vorsitzender des Aufsichtsrats: Wilhelm Plumpe > Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 30 14:22:58 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 30 Mar 2010 17:52:58 +0530 Subject: Performance Data given by check_snmp_int not shown in PNP4Graphs In-Reply-To: <765d77c81003300504u31d73396m45687752ff6768e6@mail.gmail.com> References: <4BB1E051.2070209@cisco.com> Message-ID: <4BB1ED22.6000500@cisco.com> Two things: 1. I dont have a directory named as perfdata in the path : /usr/local/nagios/share/perfdata I have this directory in the following path : /usr/local/pnp4nagios/var/perfdata , This directory usually has the .rrd and the .xml files. Currently for the service that i am unable to plot , there is no corresponding xml and rrd file in the above mentioned directory. 2. Apart from this service i am having 6 other services that i am successfully able to monitor and get the graphs using PNP , No issues at all. Thanks Jatin On 3/30/2010 5:34 PM, Jim Avery wrote: > On 30 March 2010 12:36, Jatin Davey wrote: > >> I am getting the following error: >> >> application/models/data.php [217]: >> The XML file not found. >> > > I would check under /usr/local/nagios/share/perfdata/ in the directory > for the host in question and maybe delete the .rrd and .xml file and > let PNP recreate them. Are other graphs working okay for you in PNP? > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 jcasale at activenetwerx.com Tue Mar 30 14:17:08 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Tue, 30 Mar 2010 12:17:08 +0000 Subject: Nagios 3.2.1 - browser refresh In-Reply-To: <10E728E6-661D-46D8-91A5-E12B2A63C68B@xodus.org> References: <10E728E6-661D-46D8-91A5-E12B2A63C68B@xodus.org> Message-ID: >See this recent thread for a couple of suggestions -- > >http://thread.gmane.org/gmane.network.nagios.user/66432/focus=66435 As I posted a couple of days ago, none of those options worked for me on my CentOS5 box, where as they did for 3.2.0. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 14:16:33 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 30 Mar 2010 17:46:33 +0530 Subject: Antwort: Performance Data given by check_snmp_int not shown in PNP4Graphs In-Reply-To: References: <4BB1E051.2070209@cisco.com> Message-ID: <4BB1EBA1.9010600@cisco.com> I dont feel there can be an issue with the PNP installation as i passed all the tests and i am currently monitoring 6 services and they are plotting the graphs successfully. Thanks Jatin On 3/30/2010 5:29 PM, Sascha.Runschke at gfkl.com wrote: > > The following command was executed on the nagios server: > > > > [root at pc-fedora-1 libexec]# ./check_snmp_int -H x.x.x.x -C xxxx -n > eth0 > > -r -fY -k -w 1000,1000 -c 1100,1100 -d 40 > > eth0:UP (7.5KBps/13.0KBps):1 UP: OK | > > 'eth0_in_Bps'=7637;1024000;1126400;0;1250000 > > 'eth0_out_Bps'=13293;1024000;1126400;0;1250000 > > > > The Performance data as returned by this command is not supported by > > pnp4 to plot graphs. > > It is, since I make excessive use of it. And it supports it out of the > box - I think even with a default template for that check I think. > So something with your PNP installation must be bogus. > > Regards > Sascha > > > GFKL Financial Services AG > Vorstand: J?rgen Baltes, Peter Blaschkowski > Vorsitzender des Aufsichtsrats: Wilhelm Plumpe > Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 mark.elsen at gmail.com Tue Mar 30 15:12:54 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Tue, 30 Mar 2010 15:12:54 +0200 Subject: Expiration of passive check results Message-ID: - Is it possible in NAGIOS, to let the result of a passive check , 'expire' after a given time period ? (this could be used for errors, which are considered less important, and are being considered 'dead weight' for the time being). I mean if I a get a CRITICAL (passive) test result, from outside, I would like NAGIOS to start a timer, and set the alert to OK after a give time. Now 'external' workarounds such as cron jobs may apply, but I wonder wether this can be handled from within 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 benny at bennyvision.com Tue Mar 30 15:21:21 2010 From: benny at bennyvision.com (C. Bensend) Date: Tue, 30 Mar 2010 08:21:21 -0500 Subject: Expiration of passive check results In-Reply-To: References: Message-ID: > - Is it possible in NAGIOS, to let the result of a passive check , > 'expire' after a given time period ? > (this could be used for errors, which are considered less > important, and are being considered 'dead weight' for > the time being). > > I mean if I a get a CRITICAL (passive) test result, from outside, > I would like NAGIOS to start a timer, > and set the alert to OK after a give time. > Now 'external' workarounds such as cron jobs may apply, but I wonder > wether this can be handled from within NAGIOS. Take a spin through the Nagios documentation and look at the information about freshness checking. You can easily tell Nagios to check freshness on a passive service every X minutes, and when it does run an active check. That active check can be anything, including using check_dummy to set the return value to be 0 (OK) with the message of your choice. Benny -- Whoever said that hell hath no fury like a women scorned never owned a cat. -- bash.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 Sascha.Runschke at gfkl.com Tue Mar 30 15:25:49 2010 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Tue, 30 Mar 2010 15:25:49 +0200 Subject: Antwort: Expiration of passive check results In-Reply-To: References: Message-ID: > [Nagios-users] Expiration of passive check results > > - Is it possible in NAGIOS, to let the result of a passive check , > 'expire' after a given time period ? > (this could be used for errors, which are considered less > important, and are being considered 'dead weight' for > the time being). > > I mean if I a get a CRITICAL (passive) test result, from outside, > I would like NAGIOS to start a timer, > and set the alert to OK after a give time. > Now 'external' workarounds such as cron jobs may apply, but I wonder > wether this can be handled from within NAGIOS. Two things: - freshness - volatile services Freshness determines the timeperiod where a passive checkresult is considered "fresh" aka current. If the timeperiod is exceeded without receiving the next passive checkresult, then nagios issues an active check of that service. Of course you can define anything as active check you like. I use check_dummy to give me a WARNING "No passive data received!" Volatile services reset themselves to an OK state after each WARNING or CRITICAL. This is useful for things like snmp traps for example which notify of security impacts and you just want a mail for every checkresult that is considered a PROBLEM. Like a borderfirewall notifying you of an ongoing portscan or whatever. Volatile services are good for one-time notifications of events. Regards Sascha GFKL Financial Services AG Vorstand: J?rgen Baltes, Peter Blaschkowski Vorsitzender des Aufsichtsrats: Wilhelm Plumpe Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- 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 Tue Mar 30 15:42:50 2010 From: standalone.sysadmin at gmail.com (Matt Simmons) Date: Tue, 30 Mar 2010 09:42:50 -0400 Subject: Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08D27DCE@PNE-HJN-MBX02.wipro.com> References: <605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com> <39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com> <39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com> <20100330002824.GH4621@bakgwai.americas.hpqcorp.net> <39C5D75C6A5D3440A833E1C014384BAA08D27DCE@PNE-HJN-MBX02.wipro.com> Message-ID: <5bcb62b61003300642h29aba305vec7d80ee126d16e2@mail.gmail.com> Try this from a command prompt: telnet localhost 80 then if it connects, type GET / HTTP/1.0 and hit enter twice. Paste the output. For instance, mine looks like this: Trying 127.0.0.1... Connected to newcastle.int.ia. Escape character is '^]'. GET / HTTP/1.0 HTTP/1.1 200 OK Date: Tue, 30 Mar 2010 13:40:31 GMT Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8 Last-Modified: Wed, 21 Jan 2009 14:22:15 GMT ETag: "3eadb-2d-460fee1e9d3c0" Accept-Ranges: bytes Content-Length: 45 Connection: close Content-Type: text/html

It works!

Reply with the output. I doubt that you're connecting to the web server, but this should determine whether it can be connected to, or if something else is broken. --Matt PS - You don't know if your web browser is set up to talk to a proxy, do you? On Mon, Mar 29, 2010 at 9:03 PM, wrote: >> Hi, >> >> Please see the output mentioned in the attachment. >> >> Request someone to please help me on this as I am not able to > understand what is the error. >> Thanks & Regards, > > To quickly summarize: You mentioned you are entering http://localhost > and getting a "Page Cannot Be Displayed" error. > > This may be a dumb question, byt where are you entering > "http://localhost"? ?I would assume it's a web browser, but is it a web > browser being run from the same machine you've installed Apache on? > > Yes I am running the web browser from the same machine where I have > installed Apche. > > Also, it would help to know *specifically* what the error is. ?Is it a > timeout? A DNS lookup error? ?Something else? ?there should be more > details, and it would help if you could pass those on. > > I am getting as Page Cannot be displayed. > > Off the top of my head, given that you have Apache running and bound to > port 80, the following seem the most likely: > > Either a) Your browser and your webserver are on two different machines, > so using "http://localhost" is not going to work, since it points to the > machine your browser is on, > > b) "localhost" is somehow not defined on the machine you're using, or > > c) your Apache configuration is incorrect. > > Let me throw in a little tip on asking questions on mailing lists while > I'm here. Details are good. ?Knowing what your Apache configuration > looks like, what's showing up in the logs, *exactly* what you're doing > to test and what the *complete* results are of those tests, and any > other information you have that we don't would really help someone else > troubleshoot your issue. > > You've given us very little, and as a result what you now have is a > bunch of people throwing out wild guesses since we've got no real data > from you to work with. > > ------------------------------------------------------------------------ > ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 patrick.morris at hp.com Tue Mar 30 17:07:53 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 30 Mar 2010 08:07:53 -0700 Subject: Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08D27DCE@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com> <20100330002824.GH4621@bakgwai.americas.hpqcorp.net> <39C5D75C6A5D3440A833E1C014384BAA08D27DCE@PNE-HJN-MBX02.wipro.com> Message-ID: <4BB213C9.2040709@hp.com> Since you've chosen to either not read or completely disregard most of what I asked, I'm going to let someone else handle this one to avoid frustration. Good luck. ravishankar.gundlapali at wipro.com wrote: >> Hi, >> >> Please see the output mentioned in the attachment. >> >> Request someone to please help me on this as I am not able to >> > understand what is the error. > >> Thanks & Regards, >> > > To quickly summarize: You mentioned you are entering http://localhost > and getting a "Page Cannot Be Displayed" error. > > This may be a dumb question, byt where are you entering > "http://localhost"? I would assume it's a web browser, but is it a web > browser being run from the same machine you've installed Apache on? > > Yes I am running the web browser from the same machine where I have > installed Apche. > > Also, it would help to know *specifically* what the error is. Is it a > timeout? A DNS lookup error? Something else? there should be more > details, and it would help if you could pass those on. > > I am getting as Page Cannot be displayed. > > Off the top of my head, given that you have Apache running and bound to > port 80, the following seem the most likely: > > Either a) Your browser and your webserver are on two different machines, > so using "http://localhost" is not going to work, since it points to the > machine your browser is on, > > b) "localhost" is somehow not defined on the machine you're using, or > > c) your Apache configuration is incorrect. > > Let me throw in a little tip on asking questions on mailing lists while > I'm here. Details are good. Knowing what your Apache configuration > looks like, what's showing up in the logs, *exactly* what you're doing > to test and what the *complete* results are of those tests, and any > other information you have that we don't would really help someone else > troubleshoot your issue. > > You've given us very little, and as a result what you now have is a > bunch of people throwing out wild guesses since we've got no real data > from you to work with. > > ------------------------------------------------------------------------ > ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > 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. > > WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. > > www.wipro.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 peter.ostlin at op5.com Tue Mar 30 20:58:53 2010 From: peter.ostlin at op5.com (=?ISO-8859-1?Q?Peter_=D6stlin?=) Date: Tue, 30 Mar 2010 20:58:53 +0200 Subject: op5 check_esx plugin and net usage In-Reply-To: References: Message-ID: On Tue, Mar 23, 2010 at 3:38 AM, Joseph L. Casale wrote: > Seems this plugin wraps over ~100000K and returns an invalid result. > > Anyone seen this, is it fixable or a limit somewhere? You mean when net usage exceed 100MB? Can you please post the command line used and some example output? Also, are you using the latest version? I don't see any changes related to this recently but it is always a good idea to verify that you are using the latest version. You get the latest source at: http://www.op5.org/community/projects/op5-plugins Regards Peter ?stlin op5 AB > > 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 > -- op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mob: +46 733-70 90 31 Fax: +46 31-774 04 32 http://www.op5.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 patrick.morris at hp.com Tue Mar 30 21:14:10 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Tue, 30 Mar 2010 12:14:10 -0700 Subject: Nagios 3.2.1 - browser refresh In-Reply-To: References: <10E728E6-661D-46D8-91A5-E12B2A63C68B@xodus.org> Message-ID: <20100330191410.GM4621@bakgwai.americas.hpqcorp.net> On Tue, 30 Mar 2010, Joseph L. Casale wrote: > >See this recent thread for a couple of suggestions -- > > > >http://thread.gmane.org/gmane.network.nagios.user/66432/focus=66435 > > As I posted a couple of days ago, none of those options worked for > me on my CentOS5 box, where as they did for 3.2.0. What changes have you tried, and where did you apply them? This issue is caused completely by the way Apache refreshes dynamic content (particularly PHP) by default. I can guarantee you that the suggestion I made previously in that thread works regardless of Nagios version. Caveat: I haven't looked at the index.php file under 3.2.1, but I'm 100% sure my suggestion will change the refresh behavior. Whether it'll break anything else added to that page since 3.2.0 is a different matter. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trisha at rockyou.com Tue Mar 30 21:25:27 2010 From: trisha at rockyou.com (Trisha Hoang) Date: Tue, 30 Mar 2010 12:25:27 -0700 Subject: Nagios 3.2.1 - browser refresh In-Reply-To: <20100330191410.GM4621@bakgwai.americas.hpqcorp.net> References: <10E728E6-661D-46D8-91A5-E12B2A63C68B@xodus.org> <20100330191410.GM4621@bakgwai.americas.hpqcorp.net> Message-ID: I'm using 3.2.1 on Centos 5.2 and it doesn't work was well. On Tue, Mar 30, 2010 at 12:14 PM, wrote: > On Tue, 30 Mar 2010, Joseph L. Casale wrote: > > > >See this recent thread for a couple of suggestions -- > > > > > >http://thread.gmane.org/gmane.network.nagios.user/66432/focus=66435 > > > > As I posted a couple of days ago, none of those options worked for > > me on my CentOS5 box, where as they did for 3.2.0. > > What changes have you tried, and where did you apply them? > > This issue is caused completely by the way Apache refreshes dynamic > content (particularly PHP) by default. I can guarantee you that the > suggestion I made previously in that thread works regardless of Nagios > version. > > Caveat: I haven't looked at the index.php file under 3.2.1, but I'm 100% > sure my suggestion will change the refresh behavior. Whether it'll > break anything else added to that page since 3.2.0 is a different > matter. > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 jcasale at activenetwerx.com Tue Mar 30 23:14:39 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Tue, 30 Mar 2010 21:14:39 +0000 Subject: Nagios 3.2.1 - browser refresh In-Reply-To: <20100330191410.GM4621@bakgwai.americas.hpqcorp.net> References: <10E728E6-661D-46D8-91A5-E12B2A63C68B@xodus.org> <20100330191410.GM4621@bakgwai.americas.hpqcorp.net> Message-ID: >What changes have you tried, and where did you apply them? All the possibilities in that thread, renaming from php to html or adding the single line of code. 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 jcasale at activenetwerx.com Tue Mar 30 23:24:56 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Tue, 30 Mar 2010 21:24:56 +0000 Subject: op5 check_esx plugin and net usage In-Reply-To: References: Message-ID: >You mean when net usage exceed 100MB? Can you please post the command >line used and some example output? define command{ command_name check_esx3_vm_net_usage command_line $USER13$/check_esx3.pl -H $ARG1$ -u $USER14$ -p $USER15$ -N $ARG2$ -l net -s usage -w $ARG3$ -c $ARG4$ } define service{ use generic-service,srv-pnp host_name foo service_description Network Usage check_command check_esx3_vm_net_usage!biz!baz!18000!20000 } The values are arbitrary in my post. Actually, I don't know what the heck it does after I further watched: [1269913196] SERVICE ALERT: foo;Network Usage;OK;HARD;3;P1.PL OK - "baz" net usage=6.30 KB/s [1269914996] SERVICE ALERT: foo;Network Usage;CRITICAL;SOFT;1;P1.PL CRITICAL - Argument "\x{36}\x{34}..." isn't numeric in sprintf at (eval 8) line 580. [1269915106] SERVICE ALERT: foo;Network Usage;CRITICAL;SOFT;2;P1.PL CRITICAL - "baz" net usage=83132.83 KB/s [1269915226] SERVICE ALERT: foo;Network Usage;CRITICAL;HARD;3;P1.PL CRITICAL - "baz" net usage=-1.12 KB/s Is the "-" value an esx problem? I'd love to know how that occurs:) The sprint formatting problem is unexplained as well. >Also, are you using the latest version Yup. 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 trisha at rockyou.com Wed Mar 31 00:00:54 2010 From: trisha at rockyou.com (Trisha Hoang) Date: Tue, 30 Mar 2010 15:00:54 -0700 Subject: Nagios 3.2.1 - browser refresh In-Reply-To: References: <10E728E6-661D-46D8-91A5-E12B2A63C68B@xodus.org> <20100330191410.GM4621@bakgwai.americas.hpqcorp.net> Message-ID: I have tried both and restarted apache. 1) rename file $prefix/share/index.php to index.html, and 2) placing this line "" on the first line of index.php. On Tue, Mar 30, 2010 at 2:14 PM, Joseph L. Casale wrote: > >What changes have you tried, and where did you apply them? > > All the possibilities in that thread, renaming from php to html or > adding the single line of code. > > 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 > -------------- 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 dermoth at aei.ca Wed Mar 31 03:24:41 2010 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 30 Mar 2010 21:24:41 -0400 Subject: check_snmp does not provide performance data ?? In-Reply-To: <4BB08E5F.1060909@cisco.com> References: <4BB08C4F.7040400@cisco.com> <4BB08E5F.1060909@cisco.com> Message-ID: <4BB2A459.1030807@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/03/10 07:26 AM, Jatin Davey wrote: > Then it should be a bug right ? Please let me know if i can file it. > > Thanks > Jatin No need to open a bug. This was broken by this bug #1867716 (be144b67/trunk at 2021) so I will reopen it, Feel free to go there and click on "monitor" to receive further updates, or ask for a patch there if you need one. Thanks for reporting this, - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLsqRZ6dZ+Kt5BchYRAku2AJwNw/eNypaKXcDBwU+b0OMqHnyLXgCfeoh9 nxyTcbXdiroYHM/Pbz3/U6w= =1Oh9 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Mar 31 04:39:08 2010 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 30 Mar 2010 22:39:08 -0400 Subject: check_snmp does not provide performance data ?? In-Reply-To: <201003291323.15458.misch@multinet.de> References: <4BB08C4F.7040400@cisco.com> <201003291323.15458.misch@multinet.de> Message-ID: <4BB2B5CC.3010306@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/03/10 07:23 AM, Michael Schwartzkopff wrote: > Am Montag, 29. M?rz 2010 13:17:35 schrieb Jatin Davey: >> Hi >> >> I use the HOST-RESOURCES-MIB to get the status of the system and its >> various parameters. There is one such MIB parameter that provides memory >> used by a specific process on a linux box. It is : "hrSWRunPerfMem" , >> When i execute this command using the check_snmp plugin it does not >> provide any performance data after the '|' symbol. >> >> The output is as below : >> >> [root at pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.xxxxx >> SNMP OK - 1652 KBytes | >> >> Is it a bug on the check_snmp plugin ? >> Please let me know if i am missing something. >> >> 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 > > I don't know which version you are using. My output is: > ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2 > > SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes Actually I said the behaviour was "broken" by another fix but actually this output is broken in itself. The 2nd part isn't a valid perfdata string and this is what the fix was for, although the shown example was much more obvious. I just committed a fix btw. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLsrXM6dZ+Kt5BchYRAlbQAJ4io+kvxbCmb8c+E0MZ/BBpUL00WwCfSrDN 2lbXWMj4bhhydpkqKqdfYIU= =7yFc -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 31 06:05:35 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Wed, 31 Mar 2010 09:35:35 +0530 Subject: Pre Flight Check -Errors. References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com> <20100330002824.GH4621@bakgwai.americas.hpqcorp.net> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08D966CF@PNE-HJN-MBX02.wipro.com> Hi , I have built a new nagios server and added the hosts in it. When I run the preflight check now, I am able to see all the services and hosts to be monitored. However, during the flight check the following errors appear on-screen: Please someone suggest what can be done?? Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'NSClient++ Version' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVECCDEV01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'SMTP Service' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Current Load' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Current Users' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'HTTP' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'PING' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Root Partition' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'SSH' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Swap Usage' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Total Processes' for host 'localhost' is not defined anywhere! 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 ravishankar.gundlapali at wipro.com Wed Mar 31 06:15:02 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Wed, 31 Mar 2010 09:45:02 +0530 Subject: Pre Flight Check -Errors. References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com> <20100330002824.GH4621@bakgwai.americas.hpqcorp.net> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08D966EE@PNE-HJN-MBX02.wipro.com> Hi , I have built a new nagios server and added the hosts in it. When I run the preflight check the following errors appear on-screen: Please someone suggest what can be done?? Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'NSClient++ Version' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVECCDEV01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'SMTP Service' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Current Load' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Current Users' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'HTTP' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'PING' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Root Partition' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'SSH' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Swap Usage' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Total Processes' for host 'localhost' is not defined anywhere! 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 zarrelli at linux.it Wed Mar 31 06:28:27 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 31 Mar 2010 06:28:27 +0200 Subject: Pre Flight Check -Errors. In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08D966CF@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com> <20100330002824.GH4621@bakgwai.americas.hpqcorp.net> <39C5D75C6A5D3440A833E1C014384BAA08D966CF@PNE-HJN-MBX02.wipro.com> Message-ID: <358922CA-966E-46F3-BA70-AAE5A0E8E26E@linux.it> Create the "admins" contact group and add in nagios.cfg the directory pointing to the definition file. Ciao, Giorgio Il giorno 31/mar/2010, alle ore 06.05, ha scritto: > Hi , > > I have built a new nagios server and added the hosts in it. > When I run the preflight > check now, I am able to see all the services and hosts to be > monitored. > However, > during the flight check the following errors appear on-screen: > > Please someone suggest what can be done?? > > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCPDCERP01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'CPU Load' for host > 'LTCPDCERP01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'D:\ Drive Space' > for > host 'LTCPDCERP01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Memory Usage' for > host 'LTCPDCERP01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Physical Memory > Usage' for host 'LTCPDCERP01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Uptime' for host > 'LTCPDCERP01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCPDCERP02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'CPU Load' for host > 'LTCPDCERP02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'D:\ Drive Space' > for > host 'LTCPDCERP02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Memory Usage' for > host 'LTCPDCERP02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Physical Memory > Usage' for host 'LTCPDCERP02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Uptime' for host > 'LTCPDCERP02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCPDPCPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'CPU Load' for host > 'LTCPDPCPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'D:\ Drive Space' > for > host 'LTCPDPCPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Memory Usage' for > host 'LTCPDPCPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Physical Memory > Usage' for host 'LTCPDPCPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Uptime' for host > 'LTCPDPCPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCPDPCPRD02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'CPU Load' for host > 'LTCPDPCPRD02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'D:\ Drive Space' > for > host 'LTCPDPCPRD02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Memory Usage' for > host 'LTCPDPCPRD02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Physical Memory > Usage' for host 'LTCPDPCPRD02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Uptime' for host > 'LTCPDPCPRD02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCPDPMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'CPU Load' for host > 'LTCPDPMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'D:\ Drive Space' > for > host 'LTCPDPMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Memory Usage' for > host 'LTCPDPMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Physical Memory > Usage' for host 'LTCPDPMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Uptime' for host > 'LTCPDPMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCPHIMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'CPU Load' for host > 'LTCPHIMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'D:\ Drive Space' > for > host 'LTCPHIMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Memory Usage' for > host 'LTCPHIMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'NSClient++ > Version' > for host 'LTCPHIMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Physical Memory > Usage' for host 'LTCPHIMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Uptime' for host > 'LTCPHIMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCPVC01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'CPU Load' for host > 'LTCPVC01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'D:\ Drive Space' > for > host 'LTCPVC01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Memory Usage' for > host 'LTCPVC01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Physical Memory > Usage' for host 'LTCPVC01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Uptime' for host > 'LTCPVC01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCPVCBPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'CPU Load' for host > 'LTCPVCBPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'D:\ Drive Space' > for > host 'LTCPVCBPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Memory Usage' for > host 'LTCPVCBPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Physical Memory > Usage' for host 'LTCPVCBPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Uptime' for host > 'LTCPVCBPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCPVCBPRD02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'CPU Load' for host > 'LTCPVCBPRD02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'D:\ Drive Space' > for > host 'LTCPVCBPRD02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Memory Usage' for > host 'LTCPVCBPRD02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Physical Memory > Usage' for host 'LTCPVCBPRD02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Uptime' for host > 'LTCPVCBPRD02' is not defined anywhere! > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCVCSMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'CPU Load' for host > 'LTCVCSMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'D:\ Drive Space' > for > host 'LTCVCSMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Memory Usage' for > host 'LTCVCSMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Physical Memory > Usage' for host 'LTCVCSMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Uptime' for host > 'LTCVCSMPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCVECCDEV01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCVENTPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'CPU Load' for host > 'LTCVENTPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'D:\ Drive Space' > for > host 'LTCVENTPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Memory Usage' for > host 'LTCVENTPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Physical Memory > Usage' for host 'LTCVENTPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'SMTP Service' for > host 'LTCVENTPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Uptime' for host > 'LTCVENTPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCVTSPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'CPU Load' for host > 'LTCVTSPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'D:\ Drive Space' > for > host 'LTCVTSPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Memory Usage' for > host 'LTCVTSPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Physical Memory > Usage' for host 'LTCVTSPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Uptime' for host > 'LTCVTSPRD01' is not defined anywhere! > Error: Contact group 'admins' specified in service 'C:\ Drive Space' > for > host 'LTCVTSPRD03' is not defined anywhere! > Error: Contact group 'admins' specified in service 'CPU Load' for host > 'LTCVTSPRD03' is not defined anywhere! > Error: Contact group 'admins' specified in service 'D:\ Drive Space' > for > host 'LTCVTSPRD03' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Memory Usage' for > host 'LTCVTSPRD03' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Physical Memory > Usage' for host 'LTCVTSPRD03' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Uptime' for host > 'LTCVTSPRD03' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Current Load' for > host 'localhost' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Current Users' for > host 'localhost' is not defined anywhere! > Error: Contact group 'admins' specified in service 'HTTP' for host > 'localhost' is not defined anywhere! > Error: Contact group 'admins' specified in service 'PING' for host > 'localhost' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Root Partition' > for > host 'localhost' is not defined anywhere! > Error: Contact group 'admins' specified in service 'SSH' for host > 'localhost' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Swap Usage' for > host > 'localhost' is not defined anywhere! > Error: Contact group 'admins' specified in service 'Total Processes' > for > host 'localhost' is not defined anywhere! > > > 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 jashokda at cisco.com Wed Mar 31 07:17:57 2010 From: jashokda at cisco.com (Jatin Davey) Date: Wed, 31 Mar 2010 10:47:57 +0530 Subject: Performance Data given by check_snmp_int not shown in PNP4Graphs In-Reply-To: <4BB1ED22.6000500@cisco.com> References: <4BB1E051.2070209@cisco.com> Message-ID: <4BB2DB05.3000005@cisco.com> Ok , I finally figured it out. The real issue was with my command definition in the commands.cfg file. It was defined such that it executed the commnad without enabling the performance option. Now i am getting the graphs for bandwidth usage. Thanks everybody for providing clues and directions. Thanks Jatin On 3/30/2010 5:52 PM, Jatin Davey wrote: > Two things: > > 1. I dont have a directory named as perfdata in the path : > /usr/local/nagios/share/perfdata > I have this directory in the following path : > /usr/local/pnp4nagios/var/perfdata , This directory usually has the > .rrd and the .xml files. > Currently for the service that i am unable to plot , there is > no corresponding xml and rrd file in the above mentioned directory. > > 2. Apart from this service i am having 6 other services that i am > successfully able to monitor and get the graphs using PNP , No issues at > all. > > Thanks > Jatin > > On 3/30/2010 5:34 PM, Jim Avery wrote: > >> On 30 March 2010 12:36, Jatin Davey wrote: >> >> >>> I am getting the following error: >>> >>> application/models/data.php [217]: >>> The XML file not found. >>> >>> >> I would check under /usr/local/nagios/share/perfdata/ in the directory >> for the host in question and maybe delete the .rrd and .xml file and >> let PNP recreate them. Are other graphs working okay for you in PNP? >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 ravishankar.gundlapali at wipro.com Wed Mar 31 07:29:41 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Wed, 31 Mar 2010 10:59:41 +0530 Subject: Pre Flight Check -Errors. References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com> <20100330002824.GH4621@bakgwai.americas.hpqcorp.net> Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08D96A3B@PNE-HJN-MBX02.wipro.com> Hi, Request someone to provide the solution... Thanks & Regards, Ravi G -----Original Message----- From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) Sent: Wednesday, March 31, 2010 9:45 AM To: 'Nagios Users List' Subject: Pre Flight Check -Errors. Hi , I have built a new nagios server and added the hosts in it. When I run the preflight check the following errors appear on-screen: Please someone suggest what can be done?? Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'NSClient++ Version' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVECCDEV01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'SMTP Service' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Current Load' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Current Users' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'HTTP' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'PING' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Root Partition' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'SSH' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Swap Usage' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Total Processes' for host 'localhost' is not defined anywhere! 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 perldork at webwizarddesign.com Wed Mar 31 07:54:08 2010 From: perldork at webwizarddesign.com (Max) Date: Wed, 31 Mar 2010 01:54:08 -0400 Subject: Pre Flight Check -Errors. In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08D96A3B@PNE-HJN-MBX02.wipro.com> References: <605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com> <39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com> <39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com> <20100330002824.GH4621@bakgwai.americas.hpqcorp.net> <39C5D75C6A5D3440A833E1C014384BAA08D96A3B@PNE-HJN-MBX02.wipro.com> Message-ID: On Wed, Mar 31, 2010 at 1:29 AM, wrote: > Hi, > > Request someone to provide the solution... Please take some time to re-read the diagnostic message Nagios provided you, it tells you exactly what is wrong. > Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDCERP01' is not defined anywhere! You need to define the contact group, as Giorgio stated in his email rresponse. If you do not understand how to correct it, the usual suggestions are: 1) Read the manual and learn how to correct this - http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contactgroup 2) If you are not comfortable with learning on your own or find you are not able to fix this yourself, nagios.com offers paid service contracts and people who will be happy to provide the solution to you for a fee - http://nagios.com/services/support Regards, Max ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed Mar 31 08:50:44 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 31 Mar 2010 08:50:44 +0200 Subject: Pre Flight Check -Errors. In-Reply-To: References: <605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com> <39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com> <39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com> <39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com> <20100330002824.GH4621@bakgwai.americas.hpqcorp.net> <39C5D75C6A5D3440A833E1C014384BAA08D96A3B@PNE-HJN-MBX02.wipro.com> Message-ID: Either: You forgot to add the "admin" group Or you didn't reference the contact group file in nagios.cfg Or the contact group file has the wrong permissions or ownership and can't be read. But my suggestion is once again to read the manual and to Google a while to find some blogs describing the whole installation and configuration process. Ciao, Giorgio Il giorno 31/mar/2010, alle ore 07.54, Max ha scritto: > On Wed, Mar 31, 2010 at 1:29 AM, > wrote: >> Hi, >> >> Request someone to provide the solution... > > Please take some time to re-read the diagnostic message Nagios > provided you, it tells you exactly what is wrong. > >> Error: Contact group 'admins' specified in service 'C:\ Drive >> Space' for > host 'LTCPDCERP01' is not defined anywhere! > > You need to define the contact group, as Giorgio stated in his email > rresponse. > > If you do not understand how to correct it, the usual suggestions are: > 1) Read the manual and learn how to correct this - > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contactgroup > 2) If you are not comfortable with learning on your own or find you > are not able to fix this yourself, nagios.com offers paid service > contracts and people who will be happy to provide the solution to you > for a fee - http://nagios.com/services/support > > Regards, > Max > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Wed Mar 31 09:49:19 2010 From: Quentin.Marquez at experian.com (Marquez, Quentin) Date: Wed, 31 Mar 2010 08:49:19 +0100 Subject: Pre Flight Check -Errors. In-Reply-To: <39C5D75C6A5D3440A833E1C014384BAA08D96A3B@PNE-HJN-MBX02.wipro.com> References: <39C5D75C6A5D3440A833E1C014384BAA08C97F9C@PNE-HJN-MBX02.wipro.com><605203aa1003271623i49e0450apa4ab6d96d69fb2d3@mail.gmail.com><39C5D75C6A5D3440A833E1C014384BAA08C97FA2@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98064@PNE-HJN-MBX02.wipro.com><39C5D75C6A5D3440A833E1C014384BAA08C98225@PNE-HJN-MBX02.wipro.com><20100330002824.GH4621@bakgwai.americas.hpqcorp.net> <39C5D75C6A5D3440A833E1C014384BAA08D96A3B@PNE-HJN-MBX02.wipro.com> Message-ID: <28D49132D5CF31498C9C381879963AD74A18B7@exch-mon-msg01.uk.experian.local> Ravi, You are using a contact group in your configuration that you named "admins", but you didn't define it anywhere. Create or edit /path/to/nagios/etc/contactgroups.cfg, and add a definition for "admins" : define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios-admin, other_member, et_caetera } Make sure every members that are part of contactgroup are defined in contacts.cfg, ie : define contact{ contact_name nagios-admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email email at dress.com } Make sure your nagios.cfg is edited with : cfg_file=/path_to_nagios/etc/contactgroups.cfg cfg_file=/path_to_nagios/etc/contacts.cfg Regards, Quentin -----Original Message----- From: ravishankar.gundlapali at wipro.com [mailto:ravishankar.gundlapali at wipro.com] Sent: 31 March 2010 07:30 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Pre Flight Check -Errors. Hi, Request someone to provide the solution... Thanks & Regards, Ravi G -----Original Message----- From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) Sent: Wednesday, March 31, 2010 9:45 AM To: 'Nagios Users List' Subject: Pre Flight Check -Errors. Hi , I have built a new nagios server and added the hosts in it. When I run the preflight check the following errors appear on-screen: Please someone suggest what can be done?? Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDCERP01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDCERP02' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDPCPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDPCPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPDPMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'NSClient++ Version' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPHIMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPVC01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPVCBPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCPVCBPRD02' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVCSMPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVECCDEV01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'SMTP Service' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVENTPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVTSPRD01' is not defined anywhere! Error: Contact group 'admins' specified in service 'C:\ Drive Space' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'CPU Load' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'D:\ Drive Space' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Memory Usage' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Physical Memory Usage' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Uptime' for host 'LTCVTSPRD03' is not defined anywhere! Error: Contact group 'admins' specified in service 'Current Load' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Current Users' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'HTTP' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'PING' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Root Partition' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'SSH' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Swap Usage' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Total Processes' for host 'localhost' is not defined anywhere! 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 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 kelseysmith at caseyfamilyservices.org Wed Mar 31 10:00:35 2010 From: kelseysmith at caseyfamilyservices.org (kelseysmith at caseyfamilyservices.org) Date: Wed, 31 Mar 2010 04:00:35 -0400 Subject: AUTO: Kelsey Smith/CFS01/CFS is out of the office. (returning 04/11/2010) Message-ID: I will be out of the office starting 03/30/2010 and will not return until 04/11/2010 I'm out of the office, and will return on Monday April 12. Thank you. Note: This is an automated response to your message "Nagios-users Digest, Vol 46, Issue 42" sent on 3/31/2010 3:49:34 AM. This is the only notification you will receive while this person is away. ------------------------------------------------------ Confirmed virus-free by mymssp.net see www.anchortechnologies.com for more information. ------------------------------------------------------ -------------- 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 trevor_obba-/E1597aS9LT10XsdtD+oqA at public.gmane.org Wed Mar 31 12:32:51 2010 From: trevor_obba-/E1597aS9LT10XsdtD+oqA at public.gmane.org (trevor obba) Date: Wed, 31 Mar 2010 10:32:51 +0000 (GMT) Subject: nagios how to monitor vmware tools Message-ID: <872905.28946.qm@web29004.mail.ird.yahoo.com> Does anyone know of any nagios plugin to monitor vmware tools? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Wed Mar 31 13:15:14 2010 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 31 Mar 2010 04:15:14 -0700 Subject: nagios how to monitor vmware tools In-Reply-To: <872905.28946.qm@web29004.mail.ird.yahoo.com> References: <872905.28946.qm@web29004.mail.ird.yahoo.com> Message-ID: <724C3B2F1C5EB44D9108E471EC5E9933ADE9D3CB59@akechi-denki.ad.nctechcenter.com> What do you want to monitor about VMWare Tools? You will find quite a few VMWare-related checks in http://www.monitoringexchange.org . I found that I had to tweak pretty much every one of them in some way or other. > -----Original Message----- > From: trevor obba [mailto:trevor_obba at yahoo.co.uk] > Sent: Wednesday, March 31, 2010 3:33 AM > To: nagiosplug; nagios-user > Subject: [Nagios-users] nagios how to monitor vmware tools > > Does anyone know of any nagios plugin to monitor > vmware tools? > > > > > ----------------------------------------------------------------------- > ------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 dggutierrez at telecable.com Wed Mar 31 13:03:03 2010 From: dggutierrez at telecable.com (David Gutierrez Gutierrez) Date: Wed, 31 Mar 2010 13:03:03 +0200 Subject: nagios how to monitor vmware tools In-Reply-To: <872905.28946.qm@web29004.mail.ird.yahoo.com> References: <872905.28946.qm@web29004.mail.ird.yahoo.com> Message-ID: <4BB32BE7.6070202@telecable.com> Hi!, Follow this link: http://exchange.nagios.org/directory/Plugins/Operating-Systems/*-Virtual-Environments/VMWare trevor obba escribi?: > Does anyone know of any nagios plugin to monitor > vmware tools? > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------ Por favor, antes de imprimir este correo, valore si es estrictamente necesario. La naturaleza y el medio ambiente lo agradecer?n. ------------------------------------------------------------------------ Le informamos, como destinatario de este mensaje, que el correo electr?nico y las comunicaciones por medio de Internet no permiten asegurar ni garantizar la confidencialidad de los mensajes transmitidos, as? como tampoco su integridad o su correcta recepci?n, por lo que TELECABLE DE ASTURIAS, S.A.U no asume responsabilidad alguna por tales circunstancias. Si no consintiese en la utilizaci?n del correo electr?nico o de las comunicaciones v?a Internet le rogamos nos lo comunique y ponga en nuestro conocimiento de manera inmediata. Este mensaje va dirigido, de manera exclusiva, a su destinatario y contiene informaci?n confidencial y sujeta al secreto profesional, cuya divulgaci?n no est? permitida por la ley. En caso de haber recibido este mensaje por error, le rogamos que, de forma inmediata, nos lo comunique mediante correo electr?nico remitido a nuestra atenci?n o a trav?s del tel?fono (+ 34) 984191000 y proceda a su eliminaci?n, as? como a la de cualquier documento adjunto al mismo. Asimismo, le comunicamos que la distribuci?n, copia o utilizaci?n de este mensaje, o de cualquier documento adjunto al mismo, cualquiera que fuera su finalidad , est?n prohibidas por la ley. ------------------------------------------------------------------------ -------------- next part -------------- A non-text attachment was scrubbed... Name: dggutierrez.vcf Type: text/x-vcard Size: 669 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 maxhetrick at verizon.net Wed Mar 31 13:36:54 2010 From: maxhetrick at verizon.net (Max Hetrick) Date: Wed, 31 Mar 2010 07:36:54 -0400 Subject: Nagios 3.2.1 - browser refresh In-Reply-To: References: <10E728E6-661D-46D8-91A5-E12B2A63C68B@xodus.org> <20100330191410.GM4621@bakgwai.americas.hpqcorp.net> Message-ID: <4BB333D6.7010608@verizon.net> Trisha Hoang wrote: > I have tried both and restarted apache. > 1) rename file $prefix/share/index.php to index.html, and > 2) placing this line " public"); ?>" on the first line of index.php. Same here, neither changing the filename to .html or adding the php line in the first line work for me either. CentOS 5.4 and Nagios 3.2.1. Regards, Max ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 xodus.org Wed Mar 31 13:50:34 2010 From: lists at xodus.org (Marc Powell) Date: Wed, 31 Mar 2010 06:50:34 -0500 Subject: Nagios 3.2.1 - browser refresh In-Reply-To: <4BB333D6.7010608@verizon.net> References: <10E728E6-661D-46D8-91A5-E12B2A63C68B@xodus.org> <20100330191410.GM4621@bakgwai.americas.hpqcorp.net> <4BB333D6.7010608@verizon.net> Message-ID: <742841AA-DDB1-4EFF-894E-FF70BA8985EB@xodus.org> On Mar 31, 2010, at 6:36 AM, Max Hetrick wrote: > Trisha Hoang wrote: >> I have tried both and restarted apache. >> 1) rename file $prefix/share/index.php to index.html, and >> 2) placing this line "> public"); ?>" on the first line of index.php. > > Same here, neither changing the filename to .html or adding the php line > in the first line work for me either. CentOS 5.4 and Nagios 3.2.1. Looking at CVS, there have been no changes to index.php in 14 months (several releases). Whatever's changed. it's not this. -- 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 paul.vaes at gmail.com Wed Mar 31 13:51:19 2010 From: paul.vaes at gmail.com (Paul Vaes) Date: Wed, 31 Mar 2010 13:51:19 +0200 Subject: Nagios 3.2.1 - browser refresh In-Reply-To: <4BB333D6.7010608@verizon.net> References: <10E728E6-661D-46D8-91A5-E12B2A63C68B@xodus.org> <20100330191410.GM4621@bakgwai.americas.hpqcorp.net> <4BB333D6.7010608@verizon.net> Message-ID: placing this line " public"); ?>" on the first line of index.php did work for me on SUSE 10.2 and Nagios 3.2.1 Thanks for the help Paul > > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Groetjes, Paul -------------- 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 maxhetrick at verizon.net Wed Mar 31 14:00:07 2010 From: maxhetrick at verizon.net (Max Hetrick) Date: Wed, 31 Mar 2010 08:00:07 -0400 Subject: Nagios 3.2.1 - browser refresh In-Reply-To: <742841AA-DDB1-4EFF-894E-FF70BA8985EB@xodus.org> References: <10E728E6-661D-46D8-91A5-E12B2A63C68B@xodus.org> <20100330191410.GM4621@bakgwai.americas.hpqcorp.net> <4BB333D6.7010608@verizon.net> <742841AA-DDB1-4EFF-894E-FF70BA8985EB@xodus.org> Message-ID: <4BB33947.2010103@verizon.net> Marc Powell wrote: > Looking at CVS, there have been no changes to index.php in 14 months (several releases). Whatever's changed. it's not this. Smells like CentOS to me...either Apache or PHP. I know there was an httpd update this past week for CentOS 5, which I loaded. Is everyone else experiencing this on CentOS updated? Regards, Max ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 31 17:55:17 2010 From: shadhin71 at gmail.com (shadih rahman) Date: Wed, 31 Mar 2010 11:55:17 -0400 Subject: greedy regular experssion nrpe Message-ID: I have a plugin script which does non-greedy regular expression search . Which works fine when invoked locally on the machine. However when I call it via nrpe, it does greedy regular expression search. Can someone shed some light into this? Thanks in advance -- 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 nagios at flatto.net Wed Mar 31 18:01:15 2010 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 31 Mar 2010 17:01:15 +0100 Subject: greedy regular experssion nrpe In-Reply-To: References: Message-ID: <4BB371CB.5010605@flatto.net> shadih rahman wrote: > I have a plugin script which does non-greedy regular expression search > . Which works fine when invoked locally on the machine. However when > I call it via nrpe, it does greedy regular expression search. Can > someone shed some light into this? Thanks in advance > > -- > Cordially, > Shadhin Rahman We could help more if we saw the regex and the nrpe definitions ( command and cfg file) -- 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 shadhin71 at gmail.com Wed Mar 31 18:14:05 2010 From: shadhin71 at gmail.com (shadih rahman) Date: Wed, 31 Mar 2010 12:14:05 -0400 Subject: greedy regular experssion nrpe In-Reply-To: <4BB371CB.5010605@flatto.net> References: <4BB371CB.5010605@flatto.net> Message-ID: Asif, Thanks for your response. I am attaching the actual plugin in this email. However the actual regular expression line is below. if ($_=~ qr/$xgrep/mo){ $returnstring= "We have found $xgrep in $opfile"; nrpe definition is something like this command[check_filecontent_x64]=/usr/lib64/nagios/plugins/check_filetest -n $ARG1$ -G $ARG2$ -c $ARG3$ service definition is something like this check_nrpe -H whatever -c check_filecontent_x64 -a filename ".*foo*" 1 On Wed, Mar 31, 2010 at 12:01 PM, Assaf Flatto wrote: > shadih rahman wrote: > > I have a plugin script which does non-greedy regular expression search > > . Which works fine when invoked locally on the machine. However when > > I call it via nrpe, it does greedy regular expression search. Can > > someone shed some light into this? Thanks in advance > > > > -- > > Cordially, > > Shadhin Rahman > We could help more if we saw the regex and the nrpe definitions ( > command and cfg file) > > > -- > 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 > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_filetest Type: application/octet-stream Size: 6040 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 nagios at flatto.net Wed Mar 31 18:32:07 2010 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 31 Mar 2010 17:32:07 +0100 Subject: greedy regular experssion nrpe In-Reply-To: References: <4BB371CB.5010605@flatto.net> Message-ID: <4BB37907.6010604@flatto.net> shadih rahman wrote: > Asif, > Thanks for your response. I am attaching the actual plugin in this > email. However the actual regular expression line is below. > > if ($_=~ qr/$xgrep/mo){ > $returnstring= "We have found $xgrep in $opfile"; > > > nrpe definition is something like this > > command[check_filecontent_x64]=/usr/lib64/nagios/plugins/check_filetest > -n $ARG1$ -G $ARG2$ -c $ARG3$ > > > service definition is something like this > > check_nrpe -H whatever -c check_filecontent_x64 -a filename ".*foo*" 1 if you want to pass the quotation marks to the test you will need to escape them . like this [ -a filename \"\.\*foo\*\" 1 ] so nrpe will pass them as part of the string to the daemon on the target machine. Assaf -- 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 mirde at oppy.com Wed Mar 31 20:06:23 2010 From: mirde at oppy.com (Mirza Dedic) Date: Wed, 31 Mar 2010 11:06:23 -0700 Subject: How to monitor a log file on a windows box? Message-ID: Hi, I have a few Windows boxes where I want to monitor a specific log files for matching errors, and if they are there; I want Nagios to warn the appropriate users. I have accomplished this on our AIX box using consol's check_logfile plugin, however I need this function for Windows. My windows boxes are monitored by NSClient++ (latest build). Any idea on how I could accomplish this? Examples? Nagios 3.2 NSClient 0.3.8 (running NRPE and NSCA) Thank you. 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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxhetrick at verizon.net Wed Mar 31 20:23:12 2010 From: maxhetrick at verizon.net (Max Hetrick) Date: Wed, 31 Mar 2010 14:23:12 -0400 Subject: How to monitor a log file on a windows box? In-Reply-To: References: Message-ID: <4BB39310.7050602@verizon.net> Mirza Dedic wrote: > I have a few Windows boxes where I want to monitor a specific log files for matching errors, and if they are there; I want Nagios to warn the appropriate users. > > I have accomplished this on our AIX box using consol's check_logfile plugin, however I need this function for Windows. My windows boxes are monitored by NSClient++ (latest build). > > Any idea on how I could accomplish this? Examples? > > Nagios 3.2 > NSClient 0.3.8 (running NRPE and NSCA) I have not used this, but check a these links out and see if they can do what you're looking to accomplish. http://exchange.nagios.org/directory/Addons/Monitoring-Agents/Windows-Eventlog-Addon/details http://exchange.nagios.org/directory/Addons/Log-File-Management Regards, Max ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 31 21:38:12 2010 From: shadhin71 at gmail.com (shadih rahman) Date: Wed, 31 Mar 2010 15:38:12 -0400 Subject: greedy regular experssion nrpe In-Reply-To: <4BB37907.6010604@flatto.net> References: <4BB371CB.5010605@flatto.net> <4BB37907.6010604@flatto.net> Message-ID: Assaf, Thank you for your help. Just wanted to add. Escaping with '\' did not work but it work when I use '$'. Thanks On Wed, Mar 31, 2010 at 12:32 PM, Assaf Flatto wrote: > shadih rahman wrote: > > Asif, > > Thanks for your response. I am attaching the actual plugin in this > > email. However the actual regular expression line is below. > > > > if ($_=~ qr/$xgrep/mo){ > > $returnstring= "We have found $xgrep in $opfile"; > > > > > > nrpe definition is something like this > > > > command[check_filecontent_x64]=/usr/lib64/nagios/plugins/check_filetest > > -n $ARG1$ -G $ARG2$ -c $ARG3$ > > > > > > service definition is something like this > > > > check_nrpe -H whatever -c check_filecontent_x64 -a filename ".*foo*" 1 > if you want to pass the quotation marks to the test you will need to > escape them . > like this [ -a filename \"\.\*foo\*\" 1 ] so nrpe will pass them as part > of the string to the daemon on the target machine. > > Assaf > > > > -- > 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 > -- 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 vicjalan at gmail.com Wed Mar 31 22:06:11 2010 From: vicjalan at gmail.com (Victor Lanza) Date: Wed, 31 Mar 2010 16:06:11 -0400 Subject: Monitor Thin Clients with Nagios Message-ID: Hi, Has anyone tried to monitor Thin Clients with Nagios..as far as hardware health or anything other than just ping? Specifically with Wyse thin clients and Nagios 3.0.6. I'm curious to see what can be monitored. Thanks, Victor -------------- 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 Wed Mar 31 22:57:27 2010 From: standalone.sysadmin at gmail.com (Matt Simmons) Date: Wed, 31 Mar 2010 16:57:27 -0400 Subject: Monitor Thin Clients with Nagios In-Reply-To: References: Message-ID: Like anything else, the thin clients have to be able to report, somehow. Given the fact that there is a Wyse MIB ( http://www.oidview.com/mibs/714/WYSE-MIB.html ), I'd wager they support SNMP, and thus could probably be set up like any other network accessible host. Also, there's a chance (though I'm unfamiliar with the equipment, so I don't know how good of a chance) that they could be setup for SNMP traps, in which case you can probably be alerted for hardware faults. Good luck. Get it done, then write some documentation! ;-) --Matt On Wed, Mar 31, 2010 at 4:06 PM, Victor Lanza wrote: > Hi, > > Has anyone tried to monitor Thin Clients with Nagios..as far as hardware > health or anything other than just ping? Specifically with Wyse thin clients > and Nagios 3.0.6. I'm curious to see what can be monitored. > > Thanks, > > Victor > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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