You’ll have to excuse me, I’ve been thrown in the deep end at a smaller MSP who uses genieACS which I hadn’t heard of until yesterday. The bloke who set it all up has sold the company to someone else and that person has hired me to try and help with the tech side of things.
I’m trying to get a Mikrotik hAP ax2 to be managed via GenieACS (and hopefully check in with our custom admin page, but that’s secondary). I’ve managed to get it ‘Online” on genieACS but it throws an error:
name: TypeError
message: Cannot read property ‘0’ of undefined
stack: |-
TypeError: Cannot read property ‘0’ of undefined
at DeviceWanIP:5:12
I’m wondering if there is anyone who knows what I need to do to get it working and manageable from GenieACS?
Sorry about that. I’m assuming the correct location of this is Admin>Virtual Parameters>DeviceWanIP?
//Unified IP parameter across different device models
let m = “00.00.00.00”;
let p = declare(“InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.ExternalIPAddress”, {value: Date.now()});
Yeah the issue is there is over 500 devices already working somehow. Sorry I’m quite out of my depth but trying to learn as quick as possible. I can provide screen shots of other devices that are working if that would help?
Screenshots will not help. That many other devices work and this one doesn’t means that this device has does not have the parameter requested. This could be because the device in question is using TR-181, or because it does not have any WANIPConnection instances. The resolution to your issue is at the link I provided.