Relkci / Zabbix_Bandwidth-vnstat

Zabbix Template - Get Daily, Monthly and Alltime Bandwidth Information /w Triggers
GNU General Public License v3.0
9 stars 3 forks source link

ZABBIX NOT SUPPORTED KEY #1

Open MadameGit opened 2 years ago

MadameGit commented 2 years ago

Hello,

I am trying to monitor monthly bandwidth client using the zabbix agent, vnstat and UserParameters. I installed vnstat, configure Zabbix Agent (user parameters), import template and assign host. But, I have a problem. When I run the "vnstat -u -i ens160" and "vnstat -m" on the client, I get a correct value. However, from the zabbix server returns "NOT SUPPORTED KEY" on this key : "bandwidth.vnstat.discovery.int.count" and Dashboard does not return anything.

Did someone face something similar?

graph error

Relkci commented 2 years ago

Can you confirm you are using an Active Agent and not Passive Agent? If you are using Passive, you will need to change the parent discovery item to be the standard Agent instead of Active Agent.

You can also change the “retain history” parameter for the discovery parent item, this will confirm if Zabbix was able to gather any data from vnstat. Once the parent item has data, the discovery template should build the rest of the items.

Get Outlook for iOShttps://aka.ms/o0ukef


From: MadameGit @.> Sent: Thursday, September 30, 2021 4:38:30 AM To: Relkci/Zabbix_Bandwidth-vnstat @.> Cc: Subscribed @.***> Subject: [Relkci/Zabbix_Bandwidth-vnstat] ZABBIX NOT SUPPORTED KEY (#1)

Hello,

I am trying to monitor monthly bandwidth client using the zabbix agent, vnstat and UserParameters. I installed vnstat, configure Zabbix Agent (user parameters), import template and assign host. But, I have a problem. When I run the "vnstat -u -i ens160" and "vnstat -m" on the client, I get a correct value. However, from the zabbix server returns "NOT SUPPORTED KEY" on this key : "bandwidth.vnstat.discovery.int.count" and Dashboard does not return anything.

Did someone face something similar?

[graph]https://user-images.githubusercontent.com/91667406/135440217-e595f61c-f761-4ef9-9098-2a1bee4fb28b.PNG [error]https://user-images.githubusercontent.com/91667406/135440269-fd398ec7-0838-4e2b-b19a-9d65d09ec976.PNG

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Relkci/Zabbix_Bandwidth-vnstat/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHCVSKWGMOJTWIX7MYY7OXTUEQ42NANCNFSM5FCAE4FQ.

MadameGit commented 2 years ago

Even with Active Agent, the same problem remains : empty graph and an error occurs in some items. item-error

Relkci commented 2 years ago

Can you see if recent commit fixes the issue?

MadameGit commented 2 years ago

Yes the graph problem has been solved but there is still an error in some items.

MadameGit commented 2 years ago

I just have a problem with "Monthly ens160 Bandiwdth RX Graph" ==> No Data

Rx Monthly Monthly Rx