Monitor host with Ipv6

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Hanza
Posts: 8
Joined: Fri Dec 25, 2020 5:24 pm

Monitor host with Ipv6

Post by Hanza »

- I just started to work by nagios so I have some issues shows-up.
- We have in our envirement a printer has Ipv6, but nagios basically supervise hosts on Ipv4, I searched for a solution but non of them work for me.
Can you please help me?
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Monitor host with Ipv6

Post by gormank »

Nagios doesn't much care if a host is v4 or v6 but for traps, you have to tell snmptrapd to listen for v6, either in snmptrapd.conf or (I think) /etc/sysconfig/snmptrapd.

One thing to be aware of is :: and :0: in the host address definition are probably not the same since Nagios treats addresses as strings.

If you can you snmpwalk the printer you should be able to do active SNMP checks on it as well.
Locked