This template collects and monitors active users on target hosts.
This template try to monitor active users on servers and find out overstay users
5.0.1
Yioda
Name | Description | Default | Type |
---|---|---|---|
{$OVERSTAY_THRESHOLD} | <p>stay on certain server too long, default: 1 day</p> | 1 |
Text macro |
There are no template links in this template.
There are no discovery rules in this template.
Name | Description | Type | Key and additional info | ||||
---|---|---|---|---|---|---|---|
Logged in users | <p>Use linux command last to get those users with status “still logged in”.</p> |
Zabbix agent (active) |
system.run[“TZ=UTC last -FRw | grep "still logged" | sed ‘s/still logged in//g’ | awk ‘{$2="";print $0;}’ | sed ‘s/ /,/g’”]<p>Update: 1h</p> |
Overstay users on the {HOST.NAME} > {$OVERSTAY_THRESHOLD} day(s) | <p>-</p> | Dependent item |
system.users.overstay.list<p>Update: 0</p> | ||||
Num of overstay users on the {HOST.NAME} > {$OVERSTAY_THRESHOLD} day(s) | <p>-</p> | Dependent item |
system.users.overstay.num<p>Update: 0</p> | ||||
Num of Active(logged in) users | <p>Same purpose as the Zabbix built-in metric system.users.num .</p> |
Dependent item |
system.users.loggedin.num<p>Update: 0</p> |
There are no triggers in this template.
This template collects and monitors active users on target hosts.
This template try to monitor active users on servers and find out overstay users
5.0.1
Yioda
Name | Description | Default | Type |
---|---|---|---|
{$OVERSTAY_THRESHOLD} | <p>stay on certain server too long, default: 1 day</p> | 1 |
Text macro |
There are no template links in this template.
There are no discovery rules in this template.
Name | Description | Type | Key and additional info | ||||
---|---|---|---|---|---|---|---|
Num of overstay users on the {HOST.NAME} > {$OVERSTAY_THRESHOLD} day(s) | <p>-</p> | Dependent item |
system.users.overstay.num<p>Update: 0</p> | ||||
Num of Active(logged in) users | <p>Same purpose as the Zabbix built-in metric system.users.num .</p> |
Dependent item |
system.users.loggedin.num<p>Update: 0</p> | ||||
Overstay users on the {HOST.NAME} > {$OVERSTAY_THRESHOLD} day(s) | <p>-</p> | Dependent item |
system.users.overstay.list<p>Update: 0</p> | ||||
Logged in users | <p>Use linux command last to get those users with status “still logged in”.</p> |
Zabbix agent (active) |
system.run[“TZ=UTC last -FRw | grep "still logged" | sed ‘s/still logged in//g’ | awk ‘{$2="";print $0;}’ | sed ‘s/ /,/g’”]<p>Update: 1h</p> |
There are no triggers in this template.
This template collects and monitors active users on target hosts.
This template try to monitor active users on servers and find out overstay users
5.0.1
Yioda
Name | Description | Default | Type |
---|---|---|---|
{$OVERSTAY_THRESHOLD} | <p>stay on certain server too long, default: 1 day</p> | 1 |
Text macro |
There are no template links in this template.
There are no discovery rules in this template.
Name | Description | Type | Key and additional info | ||||
---|---|---|---|---|---|---|---|
Num of overstay users on the {HOST.NAME} > {$OVERSTAY_THRESHOLD} day(s) | <p>-</p> | Dependent item |
system.users.overstay.num<p>Update: 0</p> | ||||
Num of Active(logged in) users | <p>Same purpose as the Zabbix built-in metric system.users.num .</p> |
Dependent item |
system.users.loggedin.num<p>Update: 0</p> | ||||
Overstay users on the {HOST.NAME} > {$OVERSTAY_THRESHOLD} day(s) | <p>-</p> | Dependent item |
system.users.overstay.list<p>Update: 0</p> | ||||
Logged in users | <p>Use linux command last to get those users with status “still logged in”.</p> |
Zabbix agent (active) |
system.run[“TZ=UTC last -FRw | grep "still logged" | sed ‘s/still logged in//g’ | awk ‘{$2="";print $0;}’ | sed ‘s/ /,/g’”]<p>Update: 1h</p> |
There are no triggers in this template.