Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_syslog

Rating
0 votes
Favoured:
0
Hits
168254
Files:
FileDescription
check_syslog_02.plcheck_syslog_02.pl
check_syslog_syslog-ng.confcheck_syslog_syslog-ng.conf
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks whether syslog-ng works through UDP or not.
This simple Perl script checks whether syslog-ng work through UDP or not. It's only useful and useable when the Nagios is on the same host as Syslog-ng.

Because of "The functions openlog(), syslog() and closelog() return the undefined value." I couldn't check for openlog() errors, so if nagios can't connect to the syslog-ng server the service state will be "UNKNOWN".

If anyone knows how to check for openlog() errors, please let me know.