Hi,
In the past I've used a standard check_tcp Nagios plugin to confirm that rsyslog was accessible on our receivers. This produces a bit of noise in the logs since the connections don't follow what I assume would be standard client connect/disconnect behavior. I've always ignored the noise as it's intermittent, but figured it might be worth crafting a proper check.
I'd like to craft a plugin that sends a small test message to rsyslog via RELP (since that is what we're primarily using). I'd setup a rule in rsyslog to match/ignore it, but receiving it would be enough for a future Nagios check to confirm (that at a basic level) remote rsyslog connections are working.
Any pointers? I considered digging into the C source code, but I don't think my skills are up for that task just yet.
Thanks in advance.
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.
In the past I've used a standard check_tcp Nagios plugin to confirm that rsyslog was accessible on our receivers. This produces a bit of noise in the logs since the connections don't follow what I assume would be standard client connect/disconnect behavior. I've always ignored the noise as it's intermittent, but figured it might be worth crafting a proper check.
I'd like to craft a plugin that sends a small test message to rsyslog via RELP (since that is what we're primarily using). I'd setup a rule in rsyslog to match/ignore it, but receiving it would be enough for a future Nagios check to confirm (that at a basic level) remote rsyslog connections are working.
Any pointers? I considered digging into the C source code, but I don't think my skills are up for that task just yet.
Thanks in advance.
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.