UPS configuration master/slave
-
I would not expect to, certainly to get basic data which is normally sufficient.
If you need to customise the queries you'd need to know what the UPS provides and that's a question for Eaton.Steve
-
Thanks again for the quick reply. Do I need to worry about SNMP v1 vs v2c vs v3 since only v3 seems to be secure?
Also, the secName, authPassword and privPassword -- are they in cleartext in the ups.conf?
-
It looks like you can set it in ups.conf but it defaults to v1. Depends what your UPS provides though. That would be an extra argument in the pfSense package.
snmp_version=version Set SNMP version (default = v1, allowed: v2c, v3)
Steve
-
Is there a difference between
driver.parameter.pollfreq
&driver.parameter.pollinterval
? Initially only the pollinterval was set as 2. Then I passed in an extra argument of pollfreq and set it to 30 since I think 30 seconds is good enough for me. I saw the new parameter of pollfreqEdit: From your reply above it seems many of the parameters and fine grained settings depend highly on the make and model of the UPS. The link that you gave me is the exact one that I was looking at while trying to figure out what if anything should I be passing as arguments etc to the driver.
-
Personally I have not played with those values, the defaults sufficed.
There will be other posts here that give more detail though. Have a look in the packages sub-forum.
Steve
-
Will do. Thank you again.
-
I was able to set up the UPS correctly and the UPS Status page now shows me all the parameters that my UPS provides over the SNMP card. However, I still don't know where to define (within pfSense) that I want to shutdown pfSense when the battery is less than 10%.
-
You would have to do that in the advanced options. Normally it will start to shutdown when the UPS indicated it's battery charge is low but you can override when this set using the 'ignorelb' variable in ups.conf it appears.
Again the default values worked for me when I used this last. But that may not be the case for your UPS.Steve
-
@stephenw10 said in UPS configuration master/slave:
You would have to do that in the advanced options. Normally it will start to shutdown when the UPS indicated it's battery charge is low but you can override when this set using the 'ignorelb' variable in ups.conf it appears.
Again the default values worked for me when I used this last. But that may not be the case for your UPS.Steve
Hi Steve,
I read about the ignorelb parameter, but it seems that instead of checking the ONBATT event it compares the battery.charge to the battery.charge.low and the battery.runtime to the battery.runtime.low parameters.But I still don't understand where I would put in the code to explicitly call ```
shutdown -h now
===
or something similar
-
As I said I never played with this last time I used it as the compiled in defaults were always sufficient.
The shutdown command itself is preconfigured, it is run when the UPS battery level falls below battery.charge.low. That value is determined by the UPS but can be overridden by ignorelb as detailed.Steve
-
@stephenw10 said in UPS configuration master/slave:
.
Ok. Thank you. I didn't know the command was preconfigured. Not much information out there about it. Or maybe my google-fu is weak.
-
I agree, it's not obvious.
You can see what the pfSense package is configuring in/usr/local/etc/nut/upsmon.conf
Anything else is using the compiled in defaults.Steve