We have added the checking time period in timeperiods.cfg file. and it is correctly showing in the Host State Information <br><table border="0"><tbody><tr><td>
<table border="1" cellpadding="0" cellspacing="0">
<tbody><tr><td class="stateInfoTable1">
<table border="0">
<tbody><tr><td class="dataVar">Host Status:</td><td class="dataVal"><div class="hostUP"> UP </div> (for 0d 1h 41m 11s)</td></tr>
<tr><td class="dataVar" valign="top">Status Information:</td><td class="dataVal">PING OK - Packet loss = 0%, RTA = 0.22 ms</td></tr>
<tr><td class="dataVar" valign="top">Performance Data:</td><td class="dataVal">rta=0.221000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0</td></tr>
<tr><td class="dataVar">Current Attempt:</td><td class="dataVal">1/10 (HARD state)</td></tr>
<tr><td class="dataVar">Last Check Time:</td><td class="dataVal">01-18-2011 10:00:00</td></tr>
<tr><td class="dataVar">Check Type:</td><td class="dataVal">ACTIVE</td></tr>
<tr><td class="dataVar" nowrap>Check Latency / Duration:</td><td class="dataVal">0.141 / 6.732 seconds</td></tr>
<tr><td class="dataVar">Next Scheduled Active Check: </td><td class="dataVal">01-19-2011 10:00:00</td></tr>
<tr><td class="dataVar">Last State Change:</td><td class="dataVal">01-18-2011 10:00:16</td></tr>
<tr><td class="dataVar">Last Notification:</td><td class="dataVal">01-18-2011 10:00:16 (notification 0)</td></tr>
<tr><td class="dataVar">Is This Host Flapping?</td><td class="dataVal"><div class="notflapping"> NO </div> (0.00% state change)</td></tr>
<tr><td class="dataVar">In Scheduled Downtime?</td><td class="dataVal"><div class="downtimeINACTIVE"> NO </div></td></tr>
<tr><td class="dataVar">Last Update:</td><td class="dataVal">01-18-2011 11:41:22 ( 0d 0h 0m 5s ago)</td></tr>
</tbody></table>
</td></tr>
</tbody></table>
</td></tr>
<tr><td>
<table border="1" cellpadding="0" cellspacing="0">
<tbody><tr><td class="stateInfoTable2">
<table border="0">
<tbody><tr><td class="dataVar">Active Checks:</td><td class="dataVal"><div class="checksENABLED"> ENABLED </div></td></tr>
<tr><td class="dataVar">Passive Checks:</td><td class="dataVal"><div class="checksENABLED"> ENABLED </div></td></tr>
<tr><td class="dataVar">Obsessing:</td><td class="dataVal"><div class="checksENABLED"> ENABLED </div></td></tr>
<tr><td class="dataVar">Notifications:</td><td class="dataVal"><div class="notificationsENABLED"> ENABLED </div></td></tr>
<tr><td class="dataVar">Event Handler:</td><td class="dataVal"><div class="eventhandlersENABLED"> ENABLED </div></td></tr>
<tr><td class="dataVar">Flap Detection:</td><td class="dataVal"><div class="flapdetectionENABLED"> ENABLED </div></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table><br>But we are getting notification every 30min, we have now edited the cofig file of the system and set notification to 720, as we need a notification only after every 12 hours. Hope this is the way to do it!!<br>
<br>Please advice. <font size="2"><b><i>Our aim is to collect information on systems which has not been shutdown at 10pm every night when most employees have already left the studio.</i></b></font><br><br><br><br><br><div class="gmail_quote">
On Mon, Jan 17, 2011 at 7:40 PM, Toonz IT <span dir="ltr"><<a href="mailto:it.toonz@gmail.com" target="_blank">it.toonz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
This is how we have given time period to check if a number of workstation were alive at 10PM every night of a week. But we are getting alerts every half an hour. where have we gone wrong.<br><br><br>define timeperiod{<br>
timeperiod_name 10pm<br>
alias 10:00 everyday<br> sunday 10:00-10:00<br> monday 10:00-10:00<br> tuesday 10:00-10:00<br>
wednesday 10:00-10:00<br> thursday 10:00-10:00<br> friday 10:00-10:00<br> saturday 10:00-10:00<br>
}<br>
<br>we are using FAN 2.0 virtual appliance.<div><div></div><div><br><br><br><br><br><div class="gmail_quote">On Fri, Jan 14, 2011 at 6:28 PM, Toonz IT <span dir="ltr"><<a href="mailto:it.toonz@gmail.com" target="_blank">it.toonz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Thanks Keif,<br><br>Will post if there are any issues... :-)<div><div></div><div>
<br><br><br><br><div class="gmail_quote">On Fri, Jan 14, 2011 at 5:27 PM, Leif J. <span dir="ltr"><<a href="mailto:nagios@ljnet.dk" target="_blank">nagios@ljnet.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
Simple, Create a timeperiod. For example I have:<br>
define timeperiod{<br>
timeperiod_name 9clock<br>
alias 09:00 every day<br>
sunday 09:00-09:00<br>
monday 09:00-09:00<br>
tuesday 09:00-09:00<br>
wednesday 09:00-09:00<br>
thursday 09:00-09:00<br>
friday 09:00-09:00<br>
saturday 09:00-09:00<br>
}<br>
<br>
<br>
That will say everyday at 9 it will be checked<br>
<br>
/Leif<br>
<br>
<br>
<br>
Den 14-01-2011 12:41, Toonz IT skrev:
<blockquote type="cite"><div><div></div><div><br>
We want to monitor alive systems daily at a scheduled time(after
office hours). <br>
<br>
We have users who repeatedly fail to switch off their workstations
after office hours, even after several requests to help save
power, and manually checking and switching off is not possible, so
we want to generate a history log of days when their systems were
kept on, so that they understand the loss they are generating.<br>
<br>
We have NSClient++ installed in these workstations, but how will
be schedule a one time checking? We already have hourly checks<br>
and alerts for rest of our critical servers.<br>
<br>
thanks<br>
ananth.<br>
</div></div><pre><fieldset></fieldset>
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
<a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</a></pre>
<pre><fieldset></fieldset>
_______________________________________________
Nagios-users mailing list
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
<br>
</div>
<br>------------------------------------------------------------------------------<br>
Protect Your Site and Customers from Malware Attacks<br>
Learn about various malware tactics and how to avoid them. Understand<br>
malware threats, the impact they can have on your business, and how you<br>
can protect your company and customers by using code signing.<br>
<a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>