Displaying 1 result from an estimated 1 matches for "backup_failed".
2007 Feb 08
1
rsync check by nagios NCSA
...can I detect if rsync has
done everything well.
nsca works simple
<hostname>[tab]<svc_description>[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 gu...