<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
If you are checking Windows try check_wmi_plus (it is agentless)<br>
<a class="moz-txt-link-freetext" href="http://www.edcint.co.nz/checkwmiplus">http://www.edcint.co.nz/checkwmiplus</a><br>
<br>
It can do all of that and a lot more which means your monitoring of
Windows becomes a lot more consistent as you can use a single plugin
for everything<br>
<br>
On 12/05/2012 4:16 AM, James Pratt wrote:
<blockquote
cite="mid:591A34BAEC8DBF44AFAB2E127B4D8A8E055CCC@NUEXCH1.norwich.edu"
type="cite">
<pre wrap="">Ok here is how I check/monitor memory on windows systems using the check_snmp_storage script:
Commands.cfg definition -
## check phys mem on a windows server or vm - note the server must have snmpd installed and running, as well as a RO user defined!
##
define command{
command_name check_snmp_phys_mem_win
command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ $USER16$ -m "Physical Memory" -w $ARG1$ -c $ARG2$
}
(Where $USER16$ is the snmp user defined to be read-only on the server you are monitoring, in your resources.cfg file)
###
Here is actual service definition in my services.cfg file -
## Windows SNMP Mem Usage warn on 85%, crit on 90%
define service{
use generic-service,srv-pnp ; Name of service template to use
host_name Windows1,Windows2
service_description SNMP - Physical Memory Usage
check_period workhours
check_interval 15
max_check_attempts 5
notification_interval 60
notification_options w,u,c,r
check_command check_snmp_phys_mem_win!85!90
}
(If anything is missing from the above, it's being inherited from the hosts' definition to which it applies. HTH, have a good weekend.
James
-----Original Message-----
From: Leandro @GuiadoPC [<a class="moz-txt-link-freetext" href="mailto:leandro@guiadopc.info">mailto:leandro@guiadopc.info</a>]
Sent: Friday, May 11, 2012 1:52 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>
Cc: James Pratt
Subject: Re: [Nagios-users] Nagios + memory usage + SNMP
James,
Would post the command.cfg host.cfg and with the command checking memory for me based on them? I am new to Nagios, I still need to adjust the command line.
thanks
Leandro Ferreira
Em Sex, 2012-05-11 às 16:19 +0000, James Pratt escreveu:
</pre>
<blockquote type="cite">
<pre wrap="">Hi - I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on...
<a class="moz-txt-link-freetext" href="http://nagios.manubulon.com/">http://nagios.manubulon.com/</a>
cheers,
James
-----Original Message-----
From: Leandro @GuiadoPC [<a class="moz-txt-link-freetext" href="mailto:leandro@guiadopc.info">mailto:leandro@guiadopc.info</a>]
Sent: Friday, May 11, 2012 12:14 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>
Subject: [Nagios-users] Nagios + memory usage + SNMP
Dear,
I'm using Nagios for a short time and I need to understand one thing about snmp + nagios. Before I was using Cacti and could monitor the memory usage on the hosts without having to install anything on it.
Picked up the information via SNMP. In Nagios, so I'm looking to monitor memory usage and some other services I have to install the NRPE + xinetd hosts. There is another option to monitrar these services without having to install anything on remote hosts (being in the same network as the server)?
thank you
Leandro Ferreira
----------------------------------------------------------------------
--------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions will include endpoint security, mobile security and the
latest in malware threats.
<a class="moz-txt-link-freetext" href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">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
----------------------------------------------------------------------
--------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions will include endpoint security, mobile security and the
latest in malware threats.
<a class="moz-txt-link-freetext" href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">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>
<pre wrap="">
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. <a class="moz-txt-link-freetext" href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">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>
<br>
<div class="moz-signature">-- <br>
<font size="-1">
<a href="http://www.smartmon.com.au">Smartmon System
Monitoring</a>
<br>
<a href="http://www.smartmon.com.au">www.smartmon.com.au</a> </font></div>
</blockquote>
</body>
</html>