I think Nagios can do a PostGres SQL query. If so what you can do is open the Postgres database on the VDP server up and run this query...
SELECT MAX(utilization) as percentage FROM v_node_space WHERE date_time = (SELECT MAX(date_time) FROM v_node_space);
To open up the postgres database you'll need to do the following...
1. Enable Remote SSH Login (Optional, but it makes my life easier)
vi /etc/ssh/sshd_config
permitRootLogin yes <--- Line 142 change to yes
service sshd restart
2. Edit postgressql.conf
vi /data01/avamar/var/mc/server_data/postgres/data/postgresql.conf
listen_addresses='*' <--- uncomment line 56 and change localhost to *
vi /data01/avamar/var/mc/server_data/postgres/data/pg_hba.conf
host all all 0.0.0.0/0 trust <-- comment out line 69 and add a new line with this
3. Edit the firewall.base
vi /etc/firewall.base
# enable remote access to postgress db service
# add these lines to the bottom of the firewall.base file
iptables -I INPUT 1 -p tcp --dport 5555 -j ACCEPT
iptables -I INPUT 1 -p tcp --dport 5558 -j ACCEPT
4. Reboot the VDP appliance
5. You can now run the following query to find any backups that failed.
Postgres Username: viewuser
Postgres Password: viewuser
Database: mcdb
Query: SELECT MAX(utilization) as percentage FROM v_node_space WHERE date_time = (SELECT MAX(date_time) FROM v_node_space);