Syslog-NG/NSCA
Marcel Mitsuto Fucatu Sugano
msugano at uolinc.com
Mon Jul 31 18:24:21 CEST 2006
Hi,
On Sun, 2006-07-30 at 19:05 -0700, Mike Koponick wrote:
> I wondered of anyone else has configured Syslog-NG to send data via
> NSCA, and let Nagios handle the notifications, etc. I'm curious to see
> how Nagios is configured as the server, and Nagios as the client.
We use syslog-ng at Nagios central server to write directly to
nagios.cmd. Distributed Nagios servers use syslog-ng to send passive
results to central nagios. Just use the logger utility to log, and
filter relevant entries to be redirected to central nagios. On central
nagios, there must be one log entry to write lines matching
"PROCESS_SERVICE_CHECK_RESULT" to nagios.cmd pipe. Using NSCA and
Syslog-NG on the central server did not worked because syslog-ng locks
the command pipe for writing, thus nsca cannot write to the command
pipe. But syslog-ng could have a destination to some script that writes
to nagios.cmd pipe, if nsca keeps running at the central nagios server.
HTH,
Marcel
AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. Caso você não seja o destinatário desta mensagem, informamos que qualquer divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos é absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.
NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail´s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/.
-------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list