Re: [Nagios-users-br] Nagios atrás de Firewall

2008-07-14 Thread Marcel
On 7/8/08, Linux [EMAIL PROTECTED] wrote:

 Oi Diego

 De uma olhada em Distributed Monitoring na página 211 do manual do
 Nagios.
 Acho que isso pode ser uma solução.


html tem paginação?

Inté
 Oscar


 -
 Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
 Studies have shown that voting for your favorite open source project,
 along with a healthy diet, reduces your potential for chronic lameness
 and boredom. Vote Now at http://www.sourceforge.net/community/cca08
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
-- 
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-br] Nagios atrás de Firewall

2008-07-14 Thread Linux
Ai ai ai...
Depois os mineiros é que são capiais da roça...

 html tem paginação?

Lógico que não. Mas é por isso que tem a versão PDF do manual.
Versão 3.x: http://nagios.sourceforge.net/docs/nagios-3.pdf

Inté
Oscar


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
-- 
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] New user with nagios 3.0.3 hanging.

2008-07-14 Thread Jose Luis Garcia
Hello agian,

I'm experiencing right now the same problem. And I'm trying to doing some
forensic.

It's working in a 2 CPU system and main daemon is taking one of them.

With truss I just get many many lines like this

/2: poll(0xFEF79F88, 1, 500)= 1
/2: poll(0xFEF79F88, 1, 500)= 1
/2: poll(0xFEF79F88, 1, 500)= 1
/2: poll(0xFEF79F88, 1, 500)= 1
/2: poll(0xFEF79F88, 1, 500)= 1
/2: poll(0xFEF79F88, 1, 500)= 1
/2: poll(0xFEF79F88, 1, 500)= 1
/2: poll(0xFEF79F88, 1, 500)= 1
/2: poll(0xFEF79F88, 1, 500)= 1

And the only pool entry in code is in utill.c, function

void * command_file_worker_thread(void *arg){

And the output (1) match this

#define EPERM   1   /* Not super-user   */

But although with this error it should write to nagios.log, nothing is
written.

I have also checked the external command file

# ls -l /usr/local/nagios/var/rw/nagios.cmd
prw-rw   1 nagios   nagcmd 47675 Jul 14 09:08
/usr/local/nagios/var/rw/nagios.cmd

And I've seen than this code is the same than in 3.0.1.

Any idea?

Trying to stop nagios (/etc/init.d/nagios stop) I can't. I just get

Warning - nagios did not exit in a timely manner

And 3 nagios processes are still running. So I had to kill -9 them

Thanks a lot

Jose Luis



2008/7/11 Jose Luis Garcia [EMAIL PROTECTED]:


 Hello,

 My name is Jose Luis and I'm wrinting from Spain.

 I have recently installed Nagios in a Solaris 9 box.

 While I was in version 3.0.1, 1 month or so, everything has been working
 smoothly, but now, with version 3.0.3 Nagios has hanged twice (once a week
 more or less).

 Nagios daemon is running but neither checks are performed nor external
 commands processed. So I have to restart it.

 Anyone else have experienced this behaviour?

 Any suggestions? We are thinking of setting up a cron check to detect this
 situation (no entries in nagios.log), but perhaps we are experiencing some
 kind of bug that should be solved in new releases.

 Thank you very much indded

 Jose Luis



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
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-ping

2008-07-14 Thread Andreas Ericsson
Jeff Koch wrote:
 Hi Philipp:
 
 Thanks for your help. When we ran ping as nagios it bombed. Permissions on 
 ping needed to be set SUID root so that an ICMP socket could be opened. We 
 had changed that for security reasons. We'll make nagios sudo root for 
 ping. That should solve the problem.
 

Changing /bin/ping to not be suid root for security reasons and then changing
Nagios to be suid root to fix a problem this causes seems more than just a
little backwards to me.

Do chmod 4711 /bin/ping instead. ping is a simple program of ~4000 LoC. It
has been thouroughly audited for security holes. Nagios is, in comparison, a
complex elephantine monster of 80.000 LoC. Add any and all plugins it might
run as well and you'll be well on your way to 250k LoC or more. Nobody has
bothered auditing it very much from a security standpoint because it's not
supposed to run with root permissions.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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-ping

2008-07-14 Thread Christopher Odenbach

Hi,

 Changing /bin/ping to not be suid root for security reasons and then changing
 Nagios to be suid root to fix a problem this causes seems more than just a
 little backwards to me.
 
 Do chmod 4711 /bin/ping instead. ping is a simple program of ~4000 LoC. It
 has been thouroughly audited for security holes. Nagios is, in comparison, a
 complex elephantine monster of 80.000 LoC. Add any and all plugins it might
 run as well and you'll be well on your way to 250k LoC or more. Nobody has
 bothered auditing it very much from a security standpoint because it's not
 supposed to run with root permissions.

For checks which require root privileges we use sudo. That way it is
easy to configure the usage to a single user: the nagios user.

Just put something like

nagios  ALL=NOPASSWD: /usr/bin/aptitude # added by nagios-plugins-debs

in your /etc/sudoers file and that is it. The check of course has to
call the binary with sudo prepended, e.g. 'sudo aptitude ...'.

Christopher


-- 
==
Dipl.-Ing. Christopher Odenbach
Zentrum fuer Informations- und Medientechnologien
Universitaet Paderborn
Raum N5.122
[EMAIL PROTECTED]
Tel.: +49 5251 60 5315
==



signature.asc
Description: OpenPGP digital signature
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
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] hosts

