filtering and forwarding log
Posted: Wed May 05, 2021 10:41 pm
Hi all,
I am new to Nagios Log server. Please advice if Nagios log server is able to do the following.
I have successfully configured to forward syslog events from linux server to a Nagios log server. I would like to create an alert or a trigger to execute an external script to send every receiving events (with timestamp, host and message content info) to an output file in nagios log server.
I notice that there are limited arguments such as count,status,output and lastrun in creating an alert. May be I can get help to create a plugin to accomplish the requirement.
Appreciate your attention. Thanks.
Rgds,
Leslie
I am new to Nagios Log server. Please advice if Nagios log server is able to do the following.
I have successfully configured to forward syslog events from linux server to a Nagios log server. I would like to create an alert or a trigger to execute an external script to send every receiving events (with timestamp, host and message content info) to an output file in nagios log server.
I notice that there are limited arguments such as count,status,output and lastrun in creating an alert. May be I can get help to create a plugin to accomplish the requirement.
Appreciate your attention. Thanks.
Rgds,
Leslie