[Nagios-users] ndomod Segmentation fault

2010-07-14 Thread mirko stefanelli
Hi to all,

I have problem with ndomod, I ran nagios on Ubuntu Server Linux srvnagios
2.6.24-23-server #1 SMP Wed Apr 1 22:22:14 UTC 2009 i686 GNU/Linux, nagios
version is 3.2.1. When I try to lunch ndomod from command line as:

/usr/local/nagios/bin/ndomod.o -c /usr/local/nagios/etc/ndomod.cfg

the result is:

r...@srvnagios:~/ndoutils-1.4b9# /usr/local/nagios/bin/ndomod.o -c
/usr/local/nagios/etc/ndomod.cfg
Segmentation fault
r...@srvnagios:~/ndoutils-1.4b9#

I also try to run it with strace, this is the output:

r...@srvnagios:~/ndoutils-1.4b9# strace /usr/local/nagios/bin/ndomod.o -c
/usr/local/nagios/etc/ndomod.cfg
execve(/usr/local/nagios/bin/ndomod.o, [/usr/local/nagios/bin/ndomod.o,
-c, /usr/local/nagios/etc/ndomod.cfg...], [/* 24 vars */]) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 13751 detached

I have seen that on nagios log file are these messages:

[1279100453] Nagios 3.2.1 starting... (PID=22219)
[1279100453] Local time is Wed Jul 14 11:40:53 CEST 2010
[1279100453] LOG VERSION: 2.0
[1279100453] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios
Core Development Team and Community Contributors
[1279100453] ndomod: Could not open data sink!  I'll keep trying, but some
output may get lost...
[1279100453] Event broker module '/usr/local/nagios/bin/ndomod.o'
initialized successfully.

But the file ndo.sock is not create.

ndomod.cfg:

#
# NDOMOD CONFIG FILE
#
# Last Modified: 09-05-2007
#


# INSTANCE NAME
# This option identifies the name associated with this particular
# instance of Nagios and is used to seperate data coming from multiple
# instances.  Defaults to 'default' (without quotes).

instance_name=default



# OUTPUT TYPE
# This option determines what type of output sink the NDO NEB module
# should use for data output.  Valid options include:
#   file   = standard text file
#   tcpsocket  = TCP socket
#   unixsocket = UNIX domain socket (default)

#output_type=file
#output_type=tcpsocket
output_type=unixsocket



# OUTPUT
# This option determines the name and path of the file or UNIX domain
# socket to which output will be sent if the output type option specified
# above is file or unixsocket, respectively.  If the output type
# option is tcpsocket, this option is used to specify the IP address
# of fully qualified domain name of the host that the module should
# connect to for sending output.

#output=/usr/local/nagios/var/ndo.dat
#output=127.0.0.1
output=/usr/local/nagios/var/ndo.sock



# TCP PORT
# This option determines what port the module will connect to in
# order to send output.  This option is only vlaid if the output type
# option specified above is tcpsocket.

tcp_port=5668



# OUTPUT BUFFER
# This option determines the size of the output buffer, which will help
# prevent data from getting lost if there is a temporary disconnect from
# the data sink.  The number of items specified here is the number of
# lines (each of variable size) of output that will be buffered.

output_buffer_items=5000



# BUFFER FILE
# This option is used to specify a file which will be used to store the
# contents of buffered data which could not be sent to the NDO2DB daemon
# before Nagios shuts down.  Prior to shutting down, the NDO NEB module
# will write all buffered data to this file for later processing.  When
# Nagios (re)starts, the NDO NEB module will read the contents of this
# file and send it to the NDO2DB daemon for processing.

buffer_file=/usr/local/nagios/var/ndomod.tmp



# FILE ROTATION INTERVAL
# This option determines how often (in seconds) the output file is
# rotated by Nagios.  File rotation is handled by Nagios by executing
# the command defined by the file_rotation_command option.  This
# option has no effect if the output_type option is a socket.

file_rotation_interval=14400



# FILE ROTATION COMMAND
# This option specified the command (as defined in Nagios) that is
# used to rotate the output file at the interval specified by the
# file_rotation_interval option.  This option has no effect if the
# output_type option is a socket.
#
# See the file 'misccommands.cfg' for an example command definition
# that you can use to rotate the log file.

#file_rotation_command=rotate_ndo_log



# FILE ROTATION TIMEOUT
# This option specified the maximum number of seconds that the file
# rotation command should be allowed to run before being prematurely
# terminated.

file_rotation_timeout=60


# RECONNECT INTERVAL
# This option determines how often (in seconds) that the NDO NEB
# module will attempt to re-connect to the output file or socket if
# a connection to it is lost.

reconnect_interval=15



# RECONNECT WARNING INTERVAL
# This option determines how often (in seconds) a warning message will
# be logged to the Nagios log file if a connection to the output file
# or socket cannot be 

Re: [Nagios-users] ndomod Segmentation fault

2010-07-14 Thread Assaf Flatto
Hello Mirko

If you go back a couple of days to a thread named ndoutils 1.4b7 vs 1.4b9
You'll see that the ndo utility has not been maintained for a while and 
the latest version 1.4b9 has some known issues .
http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg32080.html

If your had 1.4b7 working , it is recommended to remain in that version .

I use it on nagios 3.2.0 with no issues , and since there is no 
supported update in sight i think this will be around for a long while 
( unless you count the IdoUtils that comes out from the Icinga fork) .

Assaf




mirko stefanelli wrote:
 Hi to all,

 I have problem with ndomod, I ran nagios on Ubuntu Server Linux 
 srvnagios 2.6.24-23-server #1 SMP Wed Apr 1 22:22:14 UTC 2009 i686 
 GNU/Linux, nagios version is 3.2.1. When I try to lunch ndomod from 
 command line as:

 /usr/local/nagios/bin/ndomod.o -c /usr/local/nagios/etc/ndomod.cfg

 the result is:

 config_output_options=2

 Did you have any idea?

 Regards,
 Mirko




-- 
Never,Ever Cut A Deal With a Dragon 




--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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 open command file for update

2010-07-14 Thread Brian O'Mahony
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. 
Read the FAQs on how to setup proper permissions.
An error occurred while attempting to commit your command for processing.

I did however recently do a restore of the machine (I restored an old copy of 
the VM and then copied over the backup data).


When I change the permissions, next time I click commit, it goes back to being 
un-openable:

[r...@nagios servers]# ls -al /usr/local/nagios/var/r*

/usr/local/nagios/var/rw:
total 2
drwxr-xr-x 2 nagios nagcmd 1024 Jul 14 12:40 .
drwxrwxrwx 6 nagios nagios 1024 Jul 14 12:42 ..
prw-rw 1 nagios nagios0 Jul 14 12:40 nagios.cmd

B


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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] ndomod Segmentation fault

2010-07-14 Thread Carl Friend
   Greetings,

   I had this problem a few days ago when I tried upgrading from
1.4b7 to 1.4b9, and thanks to Mr. Michael Friedrich who passed
along these links:

http://markmail.org/message/jsolx6j6jl74aqpj
https://dev.icinga.org/issues/219

I was able to solve the segfault issue.

   However, once the segfaults were solved, it appears that 1.4b9 is
rather slower than 1.4b7.  Given this, I'll second the recommendation
to stay at 1.4b7, although if you have a very large number of hosts
and/or services you may want to add some indexes to the database
schema to improve the basic housekeeping performance as old data get
culled out.

+-++
| Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts, USA |
| Minicomputer Collector / Enthusiast | 01760-2098 |
| mailto:carl_fri...@mathworks.com++
| http://users.rcn.com/crfriend/museum| ICBM: +42:18:00  -71:21:03 |
+-++


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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] Cannot open command file for update

2010-07-14 Thread Guy Waugh
Hi Brian,

On my system the /usr/local/nagios/var/rw directory has permissions
drwxrwsr-x. This is the only difference I can see between my system and
yours.

Regards,
Guy.