2008-07-14 Thread James

I found this in the documentation:
check_interval: NOTE: Do NOT enable regularly scheduled checks of a host
unless you absolutely need to! Host checks are already performed on-demand
when necessary, so there are few times when regularly scheduled checks
would be needed. Regularly scheduled host checks can negatively impact
performance - see the performance tuning tips for more information. This
directive is used to define the number of time units between regularly
scheduled checks of the host. Unless you've changed the interval_length
directive from the default value of 60, this number will mean minutes.
More information on this value can be found in the check scheduling
documentation.

If I do NOT have a check_interval, how often are hosts checked?



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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] Help - I am unable to get the NSClient++ to restart services

2008-07-14 Thread Jonathan Williams
I am having a little trouble installing the NRPE 2.8 plug in Ubuntu.  I
am able to extract the source code tarball and than I am having issues
after that.  Per the instructions I am trying to compile the NRPE add-on
by running

 

./configure

make all

 

After I type ./configure I get a message at the end of the compile job
saying configuration error: Cannot find ssl libraries.  Than if I try
to go further by installing the plugins by typing make all or the
individual make install-pluggin I get an error saying ** No rule to make
target 'all'.  Stop.  

 



From: Paulo Ribas [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 11, 2008 2:04 PM
To: Jonathan Williams
Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to
restart services

 

Ok, If you need, contact me.

[]'s
--





- Jonathan Williams wrote: 
 

I found the NRPE add-on (not plug-in) so I will download and install
that.  I'll let you know if I run into anything.  You have been more
than helpful.

 

Thanks,

 

Jon

 



From: Paulo Ribas [mailto:[EMAIL PROTECTED] 
 Sent: Friday, July 11, 2008 1:49 PM
 To: Jonathan Williams
 Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++
to restart services

 

check_nrpe is part of the package nrpe, if you use ubuntu, I believe
that only an apt-get install nrpe solve your problem.

[]'s
 --
 


 
 - Jonathan Williams wrote: 
  

OK.. I do not have check_nrpe so apparently I need to download that
plug-in on by Ubuntu box.

 



From: Paulo Ribas [mailto:[EMAIL PROTECTED] 
  Sent: Friday, July 11, 2008 1:42 PM
  To: Jonathan Williams
  Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++
to restart services

 

The commando must be:
  
  

define command{

command_name restart-Spooler

command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c
service_control -a Spooler start

}


  
  ex:

define command{

command_name restart-Spooler

command_line /usr/local/nagios/libexec/check_nrpe -H
$HOSTADDRESS$ -p 5666 -n -c service_control -a Spooler start

}

risk being sent to /dev/null

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
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] hosts

2008-07-14 Thread Marc Powell

On Jul 14, 2008, at 9:41 AM, James wrote:


 If I do NOT have a check_interval, how often are hosts checked?

When necessary.

The check scheduling documentation isn't complete yet for 3.x but the  
first section of the following page is still valid --

http://nagios.sourceforge.net/docs/2_0/networkreachability.html

--
Marc


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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] OpenVMS memory monitoring by SNMP

2008-07-14 Thread Paulus, Jake
Good morning:

 

Has anyone had any success monitoring memory usage for OpenVMS 8.3
ALPHA? I have tried the HOST-RESOURCES-MIB as well as the CPQHOST-MIB as
provided by System Management Homepage for OpenVMS as well as Insight
Management Agents for OpenVMS. The results I get from these sources are
inconsistent with each other and inaccurate when compared to show mem
on the system itself. Please see snmpwalk output below for more detail.
Please note: CPQHOST-MIB memory is documented as being measured in
megabytes.

 

Jake Paulus

Systems Engineer/Administrator

Source Interlink Companies

 

HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 3107612 KBytes

HOST-RESOURCES-MIB::hrStorageType.1 = OID:
HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.2 = OID:
HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.3 = OID:
HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageType.4 = OID:
HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageType.5 = OID:
HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageType.6 = OID:
HOST-RESOURCES-TYPES::hrStorageRam


HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 8192 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 8192 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 1 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 1 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 8192 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 32 Bytes


HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 25
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 4232
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 10084352
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 7536640
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 306691
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 1379


HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 5348416
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 4166576
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 14492
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 1379


10084352
7536640
306691*8192=2512412672
1379*32=44128

total=2530077792 bytes



5348416
4166576
14492*8192=118718464
1379*32=44128

used=128277584 bytes



Physical128277584/2530077792 bytes
Virtual   0/2082668544 bytes

CPQHOST-MIB::cpqHoPhysicalMemorySize.0 = INTEGER: 3072
CPQHOST-MIB::cpqHoPhysicalMemoryFree.0 = INTEGER: 1160
CPQHOST-MIB::cpqHoPagingMemorySize.0 = INTEGER: 929
CPQHOST-MIB::cpqHoPagingMemoryFree.0 = INTEGER: -989

 

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
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] hosts

