Displaying 1 result from an estimated 1 matches for "backup_okay".
2007 Feb 08
1
rsync check by nagios NCSA
...ckup/server1
This works great for many years now
Now I'm playing with Nagios and NSCA but how 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 <...