I'm surely missing a point because the master server doesn't receive checks results. i put this line in nagios.cfg without quote.
broker_module=/usr/local/nagios/lib/pnsca.so /usr/local/nagios/libexec/send_nsca -H 10.10.10.10 -c /usr/local/nagios/etc/send_nsca.cfg I also tried with quotes without success. Any idea ? Thanks Olivier Jan Hendrik Bäcker <[EMAIL PROTECTED]> a écrit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Olivier JAN schrieb: >> It seems that oc[hs]p is the one to blame for performance issue i >> related. I've restarted nagios without those two commands >> activated. Nagios has done so far about 10 000 checks and has now a >> latency of 0.055 sec. >> >> So i'm decided to give pnsca module a try. It's already compiled >> and installed in /usr/local/nagios/lib but i would like some >> precisions about how to configure it in nagios.cfg. >> >> Below is what i've already done in it. >> >> obsess_over_services=0 obsess_over_hosts=0 event_broker_options=-1 >> broker_module=/usr/local/nagios/lib/pnsca.so <send_nsca_command> >> > You should leave the global broker_options to "-1" cause sometimes in > the future there might come another module that wants to have more. > The pnsca.so is smooth enough to register only the needed things to > the core. >> Looks correct for you ? Maybe there is a setting more accurate for >> the broker options rather than everything ? >> >> For now, i'm calling send_nsca like that submit_check_result >> "$HOSTNAME$" "$SERVICEDESC$" "$SERVICESTATEID$" "$SERVICEOUTPUT$ | >> $SERVICEPERFDATA$" The submit_check_result script is the usual one >> with the pipe to send_nsca. With those infos, could you give me an >> example of what is expected in <send_nsca_command>. I'd be ready to >> go with pnsca after that and will give the conclusion of the test >> here. >> > <send_nsca_command> = /path/to/send_nsca <args as usual> > > broker_module=/usr/local/nagios/lib/pnsca.so > /usr/local/nagios/bin/send_nsca -H /central_server/ -c > /usr/local/nagios/etc/send_nsca.cfg > > The rest of needed information is gathered by the pnsca module but I > am not sure if the whole command should be within " " or not. Just > give it a try without quotes. > > - - > Hendrik > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > > iD8DBQFI2543lI0PwfxLQjkRAs9yAJ9BrcpWX4LHrniON8oUaxs0SS40mQCfVY8R > he5LYEPyZBRMPQNtuQ9VOUk= > =ltwL > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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