Git Product home page Git Product logo

Comments (5)

 avatar commented on June 1, 2024

Original Redmine Comment
Author Name: cams - (cams -)
Original Date: 2008-06-03T12:39:37Z


I have tried the solution of my problem, but i think it’s still a bug.

To fix it i have do that :
1. I add in /etc/init.d/nagios 2 lignes (in bold):

####
if [ $? -eq 0 ]; then
*su – $NagiosUser -c “/usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg”
*su – $NagiosUser -c “touch $NagiosVarDir/nagios.log $NagiosRetentionFile”
rm -f $NagiosCommandFile
……

stop)
echo -n "Stopping nagios: "

pid_nagios
killproc_nagios nagios
su – $NagiosUser -c “skill ndo2db-3x”
1. now we have to wait for nagios to exit and remove its
###
2. In Web interface of Centreon, in Configuration → Nagios → Nagios.cfg → Data tab → Broker module : /usr/local/nagios/bin/ndomod-3×.o config_file=/usr/local/nagios/etc/ndomod.cfg

I don’t know if it’s one of this action or it’s the both, but now i have monitoring, summary bar and my home page !

from centreon-archived.

 avatar commented on June 1, 2024

Original Redmine Comment
Author Name: cams - (cams -)
Original Date: 2008-06-03T12:42:17Z


I have found my solution of my problem, and not i have tried … Sorry for my english !

from centreon-archived.

 avatar commented on June 1, 2024

Original Redmine Comment
Author Name: Julien Mathis (Julien Mathis)
Original Date: 2008-06-19T12:20:54Z


Can we have the first 20 lines of logs nagios after a nagios restart ?

thanks,

from centreon-archived.

 avatar commented on June 1, 2024

Original Redmine Comment
Author Name: cams - (cams -)
Original Date: 2008-06-23T12:52:12Z


i have just reinstall my server, and it’s the same problem and the same solution

before the modifications, i have this in nagios.log :

ndomod: Could not open data sink! I’ll keep trying, but some output may get lost …
Event broker module ‘/usr/local/nagios/bin/ndomod-3×.o’ intialized successfully

after the modifications, i have this :
Event broker module ‘/usr/local/nagios/bin/ndomod-3×.o’ intialized successfully

thanks

from centreon-archived.

 avatar commented on June 1, 2024

Original Redmine Comment
Author Name: Damien Duponchelle (Damien Duponchelle)
Original Date: 2008-07-08T14:34:07Z


I think there isn’t problem with this script. It’s a problem with the configuration on “event broker module” variable that were fixed in centreon interface.

Plus, we test betas versions with debian etch and we haven’t got any problem with this script.
Thanks for your contribution!

from centreon-archived.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.