Page 1 of 1

Nagios Interface API issue

Posted: Tue May 14, 2019 6:02 am
by vana1
Hi,
I am trying to configure Nagios NCPA passive agent for Windows and able to get sorted for most of the things but when i try for Interface with the following syntax getting error

[passive checks]
%HOSTNAME%|CPU Usage = cpu/percent --warning 80 --critical 90 --aggregate avg
%HOSTNAME%|Memory Usage = memory/virtual --units Gi
%HOSTNAME%|interface bytes received = interface/Local%20Area%20Connection/bytes_recv --delta 1 --units K
%HOSTNAME%|interface bytes sent = interface/Local Area Connection/bytes_sent --delta 1 --units K

Error screen attached

Please can anyone help out.

Thanks.

Re: Nagios Interface API issue

Posted: Tue May 14, 2019 1:37 pm
by lmiltchev
Does Local Area Connection exist on this machine? Is it possible that it got renamed? Go to the NCPA API, select the "interface" API Endpoint, and see what are the available interfaces.

BTW, I was not able to recreate the issue in-house. The passive check is working just fine for me. Thank you!