[Nagios-users] CFG files - Organization

2008-01-24 Thread Ronaldo A. Bueno Filho
Hello guys! I've installed and configured Nagios 3 and now I am making some tests. Now, I'm wondering about the best way to organize the cfg files. I have the following environment: - Several customers - Local network - Web monitoring I`m not sure, but I think I can separate it in

Re: [Nagios-users] Problem with high latencies after going distributed

2008-01-24 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Some heavily broken intending there (looks like my mail client gets confused)... don't trust the number of ! On 23/01/08 10:47 PM, Frost, Mark {PBG} wrote: -Original Message- From: Thomas Guyot-Sionnest [mailto:[EMAIL PROTECTED]

[Nagios-users] notification problem Nagios 3

2008-01-24 Thread Brandstätter Sigmund
Hi people, Following Question: We have configured Nagios and so far it works fine and does notifications. Since we have a lot of systems which belong to different groups (network, unix, windows, ...) we tried to configure the notifications so that we can define more then one recipient!

[Nagios-users] host checks configuration question

2008-01-24 Thread Cyrille Bollu
Hi all, My host checks are configured as follow: Host Name Max. Check Attempts Check Interval Host Check Command Enable Active ChecksEnable Passive Checks Check Freshness adabase 5 0h 0m 0scheck-host-alive No Yes

[Nagios-users] cross products: host/host group x service/service group ..?

2008-01-24 Thread Jan Grant
By-and-large, I generate my nagios configs mechanically from the same config that drives app deployment. However, I've just had cause to write some config by hand and the following occurred to me: I've got several hostgroups, and several service groups. What I'd really find convenient is a way

[Nagios-users] Regading NFS

2008-01-24 Thread Biju Augustine
Hi All, I am getting the alerts for NFS command.cfg define command { command_name check_nfsmount command_line $USER1$/check_nfsmount -H $HOSTADDRESS$ } hosts.cfg efine service{ use generic-service ; Name of service template

Re: [Nagios-users] Regading NFS

2008-01-24 Thread Marc Powell
On Jan 24, 2008, at 4:26 AM, Biju Augustine wrote: Hi All, I am getting the alerts for NFS command.cfg define command { command_name check_nfsmount command_line $USER1$/check_nfsmount -H $HOSTADDRESS$ } Service Critical[01-24-2008 15:20:26] SERVICE ALERT:

Re: [Nagios-users] cross products: host/host group x service/service group ..?

2008-01-24 Thread Marc Powell
On Jan 24, 2008, at 4:23 AM, Jan Grant wrote: By-and-large, I generate my nagios configs mechanically from the same config that drives app deployment. However, I've just had cause to write some config by hand and the following occurred to me: I've got several hostgroups, and several

Re: [Nagios-users] flap_detection_enabled persistence acrossreload/restart?

2008-01-24 Thread Tom Throckmorton
On Jan 23 17:35, Marc Powell wrote: Before I dig further, can anyone verify that the state of host or service flap detection (enabled/disabled) should or shouldn't be persistent across a reload/restart? I've combed the docs and archives, and am coming up dry. The retention file should

[Nagios-users] nagvis error nagvis

2008-01-24 Thread Alex Dehaini
I keep getting this error after installing nagvis The installation went well but when I browse to the nagvis webpage I get this error nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1)NDO reports that Nagios is not running When I check my logs, this is the error I get. [EMAIL

Re: [Nagios-users] nagvis error nagvis

2008-01-24 Thread Giles Coochey
http://www.nagvis.org/docs/general/often_reported_errors#nagiosnotrunning From: Alex Dehaini [mailto:[EMAIL PROTECTED] Sent: 24 January 2008 15:34 To: Giles Coochey; nagios-users@lists.sourceforge.net Subject: nagvis error nagvis I keep getting this

Re: [Nagios-users] nagvis error nagvis

2008-01-24 Thread Alex Dehaini
I have already done that and re-compiled nagios. The problem is how ndo2db is putting info into mysql, that is where the issue comes from. Jan 24 14:33:04 dev ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='7', varname='cfg_file',

Re: [Nagios-users] nagvis error nagvis

2008-01-24 Thread Giles Coochey
Actually, I too get a similar error you yours, on starting NDO: Jan 23 17:08:09 hostname ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='1', varname='cfg_dir', varvalue='/opt/nagios/etc/cfg/hostgroup1'' And I have a working

Re: [Nagios-users] nagvis error nagvis

2008-01-24 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Alex Dehaini Sent: Thursday, January 24, 2008 8:34 AM To: Giles Coochey; nagios-users@lists.sourceforge.net Subject: [Nagios-users] nagvis error nagvis I keep getting this error after

Re: [Nagios-users] nagvis error nagvis

2008-01-24 Thread Masopust, Christian
i have the same error here alltough ndo can write to all tables, only entries like described below cannot be written to database... (but when running the described sql from cmd-line it works) christian -- I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime,

Re: [Nagios-users] nagvis error nagvis

2008-01-24 Thread Marc Powell
-Original Message- From: Alex Dehaini [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 9:29 AM To: Marc Powell Subject: Re: [Nagios-users] nagvis error nagvis I have fixed the problem. I had to enable check_external_command=1 in nagios.cfg. After that, everything

Re: [Nagios-users] Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios.cfg' for reading!

2008-01-24 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Scott McCoy Sent: Thursday, January 24, 2008 10:41 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Error: Cannot open main configuration file

Re: [Nagios-users] flap_detection_enabled persistenceacrossreload/restart?

2008-01-24 Thread Tom Throckmorton
On Jan 24 09:42, Marc Powell wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Tom Throckmorton Sent: Thursday, January 24, 2008 8:12 AM To: Marc Powell Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users]

Re: [Nagios-users] Determining the success or failure of externalcommands

2008-01-24 Thread Scott Sanders
I have been digging though commands.c to see what I can find out. One thing that stands out is that Nagios 2.x calls process_external_command() which has a void return, and Nagios 3.x calls process_external_command1() which returns an int. It seems the 3.x implementation is, in fact, checking for

[Nagios-users] Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios.cfg' for reading!

2008-01-24 Thread Scott McCoy
When using the Fedora Quickstart, I get to step 7 and type /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg and I get the following error Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios.cfg' for reading! I have check the permissions on

Re: [Nagios-users] check_http returning success full results on a urlwhich is down

2008-01-24 Thread Darren McMillan
Hi Mark, All, First thanks for the quick response I appreciate your help. The test harness is run by a simple batch script on each client machine, if I execute it the harness is on I can verify that with the following command from command line, using the -s that you suggested. ./check_http

[Nagios-users] Perf Data Issue

2008-01-24 Thread Paul Wilson
Hi All, Firstly, thanks for everyone involved with Nagios, its a fantastic piece of softwarel! My problem is that I cannot enable performance data from my monitors. I'm running the latest version of nagios2 which I downloaded a week ago, and compiled it with the default perfdata setting. I have

Re: [Nagios-users] check_http returning success full results on aurlwhich is down

2008-01-24 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Darren McMillan Sent: Thursday, January 24, 2008 11:13 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_http returning success full results on aurlwhich is

Re: [Nagios-users] Perf Data Issue

2008-01-24 Thread Joerg Linge
Paul Wilson schrieb: Hi All, Hi Paul, Firstly, thanks for everyone involved with Nagios, its a fantastic piece of softwarel! My problem is that I cannot enable performance data from my monitors. I'm running the latest version of nagios2 which I downloaded a week ago, and compiled it with

[Nagios-users] check host_name or IP

2008-01-24 Thread bjlockie
99% of the time I can check and IP but sometimes I need to check the host_name. I tried: command_line$USER1$/check_http --hostname=$HOST_NAME$ -u$ARG1$ -r$ARG2 $ instead of: command_line$USER1$/check_http --hostname=$HOSTADDRESS$ -u$ARG1$ -r$AR G2$ but it didn't work.

Re: [Nagios-users] Howto monitor intermittent clients

2008-01-24 Thread Lars Stavholm
Thomas Guyot-Sionnest wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/01/08 05:42 AM, Hugo van der Kooij wrote: Lars Stavholm wrote: | Hi All, | | I know this is a bit of an odd one, but still: | | I'm looking for ways of monitoring intermittent | clients, i.e. client

[Nagios-users] Just a general concensus

2008-01-24 Thread Brian Loe
what's the view on Opsview? Is it just, more or less, a wrapper for Nagios? Easier or more difficult to manage than plane Nagios? Addons like Nagvis work with it (or is Nagvis unnecessary?)? - This SF.net email is sponsored

Re: [Nagios-users] Determining the success or failure ofexternalcommands

2008-01-24 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Scott Sanders Sent: Thursday, January 24, 2008 11:01 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Determining the success or failure ofexternalcommands It

Re: [Nagios-users] Problem with high latencies after going distributed

2008-01-24 Thread Frost, Mark {PBG}
-Original Message- From: Thomas Guyot-Sionnest [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 3:33 AM To: Frost, Mark {PBG} Cc: Nagios Users Subject: Re: [Nagios-users] Problem with high latencies after going distributed -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Some

Re: [Nagios-users] Problem with high latencies after going distributed

2008-01-24 Thread Sean McAvoy
Hi Mark, I have been having similar problems with my distributed setup. The OCSP daemon reduced the latency in returning check results greatly, but I still am seeing (seemingly) random services go stale. I'm still try to track down the problem, recreating it on a small scale has so far

Re: [Nagios-users] Howto monitor intermittent clients

2008-01-24 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/01/08 02:04 PM, Lars Stavholm wrote: Thomas Guyot-Sionnest wrote: If you need to monitor many hosts, you will likely be more comfortable with Nagios 3 as it can schedule host checks instead of running them in serial, which can be a problem

Re: [Nagios-users] Problem with high latencies after going distributed

2008-01-24 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/01/08 05:13 PM, Frost, Mark {PBG} wrote: -Original Message- From: Thomas Guyot-Sionnest [mailto:[EMAIL PROTECTED] I don't know how many people use OCP_Daemon but I had reports from a few people that greatly reduced their

[Nagios-users] Sending an all is well status report

2008-01-24 Thread Patrick Kremer
I finally have Nagios working the way I want it and I'm about to replace our old What's Up Gold monitoring software. What's Up does have one feature that I like that I can't figure out how to reproduce with Nagios. It has a recurring notification feature that can send e-mail alerts containing