On 14 July 2010 12:50, Brian O'Mahony brian.omah...@curamsoftware.comwrote:

  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. Read the FAQs on how to setup proper permissions.

 An error occurred while attempting to commit your command for processing.



 I did however recently do a restore of the machine (I restored an old copy
 of the VM and then copied over the backup data).





 When I change the permissions, next time I click commit, it goes back to
 being un-openable:



 [r...@nagios servers]# ls -al /usr/local/nagios/var/r*



 /usr/local/nagios/var/rw:

 total 2

 drwxr-xr-x 2 nagios nagcmd 1024 Jul 14 12:40 .

 drwxrwxrwx 6 nagios nagios 1024 Jul 14 12:42 ..

 prw-rw 1 nagios nagios0 Jul 14 12:40 nagios.cmd



 B



 The information in this email is confidential and may be legally privileged.
 It is intended solely for the addressee. Access to this email by anyone else
 is unauthorized. If you are not the intended recipient, any disclosure,
 copying, distribution or any action taken or omitted to be taken in reliance
 on it, is prohibited and may be unlawful. If you are not the intended
 addressee please contact the sender and dispose of this e-mail. Thank you.



 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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] NDO only processing some hosts

2010-07-14 Thread Greg Pangrazio
Is there a way to limit which hosts get put into the NDO database?  My
install is getting a bit big and NDO is taking up too much of the CPU
and making the system sluggish.  If i turn of NDO it works fine.

I use ndo for some custom pages for groups that do not have access to
nagios and only need to check like 80 services and 40 hosts for those
pages and the other 800 hosts and 3000 services don't need to be in
the database.

Maybe I am missing some NDO optimizations too?

The hardware is a dual quad core Xeon 2.5Ghz with 56GB ram so I should
not be having any problems.

Greg Pangrazio
pangr...@gmail.com

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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] Cannot open command file for update

2010-07-14 Thread Marc Powell

On Jul 14, 2010, at 6:50 AM, Brian O'Mahony wrote:

 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. Read the FAQs on how to setup proper permissions.
 An error occurred while attempting to commit your command for processing.

 [r...@nagios servers]# ls -al /usr/local/nagios/var/r*
  
 /usr/local/nagios/var/rw:
 total 2
 drwxr-xr-x 2 nagios nagcmd 1024 Jul 14 12:40 .
 drwxrwxrwx 6 nagios nagios 1024 Jul 14 12:42 ..
 prw-rw 1 nagios nagios0 Jul 14 12:40 nagios.cmd

Stop nagios and run 'make install-commandmode' from the original tarball you 
installed from or --

chmod 775 /usr/local/nagios/var/rw
chmod g+s /usr/local/nagios/var/rw
make sure that the user your web server runs as is a member of the nagcmd group

restart apache, restart nagios.

HTH

--
Marc


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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] NDO only processing some hosts

2010-07-14 Thread Herb J.
Unless you wish to somehow modify the source code to ignore certain 
hosts (a very risky proposition unless you are good at C), I'd recommend 
against trying to limit the number of hosts that NDO puts in the 
database. Also, having that many services in NDO shouldn't be an issue 
with the hardware you are running (we have almost 7 times as many hosts 
and services in our Nagios installation and NDO doesn't take any time to 
save the data).

There are a number of database optimizations that can be done to the 
MySQL database tables. For starters, make sure all of your tables are 
using InnoDB instead of MyISAM. Secondly, you may wish to lower the 
amount of time that NDO saves some of the various metrics (e.g., service 
check data) because smaller tables are easier to prune old data from. 
And depending on the data you need exported, you may also wish to modify 
the data_processing_options directive in the NDO config file. Depending 
on how you extract the data from the NDO database, you may need to add 
an extra table index here and there to speed things up.



On 07/14/2010 09:47 AM, Greg Pangrazio wrote:
 Is there a way to limit which hosts get put into the NDO database?  My
 install is getting a bit big and NDO is taking up too much of the CPU
 and making the system sluggish.  If i turn of NDO it works fine.

 I use ndo for some custom pages for groups that do not have access to
 nagios and only need to check like 80 services and 40 hosts for those
 pages and the other 800 hosts and 3000 services don't need to be in
 the database.

 Maybe I am missing some NDO optimizations too?

 The hardware is a dual quad core Xeon 2.5Ghz with 56GB ram so I should
 not be having any problems.

 Greg Pangrazio
 pangr...@gmail.com

 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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] Cannot open command file for update

2010-07-14 Thread Brian O'Mahony
Brilliant Mark, thanks

Can you explain how this would have happened?

