[Nagios-users-br] Qual plugin utilizar

2011-08-09 Thread Giovann Restani
Tenho um servidor linux que não é o nagios, gostaria que esse servidor fosse
monitorado pelo nagios, como devo proceder?
--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


[Nagios-users-br] RES: Qual plugin utilizar

2011-08-09 Thread benedito.ramos
Para facilitar nossa vida, poderia dizer o que quer monitorar no servidor Linux?

Diramos

-Mensagem original-
De: Giovann Restani [mailto:giovann.rest...@gmail.com] 
Enviada em: terça-feira, 9 de agosto de 2011 10:04
Para: nagios-users-br@lists.sourceforge.net
Assunto: [Nagios-users-br] Qual plugin utilizar

Tenho um servidor linux que não é o nagios, gostaria que esse servidor fosse
monitorado pelo nagios, como devo proceder?
--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


Re: [Nagios-users] Nagios Core Log file

2011-08-09 Thread mail
On Mon, Aug 8, 2011 at 5:01 PM, Robert J Molerio rjm...@nyu.edu wrote:
 Hello,
 I was told the NAGIOS CORE  logfile  would log any changes made to host
 command  execution ie:  External commands:who turned off what and  when.
 Upon examination of my logfile it sems that this is not the case.
 The log file indicates only that a particular service was enabled or disable
 but it does not indiacte the user id that performed the change.

 Can anyone point me in the right direction to make this happen?

Users / Authentication are not as such managed by Nagios core.
We use the Nagios cgis running through Apache, so if we want to see
which user issued a command we look in the Apache log files.

HTH
Ritchie,
--
-- http://23.me.uk/2 --
--Time flies like an arrow; fruit flies like a banana.  --


 Snippet of log file :

 [root@its019-lap-v:var]# pwd
 /usr/local/nagios/var
 [root@its019-lap-v:var]# ls -lat
 total 188
 drwxrwxr-x 5 nagios nagios  4096 Aug  8 11:15 .
 -rw-rw-r-- 1 nagios nagios 51204 Aug  8 11:15 status.dat
 -rw-r--r-- 1 nagios nagios  4561 Aug  8 11:09 nagios.log
 -rw--- 1 nagios nagios 50697 Aug  8 11:09 retention.dat
 drwxrwxr-x 2 nagios nagios  4096 Aug  8 00:00 archives
 -rw-r--r-- 1 nagios nagios 41229 Aug  5 15:09 objects.cache
 -rw-r--r-- 1 nagios nagios 6 Aug  1 13:24 nagios.lock
 drwxrwsr-x 2 nagios nagcmd  4096 Aug  1 13:24 rw
 drwxrwxr-x 9 nagios nagios  4096 Jul  1 15:06 ..
 drwxrwxr-x 3 nagios nagios  4096 Jun 27 15:54 spool
 [root@its019-lap-v:var]# cat nagios.log
 [1312776000] LOG ROTATION: DAILY
 [1312776000] LOG VERSION: 2.0
 [1312776541] Auto-save of retention data completed successfully.
 [1312780141] Auto-save of retention data completed successfully.
 [1312783741] Auto-save of retention data completed successfully.
 [1312787341] Auto-save of retention data completed successfully.
 [1312790941] Auto-save of retention data completed successfully.
 [1312794541] Auto-save of retention data completed successfully.
 [1312798141] Auto-save of retention data completed successfully.
 [1312801741] Auto-save of retention data completed successfully.
 [1312805172] EXTERNAL COMMAND: DEL_ALL_SVC_COMMENTS;TPC Server;root space
 [1312805341] Auto-save of retention data completed successfully.
 [1312808941] Auto-save of retention data completed successfully.
 [1312812541] Auto-save of retention data completed successfully.
 [1312816017] EXTERNAL COMMAND: ENABLE_SVC_NOTIFICATIONS;Nagios Server;HTTP
 [1312816033] EXTERNAL COMMAND: ENABLE_SVC_NOTIFICATIONS;Nagios Server;SSH
 [1312816141] Auto-save of retention data completed successfully.


 --
 Thank you,

 Bob Molerio
 Systems Administrator
 New York University
 ITS Computer Facilities Services/Infrastructure
 Level C-2
 75 Third Avenue
 New York NY 10003-5527
 email:robert.mole...@nyu.edu



 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 The must-attend event for mobile developers. Connect with experts.
 Get tools for creating Super Apps. See the latest technologies.
 Sessions, hands-on labs, demos  much more. Register early  save!
 http://p.sf.net/sfu/rim-blackberry-1
 ___
 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


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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 Core Log file

2011-08-09 Thread Enrico Zimol
On 9 August 2011 09:25,  m...@catsnest.co.uk wrote:
 On Mon, Aug 8, 2011 at 5:01 PM, Robert J Molerio rjm...@nyu.edu wrote:

 Can anyone point me in the right direction to make this happen?

 which user issued a command we look in the Apache log files.

