Lars, I am not sure if this is what you are looking for. We use NSclient++ to monitor windows hosts and this is our setup for monitoring the Cpu Load on windows hosts.
#Command Definition for CPU Load (were $USER7 is a macro for the pwd to #access the windows host): define command{ command_name check_nt_cpu command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v CPULOAD -l $ARG1$ -s $USER7$ } #This service definition will generate a critical alert if the 10-minute CPU #load is 90% or more or a warning alert if the 10-minute load is 80% or #greater. Just change the 10,80,90 as you please to fit your monitoring. Service definition: define service { use generic-service host_name thehost001 service_description Cpu servicegroups cpu-load check_command check_nt_cpu!10,80,90 Hope it helps. Thanks, Palle > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Richard Quintin > Sent: Tuesday, August 05, 2008 8:23 AM > To: Lars Jørgensen > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Alerting on 100% cpu for a period of time > > Anything is _possible_. :) > > The smart folks on this list can probably suggest something better, > but one option would be to have a sar process logging cpu usage to a > file and then an NRPE check to look at the values in that file. > > On Tue, Aug 5, 2008 at 4:19 AM, Lars Jørgensen <[EMAIL PROTECTED]> wrote: > > Hi. > > > > Is it possible to alert when a windows host has been running af 100% cpu > for, say 20 minutes? > > > > > > -- > > Lars > > > > > > ------------------------------------------------------------------------ > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > 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 > > > > > > -- > Richard Quintin, DBA > Database & Application Administration > Virginia Tech > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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