I am trying to set up a simple graph based on a temperature reading in a wml-file. This works on the command line, but in zabbix_agentd.conf it doesn't work. At least the item ends up with a status of "Not supported". I have managed to set up custom UserParamater successfully before, and I don't think I have done this one differently. Is it something with the commands that doesn't agree with the way things work in the conf-file? Any ideas?
Best regards,
Druber
Code:
/usr/bin/curl -s www.iis.niva.no/mfs/ws/wap/index.wml | grep -E Temperatur | sed -e 's/Temperatur: //' -e 's/ C<br\/>//'
Druber
Thank you, Erik!
Comment