... that you can find in /var/log/httpd/ on RedHat based distribution..

Example:
tail -f /var/log/httpd/access_log


Bye

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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


[Nagios-users] Look soku89

2011-08-09 Thread Max Alex
04y10q5o5qqq.
 http://ianscott.biz/wp-content/uploads/img/oafv.html
79o9xjv 4q6rlp n1nprps0, 6a8svdq kh7uwj. fpiwe quqcnwb2a 6t5e5e.

-- 
Thanks,
Max Alex
Voip Developer

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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] Suggestions for event correlation managers?

2011-08-09 Thread Frost, Mark {PBC}


Splunk perhaps?

Mark

From: Furnish, Trever G [tgfurn...@herffjones.com]
Sent: Tuesday, August 09, 2011 12:30 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Suggestions for event correlation managers?

Anyone?  C'mon, don't be shy! :-)

--
Trever


From: Furnish, Trever G [tgfurn...@herffjones.com]
Sent: Friday, August 05, 2011 4:45 PM
To: nagios-users@lists.sourceforge.net
Cc: Boeglin, Adam R
Subject: [Nagios-users] Suggestions for event correlation managers?

Hello,

I'm looking for suggestions for applying Nagios' style of event handling 
(escalations, recoveries, acknowledgements), hopefully with some improvements 
(aggregation), to events coming from many different (non-Nagios) sources.  I 
know of a few Nagios-specific notification aggregators, but can anyone 
recommend a good (preferably inexpensive / OSS) way of expanding that to 
include many other tools?  I know about SNARE and RiverMuse, but they're 
relatively expensive.

We make heavy use of Nagios as well as several other tools (MSFT SCOM, HP SIM, 
Oracle Grid Control, AlertSite.net, etc).  They're all sending alerts in 
various forms to a small group of admins and engineers, so many of us get 
alerts from all of the tools, sometimes from more than one tool regarding a 
single event.

Nagios does a great job of flexibly managing alerts from its own events, but I 
don't see how I'd hook in the other tools.  Several of the tools (e.g. SCOM and 
SIM) don't even have any concept of event correlation -- breakage and recovery 
are two separate events.

I see tools like SNARE, RiverMuse ECM, and a few others filling this gap, at 
least partially, but I don't yet have experience with them and they're 
relatively expensive.  Anyone doing this effectively with OSS tools or low-cost 
tools or a good home-grown approach you wouldn't mind sharing (and possibly 
collaborating on)?

--
Trever Furnish, tgfurn...@herffjones.com
Herff Jones, Inc. Solutions Architect
Phone: 317.612.3519


--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
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

--
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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] Override service notification time

2011-08-09 Thread David Wilkinson
On 08/08/11 18:18, Chris Beattie wrote:

 You can set it on a per-host basis.  If you do not define a notification
 timeperiod in a service's template or definition, the service will
 inherit its notification timeperiod from its associated host.

 Check out the section on implied inheritance here:
 http://nagios.sourceforge.net/docs/nagioscore/3/en/objectinheritance.html

 I have separate host templates for my development and production servers
 which have different notification timeperiods, and one set of service
 definitions associated with both types of hosts.


Ah yes, that was the problem, I had the timeperiod set in the service 
template, I removed it from the template and it was inherited it from host.

Thanks



--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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] check_http with multiple outcomes?

2011-08-09 Thread Dr. Ed Morbius
Terry:

on 23:37 Mon 08 Aug, Terry Carmen (te...@cnysupport.com) wrote:
 Quoting Edward Morbius dredmorb...@gmail.com:
 
  When some things are going well and others aren't fully up to speed (slow
  database), we'll get a DATABASE_TEST_RAN_LONG, which isn't ideal, but at
  least for a few occurances (n = 5) we can live with.  In particular, we
  DON'T want a single result sounding off pagers in the middle of the night.
 
 You can specify -e OK,DATABASE_TEST_RAN_LONG, then let the plugin
 decide if it's slow or not, with the -w,  -c and -t  parameters.
 
 Terry

Thanks.

I'd considered that. It doesn't quite match what we want to test.  I'm
thinking we may need to have a few different tests, possibly related to
one another.

If there's a 4xx/5xx error, it's a hard fail.

If there's no 4xx/5xx error, but we get the DATABASE_TEST_RAN_LONG
result, it's a soft fail, turning hard on 6 repeats.  That string
appears in our application, it's not a nagios-determined slowness.
Alternately, we might want to have a separate test for DB performance
(there may well be, I'm still digging through rules and tests).

If there's an OK result, there's no error.


The 4xx/5xx errors are exclusive of the other two possible results. If
there's no 4xx/5xx error, we've got the option of either of the other
two conditions.

So: is this a three-check test?  How would I set precedence among them?

-- 
Dr. Ed Morbius, Chief Scientist /|
  Robot Wrangler / Staff Psychologist| When you seek unlimited power
Krell Power Systems Unlimited|  Go to Krell!

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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] check_http with multiple outcomes?

