Hi.
I am monitoring unbound DNS. Snapshots of Items and ps output attached with this...
This is the Userparamter
UserParameter=unbound[*],sudo /usr/sbin/unbound-control stats_noreset | grep $1= | cut -d= -f2
Default Polling interval is 60s i have also tried scheduled and flexible intervals as well..
Total Items being monitord are around 80. So after one minute Zabbix Server polls unbound machine...
The problem i face is that i want Zabbix agent to run this command once "sudo /usr/sbin/unbound-control stats_noreset | grep $1= | cut -d= -f2
"
But instead, for every item it run this separately (80 times) which results in processor overhead...
Can some one help me how can i achieve to poll unbound statistics only once, not like 80 times.

I am monitoring unbound DNS. Snapshots of Items and ps output attached with this...
This is the Userparamter
UserParameter=unbound[*],sudo /usr/sbin/unbound-control stats_noreset | grep $1= | cut -d= -f2
Default Polling interval is 60s i have also tried scheduled and flexible intervals as well..
Total Items being monitord are around 80. So after one minute Zabbix Server polls unbound machine...
The problem i face is that i want Zabbix agent to run this command once "sudo /usr/sbin/unbound-control stats_noreset | grep $1= | cut -d= -f2
"
But instead, for every item it run this separately (80 times) which results in processor overhead...
Can some one help me how can i achieve to poll unbound statistics only once, not like 80 times.
Comment