2008-07-14 Thread James
On Mon, July 14, 2008 10:58 am, Marc Powell wrote:


 On Jul 14, 2008, at 9:41 AM, James wrote:



 If I do NOT have a check_interval, how often are hosts checked?


 When necessary.


 The check scheduling documentation isn't complete yet for 3.x but the
 first section of the following page is still valid --

 http://nagios.sourceforge.net/docs/2_0/networkreachability.html

What if there is one service (ping).
Isn't it the same as having a check_interval on a host with no services?


 --
 Marc



 -
  Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
 Studies have shown that voting for your favorite open source project,
 along with a healthy diet, reduces your potential for chronic lameness and
 boredom. Vote Now at http://www.sourceforge.net/community/cca08
 ___
 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





-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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] (no subject)

2008-07-14 Thread James
If flapping is enabled but flapping notification is disabled and the host
really goes down then is it possible there is no down notification?

I am trying to figure out why there was no notification of a host being down.
It does notify if I give it a bogus IP and it is unreachable.



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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] Question about Flapping notification

2008-07-14 Thread Paulus, Jake
Yes - if a host is flapping, you won't be notified of each up/down. 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Sent: Monday, July 14, 2008 11:10 AM
To: Nagios-users@lists.sourceforge.net
Subject: [Nagios-users] (no subject)

If flapping is enabled but flapping notification is disabled and the
host
really goes down then is it possible there is no down notification?

I am trying to figure out why there was no notification of a host being
down.
It does notify if I give it a bogus IP and it is unreachable.




-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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] hosts

2008-07-14 Thread Mark Young

 What if there is one service (ping).
 Isn't it the same as having a check_interval on a host with no  
 services?

Depending on which version of Nagios you are running.  Nagios 2.x host  
checks are run in series while Nagios 3.x most host checks are run in  
Parallel ( much faster as Nagios doesn't have to wait for the slow  
ping check to continue with everything else).  So in Nagios 3.x it is  
similar to having it only check the host.  But the logic of Nagios  
host and service checks are different.  You should have a service  
check for ping and a host check with ping.

And to your earlier question:
You should check out Marc Powells post to the list earlier this year  
for some added insight to host checks keeping in mind that host checks  
are now performed faster in Nagios 3.x. 
http://article.gmane.org/gmane.network.nagios.user/52470

If you set the check_interval to be 0 disables regular checks or  
checks that are performed on a time interval.  Nagios will then check  
the host if a service of the host is in a non-OK state.  The  
documentation for the Nagios 3.x Service Check Scheduling has yet to  
be completed but you still might get some insight from the 2.x docs if  
you keep in mind the change in how host checks are executed 
http://nagios.sourceforge.net/docs/2_0/checkscheduling.html

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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] flapping

2008-07-14 Thread James
If flapping is enabled but flapping notification is disabled and the host
really goes down then is it possible there is no down notification?

I am trying to figure out why there was no notification of a host being down.
It does notify if I give it a bogus IP and it is unreachable.



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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] Question about Flapping notification

2008-07-14 Thread James
On Mon, July 14, 2008 11:13 am, Paulus, Jake wrote:
 Yes - if a host is flapping, you won't be notified of each up/down.

The history graph shows Indeterminate around that time, could that be
the host was down after flapping?




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of James
 Sent: Monday, July 14, 2008 11:10 AM
 To: Nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] (no subject)


 If flapping is enabled but flapping notification is disabled and the
 host really goes down then is it possible there is no down notification?

 I am trying to figure out why there was no notification of a host being
 down. It does notify if I give it a bogus IP and it is unreachable.




 
 -
 Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
 Studies have shown that voting for your favorite open source project,
 along with a healthy diet, reduces your potential for chronic lameness and
 boredom. Vote Now at http://www.sourceforge.net/community/cca08
 ___
 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





-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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] Log time stamps

2008-07-14 Thread Jay R. Ashworth
On Sun, Jul 13, 2008 at 07:58:39PM -0400, Janet Post wrote:
If you would like to see the log files with a human-readable timestamp:
 perl -pe 's/(\d+)/localtime($1)/e' logfile
Janet

Nice trick.  I was surmising there might be some way to do that, but a
perl one-liner didn't occur to me.

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Josef Stalin)

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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-ping

2008-07-14 Thread Jay R. Ashworth
On Mon, Jul 14, 2008 at 01:54:03PM +0200, Andreas Ericsson wrote:
 Jeff Koch wrote:
  Thanks for your help. When we ran ping as nagios it bombed. Permissions on 
  ping needed to be set SUID root so that an ICMP socket could be opened. We 
  had changed that for security reasons. We'll make nagios sudo root for 
  ping. That should solve the problem.
 
 Changing /bin/ping to not be suid root for security reasons and then changing
 Nagios to be suid root to fix a problem this causes seems more than just a
 little backwards to me.

I've left Jeff's quote in so you can see, Andreas, that you misread
him.  He didn't say SUID root.  He said sudo -- he plans to set the
nagios Linux user up so it can sudo to run ping as root.

Seems sensible to me.

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Josef Stalin)

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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] Nagios v3 WAP

2008-07-14 Thread Robert Small
I recently upgraded from Nagios2 to version3, and it¹s running beautifully.
All except for the WAP interface.  I¹ve searched the web, and the archives
and haven¹t found anything that might help.