TBH the OS restore was from last Dedember-ish, when I first installed nagios, 
but I don't remember doing this step previously...

Thanks

B

-Original Message-
From: Marc Powell [mailto:li...@xodus.org] 
Sent: Wednesday, July 14, 2010 2:40 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Cannot open command file for update


On Jul 14, 2010, at 6:50 AM, Brian O'Mahony wrote:

 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. Read the FAQs on how to setup proper permissions.
 An error occurred while attempting to commit your command for processing.

 [r...@nagios servers]# ls -al /usr/local/nagios/var/r*
  
 /usr/local/nagios/var/rw:
 total 2
 drwxr-xr-x 2 nagios nagcmd 1024 Jul 14 12:40 .
 drwxrwxrwx 6 nagios nagios 1024 Jul 14 12:42 ..
 prw-rw 1 nagios nagios0 Jul 14 12:40 nagios.cmd

Stop nagios and run 'make install-commandmode' from the original tarball you 
installed from or --

chmod 775 /usr/local/nagios/var/rw
chmod g+s /usr/local/nagios/var/rw
make sure that the user your web server runs as is a member of the nagcmd group

restart apache, restart nagios.

HTH

--
Marc


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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] Going Nuts trying to get check_by_ssh to work

2010-07-14 Thread Onotsky, Steve x55328
Steve F.,

 

Try `touch .hushlogin` as the nagios user, in its homedir, on the target
host.  That *should* cause ssh to suppress any remote-side banner/motd
from being displayed in-session.

 

I learned that one a few years ago, when automating some business logic,
to reduce the amount of logging taking place.  It should suit your
purposes here (if it is, in fact, that extra line of text that's
throwing off the check).

 

Cheers

 

 

From: steve f [mailto:a31mod...@hotmail.com] 
Sent: July-13-10 18:34
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Going Nuts trying to get check_by_ssh to
work

 

If I remember, that line is in the sshd.config for the auth users
banner.  I should be able to comment it out to test it.

Didn't think about that...  I'll dial in when I get home  try it..

Thanks Benny for the info,
Steve

 Date: Tue, 13 Jul 2010 17:22:35 -0500
 From: be...@bennyvision.com
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Going Nuts trying to get check_by_ssh to
work
 
 
  I also tried this as well from the server , which does work
 
  ssh 172.xx.xx.xx /usr/local/nagios/libexec/check_users -w 5 -c 8
 
  Authorized users only.
 
  USERS OK - 0 users currently logged in |users=0;5;8;0
 
 
  This tells me that
  1. ssh as Nagios works
  2. the check_users script runs on the remote client fine
  3. 2 - way communication is good between the client  sever as I got
the
  response back
 
  I am thinking there has to be something funky in the check_by_ssh
script.
  Sound right ??
 
 Waitaminute... Where did that Authorized users only part come
 from?
 
 Nagios expects a single line of text, and SSH commands typically
 don't display banners (in my experience). Is that a banner that
 appears from the remote host? I wonder if that is confusing
 things. Can it be temporarily disabled to see if it changes the
 behavior?
 
 Benny
 
 
 -- 
 Well, we *could* hunt down the perpetrators, pool some $$, and
 hire 3 or 4 baseball-bat wielding professional explainers to go
 explain our position to them. Figuring out how to do so without
 breaking any laws is the tough part...
 -- Valdis Kletnieks, 2009-01-23
 
 
 


--
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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



The New Busy think 9 to 5 is a cute idea. Combine multiple calendars
with Hotmail. Get busy.
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendarocid=
PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5 


This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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] Going Nuts trying to get check_by_ssh to work

2010-07-14 Thread steve f

Thanks for your help with this.  

I commented out the sshd.conf section calling for a banner  resent the 
following successfully:

/usr/local/nagios/libexec ./check_by_ssh -H 10.X.XXX.XXX -C 
'/usr/local/nagios/libexec/check_load -w 5.0 -c 10.0'
OK - load average: 0.12, 0.15, 0.16|load1=0.120;5.000;10.000;0; 
load5=0.150;5.000;10.000;0; load15=0.160;5.000;10.000;0;

Edited the nagios cfg files   looks good now.

