I've written a perl script that feeds the following data into cacti:
Code: Select all
uptime_sec:12345678 days:2 hrs:14 min:32
My question is, is there a way to combine the other values into one comment or gprint so the uptime is readable in the following way:
Code: Select all
Uptime (syslog): 2 days, 14 hrs. and 32 min.
Thanks,
Wietze