Noob's APC Smart UPS device template

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
tarre
Posts: 12
Joined: Wed Mar 05, 2008 6:15 am

Noob's APC Smart UPS device template

Post by tarre »

Here comes my noob template for our "APC Smart UPS".

It includes graphs for:
- Basic Battery Status (Normal Load, Overloaded, Unknown)
- Basic Status (lot of boolean info)
- Battery Capacity (%)
- Battery Runtime Remaining (minutes)
- Battery Temperature (ºC)
- Output Current (Amp)
- Output Load (%)
- Output Voltage (Volt)
- Phase Input Current
- Phase Input Voltage

These are my first templates, so any feedback will be wellcome.
There's a plan to implement a better script (add cache to not repeat SNMP queries, parameter to fetch subset of data and avoid output limits, and so simplify Data Input / Source / mappings). Thanks to Osiris for the ideas.

And thanks to Cacti developers and maintainers!!
t
Captura10.PNG
Captura10.PNG (75.29 KiB) Viewed 1031 times
Captura11.PNG
Captura11.PNG (123.81 KiB) Viewed 1031 times
Captura12.PNG
Captura12.PNG (45.52 KiB) Viewed 1031 times
cacti_host_template_apc_smart_ups.zip
(43.14 KiB) Downloaded 198 times
tarre
Posts: 12
Joined: Wed Mar 05, 2008 6:15 am

Re: Noob's APC Smart UPS device template

Post by tarre »

And the script:
ss_ups_basicstatus.zip
(1.67 KiB) Downloaded 174 times
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Noob's APC Smart UPS device template

Post by netniV »

Here's a tip... it's worth including the script with the template then it's just one download for the user. Also include a readme with some basic instructions that explain how to import the template and where to copy the script. If you really feel like it, you should also include a change log so people know what version of the template they have downloaded.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest