Support for APC apcupsd daemon #3
Replies: 6 comments
-
NIS I think would still require login, but it certainly is the best option going forwards as that way we wouldn't have to have telnet within the image. |
Beta Was this translation helpful? Give feedback.
-
I have a beta test version with APC support available on DockerHub. This can be pulled as kronos443/nutcase:apcbeta UsageWhen calling the JSON endpoint the parameter mode should be added, set to apc. When using the same container to scrape a NUT server you can omit mode=nut as that is the default (although this could be added for clarity).
The format of the returned JSON is compatible with the NUT equivalent and parameters and names can be identified by calling the URL above to see the JSON in a browser. In my basic test system with very little available data I've used the following lines in the HomePage services.yaml:
Where 10.0.10.9 is the docker host of NUTCase and 10.0.10.225 is the VM running apcupsd.
You can verify that the port is open to remote machines by opening it with telnet from another machine. Limitations
|
Beta Was this translation helpful? Give feedback.
-
The beta can be pulled from DockerHub |
Beta Was this translation helpful? Give feedback.
-
The Beta release for V0.2.0 is ready. This can be pulled from DockerHub as kronos443/nutcase:v0.2.0-beta3 New features
[1] This feature requires a new configuration file and the options available are documented here [2] The new information, listing the clients of each UPS, is placed under the UPS section of the JSON as follows. You can also see some reworked variables added to the list just above them. |
Beta Was this translation helpful? Give feedback.
-
Version V0.3.0 Beta 1 is available now with improved support for APC.An APC server can now have the current state visualised in the GUI and even more usefully, can translate the APC variables to NUT format on the go so that one instance of Prometheus can log a mix of NUT and APC devices to on Grafana dashboard using the metrics method. |
Beta Was this translation helpful? Give feedback.
-
Support for APU on the GUI and metric scraping is implemented |
Beta Was this translation helpful? Give feedback.
-
Would supporting the apcupsd system directly as an alternative to NUT-tools be useful?
Looking at this there seem to be two options to support this, either logging in via telnet and issuing commands at the command line or using the NIS option on port 3551.
Looking in to this I suggest the NIS approach since:
Beta Was this translation helpful? Give feedback.
All reactions