Home Directory Plugins Others check_gather

check_gather

Bookmark and Share

Rating
0 votes
Favoured:
0
Current Version
1
Last Release Date
2012-07-29
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
23703
Files:
FileDescription
check_gather.plPerl script
Aggregate several status checks as one.

Similar to check_multi, but much simpler.
Similar to check_multiple, but runs an external script.
/path/to/check_gather.pl 8 'Foo checks' /path/to/script.sh args...

Will run "/path/to/script.sh args..." and expect exactly 8 lines of nagios status ouput, the worst status of which is used as the overall summary.

The result will would be:

Foo checks WARNING: 8 results | check1 OK: ... check2 WARNING ...