Nagios + memory usage + SNMP

leandro at guiadopc.info leandro at guiadopc.info
Sun May 13 05:05:12 CEST 2012


Perfect. It seems to be really what I seek. Tomorrow I'll do some testing with it. Thank you for  help.

Leandro Ferreira

Em 12/05/2012, James Pratt <jpratt at norwich.edu> escreveu: 
> If you are monitoring Linux, I would suggest this one, from the same page I directed you – 
> 
> define command{ 
>         command_name check_linux_snmp_proc 
>         command_line $USER1$/check_snmp_process -H $HOSTADDRESS$ -C $USER15$ -2 -n $ARG1$ -w $ARG2$ -c $ARG3$ 
> 
> } 
> 
> 
> (Run the command interactively for all the necessary arguments, or see the web page - it’s pretty straightforward). 
> 
> James 
> 
> From: leandro at guiadopc.info [mailto:leandro at guiadopc.info] 
> Sent: Saturday, May 12, 2012 3:29 PM 
> To: nagiosusers at edcint.co.nz; Nagios Users List 
> Subject: Re: [Nagios-users] Nagios + memory usage + SNMP 
> 
> 
> Mattew, 
> 
> I could use some plugins snmp quite interesting. Now I'm looking for one that monitors the processes of mysql and apache remotely. I am monitoring Linux servers. Do you suggest any that work? 
> 
> Thanks 
> 
> Leandro Ferreira 
> 
> 
> 
> Em 11/05/2012, Matthew Jurgens <nagiosusers at edcint.co.nz<mailto:nagiosusers at edcint.co.nz>> escreveu: 
> > 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]<mailto:[mailto:leandro at guiadopc.info]> 
> > > Sent: Friday, May 11, 2012 1:52 PM 
> > > To: nagios-users at lists.sourceforge.net<mailto: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]<mailto:[mailto:leandro at guiadopc.info]> 
> > >> Sent: Friday, May 11, 2012 12:14 PM 
> > >> To: nagios-users at lists.sourceforge.net<mailto: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<mailto: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<mailto: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<mailto: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> <http://www.smartmon.com.au> 
> > 
> > ---- 
> > 
> > ------------------------------------------------------------------------------ 
> > 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<mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120513/b89d0005/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