1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 1.00 out of 5)
Loading...
:

This module is applied to know if a backup is done. In the backup script you need to create always a fixed link name which point to the latest backup file.

This module get’s the time of a link which points to the lastest backup in the system. When backup its too old (>90,000 is about to be more than 1,1 days), should put itself in CRITICAL, it depends on the user to set the ammount of time from last backup (in seconds) to consider it CRITICAL.

Tested only in Linux.

Module data

module_begin 
module_name LastBackup_Timestamp 
module_type generic_data 
module_exec expr `date +%s` - `ls -la --time-style=+%s /var/backup/lastbackup| awk '{ print $6 }'` 
module_end
(Visited 596 times, 1 visits today)

For correct visualization of the Pandora FMS library extension, you must have installed version NG 760 or superior

X