Re: [Nagios-users] Nagios + memory usage + SNMP

2012-05-12 Thread leandro

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?ThanksLeandro Ferreira


Em 11/05/2012, Matthew Jurgens lt;nagiosus...@edcint.co.nzgt; escreveu:
gt; If you are checking Windows try check_wmi_plus (it is agentless)
gt; http://www.edcint.co.nz/checkwmiplus
gt; 
gt; It can do all of that and a lot more which means your monitoring of 
gt; Windows becomes a lot more consistent as you can use a single plugin for 
gt; everything
gt; 
gt; On 12/05/2012 4:16 AM, James Pratt wrote:

gt; gt; Ok here is how I check/monitor memory on windows systems using the 
check_snmp_storage script:
gt; gt;
gt; gt; Commands.cfg definition -
gt; gt;
gt; gt; ## 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!
gt; gt; ##
gt; gt; define command{
gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; command_name check_snmp_phys_mem_win
gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; command_line $USER1$/check_snmp_storage -H 
$HOSTADDRESS$ $USER16$ -m Physical Memory -w $ARG1$ -c $ARG2$
gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; }
gt; gt;
gt; gt; (Where $USER16$ is the snmp user defined to be read-only on the 
server you are monitoring, in your resources.cfg file)
gt; gt;
gt; gt;
gt; gt;
gt; gt; ###
gt; gt; Here is actual service definition in my services.cfg file -
gt; gt;
gt; gt; ## Windows SNMP Mem Usage warn on 85%, crit on 90%
gt; gt; define service{
gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; usenbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; 
nbsp; nbsp; nbsp; nbsp; nbsp;  generic-service,srv-pnpnbsp; nbsp; nbsp; nbsp;  ; Name of service template to use
gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; host_namenbsp; nbsp; nbsp; nbsp; nbsp; nbsp; 
nbsp; nbsp; nbsp; nbsp; nbsp; Windows1,Windows2
gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; service_descriptionnbsp; nbsp; nbsp; 
nbsp; nbsp; nbsp;  SNMP - Physical Memory Usage
gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; check_periodnbsp; nbsp; nbsp; nbsp; nbsp; 
nbsp; nbsp; nbsp; nbsp; nbsp; workhours
gt; gt;nbsp; nbsp; nbsp; nbsp;  check_interval15
gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; max_check_attemptsnbsp; nbsp; nbsp; nbsp; 
nbsp; nbsp; nbsp; 5
gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; notification_intervalnbsp; nbsp; nbsp; 
nbsp; nbsp;  60
gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; notification_optionsnbsp; nbsp; nbsp; 
nbsp; nbsp; nbsp; w,u,c,r
gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; check_commandnbsp; nbsp; nbsp; nbsp; nbsp; 
nbsp; nbsp; nbsp; nbsp;  check_snmp_phys_mem_win!85!90
gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; }
gt; gt;
gt; gt; (If anything is missing from the above, it's being inherited from the 
hosts' definition to which it applies. HTH, have a good weekend.
gt; gt;
gt; gt; James
gt; gt; -Original Message-
gt; gt; From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info]
gt; gt; Sent: Friday, May 11, 2012 1:52 PM
gt; gt; To: nagios-users@lists.sourceforge.net
gt; gt; Cc: James Pratt
gt; gt; Subject: Re: [Nagios-users] Nagios + memory usage + SNMP
gt; gt;
gt; gt; James,
gt; gt;
gt; gt; 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.
gt; gt;
gt; gt; thanks
gt; gt;
gt; gt; Leandro Ferreira
gt; gt;
gt; gt;
gt; gt; Em Sex, 2012-05-11 às 16:19 +, James Pratt escreveu:
gt; gt;gt; Hi -nbsp; I've used these snmp plugins for a long time, as I 
have too many to install nrpe/etc on...
gt; gt;gt;
gt; gt;gt; http://nagios.manubulon.com/
gt; gt;gt;
gt; gt;gt; cheers,
gt; gt;gt; James
gt; gt;gt;
gt; gt;gt; -Original Message-
gt; gt;gt; From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info]
gt; gt;gt; Sent: Friday, May 11, 2012 12:14 PM
gt; gt;gt; To: nagios-users@lists.sourceforge.net
gt; gt;gt; Subject: [Nagios-users] Nagios + memory usage + SNMP
gt; gt;gt;
gt; gt;gt; Dear,
gt; gt;gt;
gt; gt;gt; 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.
gt; gt;gt; 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)?
gt; gt;gt;
gt; gt;gt; thank you
gt; gt;gt;
gt; gt;gt; Leandro Ferreira
gt; gt;gt;
gt; gt;gt;
gt; gt;gt; 
--
gt; gt;gt; 
gt; gt;gt; Live Security Virtual Conference
gt; gt;gt; Exclusive live event will cover all the ways today's security and
gt; gt;gt; threat landscape has changed and how IT managers can respond.
gt; gt;gt; Discussions will include endpoint security, mobile security and 
the
gt; gt;gt; latest in malware

Re: [Nagios-users] Nagios + memory usage + SNMP

2012-05-12 Thread James Pratt
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: lean...@guiadopc.info [mailto:lean...@guiadopc.info]
Sent: Saturday, May 12, 2012 3:29 PM
To: nagiosus...@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 
nagiosus...@edcint.co.nzmailto:nagiosus...@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{
   usegeneric-service,srv-pnp; 
  Name of service template to use
   host_name  Windows1,Windows2
   service_descriptionSNMP - Physical Memory Usage
   check_periodworkhours
 check_interval 15
   max_check_attempts  5
   notification_interval  60
   notification_optionsw,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:lean...@guiadopc.info]mailto:[mailto:lean...@guiadopc.info]
  Sent: Friday, May 11, 2012 1:52 PM
  To: 
  nagios-users@lists.sourceforge.netmailto:nagios-users@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 +, 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:lean...@guiadopc.info]mailto:[mailto:lean...@guiadopc.info]
  Sent: Friday, May 11, 2012 12:14 PM
  To: 
  nagios-users@lists.sourceforge.netmailto:nagios-users@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@lists.sourceforge.netmailto:Nagios-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/nagios-users
  ::: Please include Nagios version, plugin version (-v) and OS

Re: [Nagios-users] Nagios + memory usage + SNMP

2012-05-12 Thread leandro

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

Leandro Ferreira

