Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agents not appearing #13

Open
daven1985 opened this issue Feb 27, 2018 · 3 comments
Open

Agents not appearing #13

daven1985 opened this issue Feb 27, 2018 · 3 comments

Comments

@daven1985
Copy link

I may be doing something really stupid. But I added two of my AP's as below in the telegraf.conf however I can't find where to see the AP's. In Grafana it just lists NONE.

Am I doing something wrong? Cheers.

UniFi APs (Gen 2/Gen 3)

[[inputs.snmp]]

List of agents to poll

agents = [ "172.16.2.128:161", "172.16.2.129:161" ]

@WaterByWind
Copy link
Owner

Have you configured SNMP to be enabled via the UniFi GUI? SNMP is not enabled by default.

Do you see any errors in the telegraf log? Typically this might be something like /var/log/telegraf.log. If you see timeouts or other errors that would be a helpful clue to the next step.

You can run a one-shot test to confirm whether telegraf is able to fetch data:
/usr/local/bin/telegraf --config /usr/local/etc/telegraf.conf --input-filter snmp --test

Substitute the proper path to the telegraf binary as well as the telegraf.conf above. You should see a bit of output displayed. If not then that's where to check next.

@daven1985
Copy link
Author

I got it working. In Chronograf I can see the agents I added by their IP address. Do I change them to host names by making sure they Hostname has a DNS reference?

Cheers.

@WaterByWind
Copy link
Owner

Yes you can use hostnames if they are resolvable by the host running telegraf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants