RE: Windows 2000/NT/XP etc. Disk Space

2002-09-19 Thread Peter HOLZLEITNER

 Use the windows SNMP service

From WIN2K on, the builtin SNMP agent supports the HOST-RESOURCES-MIB 
including the hrStorage Table.

In NT4, you can install the Microsoft PERFMIB tool that lets you read
any performance Counter variable through SNMP.  For details, a sample 
configuration and a way of checking, please see my current snmpvar
monitor (1.4) that I posted to this list two days ago (RE: Suggestion 
3rd party and supplied snmp monitors) - subdirectory ms-perfmib.

--Peter



___
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon



m4 eats the word include from mon.m4?

2002-09-19 Thread Ed Ravin

In my mon.m4, I have a router monitoring script with an argument like
this:

   -include=WAN

Without any problems.  Yesterday I added another invocation of that
script with the argument:

   -include=Serial10/4

And much to my surprise, the script didn't run - it turns out that
m4 was turning the second line into:

   -=Serial10/4

Since the script in question is using Perl's GetOpt::Long, which is
case-insensitive with verbose options, I changed the line to:

   -Include=Serial/10/4

Which still worked for the script but didn't trigger m4's line eater.

I know include is special to m4, but why would it eat one of those
lines but not the other?
___
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon



upalerts Get $MON_LAST_OUTPUT on stdin?

2002-09-19 Thread Chris Jepeway

Hi:

It looks to me like an up alert won't get the right
monitor output on its stdin: it's getting the same output
that's in MON_LAST_OUTPUT, not the output from the monitor
that noticed the service came back up.  The enclosed patch
better illustrates what I mean.

Is this correct?  Or do I misunderstand what input an up alert should see?

Chris [EMAIL PROTECTED].



--- ./mon   Sat Sep  8 09:42:05 2001
+++ /usr/mon/monThu Sep 19 15:26:31 2002
@@ -2865,7 +2865,8 @@
if (defined($sref-{_upalert})  $tmnow - $sref-{_first_failure} 
=
$sref-{upalertafter})
{
-   do_alert ($group, $service, $sref-{_last_output}, 0, 
$FL_UPALERT);
+#  do_alert ($group, $service, $sref-{_last_output}, 0, 
+$FL_UPALERT);
+   do_alert ($group, $service, $ibufs{$runningpid{$p}}, 0, 
+$FL_UPALERT);
}
}