<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.hps
        {mso-style-name:hps;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If you are monitoring Linux, I would suggest this one, from the same page I directed you –
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">define command{<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">        command_name check_linux_snmp_proc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">        command_line $USER1$/check_snmp_process -H $HOSTADDRESS$ -C $USER15$ -2 -n $ARG1$ -w $ARG2$ -c $ARG3$<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">(Run the command interactively for all the necessary arguments, or see the web page - it’s pretty straightforward).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">James<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> leandro@guiadopc.info [mailto:leandro@guiadopc.info]
<br>
<b>Sent:</b> Saturday, May 12, 2012 3:29 PM<br>
<b>To:</b> nagiosusers@edcint.co.nz; Nagios Users List<br>
<b>Subject:</b> Re: [Nagios-users] Nagios + memory usage + SNMP<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Mattew,<o:p></o:p></p>
<p><span class="hps">I could use</span> <span class="hps">some</span> <span class="hps">
plugins</span> <span class="hps">snmp</span> <span class="hps">quite interesting</span>.
<span class="hps">Now I'm</span> <span class="hps">looking for</span> <span class="hps">
one</span> <span class="hps">that monitors</span> <span class="hps">the processes of</span>
<span class="hps">mysql and</span> <span class="hps">apache</span> <span class="hps">
remotely</span>. <span class="hps">I am monitoring</span> <span class="hps">Linux servers</span>.
<span class="hps">Do you</span> <span class="hps">suggest</span> <span class="hps">
any that work</span>?<o:p></o:p></p>
<p>Thanks<o:p></o:p></p>
<p>Leandro Ferreira<o:p></o:p></p>
<p><br>
<br>
<br>
Em 11/05/2012, Matthew Jurgens <<a href="mailto:nagiosusers@edcint.co.nz">nagiosusers@edcint.co.nz</a>> escreveu:<br>
> If you are checking Windows try check_wmi_plus (it is agentless)<br>
> <a 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 <br>
> Windows becomes a lot more consistent as you can use a single plugin for <br>
> everything<br>
> <br>
> On 12/05/2012 4:16 AM, James Pratt wrote:<br>
> > Ok here is how I check/monitor memory on windows systems using the check_snmp_storage script:<br>
> ><br>
> > Commands.cfg definition -<br>
> ><br>
> > ## 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!<br>
> > ##<br>
> > define command{<br>
> >          command_name check_snmp_phys_mem_win<br>
> >          command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ $USER16$ -m "Physical Memory" -w $ARG1$ -c $ARG2$<br>
> >          }<br>
> ><br>
> > (Where $USER16$ is the snmp user defined to be read-only on the server you are monitoring, in your resources.cfg file)<br>
> ><br>
> ><br>
> ><br>
> > ###<br>
> > Here is actual service definition in my services.cfg file -<br>
> ><br>
> > ## Windows SNMP Mem Usage warn on 85%, crit on 90%<br>
> > define service{<br>
> >          use                            generic-service,srv-pnp        ; Name of service template to use<br>
> >          host_name                      Windows1,Windows2<br>
> >          service_description            SNMP - Physical Memory Usage<br>
> >          check_period                    workhours<br>
> >        check_interval 15<br>
> >          max_check_attempts              5<br>
> >          notification_interval          60<br>
> >          notification_options            w,u,c,r<br>
> >          check_command                  check_snmp_phys_mem_win!85!90<br>
> >          }<br>
> ><br>
> > (If anything is missing from the above, it's being inherited from the hosts' definition to which it applies. HTH, have a good weekend.<br>
> ><br>
> > James<br>
> > -----Original Message-----<br>
> > From: Leandro @GuiadoPC <a href="mailto:[mailto:leandro@guiadopc.info]">[mailto:leandro@guiadopc.info]</a><br>
> > Sent: Friday, May 11, 2012 1:52 PM<br>
> > To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>
> > Cc: James Pratt<br>
> > Subject: Re: [Nagios-users] Nagios + memory usage + SNMP<br>
> ><br>
> > James,<br>
> ><br>
> > 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.<br>
> ><br>
> > thanks<br>
> ><br>
> > Leandro Ferreira<br>
> ><br>
> ><br>
> > Em Sex, 2012-05-11 às 16:19 +0000, James Pratt escreveu:<br>
> >> Hi -  I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on...<br>
> >><br>
> >> <a href="http://nagios.manubulon.com/">http://nagios.manubulon.com/</a><br>
> >><br>
> >> cheers,<br>
> >> James<br>
> >><br>
> >> -----Original Message-----<br>
> >> From: Leandro @GuiadoPC <a href="mailto:[mailto:leandro@guiadopc.info]">[mailto:leandro@guiadopc.info]</a><br>
> >> Sent: Friday, May 11, 2012 12:14 PM<br>
> >> To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>
> >> Subject: [Nagios-users] Nagios + memory usage + SNMP<br>
> >><br>
> >> Dear,<br>
> >><br>
> >> 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.<br>
> >> 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)?<br>
> >><br>
> >> thank you<br>
> >><br>
> >> Leandro Ferreira<br>
> >><br>
> >><br>
> >> ----------------------------------------------------------------------<br>
> >> --------<br>
> >> Live Security Virtual Conference<br>
> >> Exclusive live event will cover all the ways today's security and<br>
> >> threat landscape has changed and how IT managers can respond.<br>
> >> Discussions will include endpoint security, mobile security and the<br>
> >> latest in malware threats.<br>
> >> <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
> >> _______________________________________________<br>
> >> Nagios-users mailing list<br>
> >> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
> >> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
> >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
> >> ::: Messages without supporting info will risk being sent to /dev/null<br>
> >><br>
> >> ----------------------------------------------------------------------<br>
> >> --------<br>
> >> Live Security Virtual Conference<br>
> >> Exclusive live event will cover all the ways today's security and<br>
> >> threat landscape has changed and how IT managers can respond.<br>
> >> Discussions will include endpoint security, mobile security and the<br>
> >> latest in malware threats.<br>
> >> <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
> >> _______________________________________________<br>
> >> Nagios-users mailing list<br>
> >> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
> >> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
> >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
> >> ::: Messages without supporting info will risk being sent to /dev/null<br>
> ><br>
> > ------------------------------------------------------------------------------<br>
> > Live Security Virtual Conference<br>
> > Exclusive live event will cover all the ways today's security and<br>
> > threat landscape has changed and how IT managers can respond. Discussions<br>
> > will include endpoint security, mobile security and the latest in malware<br>
> > threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
> > _______________________________________________<br>
> > Nagios-users mailing list<br>
> > <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
> > <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
> > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
> > ::: Messages without supporting info will risk being sent to /dev/null<br>
> ><br>
> > -- <br>
> > Smartmon System Monitoring <<a href="http://www.smartmon.com.au">http://www.smartmon.com.au</a>><br>
> > <a href="http://www.smartmon.com.au">www.smartmon.com.au</a> <<a href="http://www.smartmon.com.au">http://www.smartmon.com.au</a>><br>
> <br>
> ----<br>
> <br>
> ------------------------------------------------------------------------------<br>
> Live Security Virtual Conference<br>
> Exclusive live event will cover all the ways today's security and <br>
> threat landscape has changed and how IT managers can respond. Discussions <br>
> will include endpoint security, mobile security and the latest in malware <br>
> threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
> <br>
> ----<br>
> <br>
> _______________________________________________<br>
> Nagios-users mailing list<br>
> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
<br>
> ::: Messages without supporting info will risk being sent to /dev/null<o:p></o:p></p>
</div>
</body>
</html>