I'm working on a template to monitor Mobotix cameras and I've managed to get enough values from ICMP templates and from SNMP to track uptime and port error rates and such, but I'd like to track temperature.
It's not reported via SNMP by these cameras yet, but it is accessible in the web interface of the camera at IP/admin/temperatures.
I started down the path of buillding a web scenario to collect that data via regexp and I suspect I have that working fine:
{cameratemp}=regex
[0-9]?[0-9]\.[0-9]) \°\;C
No errors, 200 code, lovely. But the variable isn't stored. :/
So I see also that there's a zabbix agent item that might look something like:
web.page.regexp[{host.id},admin/temperatures,80,([0-9]?[0-9]\.[0-9]) \°\;C,4,\1]
Except that barfs - I think the regexp isn't quite right, but the bigger problem is that I'm thinking this is expecting the zabbix agent on the target to do do the work and there isn't one.
I was hoping to be able to retrieve and store (and track and trigger on) the temperature value that can be extracted from the camera's web interface via regular expression. Is that possible?
It's not reported via SNMP by these cameras yet, but it is accessible in the web interface of the camera at IP/admin/temperatures.
I started down the path of buillding a web scenario to collect that data via regexp and I suspect I have that working fine:
{cameratemp}=regex
[0-9]?[0-9]\.[0-9]) \°\;CNo errors, 200 code, lovely. But the variable isn't stored. :/
So I see also that there's a zabbix agent item that might look something like:
web.page.regexp[{host.id},admin/temperatures,80,([0-9]?[0-9]\.[0-9]) \°\;C,4,\1]
Except that barfs - I think the regexp isn't quite right, but the bigger problem is that I'm thinking this is expecting the zabbix agent on the target to do do the work and there isn't one.
I was hoping to be able to retrieve and store (and track and trigger on) the temperature value that can be extracted from the camera's web interface via regular expression. Is that possible?
Comment