<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
BEHAVIOR: url(#default#VML)
}
o\:* {
BEHAVIOR: url(#default#VML)
}
w\:* {
BEHAVIOR: url(#default#VML)
}
.shape {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle18 {
COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY vlink=purple link=blue>
<DIV align=left><SPAN class=297170501-18102006><FONT face=Arial color=#0000ff size=2>Perhaps store the data in a database with a
timestamp.</FONT></SPAN></DIV>
<DIV align=left><SPAN class=297170501-18102006></SPAN> </DIV>
<DIV align=left><SPAN class=297170501-18102006><FONT face=Arial color=#0000ff size=2>When the next check is done</FONT></SPAN></DIV>
<DIV align=left><SPAN class=297170501-18102006><FONT face=Arial color=#0000ff size=2> Retrieve the last entry from the
database</FONT></SPAN></DIV>
<DIV align=left><SPAN class=297170501-18102006> <FONT face=Arial color=#0000ff size=2>Store the new data</FONT></SPAN></DIV>
<DIV align=left><SPAN class=297170501-18102006><FONT face=Arial color=#0000ff size=2>
<DIV align=left><SPAN class=297170501-18102006> <FONT face=Arial color=#0000ff size=2>Calculate the delta or
average</FONT></SPAN></DIV> Check the age of the
delta</FONT></SPAN></DIV>
<DIV align=left><SPAN class=297170501-18102006><FONT face=Arial color=#0000ff size=2> Compare against your
threshold</FONT></SPAN></DIV>
<DIV align=left><SPAN class=297170501-18102006> <FONT face=Arial color=#0000ff size=2>Return a status</FONT></SPAN></DIV>
<DIV align=left><SPAN class=297170501-18102006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV align=left><SPAN class=297170501-18102006><FONT face=Arial color=#0000ff size=2>Python, Perl, even PHP (cmd) can give you easy access to
the db.</FONT></SPAN></DIV>
<DIV align=left><SPAN class=297170501-18102006></SPAN><SPAN class=297170501-18102006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV align=left><SPAN class=297170501-18102006><FONT face=Arial color=#0000ff size=2>Or bash : </FONT></SPAN><SPAN class=297170501-18102006><FONT face=Arial color=#0000ff size=2><A href="http://www.edlsystems.com/shellsql/">http://www.edlsystems.com/shellsql/</A></FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><!-- Converted from text/rtf format -->
<P><B><FONT face=Verdana size=2>Matthew Joyce</FONT></B> <BR><FONT face=Verdana color=#808080 size=1>02 9382 0051</FONT><B> <FONT face=Verdana color=#808080 size=1>|</FONT></B><FONT face=Verdana color=#808080 size=1> 0412
309745</FONT><B> <FONT face=Verdana color=#808080 size=1>|</FONT></B><FONT face=Verdana color=#808080 size=1> IT Manager</FONT><B> <FONT face=Verdana color=#808080 size=1>|</FONT></B><FONT face=Verdana color=#808080 size=1>
Children's Cancer Institute Australia for Medical Research</FONT> </P><BR>
<DIV> </DIV><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B>
nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of </B>Frank,
Jason<BR><B>Sent:</B> Wednesday, 18 October 2006 5:01 AM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Re: [Nagios-users]
checking a counter on a website<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV align=left><SPAN class=584225518-17102006><FONT face=Arial color=#0000ff size=2>This actually hits on what I consider to be one of Nagios' (few)
weaknesses. A lot of time, when I do my checks, I'm not nearly as
interested in the value of a check as in the change in the value since the
last check. This is a good example. Another item I
monitor is changes in the SNMP Interface error counters. For example, if
I get more than 5 errors/second, I need to send out an alert. Finally, I
have the same issue monitoring SNMP Interface statuses. But, Nagios has
no feature to remember data between invocations of the checks. So, I end
up storing this data in temporary files. If there was a facility to
provide some information back to Nagios, and retrieve it on the next one, that
would be wonderful.</FONT></SPAN></DIV>
<DIV align=left><SPAN class=584225518-17102006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV align=left><SPAN class=584225518-17102006><FONT face=Arial color=#0000ff size=2>Jason</FONT></SPAN></DIV>
<DIV align=left><SPAN class=584225518-17102006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV align=left>
<HR>
</DIV>
<DIV align=left><FONT face=Tahoma size=2><B>From:</B>
nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of </B>Andrew
Cruse<BR><B>Sent:</B> Tuesday, October 17, 2006 1:52 PM<BR><B>To:</B>
'Maxwell,Brady'; nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Re:
[Nagios-users] checking a counter on a website<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I would just write a
quick script that grabs the value on the counter, then grabs the value again
and subtracts the first from the second. Publish that value out via SNMP
and then just use check_snmp to verify that the value is >=1. People
with more programming skills than I would probably just write one plugin to do
it all.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Andrew</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center size=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Maxwell,Brady<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tuesday, October 17, 2006 2:45
PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B>
nagios-users@lists.sourceforge.net<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [Nagios-users] checking a
counter on a website</SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Anyone ever tried to check a
websites hit counter and return a warning if the hit counter has not
incremented since the previous check? </SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Brady Maxwell</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Systems Engineer</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Online Computer Library Center,
Inc.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">614.764.6133 |
maxwellb@oclc.org</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<TABLE>
<TBODY>
<TR>
<TD bgcolor=#ffffff><FONT color=#000000><BR><FONT face=arial size=1>This
message (including any attachments) may contain confidential or
otherwise privileged information and is intended only for the
individual(s) to which it is addressed. If you are not the named
addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. E-mail
transmission cannot be guaranteed to be secured or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive
late or incomplete, or contain viruses. The sender therefore does not
accept liability for any errors or omissions in the contents of this
message or that arise as a result of e-mail transmission. If
verification is required please request a hard-copy version from the
sender. <BR><BR>SOURCECORP, Incorporated
<BR>www.srcp.com<BR></FONT><BR></FONT></TD></TR></TBODY></TABLE></BLOCKQUOTE></BODY></HTML>