Re: [Nagios-users] sudo /etc/init.d/nagios

2008-09-15 Thread James
Matthew Stier wrote: > First, I suspect you have two typo's on the subject line. > > Second, If sudo won't run sudo, you probably have sudo configured not > to be run as root. > > Third, boot scripts should be written to be run by root, and if it > needs to change users, that should be done with

Re: [Nagios-users] Service alerts after host down?

2008-09-15 Thread Jay Chandler
Marc Powell wrote: > On Sep 15, 2008, at 6:30 PM, Jay Chandler wrote: > > >> Howdy. >> >> I fear I have something misconfigured. A host in our environment will >> go down, and I'll get a notification that the host is down. However, >> I'll still keep getting Service alerts after the host notif

Re: [Nagios-users] Service alerts after host down?

2008-09-15 Thread Marc Powell
On Sep 15, 2008, at 6:30 PM, Jay Chandler wrote: > Howdy. > > I fear I have something misconfigured. A host in our environment will > go down, and I'll get a notification that the host is down. However, > I'll still keep getting Service alerts after the host notification, > which I don't get; l

[Nagios-users] Service alerts after host down?

2008-09-15 Thread Jay Chandler
Howdy. I fear I have something misconfigured. A host in our environment will go down, and I'll get a notification that the host is down. However, I'll still keep getting Service alerts after the host notification, which I don't get; logically, if a host is hard down, NONE of its services sho

Re: [Nagios-users] permissions on nagios.cmd

2008-09-15 Thread Terry Davis
On Mon, Sep 15, 2008 at 1:01 PM, Julie <[EMAIL PROTECTED]> wrote: > Never mind - it was one last setting on SElinux.. > > SELinux is preventing cmd.cgi (httpd_sys_script_t) "getattr" to > /usr/local/nagios/var/rw/nagios.cmd > > I added a change to SELinux policy and it is working now... I needed t

Re: [Nagios-users] permissions on nagios.cmd

2008-09-15 Thread Julie
Never mind - it was one last setting on SElinux.. SELinux is preventing cmd.cgi (httpd_sys_script_t) "getattr" to /usr/local/nagios/var/rw/nagios.cmd I added a change to SELinux policy and it is working now... I needed to add it for the file, not just the folder.. chcon -R -t httpd_sys_content_t

[Nagios-users] [Fwd: NRPE 2.12 compile failure]

2008-09-15 Thread Andy Shellam
FYI if I force the compiler flags, it works. I've also tried on another Debian 4 box and it also fails the same. The configure line below forces the compiler flags to be correct: CFLAGS="-I/usr/local/openssl/include" ./configure --prefix=/usr/local/nagios --with-ssl=/usr/local/openssl --with-

Re: [Nagios-users] permissions on nagios.cmd

2008-09-15 Thread Terry Davis
On Mon, Sep 15, 2008 at 12:24 PM, Julie <[EMAIL PROTECTED]> wrote: > Everyone here has been great about helping me on my previous problem - and > now I have a new one. > > I have read the FAQ and recreated the file and check permissions several > times, but no matter what I do I can't get past: >

[Nagios-users] permissions on nagios.cmd

2008-09-15 Thread Julie
Everyone here has been great about helping me on my previous problem - and now I have a new one. I have read the FAQ and recreated the file and check permissions several times, but no matter what I do I can't get past: *Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! *

[Nagios-users] NRPE 2.12 compile failure

2008-09-15 Thread Andy Shellam
Hi, I've just had a new Nagios server delivered; it's running Debian 4. I've installed the latest Apache, PHP, OpenSSL packages and Nagios 3.0.3 and NRPE 2.12. However it looks like NRPE isn't setting the include flags correctly for the compiler. OpenSSL is installed in /usr/local/openssl, and

[Nagios-users] intermittent CGI failure

2008-09-15 Thread nagios
Installed 3.0.3 from source on OpenBSD 4.3 (sparc64). Everything works, but every so often the CGI's will fail. e.g. If I refresh, say, status.cgi?host=all 10 times in a row, it'll fail at least once or twice. I can reproduce using both Apache and nginx. Here's Apache error log snippet: "Premat

Re: [Nagios-users] Acknowledge problems via e-mail

2008-09-15 Thread Terry Davis
On Mon, Sep 15, 2008 at 10:32 AM, Jorge Peña <[EMAIL PROTECTED]> wrote: > Hello list, > > I have a running instalation of Nagios capable to acknowledge via web > interface and SMS (I followed some tutorial for that). > > I guessed Nagios had implemented by default the acknowledgementent via > e-m

[Nagios-users] Acknowledge problems via e-mail

2008-09-15 Thread Jorge Peña
Hello list, I have a running instalation of Nagios capable to acknowledge via web interface and SMS (I followed some tutorial for that). I guessed Nagios had implemented by default the acknowledgementent via e-mail by default just replying to the e-mail but I discovered that it doesn't work.

Re: [Nagios-users] check_procs from Nagios plugins 1.4.12 is veeery slow on Solaris 10 5/08

2008-09-15 Thread Bernd Nies
Duncan Ferguson wrote: > Can you please try a recent snapshot? The I rewrote the pst3 binary to > enable to work faster and be zone aware (to allow use in in the global > and sub zones). Its been fine for me, but I don't think there has been > a release since the code was committed. > > CC'in

[Nagios-users] Nagios configuraion best practice

2008-09-15 Thread Kenneth Holter
Hello all, I'm new to Nagios, and are planning on using Nagios for monitoring our network of Linux servers. Are there any best practice documents on how to manage the different definitions such as hostgroups, services, servicegroups, and so forth in an enterprise environment? Regards, Kenneth

[Nagios-users] Really slow log2ndo

2008-09-15 Thread Benjamin Krein
Am I the only one who is experiencing very slow performance importing archived log files into MySQL with log2ndo? I'm averaging ~1.5 log entries per second being inserted. This seems slow to me. I've tried dividing the parsing & MySQL service across 2 servers as well as move all the parsin

[Nagios-users] Cannot use swapctl in the large files compilation environment on 23bit Solaris 10

2008-09-15 Thread Henti Smith
Good day, I'm testing nagios from my 32bit solaris test machine and I cannot get check_swap compiled. The config.log for ./configure --prefix=/opt/nagios is as follows : In file included from conftest.c:89: /usr/include/sys/swap.h:50:2: #error "Cannot use swapctl in the large files compilation