When my users go to the wap interface (which worked GREAT under v2) and try
to acknowledge a problem (either a host or a service), they get:

Error: You're not authorized to commit that command!

I¹ve made sure that they all have access to:

Authorization Requirements:
If you are authorized for system information you can view Nagios process
information. 
If you are authorized for all hosts you can view status data for all hosts
and services. 
If you are authorized for all services you can view status data for all
services. 

And they are authenticating.

If you are an authenticated contact you can view status data for all hosts
and services for which
you are a contact. 

Any ideas and help would be appreicated.

Thanks!

Robert
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
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] NagiosWiki.org announcement

2008-07-14 Thread Michael Streb
Hi List,

after the last week`s announcement of NagiosForge.org another new Nagios
related site went online just a few minutes ago.

We`ve created a new platform called NagiosWiki.org, the intention behind the
NagiosWiki is to integrate nicely into NagiosExchange and NagiosForge.

It is now possible to link from NagiosExchange via WikiWords into the
NagiosWiki. This integration makes it possible to create better
documentation wit
h images, HTML tables etc. for your community developed NAGIOS plugins based
on the fancy MediaWiki syntax.

Another aim of NagiosWiki.org is to host best practice and addon
documentation which you would like to share with the NAGIOS community.

Your already registered usernames on NagiosExchange are fully synced to
NagiosWiki, so you can just logon with your registered NagiosExchange
credentia
ls.

We would be happy to have you as an author on http://www.NagiosWiki.org

Best regards,

Michael Streb
-- 
Michael Streb
Managing Consultant

NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 Nürnberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein | AG Nürnberg HRB18461

http://www.netways.de | [EMAIL PROTECTED]

** NETWAYS Nagios Konferenz 2008 - http://www.nagioskonferenz.de **


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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 v3 WAP

2008-07-14 Thread Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
Are we playing stump the dummy? What is WAP? 


Harry M. Hart Systems integrator
(757) 203-7422
DSN 668-7422
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Small
Sent: Monday, July 14, 2008 12:35 PM
To: Nagios Users Mailinglist
Subject: [Nagios-users] Nagios v3  WAP

I recently upgraded from Nagios2 to version3, and it's running
beautifully.  All except for the WAP interface.  I've searched the web,
and the archives and haven't found anything that might help.

When my users go to the wap interface (which worked GREAT under v2) and
try to acknowledge a problem (either a host or a service), they get:

Error: You're not authorized to commit that command!

I've made sure that they all have access to:

Authorization Requirements: 
If you are authorized for system information you can view Nagios process
information. 
If you are authorized for all hosts you can view status data for all
hosts and services. 
If you are authorized for all services you can view status data for all
services. 

And they are authenticating.

If you are an authenticated contact you can view status data for all
hosts and services for which you are a contact. 

Any ideas and help would be appreicated.

Thanks!

Robert 

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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 v3 WAP

2008-07-14 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote:
| Are we playing stump the dummy? What is WAP?

Google found plenty of hits but this one seems to tell it best:
http://en.wikipedia.org/wiki/Wireless_Application_Protocol

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIe4rGBvzDRVjxmYERArujAJ49pteG+oY6cxNf3Z4HdwOlIJFXTgCfTEL3
uuAyBrQEhZ+zd4aWQyXqdhg=
=4etV
-END PGP SIGNATURE-

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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 v3 WAP

2008-07-14 Thread Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
Thanks, I thought it was something Nagios specific. 


Harry M. Hart Systems integrator
(757) 203-7422
DSN 668-7422
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hugo
van der Kooij
Sent: Monday, July 14, 2008 1:20 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Nagios v3  WAP

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote:
| Are we playing stump the dummy? What is WAP?

Google found plenty of hits but this one seems to tell it best:
http://en.wikipedia.org/wiki/Wireless_Application_Protocol

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIe4rGBvzDRVjxmYERArujAJ49pteG+oY6cxNf3Z4HdwOlIJFXTgCfTEL3
uuAyBrQEhZ+zd4aWQyXqdhg=
=4etV
-END PGP SIGNATURE-


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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] unable to connect to data sink

