Monitor Cisco router uptime with Nagios and Cacti

On a customer’s network we noticed that the Internet facing router reboots because of a software error. We stumbled on this issue by chance, just because one of the reboots was during a videoconference. Nobody noticed the problem before and they really don’t know if the problem was there since the installation of the router a couple of years ago. They have Nagios running to monitor the network, so I’ve configured it to monitor the router uptime too.