2011-08-09 Thread Terry Carmen
Quoting Dr. Ed Morbius dredmorb...@gmail.com:

 Terry:

 on 23:37 Mon 08 Aug, Terry Carmen (te...@cnysupport.com) wrote:
 Quoting Edward Morbius dredmorb...@gmail.com:
 
  When some things are going well and others aren't fully up to speed (slow
  database), we'll get a DATABASE_TEST_RAN_LONG, which isn't ideal, but at
  least for a few occurances (n = 5) we can live with.  In particular, we
  DON'T want a single result sounding off pagers in the middle of the night.

 You can specify -e OK,DATABASE_TEST_RAN_LONG, then let the plugin
 decide if it's slow or not, with the -w,  -c and -t  parameters.

 Terry

 Thanks.

 I'd considered that. It doesn't quite match what we want to test.  I'm
 thinking we may need to have a few different tests, possibly related to
 one another.

 If there's a 4xx/5xx error, it's a hard fail.

 If there's no 4xx/5xx error, but we get the DATABASE_TEST_RAN_LONG
 result, it's a soft fail, turning hard on 6 repeats.  That string
 appears in our application, it's not a nagios-determined slowness.
 Alternately, we might want to have a separate test for DB performance
 (there may well be, I'm still digging through rules and tests).

 If there's an OK result, there's no error.


 The 4xx/5xx errors are exclusive of the other two possible results. If
 there's no 4xx/5xx error, we've got the option of either of the other
 two conditions.

 So: is this a three-check test?  How would I set precedence among them?

You can actually completely ignore the DATABASE_TEST_RAN_LONG result and let 
the plugin decide if it ran long or not. That's part of it's design. The plugin 
also handles the 4xx and 5xx errors. 

However if you insist on using the DATABASE_TEST_RAN_LONG result to determine 
if the server is happy, then you'll need to modify the plugin to catch the 
string and interpret it as a WARNING OR CRITICAL as appropriate. Nagios won't 
notify on it until it happens several times in a row, depending on your 
specific settings.

Unless I'm misunderstanding something, The only result that matters is OK 
because everything else is Not OK, regardless of whether it's a performance 
issue, an access issue or a server failure. I believe you're unnecessarily 
complicating the test.
--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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] Public page

2011-08-09 Thread Justin Pryzby
Can you use cgi.cfg:authorized_for_read_only for that?

http://nagios.sourceforge.net/docs/3_0/configcgi.html

Justin

On Sat, Aug 06, 2011 at 06:22:20PM -0300, Diogo Melo wrote:
 I would like to use nagios to monitor a few sites I have. But I want to have
 a public page where I can show the high service availability I'm getting.
 Is there something ready to use that matches with what I want? A way to show
 a few results without give any manage control.

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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


[Nagios-users] check_procs count going haywire on Ubuntu

2011-08-09 Thread Kimberly McKinnis
After wondering why all of the processes I'm checking with check_procs
were counting an extra, I discovered the bug with /bin/dash under Debian
[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626913]

As a workaround (because I'm not interested in changing the default shell
for the entire server), I called /bin/bash when defining my commands in
nrpe.cfg. Now they're going haywire in a different way. For instance:

command[check_pdns_config_pub]=/bin/bash -c
/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a pdns_server
--config-name=public

But now Nagios reports: PROCS OK: 271 processes

I am baffled. Every process I am checking now reports 271, which is how
many total processes are running. Prior to explicitly defining the shell
in the command, it was reporting correctly but adding one process to the
count, so I shouldn't have broken it too badly here.

Any suggestions on a better workaround? Thanks!

C O N V I V A 
Kimberly McKinnis | Systems Engineer, Service Delivery | k...@conviva.com |
Mobile: 724.612.2716 |
2 WATERS PARK DRIVE  |  SUITE 150  |  SAN MATEO  |  CA  |  94403  |
www.conviva.com |




--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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] check_procs count going haywire on Ubuntu

2011-08-09 Thread up
 After wondering why all of the processes I'm checking with check_procs
 were counting an extra, I discovered the bug with /bin/dash under Debian
 [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626913]

 As a workaround (because I'm not interested in changing the default shell
 for the entire server), I called /bin/bash when defining my commands in
 nrpe.cfg. Now they're going haywire in a different way. For instance:

 command[check_pdns_config_pub]=/bin/bash -c
 /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a pdns_server
 --config-name=public

Wait...looks like your quotes are in the wrong place.  Try:

 command[check_pdns_config_pub]=/bin/bash -c 
/usr/lib/nagios/plugins/check_procs
-w 1:1 -c 1:1 -a pdns_server --config-name=public

Everything after -c should be in double quotes.

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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