I cannot run my clients without the banner , due to SOX  PCI compliance. 

So, what I was able to do is run the check_by_ssh plugin with the -q option and 
after putting the banner piece back in, the check works perfect.

./check_by_ssh -H 10.xxx.xxx.xxx -C '/usr/local/nagios/libexec/check_load -w 
5.0 -c 10.0' -q
OK - load average: 0.55, 0.33, 0.22|load1=0.550;5.000;10.000;0; 
load5=0.330;5.000;10.000;0; load15=0.220;5.000;10.000;0;

Again, thanks for your involvement getting this resolved,  Rod  Benny.  
Hopefully it helps someone else down the road.

Regards,

Steve


 Date: Tue, 13 Jul 2010 16:57:49 -0700
 From: raand...@cyber-office.net
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work
 
 On 07/13/2010 04:03 PM, C. Bensend wrote:
 
  If I remember, that line is in the sshd.config for the auth users banner.
  I should be able to comment it out to test it.
 
  Didn't think about that...  I'll dial in when I get home  try it..
 
  If you're running a recent release of OpenSSH, you might be able
  to use a match directive to skip the banner for connections
  originating with your Nagios server...  Off the top of my head,
  I don't recall if that is one of the options you can override
  with match.
 
 The simplest way I've found to avoid the banner is to do it like this.
 
 ssh r...@host.example.com 'cat /etc/rsyslog.conf'
 
 
 \\||/
 Rod
 -- 
 
  Please let us know what happens!
 
  Benny
 
 
 
 
 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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
  
_
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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 for iPhone

2010-07-14 Thread Giorgio Zarrelli
Hi,

Anyone using an easy interface for Nagios on iPhone?

I do not mean some native iPhone app, I mean something server side like Nagios 
4 iPhone.

Any hints?

Ciao,

Giorgio
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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 for iPhone

2010-07-14 Thread Andrew Davis
 I didn't want to expose our Nagios URL to the world as if it was 
compromised it would give an attacker way too much inside knowledge of 
our network. I believe Nagios is fairly secure, but its a lot of PHP and 
other open source scripting languages, as well as third party addons 
that may not hold up too well to brute force attempts or might even have 
some lazy coding. As such, I have an outside server with a hardened 
access rule that acts as a proxy to the inside Nagios URL, then use iNag 
to monitor it. Best $10 I've ever spent.


  A. Davis
  Email: ncc...@gmail.com

  There is no limit to what a man can accomplish
   if he doesn't care who gets the credit. - Ronald Reagan


On 7/14/10 11:31 AM, Giorgio Zarrelli wrote:

Hi,

Anyone using an easy interface for Nagios on iPhone?

I do not mean some native iPhone app, I mean something server side like Nagios 
4 iPhone.

Any hints?

Ciao,

Giorgio
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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] Error with PNP4Nagios / RRDTools

2010-07-14 Thread Mirza Dedic
My RRD graphs were working fine, but for some reason I get this on one of my 
graphs:

ERROR: STDERR = *** attempt to put segment in horiz list twice

(red background with that error)

Is there a way to clear this and have the graph continue graphing? Thanks.

The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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 for iPhone

2010-07-14 Thread Gius, Mark
I'm not aware of any Iphone-specific interfaces, but I know that if you put

meta name=viewport content=width=device-width /

In the head element, the safari (and android) browser will attempt to do 
things to make everything fit reasonably on the screen.

