[Nagios-devel] logging behaviours between nagios1 and nagios2

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] logging behaviours between nagios1 and nagios2

Post by Guest »

Hello,

Is it possible to have nagios-2.5 logging behaviour somewhat equal to
nagios-1.4.1? With nagios-1.4.1, when some passive check results arrives
at nagios.cmd pipe, and if that result isn't configured as a service in
nagios, there is a log entry like:

[1156965483] Warning: Message queue contained results for service 'SM =
Daemon' on host 'sedna16-b'. The service could not be found!

This is useful when we have a script that parses nagios.log looking for
entries like those to create a service entry and reloading nagios
configs automatically.

I have tested with nagios-2.5, but it did not knows if some results
arriving via command pipe are from configured services or not.

Is there anything to tweak within nagios.cfg to make it log like
nagios-1.4.1?

TIA,
Marcel


AVISO: A informa=E7=E3o contida neste e-mail, bem como em qualquer de =
seus anexos, =E9 CONFIDENCIAL e destinada ao uso exclusivo do(s) =
destinat=E1rio(s) acima referido(s), podendo conter informa=E7=F5es =
sigilosas e/ou legalmente protegidas. Caso voc=EA n=E3o seja o =
destinat=E1rio desta mensagem, informamos que qualquer divulga=E7=E3o, =
distribui=E7=E3o ou c=F3pia deste e-mail e/ou de qualquer de seus anexos =
=E9 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=F3pia e/ou =
impress=E3o realizada a partir destes, sejam permanentemente apagados =
e/ou destru=EDdos. Informa=E7=F5es 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=B4s 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/.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked