Re: [Nagios-users] Status tables are always corrupt after a clean shutdown

2008-01-20 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Amir Saad wrote:
| I installed Nagios with a MySQL backend. Each time I try to turn on the
| nagios server (the MySQL server is running on it) after a clean
| shutdown, I find the status tables corrupt. Nagios fails to start till I
| repair the tables, any idea?

What is the order of startup and shutdown of the nagios and mysql processes?

Because you want nagios to start after mysql and mysql to stop after nagios.

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)

iD8DBQFHkwZxBvzDRVjxmYERAjTxAJ40Rv2veoVIRcHKjLB032JdthkSLwCfU+TC
nHylf8RDzeW4DzGEd/wsk8c=
=krcw
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Fwd: Pre-build binaries on OpenSolaris

2008-01-20 Thread Ameya Agnihotri
here are the details of the problem is am facing:

Platform: OpenSolaris
Nagios version: 2.10
Nagios plug-in version 1.4.11

compiler: gcc

bash-3.00# make install-config
./install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/etc
./install-sh -c -b -m 664 -o nagios -g nagios sample-config/nagios.cfg
/usr/local/nagios/etc/nagios.cfg
install:  -b does not exist
make: *** [install-config] Error 1


Same -b does not exist  occurs while building nagios plugins.

Has anyone faced this problem before??
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] NagiosGrapher 2008-01-08 issue on Centos

2008-01-20 Thread Lars Stavholm
Hugo van der Kooij wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hugo van der Kooij wrote:
 | Hi,
 |
 | I might have missed something trivial here but it seems I am not getting
 | any graphs build and I end up with a lot of small files on a pretty new
 | installation on Centos 5.1 with Nagios 2.10
 |
 | Nagios is runing fine for the current handfull of hosts in the config.
 | So I decided I wanted to give NagiosGrapher a spin.
 
 I found the first issue. In the rc there is the line:
 DAEMON=/usr/lib/nagios/contrib/nagios_grapher/collect2.pl
 
 But there is not even an directory called /usr/lib/nagios/contrib
 
 The file was in fact installed in /usr/lib/nagios/plugins/contrib/
 
 In this regard the value in the Fedora init script is better as this
 part of the diff shows:
 - --- nagios_grapher.fc   2007-08-10 17:05:31.0 +0200
 +++ nagios_grapher.redhat   2007-08-10 17:05:31.0 +0200
 - -DAEMON=/usr/lib/nagios/plugins/contrib/collect2.pl
 +DAEMON=/usr/lib/nagios/contrib/nagios_grapher/collect2.pl
 
 Fixing the issue and adding the perl-GD package did result in the
 startup of the daemon.
 
 The files are now read as I would expect them to be.
 
 But I am not yet getting any graphs. Int he logs it seems all of the
 lines are ignored.
 
 In the ngrap.ncfg file I have:
 
 # Includes
 cfg_dir=/etc/nagios/ngraph.d
 
 And I copied the template file for ping to this directry and made sure
 the file was now named check_ping.ncfg but this did not work yet. I then
 renamed the file to PING.ncfg and this time the restart seems to get it
 right.
 
 Is this a known issue with the names of the template files? Must they
 match the service name exactly?

No, to my understanding they can be named anything, but the files
has to have the .ncfg at the end. The actual matching takes place
in the service_name statement of the .ncfg file against the
service_description of the nagios service definition. I have, on
the other hand, been bitten by the permission of the files. The
files need to be owned by nagios, if indeed nagios is the process
owner of collect.pl.
/L

 - --
 [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)
 
 iD8DBQFHkharBvzDRVjxmYERApN7AKCDatun2c6HATDGU1GFbkYQxA9BugCgo5Pj
 r18vL4RCuDhuku9HwHlZopY=
 =wuRm
 -END PGP SIGNATURE-
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] rrd gaps

