- AKCP SensorProbe Devices
- PHP Script Server
This is a script query based template, and dynamically determines various sensor types attached to an AKCP device. This template will work against any AKCP device, and support any number of enumerated sensors attached to a device … it's not limited to just a SensorProbe2 for example. Currently, this template supports Airflow, Temperature, Humidity, Temperature/Humidity and 4-20mA sensors. If you have another sensor you'd like to trend, just let me know. I'll give you my address and you can send me your sensor j/k. It should be possible to add any other supported sensor without much work.
The script query pulls the sensor name directly from the AKCP configuration and sets this as the graph title. Various HRULEs are setup for the various AKCP based thresholds set for each sensor. The HRULE will not show up if your data isn't reaching that level. If you look at the Airflow Percent graph below, you'll see an example of the HRULEs. The other graphs aren't near their thresholds, so these are left out.
Many of the per-graph settings are not templated. This allows you to set different paramters for different sensors. Be aware, that when creating multiple graphs, you will only be prompted to configure *ONE* of the graphs. All others will get the defaults. You can always go back and re-configure them as needed. I think this is due to a bug in Cacti, but I am not sure.
- Place all query-akcp*.xml files in path_cacti/resource/script_queries
- Place all query_akcp*.php files in path_cacti/scripts/
- Import cacti_host_template_akcp_device.xml in Cacti as per usual.
- Make some hosts.