[Fwd: nagios 2.7 - 2.8 problem]

Di Giambelardini Gabriele g.digiambelardini-hYieKUmLjM+onA0d6jMUrA at public.gmane.org
Fri Mar 16 14:45:01 CET 2007


> hi to all, i have a problem with nagios 2.7.- 2.8 on redhat ES 4
>
> the problem:
> I have a plugin that check the write access for oracle tables, if I start
> nagios without any files in /var/log/nagios the check is ok, and nagios
> understand the return code of the check, but if i stop and start nagios
> and i lounch the script by hand it go well, instead nagios don't uderstand
> the retur code and give "error database". so i must stop nagios, delete
> all file in /var/log/nagios, start again nagios and all go well.
> somebody can give me some ideas fo this problem?
> I'll send you the nagios.cfg end the plugin

Hi to all, i success to found the exactly error.. the error is:
if i start-stop-restart nagios using "server nagios stop-start-restart"
nagios not understand any more the result of check.
if i reboot the server, and i have at te runlevel 3 S99nagios, nagios not
understand che result of check. On if i longin such a root user end then
louch /etc/init.d/nagios stop-start-restart, nagios work fine!!
some body have some ideas?? i try to set root anviroment in a script that
then lounch nagios, but nothing to do!!!

i resend you the nagios.cfg anche the check for database write_access,sh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: write_access
Type: application/octet-stream
Size: 2281 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070316/d5943a62/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios
Type: application/octet-stream
Size: 30915 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070316/d5943a62/attachment-0001.obj>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list