Nagios Interface API issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vana1
Posts: 3
Joined: Mon May 13, 2019 8:39 am

Nagios Interface API issue

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios Interface API issue

Post 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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked