[Nagios-users] Servers Inodes from nagios server

2013-04-28 Thread Ricardo Jose Teixeira Leite
Hi!

I´m tryin to use the check_disk pluggin from my nagios server to monitore the

inode of my other servers disks. But plugin only returns the local server inode.

How to?

please help me

Att.,



check_disk -w 10% -c 5% -p /tmp -p /var -C -w 10 -c 5 -p /
Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB
 check_disk -w 100 -c 50 -C -w 1000 -c 500 -g sidDATA -r '^/oracle/SID/data.*$'
Checks all filesystems not matching -r at 100M and 50M. The fs
matching the -r regex
are grouped which means the freespace thresholds are applied to
all disks together
 check_disk -w 100 -c 50 -C -w 1000 -c 500 -p /foo -C -w 5% -c 3% -p /bar
Checks /foo for 1000M/500M and /bar for 5/3%. All remaining
volumes use 100M/50M



-- 
*Ricardo José Teixeira Leite
GMMR - Gerência de Monitoração e Gestão**
**+55 31 3277 8317*
*
PRODABEL*
*Empresa de Informática e Informação*
*do Município de Belo Horizonte S/A*
*
*
*Av. Presidente Carlos Luz, 1275*
*Caiçara - Belo Horizonte - MG*
*CEP: 31.230-000*
**
**
*
*
Esta mensagem é enviada exclusivamente a seu(s) destinatário(s) e pode
conter informações confidenciais, protegidas por sigilo profissional. Sua
utilização desautorizada é ilegal e sujeita o infrator às penas da lei. Se
você a recebeu indevidamente, queira, por gentileza, reenviá-la ao
emitente, esclarecendo o equívoco. Caso queira relatar o mau uso deste
instrumento, favor entrar em contato com a Superintendência de Monitoração
e Gestão da PRODABEL.

This message is sent exclusively to its intended recipient(s) and may
contain confidential and privileged information protected by professional
secrecy. Their non-authorized use subjects offenders to the penalties of
law. If you have improperly received it, kindly redispatch it to the
sender, clarifying the error. If you want to report the misuse of this
instrument, kindly contact the Superintendence of Monitoration and
manageament of PRODABEL.

Só imprima esta mensagem se for realmente necessário. Contribua com a
preservação do meio-ambiente.

Please refrain from printing this message unless it is really necessary.
Contribute to preserving the environment.
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___
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] Servers Inodes from nagios server

2013-04-28 Thread Sunil Sankar
Please install nrpe and nagios plugin on the remote machine and then run
check_nrpe -H remotehost -c check_disks followed by argument ;)


On Sun, Apr 28, 2013 at 11:03 PM, Ricardo Jose Teixeira Leite 
ricardo.le...@pbh.gov.br wrote:

 Hi!

 I´m tryin to use the check_disk pluggin from my nagios server to monitore the

 inode of my other servers disks. But plugin only returns the local server 
 inode.

 How to?

 please help me

 Att.,



 check_disk -w 10% -c 5% -p /tmp -p /var -C -w 10 -c 5 -p /
 Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB
  check_disk -w 100 -c 50 -C -w 1000 -c 500 -g sidDATA -r 
 '^/oracle/SID/data.*$'
 Checks all filesystems not matching -r at 100M and 50M. The fs matching 
 the -r regex
 are grouped which means the freespace thresholds are applied to all disks 
 together
  check_disk -w 100 -c 50 -C -w 1000 -c 500 -p /foo -C -w 5% -c 3% -p /bar
 Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use 
 100M/50M



 --
 *Ricardo José Teixeira Leite
 GMMR - Gerência de Monitoração e Gestão**
 **+55 31 3277 8317*
 *
 PRODABEL*
 *Empresa de Informática e Informação*
 *do Município de Belo Horizonte S/A*
 *
 *
 *Av. Presidente Carlos Luz, 1275*
 *Caiçara - Belo Horizonte - MG*
 *CEP: 31.230-000*
 **
 **
 *
 *
 Esta mensagem é enviada exclusivamente a seu(s) destinatário(s) e pode
 conter informações confidenciais, protegidas por sigilo profissional. Sua
 utilização desautorizada é ilegal e sujeita o infrator às penas da lei. Se
 você a recebeu indevidamente, queira, por gentileza, reenviá-la ao
 emitente, esclarecendo o equívoco. Caso queira relatar o mau uso deste
 instrumento, favor entrar em contato com a Superintendência de Monitoração
 e Gestão da PRODABEL.

 This message is sent exclusively to its intended recipient(s) and may
 contain confidential and privileged information protected by professional
 secrecy. Their non-authorized use subjects offenders to the penalties of
 law. If you have improperly received it, kindly redispatch it to the
 sender, clarifying the error. If you want to report the misuse of this
 instrument, kindly contact the Superintendence of Monitoration and
 manageament of PRODABEL.

 Só imprima esta mensagem se for realmente necessário. Contribua com a
 preservação do meio-ambiente.

 Please refrain from printing this message unless it is really necessary.
 Contribute to preserving the environment.


 --
 Try New Relic Now  We'll Send You this Cool Shirt
 New Relic is the only SaaS-based application performance monitoring service
 that delivers powerful full stack analytics. Optimize and monitor your
 browser, app,  servers with just a few lines of code. Try New Relic
 and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
 ___
 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




-- 
Regards
Sunil Sankar
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___
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