This site 
(http://www.iphonemicrosites.com/articles/6-tips-to-optimize-your-current-site-for-the-iphone/)
 seems to have some reasonable suggestions for quick fixes you can try to make 
the default interface look better on mobile browsers.

-Gius

 -Original Message-
 From: Giorgio Zarrelli [mailto:zarre...@linux.it]
 Sent: Wednesday, July 14, 2010 8:31 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Nagios for iPhone
 
 Hi,
 
 Anyone using an easy interface for Nagios on iPhone?
 
 I do not mean some native iPhone app, I mean something server side like
 Nagios 4 iPhone.
 
 Any hints?
 
 Ciao,
 
 Giorgio
 ---
 ---
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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 for iPhone

2010-07-14 Thread Giorgio Zarrelli
Eheheheh,

Thanks for your advice, anyway I neve meant to' expose Nagios. It's for 
internal use only.

Ciao,

Giorgio

Il giorno 14/lug/2010, alle ore 18:19, Andrew Davis ncc...@gmail.com ha 
scritto:

 I didn't want to expose our Nagios URL to the world as if it was compromised 
 it would give an attacker way too much inside knowledge of our network. I 
 believe Nagios is fairly secure, but its a lot of PHP and other open source 
 scripting languages, as well as third party addons that may not hold up too 
 well to brute force attempts or might even have some lazy coding. As such, I 
 have an outside server with a hardened access rule that acts as a proxy to 
 the inside Nagios URL, then use iNag to monitor it. Best $10 I've ever spent.
   A. Davis
   Email: ncc...@gmail.com
 
   There is no limit to what a man can accomplish
if he doesn't care who gets the credit. - Ronald Reagan
 
 On 7/14/10 11:31 AM, Giorgio Zarrelli wrote:
 
 Hi,
 
 Anyone using an easy interface for Nagios on iPhone?
 
 I do not mean some native iPhone app, I mean something server side like 
 Nagios 4 iPhone.
 
 Any hints?
 
 Ciao,
 
 Giorgio
 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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
 
 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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 for iPhone

2010-07-14 Thread Giorgio Zarrelli
Nice hint, thank you!

Ciao,

Giorgio

Il giorno 14/lug/2010, alle ore 20:13, Gius, Mark mg...@createspace.com ha 
scritto:

 I'm not aware of any Iphone-specific interfaces, but I know that if you put
 
 meta name=viewport content=width=device-width /
 
 In the head element, the safari (and android) browser will attempt to do 
 things to make everything fit reasonably on the screen.
 
 This site 
 (http://www.iphonemicrosites.com/articles/6-tips-to-optimize-your-current-site-for-the-iphone/)
  seems to have some reasonable suggestions for quick fixes you can try to 
 make the default interface look better on mobile browsers.
 
 -Gius
 
 -Original Message-
 From: Giorgio Zarrelli [mailto:zarre...@linux.it]
 Sent: Wednesday, July 14, 2010 8:31 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Nagios for iPhone
 
 Hi,
 
 Anyone using an easy interface for Nagios on iPhone?
 
 I do not mean some native iPhone app, I mean something server side like
 Nagios 4 iPhone.
 
 Any hints?
 
 Ciao,
 
 Giorgio
 ---
 ---
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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
 
 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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 for iPhone

2010-07-14 Thread Marcel
I use the statuswml.cgi and it works like a charm.

Ah, and I use it as part of the NAGROID, that I looove!!!

On Wed, Jul 14, 2010 at 12:31 PM, Giorgio Zarrelli zarre...@linux.itwrote:

 Hi,

 Anyone using an easy interface for Nagios on iPhone?

 I do not mean some native iPhone app, I mean something server side like
 Nagios 4 iPhone.

 Any hints?

 Ciao,

 Giorgio

 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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] Running a command when Nagios config changes

2010-07-14 Thread Paul M. Dubuc
I would like to have some way of running a command only when Nagios is 
started, or is restarted from the Process Commands menu, or any time Nagios 
reloads its configuration files.  Is there a way to do this?  I thought about 
writing it as a localhost service plugin that simply does nothing if

$LASTSERVICECHECK$  $PROCESSSTARTTIME$

but that doesn't seem optimal.  It this the best solution?  It would be nice 
if I could write it as an event handler, but events are only for host or 
service state changes.  This is a Nagios process state change.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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] Download nagios tar file.

2010-07-14 Thread Goke Ade
Hello all,

Can someone send me the link to download nagios tar files?

Not trial version plz.

Thanks

On 7/15/10, Goke Ade perlsk...@gmail.com wrote:
 Hello all,

 Can someone send me the link to download nagios tar files?

 Not trial version plz.

 Thanks

 --
 Sent from my mobile device


-- 
Sent from my mobile device

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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] Download nagios tar file.

2010-07-14 Thread Marc Powell

On Jul 14, 2010, at 7:50 PM, Goke Ade wrote:

 Hello all,
 
 Can someone send me the link to download nagios tar files?

http://www.nagios.org, of course.

--
Marc

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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