Em 12/05/2012, James Pratt lt;jpr...@norwich.edugt; escreveu: 
gt; If you are monitoring Linux, I would suggest this one, from the same page I directed you – 
gt; 
gt; define command{ 
gt; nbsp; nbsp; nbsp; nbsp; command_name check_linux_snmp_proc 
gt; nbsp; nbsp; nbsp; nbsp; command_line $USER1$/check_snmp_process -H $HOSTADDRESS$ -C $USER15$ -2 -n $ARG1$ -w $ARG2$ -c $ARG3$ 
gt; 
gt; } 
gt; 
gt; 
gt; (Run the command interactively for all the necessary arguments, or see the web page - it’s pretty straightforward). 
gt; 
gt; James 
gt; 
gt; From: lean...@guiadopc.info [mailto:lean...@guiadopc.info] 
gt; Sent: Saturday, May 12, 2012 3:29 PM 
gt; To: nagiosus...@edcint.co.nz; Nagios Users List 
gt; Subject: Re: [Nagios-users] Nagios + memory usage + SNMP 
gt; 
gt; 
gt; Mattew, 
gt; 
gt; 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? 
gt; 
gt; Thanks 
gt; 
gt; Leandro Ferreira 
gt; 
gt; 
gt; 
gt; Em 11/05/2012, Matthew Jurgens lt;nagiosus...@edcint.co.nzlt;mailto:nagiosus...@edcint.co.nzgt;gt; escreveu: 
gt; gt; If you are checking Windows try check_wmi_plus (it is agentless) 
gt; gt; http://www.edcint.co.nz/checkwmiplus 
gt; gt; 
gt; gt; It can do all of that and a lot more which means your monitoring of 
gt; gt; Windows becomes a lot more consistent as you can use a single plugin for 
gt; gt; everything 
gt; gt; 
gt; gt; On 12/05/2012 4:16 AM, James Pratt wrote: 
gt; gt; gt; Ok here is how I check/monitor memory on windows systems using the check_snmp_storage script: 
gt; gt; gt; 
gt; gt; gt; Commands.cfg definition - 
gt; gt; gt; 
gt; gt; gt; ## 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! 
gt; gt; gt; ## 
gt; gt; gt; define command{ 
gt; gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; command_name check_snmp_phys_mem_win 
gt; gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ $USER16$ -m Physical Memory -w $ARG1$ -c $ARG2$ 
gt; gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; } 
gt; gt; gt; 
gt; gt; gt; (Where $USER16$ is the snmp user defined to be read-only on the server you are monitoring, in your resources.cfg file) 
gt; gt; gt; 
gt; gt; gt; 
gt; gt; gt; 
gt; gt; gt; ### 
gt; gt; gt; Here is actual service definition in my services.cfg file - 
gt; gt; gt; 
gt; gt; gt; ## Windows SNMP Mem Usage warn on 85%, crit on 90% 
gt; gt; gt; define service{ 
gt; gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; usenbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; generic-service,srv-pnpnbsp; nbsp; nbsp; nbsp; ; Name of service template to use 
gt; gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; host_namenbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; Windows1,Windows2 
gt; gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; service_descriptionnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; SNMP - Physical Memory Usage 
gt; gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; check_periodnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; workhours 
gt; gt; gt;nbsp; nbsp; nbsp; nbsp; check_interval 15 
gt; gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; max_check_attemptsnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; 5 
gt; gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; notification_intervalnbsp; nbsp; nbsp; nbsp; nbsp; 60 
gt; gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; notification_optionsnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; w,u,c,r 
gt; gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; check_commandnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; check_snmp_phys_mem_win!85!90 
gt; gt; gt;nbsp; nbsp; nbsp; nbsp; nbsp; } 
gt; gt; gt; 
gt; gt; gt; (If anything is missing from the above, it's being inherited from the hosts' definition to which it applies. HTH, have a good weekend. 
gt; gt; gt; 
gt; gt; gt; James 
gt; gt; gt; -Original Message- 
gt; gt; gt; From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info]lt;mailto:[mailto:lean...@guiadopc.info]gt; 
gt; gt; gt; Sent: Friday, May 11, 2012 1:52 PM 
gt; gt; gt; To: nagios-users@lists.sourceforge.netlt;mailto:nagios-users@lists.sourceforge.netgt; 
gt; gt; gt; Cc: James Pratt 
gt; gt; gt; Subject: Re: [Nagios-users] Nagios + memory usage + SNMP 
gt; gt; gt; 
gt; gt; gt; James, 
gt; gt; gt; 
gt; gt; gt; 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. 
gt; gt; gt; 
gt; gt; gt; thanks 
gt; gt; gt; 
gt; gt; gt; Leandro Ferreira 
gt; gt; gt; 
gt; gt; gt; 
gt; gt; gt; Em Sex, 2012-05-11 às 16:19 +, James Pratt escreveu: 
gt; gt; gt;gt; Hi -nbsp; I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on... 
gt; gt; gt;gt; 
gt; gt; gt;gt; http://nagios.manubulon.com/ 
gt; gt; gt;gt; 
gt; gt; gt;gt

[Nagios-users] Nagios + memory usage + SNMP

2012-05-11 Thread Leandro @GuiadoPC
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@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


Re: [Nagios-users] Nagios + memory usage + SNMP

2012-05-11 Thread James Pratt
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:lean...@guiadopc.info] 
Sent: Friday, May 11, 2012 12:14 PM
To: nagios-users@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@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@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


Re: [Nagios-users] Nagios + memory usage + SNMP

2012-05-11 Thread Leandro @GuiadoPC
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 +, 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:lean...@guiadopc.info] 
 Sent: Friday, May 11, 2012 12:14 PM
 To: nagios-users@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@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@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@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

Re: [Nagios-users] Nagios + memory usage + SNMP

2012-05-11 Thread James Pratt
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_periodworkhours
   check_interval   15
max_check_attempts  5
notification_interval   60
notification_optionsw,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:lean...@guiadopc.info] 
Sent: Friday, May 11, 2012 1:52 PM
To: nagios-users@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 +, 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:lean...@guiadopc.info]
 Sent: Friday, May 11, 2012 12:14 PM
 To: nagios-users@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@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@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@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

Re: [Nagios-users] Nagios + memory usage + SNMP

2012-05-11 Thread Matthew Jurgens

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_periodworkhours
check_interval  15
 max_check_attempts  5
 notification_interval   60
 notification_optionsw,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:lean...@guiadopc.info]
Sent: Friday, May 11, 2012 1:52 PM
To: nagios-users@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 +, 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:lean...@guiadopc.info]
Sent: Friday, May 11, 2012 12:14 PM
To: nagios-users@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@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@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