Skip to main content
Question

Read a log file

  • Oct 17, 2023 6:31 PM UTC
  • 3 replies
  • 673 views

Forum|alt.badge.img

Good morning,

Sorry my English is a bit bad.

I'm looking for a way to read a log file with centreon. For example if I find the word error, put the service in error.

During my searches, I found check_files, but I can't find the right syntax.

Can you guide me, please.

3 replies

Forum|alt.badge.img+6
  • Builder *
  • Oct 20, 2023 2:33 PM UTC

Same question here.


Forum|alt.badge.img+6
  • Builder *
  • Oct 25, 2023 12:26 PM UTC

I found the “check_log3.pl” : https://github.com/pmcaulay/nagios-plugins/blob/master/check_log3.pl

 

Everything is working fine.


fgbetokpanou
Centreonian
Forum|alt.badge.img+12
  • Centreonian
  • Nov 17, 2023 3:09 PM UTC

Hi @Benji, did you manage to resolve your issue? If so, please consider marking the solution that helped you as the 'Best Answer' or sharing your feedback with the community. This could be invaluable for someone facing a similar challenge. Thank you,