Hello,
Working on network discovery with Ubnt PBE-M5/5AC CPEs using "Template Net Ubiquiti AirOS SNMPv1" for M5 CPEs and "Template Net Ubiquiti AirOS SNMPv1-Prism" for 5AC CPEs. For Discovery checks, I have checks on the device name, which contains the model of radio. Ex. FirstLast-PBE-5AC-GEN2. This is used for the hostname as well.
After that, I need to find what base sector it is connecting to and assign it to the right group. This is the next check, both are SNMPv1. IP for Device Uniqueness criteria and Visible Name is the hostname. Looking at Monitoring -> Discovery, I can see Zabbix pulled the values for those OIDs, so I'm assuming this part is fine, but the actions never get apply group/template to these discovered IPs.
In actions I have "Received value contains PBE-5AC-GEN2" which would define, the model of radio to apply the right template since it will get "Firstlast-PBE-5AC-GEN2". "Received value equals BaseSectorSSID*"* which would define which group to apply it to. I have a Discovery action for each SSID and all apply the same template. I still need to add a rule for the M5 radios, if I can get this fixed and working.
Also tried to debug using this command but this looks to only useful if I couldn't get the OIDs from the devices.
When I do "Received value equals RadioModel", by itself, it works and when I do "Received value contains BaseSectorSSID" by itself it works but when I add them together under one rule, it doesn't. Can you only use one "Received value" per rule?
I've added the another OID that pulls the model of the radio for RAC, M5 doesn't have this OID. I tried using "Discovery check" and I have it set for the OID that pulls the model number. So if discovery can pull this OID and has this SSID, applied template and add to a host group.
Edit 11/4/19: I've spun up Zabbix 4.2 and tired both radio models, changed to SNMPv2 and different OIDs. SNMPv2 will actually add dashes in my SSIDs. 00-00-00 instead of 00 00 00. I made sure to update the conditions with dashes.
https://www.reddit.com/r/zabbix/comm...ing_snmp_oids/
Working on network discovery with Ubnt PBE-M5/5AC CPEs using "Template Net Ubiquiti AirOS SNMPv1" for M5 CPEs and "Template Net Ubiquiti AirOS SNMPv1-Prism" for 5AC CPEs. For Discovery checks, I have checks on the device name, which contains the model of radio. Ex. FirstLast-PBE-5AC-GEN2. This is used for the hostname as well.
After that, I need to find what base sector it is connecting to and assign it to the right group. This is the next check, both are SNMPv1. IP for Device Uniqueness criteria and Visible Name is the hostname. Looking at Monitoring -> Discovery, I can see Zabbix pulled the values for those OIDs, so I'm assuming this part is fine, but the actions never get apply group/template to these discovered IPs.
In actions I have "Received value contains PBE-5AC-GEN2" which would define, the model of radio to apply the right template since it will get "Firstlast-PBE-5AC-GEN2". "Received value equals BaseSectorSSID*"* which would define which group to apply it to. I have a Discovery action for each SSID and all apply the same template. I still need to add a rule for the M5 radios, if I can get this fixed and working.
Also tried to debug using this command but this looks to only useful if I couldn't get the OIDs from the devices.
Code:
zabbix_server --runtime-control log_level_increase=discoverer
I've added the another OID that pulls the model of the radio for RAC, M5 doesn't have this OID. I tried using "Discovery check" and I have it set for the OID that pulls the model number. So if discovery can pull this OID and has this SSID, applied template and add to a host group.
Edit 11/4/19: I've spun up Zabbix 4.2 and tired both radio models, changed to SNMPv2 and different OIDs. SNMPv2 will actually add dashes in my SSIDs. 00-00-00 instead of 00 00 00. I made sure to update the conditions with dashes.
https://www.reddit.com/r/zabbix/comm...ing_snmp_oids/
Comment