Hi,
I have an equipament where is not possible install a Zabbix agent or SNMP-utils for SNMP monitoring...
I'm trying collect uptime info with an SSH connection and executing the command "uptime".
My answer is that: 09:29:24 up 111 days, 10:04, 29 users, load average: 4.12, 4.15, 4.14
How i can get only the number before "days" and after "up"?
I'm trying to use a preprocessing option, but i dont know how =/
(no, i dont know how to upload a profile picture, sorry =/ )
I have an equipament where is not possible install a Zabbix agent or SNMP-utils for SNMP monitoring...
I'm trying collect uptime info with an SSH connection and executing the command "uptime".
My answer is that: 09:29:24 up 111 days, 10:04, 29 users, load average: 4.12, 4.15, 4.14
How i can get only the number before "days" and after "up"?
I'm trying to use a preprocessing option, but i dont know how =/
(no, i dont know how to upload a profile picture, sorry =/ )
Comment