Utilities

Capture command output

5 (2)
14,695
0
0

Thank you for your review!

Your review has been submitted and is pending approval.

Description

Captures the stdout and stderr output of a command to a file and returns the original results to Nagios. This is useful for debugging failing Nagios monitors. A log entry sample: 2015-8-27 13:22:54 ------ debugging cmd=[/usr/lib/nagios/plugins/check_disk '-w' '20%' '-c' '10%' '-e'] output=[DISK CRITICAL - /run/user/1001/gvfs is not accessible: Permission denied ] retcode=2


Project Details

Current Version

1.1

Last Release Date

2015-09-29

Owner

Jess Portnoy

License

GPL

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x

Recommend

To:


From: