Availability Report need in Human-readable format
Posted: Mon Feb 21, 2022 2:12 am
Hello Experts,
I am using Nagios Core 4.4.5. And Have configured the network devices as per requirements. Here the main issue is the Availability Report's uptime as a CSV is coming in Seconds. I need that uptime in Human-readable format.
e.g Nagios shows the report as 86400 Seconds. I need it as 1d 0h 0m 0s.
So what changes should be done in the file(s) so that I can achieve my task. So No more manual work by calculating seconds into Hours, Days, Minutes, Seconds format.
I am using Nagios Core 4.4.5. And Have configured the network devices as per requirements. Here the main issue is the Availability Report's uptime as a CSV is coming in Seconds. I need that uptime in Human-readable format.
e.g Nagios shows the report as 86400 Seconds. I need it as 1d 0h 0m 0s.
So what changes should be done in the file(s) so that I can achieve my task. So No more manual work by calculating seconds into Hours, Days, Minutes, Seconds format.