2008-07-14 Thread Alan Cooper
What version of nagios are you running? If you're running nagios 3.x 
you'll need ndo2db-3x


Kaushal Shriyan wrote:
 Hi

 I get [1215630364] ndomod: Still unable to connect to data sink.  
 1019216 items lost, 5000 queued items to flush. in nagios.log file
 I can see the ndo2db has been started.

 nagios   14086 19676  0 11:24 ?00:00:02 
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
 nagios   15964 19676  0 11:25 ?00:00:02 
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
 nagios   19676 1  0 07:44 ?00:00:00 
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
 nagios   23622 19676  0 08:38 ?00:00:10 
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg

 My NDO2DB DAEMON CONFIG FILE is mentioned here  - 
 http://www.pastebin.org/50006
 My NDOMOD CONFIG FILE is mentioned here - http://www.pastebin.org/50007

 Any clue as what is going wrong

 Thanks and Regards

 Kaushal
 

 -
 Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
 Studies have shown that voting for your favorite open source project,
 along with a healthy diet, reduces your potential for chronic lameness
 and boredom. Vote Now at http://www.sourceforge.net/community/cca08
 

 ___
 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


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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_freshness detecting staled services in alphabetical order

2008-07-14 Thread Marcel
Hey,

Have any of you have seen anything like this before?

Nagios 2.9, ndoutils 1.4b4.

Nagios began to detect staled services in alphabethical order, in batches of
almost 400 hosts at a time.

check_service_freshness=1
service_freshness_check_interval=900
check_host_freshness=0
host_freshness_check_interval=900

cheers from Brazil...
Marcel
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
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] Nagios can die and still update the CGI date?

2008-07-14 Thread Jay R. Ashworth
So, see, I thought the Last Updated date on the CGI status screens came
from Nagios itself, not from the CGI.

Turns out my Nagios console had failed to restart the process on a
boot, and I didn't realize it until a full disk prompted a fire drill
an hour ago.

Does the CGI not at least scream somehow if there's nothing running
behind it?

Should I already know this answer?

And, what about Naomi?

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Josef Stalin)

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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 can die and still update the CGI date?

2008-07-14 Thread Marc Powell

Please start a new e-mail for a new question. This e-mail will  
forevermore be associated with the 'check_freshness...' post that you  
started with.

On Jul 14, 2008, at 3:46 PM, Jay R. Ashworth wrote:

 Does the CGI not at least scream somehow if there's nothing running
 behind it?

If nagios dies in such a way that the status_file still exists, no.  
You might consider running check_nagios (from the plugins distrib)  
from cron.

 Should I already know this answer?

It's been discussed in the past, I'm sure.

 And, what about Naomi?

She threatened a restraining order the last time I called. I just  
stalk her now...

--
Marc


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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] Cannot use some Macros in notification.

2008-07-14 Thread Kasper

Hi there.

I'm trying to get nagios to send sms notofications via my kannel sms
gateway.

I'm using this command as notify-by-pager:

/usr/bin/curl -s
http://10.64.48.154:13013/cgi-bin/sendsms\?username=username\password=password\to=$CONTACTPAGER$text=$NOTIFICATIONTYPE$:+$HOSTALIAS$/$SERVICEDESC$+is+$SERVICESTATE$;

But the two macros $CONTACTPAGER$ and $NOTIFICATIONTYPE$ do not get
replaced with anything. Initially i thought it had something to do with the
= sign so i tried to escape it with \= but thats not it. I then tried the
following:

echo $CONTACTPAGER$ $NOTIFICATIONTYPE$ $HOSTALIAS$ $SERVICEDESC$
$SERVICESTATE$  /home/kasper/test.txt

as my command. And the result is the same, the two macros are empty.

I know i have put in a pager number on my contact account.

Anyone knows what to do?


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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