[Nagios-users] Where is Nagios Core Dump file ?

2007-11-14 Thread Yana Millis
Hello,
nagios crashes on me with an error:
Starting nagios:/etc/init.d/nagios: line 121: 28073 Segmentation fault
 $NagiosBin -d $NagiosCfgFile

when i try to run it with ndoUtils.
Can somebody please tell me where exactly is the core dump file,
what is that file called, and how
to open it in a humanly-readable format ?

thanks alot,

--yana

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Need help setting up NODUtils with Postgres

2007-11-13 Thread Yana Millis
Hello!
I've grabbed the postgres version of NDOUtils from nagios exchange
(http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1%5Bp_view%5D=1131)
I've no idea whether this stuff is stable but I thought I'd giv it a
go, and when
trying to run ./configure, I keep getting the following error:
. . .
MySQL library and include file(s) were found!
checking for PQconnectdb in -lpq... yes
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no

*** PostgreSQL include file could not be located... 

You chose to compile NDBXT with PostgreSQL support, but I was unable
to locate  on your system.  If the include file is
installed, use the --with-pgsql-inc argument to specify the location
of the PostgreSQL include file.



I've also tried to configure it, as suggested, with
 ./configure --with-pgsql-inc=/usr/include
and ensured that libpq-fe.h is indeed in /usr/include,
and its permissions are rwxrwxrwx,
but I still keep getting the PostgreSQL include file could not be
located error (???)...which is really weird...
Does anyone have any suggestions for me ?

Thank you,

--yana

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Discrpancy b/w NDOUtils DB and Nagios

2007-11-11 Thread Yana Millis
Hello, i'm trying to make some sense out of the data in NDOUtils
hostchecks table...Basically, I just want to test which hosts have
ever been down at any time.
There is large number of hosts whose host status, according
to Nagios' web interface, has been in critical DOWN condition
for quite some time. However, when I run the query on NDOUtils
tables, only a very small subset of these hosts show up.
(I.e. nagios shows that host X,Y,Z and W are down, but when I
run the query on DNOUtils hostchecks data table, only Y and Z
show up as having ever been down, which is *weird*).

I've ensured that Nagios performs the checks every two minutes,
that both nagios and ndoUtils have been running long enough,
and that the Ndo2db is only trimmed once a week (so trimming
could not be the cause of the missing records...)

The query that I'm running is as follows:
SELECT  o.name1, o.object_id, h.host_object_id
FROM nagios.nagios_objects o INNER JOIN
 nagios.nagios_hostchecks h
ON o.object_id=h.host_object_id
WHERE  o.objecttype_id=1 AND h.state=1 AND
is_raw_check=0;

So can anybody suggest a reason why the hosts which are down
(and critical) in Nagios' web interface are not recorded as such in
NDOUtils' database ??

thanks alot for any suggestions : 0)

--yana

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] How to fix Nagios Segmentation Fault at startup ???

2007-11-08 Thread Yana Millis
Hello !
My nagios segmentation faults on me at start up.
When I start it with "service nagios start" command, the error I'm
getting is displayed thusly:
"Starting nagios:/etc/init.d/nagios: line 121:  4718 Segmentation
fault  $NagiosBin -d $NagiosCfgFile"
whereby $NagiosBin resolves to /usr/bin/nagios and $NagiosCfgFile
resolves to /etc/nagios/nagios.cfg.

Obviously, /etc/init.d/nagios exists. The pre-flight check of
nagios.cfg doesn't return any errors. And the
nagios.log file doesn't have any constructive feedback, except for one
line saying "[1194569016] Nagios 2.9 starting... (PID=4718)"

So my question is: how do I begin debugging this issue and where do I
look first ? Is there any way I can modify
nagios configuration to make it output more detailed stuff to the log ?
Can anybody please stir me in the right direction 

thanks alot,

yana

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] How and where to install NDOUtils ?

2007-11-06 Thread Yana Millis
Hello!

I'm having a bad time installing NDOUtils.
In the installation instructions it says to put the ndoutils files as follows:
ndomod-2x.0 to /usr/local/nagios/bin
ndomod.cfg to /usr/local/nagios/etc
ndo2db-2x to /usr/lcal/nagios/bin
ndo2db.cfg to /usr/local/nagios/etc

now my problem is that the nagios i'm working with was not installed
by me, and it was not a "default" installation
but a package installation. As a result, the nagios installation does
not have either the /bin or the /etc
directories.

So my question is: given that the nagios installation doesn't have
either the bin or the etc directories, where
should I put the ndomod-2x.o, ndomod.cfg, ndo2db-2x, and ndo2db.cfg files ??

Can anybody please shed some light on this and point me in the right direction ?
Thanks a bunch for any feedback,

--yana

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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