[Nagios-users] About retry intervals of Host Check
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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[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 +] GET /nagios/cgi-bin/status.cgi?hostgroup=allstyle=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 +] 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 +] 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 +] 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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] About Notifications after commit
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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Re-send: Notificaitons after the commit
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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] A bit OT Apache- nagios refresh issue
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 [nag...@flatto.net] Sent: Monday, March 01, 2010 8:01 AM To: nagios-users@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 +] GET /nagios/cgi-bin/status.cgi?hostgroup=allstyle=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 +] 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 +] 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 +] 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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] A bit OT Apache- nagios refresh issue
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 ?php header(Cache-Control: max-age=7200, public); ? This must be the first line in this file. Or just rename index.php to index.html Joerg -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] A bit OT Apache- nagios refresh issue
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 ?php header(Cache-Control: max-age=7200, public); ? 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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] A bit OT Apache- nagios refresh issue
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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] A bit OT Apache- nagios refresh issue
On Mon, Mar 1, 2010 at 7:23 PM, Joerg Linge pitchf...@ederdrom.de wrote: Just add a header line to share/index.php ?php header(Cache-Control: max-age=7200, public); ? This must be the first line in this file. Or just rename index.php to index.html Thanks adding ?php header.. ? to index.php also works for me -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] A bit OT Apache- nagios refresh issue
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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] A bit OT Apache- nagios refresh issue
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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] multiple check_interval with single service check
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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] multiple check_interval with single service check
On 1 March 2010 19:47, shadih rahman shadhi...@gmail.com 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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] multiple check_interval with single service check
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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null