Re: [Nagios-users] Service depedency problem

2007-01-03 Thread Andreas Ericsson
MiikaT wrote: Quoting Andreas Ericsson [EMAIL PROTECTED]: Because you have 'u' (notify when unreachable) in your host_notification_options. I suppose there is a slight misunderstanding here, as I am very happy with the current host_notification situation (either parent or

Re: [Nagios-users] Performance issues, too

2007-01-03 Thread Andreas Ericsson
Robert Hajime Lanning wrote: I have also been having performance issues with Nagios 2.5 on a Sun E220R with two 400MHz procs and 1GB ram. Sys stats are at http://lanning.cc/kipper.html The large dips in load and system CPU time are when I restart Nagios. (cron'd twice a week, but I have

Re: [Nagios-users] Performance issues, too

2007-01-03 Thread Andreas Ericsson
Robert Hajime Lanning wrote: quote who=Daniel Meyer Just rechecked. After 72 hours nagios still runs perfectly with an average service check latency of 0.3 seconds, max. 0.9 seconds. Memory usage is perfectly flat now, with epn and perlcache it went from 140 mb (whole system) to about 900

Re: [Nagios-users] ANNOUNCE: Nagios Looking Glass 1.0.0#PRE is here!

2007-01-03 Thread Andreas Ericsson
Andy Shellam (Mailing Lists) wrote: If you requested the full URL that's passed to the poller back-end, you'd find it extremely difficult to decipher it without the s3_class.inc.php file (as this is what the client front-end does) and to the average Joe it'd be a load of figures and

Re: [Nagios-users] ANNOUNCE: Nagios Looking Glass 1.0.0#PRE is here!

2007-01-03 Thread Andreas Ericsson
Andy Shellam (Mailing Lists) wrote: Hi Robert, Thanks for your description below but I'm still struggling to come to terms with how NLG can be used to attack another site. Firstly, my understanding of an XSS attack is of the following: - Client requests a page (eg. www.yahoo.com) -

Re: [Nagios-users] 0 bytes pin using check_ping

2007-01-03 Thread Andreas Ericsson
Andy Shellam (Mailing Lists) wrote: Why do you need to make a 0 byte ping? (I'm not particularly up on networking, but a 0 byte ping would in theory send nothing, right?) No, it would send the IP and ICMP headers, but with a 0-byte data part of the icmp echo request. Tried doing this on

Re: [Nagios-users] ANNOUNCE: Nagios Looking Glass 1.0.0#PRE is here!

2007-01-03 Thread Andy Shellam (Mailing Lists)
Andreas Ericsson wrote: Andy Shellam (Mailing Lists) wrote: If you requested the full URL that's passed to the poller back-end, you'd find it extremely difficult to decipher it without the s3_class.inc.php file (as this is what the client front-end does) and to the average Joe it'd be a

Re: [Nagios-users] NRPE packet buffer limitations

2007-01-03 Thread Andreas Ericsson
Mike Emigh wrote: Greetings, I was wondering if anyone had found the proper way to modify nrpe to receive more than the 1024 character limit imposed in MAX_PACKETBUFFER_LENGTH. I adjusted it from 1024 to 1536 and have used this setting for quite some time now and it works; however,

Re: [Nagios-users] ftp plugin

2007-01-03 Thread Paul Archer
Thanks for the tip. I had missed nagiosexchange for some reason. Turns out there's a script very similar to mine there. Wish I had seen it before I wrote mine. Still, I suppose I'll upload mine, as it does a couple of things differently. Paul On Tue, 2 Jan 2007, Aaron Segura wrote:

[Nagios-users] check_ssh causing log errors on remote servers?

2007-01-03 Thread Hari Sekhon
I've got check_ssh running against all my *nix boxes, but I have a steady stream of the following in my logs from those servers sshd[2742]: Connection closed by :::192.168.x.x sshd[2746]: fatal: Read from socket failed: Connection reset by peer sshd[2768]: Connection closed by

Re: [Nagios-users] check_ssh causing log errors on remote servers?

2007-01-03 Thread Ian Chard
On 03/01/07 16:27, Hari Sekhon wrote: I've got check_ssh running against all my *nix boxes, but I have a steady stream of the following in my logs from those servers sshd[2742]: Connection closed by :::192.168.x.x sshd[2746]: fatal: Read from socket failed: Connection reset by peer

Re: [Nagios-users] check_ssh plugin causing too many log messageswritten in /var/log/messages

2007-01-03 Thread Hari Sekhon
I have the same problem. Unfortunately I do not want to put unsecured ssh keys on my nagios server and give the nagios user unrestricted access to all my production servers... Perhaps I can just silence the sshd from complaining? Or even better would be for the check_ssh plugin to work

Re: [Nagios-users] check_ssh plugin causing too many log messageswritten in /var/log/messages

2007-01-03 Thread Aaron Segura
You can set SSH so that it can only execute a specific command on the remote end. In your authorized_keys file for the nagios user on the remote end, prepend command=some innocuous command. For example: command=/bin/ls /tmp/crap authorized key info This will tell sshd to execute only this

Re: [Nagios-users] check_ssh plugin causing too manylog messageswritten in /var/log/messages

2007-01-03 Thread Aaron Segura
Of course, you could turn up/down your LogLevel in sshd_config...but that has it's own risks. Basically you'd have to turn OFF logging for sshd, since the next highest level over FATAL is QUIET...and this appears to be a FATAL error. 'man sshd_config' -Original Message- From: [EMAIL

[Nagios-users] plugins with rsh

2007-01-03 Thread dave stern - e-mail.pluribus.unum
We have a legacy setup with tru64 hosts that are currently configured for rsh, not ssh. I've installed the latest and greatest nagios on a relatively recent fedora host and have used plugins with ssh in the past. The problem is that rsh doesn't return status codes properly. Rather, it returns

Re: [Nagios-users] plugins with rsh

2007-01-03 Thread Lacayo, Luis F
Try adding a second $ at the end of the command. rsh $HOSTADDRESS$ 'mycommand; echo $$?' Luis Lacayo Sr. UNIX Admin Chicago Public Schools Office of Technology Services 125 S. Clark Street - Suite 300 Chicago, IL 60603 Direct:773-553-3835 Office: 773-553-1300 FAX:773-553-1363

[Nagios-users] Problem with External Command File

2007-01-03 Thread Kaplan, Andrew H.
I am running Nagios 2.6 and whenever I want to schedule a check of all services..., I get the following error message: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update. The permissions on the external command file and/or directory may be incorrect... An

Re: [Nagios-users] Problem with External Command File

2007-01-03 Thread Petersen, Mark
I'm pretty sure the webserver (apache, nobody, www-data, or whatever you setup) needs write permissions for that file. It may also need to be a named pipe. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kaplan, Andrew H. Sent: Wednesday,

Re: [Nagios-users] Problem with External Command File

2007-01-03 Thread Lacayo, Luis F
You should add the user who is running the httpd process to the NAGIOS group. Luis Luis Lacayo Sr. UNIX Admin Chicago Public Schools Office of Technology Services 125 S. Clark Street - Suite 300 Chicago, IL 60603 Direct:773-553-3835 Office: 773-553-1300 FAX:773-553-1363 [EMAIL

[Nagios-users] An simple solution to monitor disk space, swap and memory

2007-01-03 Thread Guillaume Pratte
Hello, I would like to propose a plugin I developped that simplify the task of setting up monitoring disks, memory and swap with Nagios. The plugin is part of Virtual server monitor, or, in short, vsmon, which was built specifically for the Linux-VServers technology but was extented to

Re: [Nagios-users] Problem with External Command File

2007-01-03 Thread Kaplan, Andrew H.
Can you clarify the named-pipe? Thanks. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petersen, Mark Sent: Wednesday, January 03, 2007 3:42 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem with External Command

Re: [Nagios-users] Problem with External Command File

2007-01-03 Thread Kaplan, Andrew H.
I've added the nobody user to the NAGIOS group, and restarted Nagios. The same problem occurred. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lacayo, Luis F Sent: Wednesday, January 03, 2007 3:46 PM To: Petersen, Mark;

Re: [Nagios-users] Problem with External Command File

2007-01-03 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Kaplan, Andrew H. Sent: Wednesday, January 03, 2007 2:52 PM To: Lacayo, Luis F; Petersen, Mark; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem with External

Re: [Nagios-users] Problem with External Command File

2007-01-03 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Kaplan, Andrew H. Sent: Wednesday, January 03, 2007 2:53 PM To: Petersen, Mark; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem with External Command File Can

Re: [Nagios-users] Problem with External Command File

2007-01-03 Thread Kaplan, Andrew H.
Thanks Marc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Wednesday, January 03, 2007 3:56 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem with External Command File -Original Message- From:

Re: [Nagios-users] ePN Was Performance issues.

2007-01-03 Thread Stanley.Hopcroft
Dear Sir, I am writing to thank you for your letter and say, -Original Message- From: Robert Hajime Lanning [EMAIL PROTECTED] Subject: Re: [Nagios-users] Performance issues, too1 .. skipped helpful remarks. The perl code path that runs in the master Nagios process (after all

[Nagios-users] Nagios Timezone

2007-01-03 Thread Israel Brewster
I have done some searching on this, and while I have found some similar questions in the archives, I haven't found an answer, so I figure I'll ask. I am running Nagios 2.5 on an OpenBSD 4.0 box. The machine is set to the proper time, and if I run date or perl -e 'print scalar(localtime())

Re: [Nagios-users] Nagios Timezone

2007-01-03 Thread Robert Hajime Lanning
quote who=Israel Brewster I have done some searching on this, and while I have found some similar questions in the archives, I haven't found an answer, so I figure I'll ask. I am running Nagios 2.5 on an OpenBSD 4.0 box. The machine is set to the proper time, and if I run date or perl -e

[Nagios-users] Notification for change in critical state

2007-01-03 Thread チャンドラ
Hi, I am running nagios 2.5, monitoring a network that has many devices with multiple IPs (ie. routers). Currently I have each IP registered as a separate host, which works well, but is a pain to manage. What I want to do is set up a multi-ping service that will ping all the IPs and generate a

Re: [Nagios-users] Notification for change in critical state

2007-01-03 Thread Morris, Patrick
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ? Sent: Wednesday, January 03, 2007 10:42 PM To: Nagios Users mailinglist Subject: [Nagios-users] Notification for change in critical state Hi, I am running nagios 2.5, monitoring a network