Update telegraf_pfinterface.php
The measurement is "interface" not "interfaces"
This commit is contained in:
parent
b6b4ac1009
commit
916856ac59
@ -30,7 +30,7 @@ foreach ($iflist as $ifname => $friendly) {
|
||||
}
|
||||
|
||||
if (!empty($ipaddr)) {
|
||||
printf("interfaces,host=%s,name=%s,ip_address=%s,friendlyname=%s,source=%s status=%s\n",
|
||||
printf("interface,host=%s,name=%s,ip_address=%s,friendlyname=%s,source=%s status=%s\n",
|
||||
$host,
|
||||
$realif,
|
||||
$ipaddr,
|
||||
|
Loading…
x
Reference in New Issue
Block a user