Displaying 1 result from an estimated 1 matches for "ip_nagios".
2007 Feb 08
1
rsync check by nagios NCSA
...n>[tab]<return_code>[tab]<plugin_output>[newline].
I have a text file named backup_okay with the following:
Server1 backup_home 0 Backup is okay. [return]
and text file named backup_failed with the following:
Server1 backup_home 2 Backup failed. [return]
When okay send : send_nsca IP_nagios ?c send_nsca.cfg < backup_okay
When failed send : send_nsca IP_nagios ?c send_nsca.cfg < backup_failed
If somebody knows a solution.
Just grepping any sterr output will not be the way I guess.
Latter I would like to send the reason why rsync had failed, maybe
connection failure.
I hoop som...