FW: Nagios and PerfMon

Joseph Lundback Joseph.Lundback at touchbet.com.mt
Tue Oct 20 12:55:29 CEST 2009


Forgot to include the list :( My bad
>
> > Hi list,
> >
> > First, please forgive me if some had already answered this bu I
> wasn't
> > able to find some answers.
> >
> > I have to query Windows' perfmon agent from Nagios. Is there a way to
> > realize such a thing or have I to install an agent like NSClient++
> and
> > then querying it with check_nt?
> >
> > Sorry to bother you with that (naive) question
> >
> > Marc-André
>
>
>
> Hi Marc-André,
>
>
> The way I have solved the problem of query Performance Counters in
> Windows is to user check_nt and check_nrpe.
>
> With check_nt you can query the counters directly, here is an example
> when I query the SQL Total allocated Pages in memory.
>
> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s $USER4$  -v
> COUNTER -d SHOWALL -l "\\MSSQL\$MSSQL:Buffer Manager\Total
> pages","Total allocated pages in memory: %.f"
>
>
> One other way is to use the CheckWMI, where you can use WMI querys to
> get the relevant performance data.
> Example:
>
> check_command           check_nrpe!CheckWMI!"Query=Select
> ProcessorQueueLength from Win32_PerfRawData_PerfOS_System" MaxWarn=2
> MaxCrit=3
>
> Hope this helps,
> Joseph
>
> >
> >
> > ---------------------------------------------------------------------
> --
> > -------
> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart
> > your
> > developing skills, take BlackBerry mobile applications to market and
> > stay
> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > http://p.sf.net/sfu/devconference
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at 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

The information in this E-mail is confidential. If you are not the intended recipient please notify the sender immediately and delete this E-mail without reading, using or disseminating the information contained in it. Although Touchbet Ltd believes this E-mail and any attachments are free of any virus or other defect which may affect a computer, it is the responsibility of the recipient to ensure that it is virus free and Touchbet Ltd does not accept any responsibility for any loss or damage arising in any way from its use.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list