Hi all!
I need to track total working time of Linux host. For example, it was
working for an hour, than it was turned off for another hour and turned
on again for an hour. Total working time will be 2 hours.
Also some hardware is connected to this host. I need to track hardware's
total connected time and total time it being used. So at any given
moment of time I know whether host is alive, whether piece of hardware
is connected and whether it is being used.
What is the best way to do this using zabbix? If it can't be done
directly, I don't mind writing some code.
I need to track total working time of Linux host. For example, it was
working for an hour, than it was turned off for another hour and turned
on again for an hour. Total working time will be 2 hours.
Also some hardware is connected to this host. I need to track hardware's
total connected time and total time it being used. So at any given
moment of time I know whether host is alive, whether piece of hardware
is connected and whether it is being used.
What is the best way to do this using zabbix? If it can't be done
directly, I don't mind writing some code.