Custom script Output

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Post Reply
nagnerd
Posts: 7
Joined: Thu Nov 17, 2022 10:10 am

Custom script Output

Post by nagnerd »

I have a custom script that outputs a time stamp and some system metrics every 15 minutes. How would I send the output of that script to Log Server?
ssunga
Posts: 32
Joined: Wed Aug 09, 2023 10:38 am

Re: Custom script Output

Post by ssunga »

Try going into log server, configure, add log source, and adding a file.

Let me know if that works!
kg2857
Posts: 233
Joined: Wed Apr 12, 2023 5:48 pm

Re: Custom script Output

Post by kg2857 »

To add to the last post, the OP probably needs to output to a file and in the format that conforms to one of the syslog RFCs. An internet search can provide links to the RFCs. Then the OP can define a rsyslog or other log forwarder to send the log data to NLS.
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Custom script Output

Post by eloyd »

OP should hire EverWatch to write the filter for them. :lol:
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
Post Reply