Nagios + memory usage + SNMP
Matthew Jurgens
nagiosusers at edcint.co.nz
Sat May 12 02:18:35 CEST 2012
If you are checking Windows try check_wmi_plus (it is agentless)
http://www.edcint.co.nz/checkwmiplus
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
On 12/05/2012 4:16 AM, James Pratt wrote:
> 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 [mailto:leandro at guiadopc.info]
> Sent: Friday, May 11, 2012 1:52 PM
> To: nagios-users at lists.sourceforge.net
> 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:
>> Hi - I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on...
>>
>> http://nagios.manubulon.com/
>>
>> cheers,
>> James
>>
>> -----Original Message-----
>> From: Leandro @GuiadoPC [mailto:leandro at guiadopc.info]
>> Sent: Friday, May 11, 2012 12:14 PM
>> To: nagios-users at lists.sourceforge.net
>> 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.
>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> 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
>>
>> ----------------------------------------------------------------------
>> --------
>> 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.
>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> 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
>
> ------------------------------------------------------------------------------
> 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. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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
>
> --
> Smartmon System Monitoring <http://www.smartmon.com.au>
> www.smartmon.com.au <http://www.smartmon.com.au>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120512/dc2b1e85/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-------------- next part --------------
_______________________________________________
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