Pinging the device is not always possible (behind a firewall). Also, maybe it responds to pings, but isn't recording or otherwise working.
I am starting a project that could help monitor the health of your NVR. It can login to your device (assuming it is internet accessible) and check for all...