2008-01-20 Thread Lars Stavholm
Hugo van der Kooij wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Gerd Mueller wrote:
 | Hi,
 |
 | the old NagiosGrapher interfaces (network/pipe) can cause huge
 | latency :-(. Thanks to a patch we got there is a new interface type
 | file. The main advantages of this new interface are:
 | * no gaps any more
 | * no latency caused by NagiosGrapher
 | * restarting NagiosGrapher does not cause any gaps
 
 Did anyone allready write up a spec file for the software dated
 2008-01-08? I do not mind having to write one myself but I rather not
 waste time on duplicates.

Not sure what you mean there, but here's an rpm spec file for rc5:
http://www.linadd.org/browser/trunk/nagios/grapher/grapher.spec.in.
We've tried the latest package, the one labeled latest (the one
after rc5), but never got that one working, so we're sticking with
rc5 for the moment.
/L

 - --
 [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)
 
 iD8DBQFHkgW7BvzDRVjxmYERAtTLAKCZBFAErGkz7Bc9Fq9kdffvuiwpHQCcD1nT
 kPU3xjtcpPziQT3QljtGlco=
 =WCMq
 -END PGP SIGNATURE-
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] rrd gaps

2008-01-20 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lars Stavholm wrote:
| Hugo van der Kooij wrote:
| Gerd Mueller wrote:
| | Hi,
| |
| | the old NagiosGrapher interfaces (network/pipe) can cause huge
| | latency :-(. Thanks to a patch we got there is a new interface type
| | file. The main advantages of this new interface are:
| | * no gaps any more
| | * no latency caused by NagiosGrapher
| | * restarting NagiosGrapher does not cause any gaps
|
| Did anyone allready write up a spec file for the software dated
| 2008-01-08? I do not mind having to write one myself but I rather not
| waste time on duplicates.
|
| Not sure what you mean there, but here's an rpm spec file for rc5:
| http://www.linadd.org/browser/trunk/nagios/grapher/grapher.spec.in.

That is not a spec file. It is a template to it. Bur a far cry from a
working spec file. And I guess it is even another addon with a similar name.

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)

iD8DBQFHk5SCBvzDRVjxmYERAn0fAJ0Yvg/+q5xlRIgICq/5AXn7a9FvAACeOmTb
TnWaAC8Z7bNLs5ZLe6ucVqM=
=cIbg
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 Troubles

2008-01-20 Thread Frederik Vanhee
On 1/18/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 List,


 Today our NDOUtils broker...broke. I'm not entirely sure what happened,
 but I can tell you what is going on and what I've done...
 Nagios 2.10, 1.4.10 plugs on Ubuntu 7.10

 This has been fine for about 3 months now.

 Today however, we started seeing some issues with the daemon. In the
 event log of the nagios web interface it shows successful connections,
 as does the nagios/mysql logs. Only problem is that in the Nagvis
 interface it is showing that NDO is reporting Nagios as closed, or no
 updates in more that 100 seconds. I'm leaning more towards a broken
 Nagvis at the moment. I am the only person touching the Nagios box and
 nothing has changed. I did try to add Bacula to this box, but have since
 removed all relative packages that I installed. Has anyone
 seen/experienced a similar issue with NDO? It's really frustrating, as
 we have an IT auditor here today, and this is a big part of our audit
 this year!!!

 Stephen

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 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

 Hi Stephen,

have you checked your database ? I mean, I installed NDO-utils with all
default values and my database grew to 3+ Gigabytes in a few days, because
of all servicechecks and external commands that were stored. The database
grew and grew, until the system couldn't cope anymore.
So I tweaked ndo a bit, not to store all external commands for example
(distributed environment).

Frederik
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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 migation issue

2008-01-20 Thread Alex Dehaini
Hi everyone,
I just installed nagios on a new server, I backed up the etc folder of
nagios from the old server and put it on the new server. I checked nagios
and nagios is running on the new server. However, when I try to browse
nagios, I get a blank page. Here is the error from apache logs

(13)Permission denied: exec of '/usr/local/nagios/sbin/status.cgi' failed,
referer: http://192.168.0.5/nagios/side.html
[Mon Jan 21 07:26:03 2008] [error] [client 192.168.0.54] Premature end of
script headers: status.cgi, referer: http://192.168.0.5/nagios/side.html

It seems like a permission problem but I can't place my finger on it.


-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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