UPS ups on battery - appers often now
-
Hey i have the battery ES 750G and the nut server does say it is healthy but off late the router sends me messages like "UPS ups on line power";
This is my reading directly from nut server

Is this becuase of latest upgrades to my netgate 2100? I am on 25.11.1-RELEASE (arm64). Anybody else having this issue?
Any help to troubleshoot his would be appreciated. Thx
-
@netboy said in UPS ups on battery - appers often now:
Hey i have the battery ES 750G and the nut server does say it is healthy but off late the router flags and i am flooded with message "UPS ups on line power";
This is my reading directly from nut server

What do you mean by “the nut server”? What do you mean by “the router flags”?
Let’s start with the basics… What is the pfSense nut configuration? Is the ups locally attached? Is this a remote nut server? Remote snmp?
-
@dennypage said in UPS ups on battery - appers often now:
Is the ups locally attached?
Yes this is locally attached - The screen shot is my custom app that pings the local ups attached to the router and shows me the values returned by the local UPS.
Here is how i have connected to the router:

-
@netboy said in UPS ups on battery - appers often now:
The screen shot is my custom app that pings the local ups attached to the router and shows me the values returned by the local UPS.
Please explain.
-
@dennypage Let us not worry about how i achieved the global view of all ups status.
The issue is the ups is connected to the router using LOCAL usb (i shared the router screenshot) - why is the router sending me the battery is down when i know it is not the case - Did the latest updates have any impact on this functionality
-
@netboy said in UPS ups on battery - appers often now:
@dennypage Let us not worry about how i achieved the global view of all ups status.
"Don't look here" is almost always a red flag.

The issue is the ups is connected to the router using LOCAL usb (i shared the router screenshot) - why is the router sending me the battery is down when i know it is not the case - Did the latest updates have any impact on this functionality
Previously I asked What do you mean by “the router flags”? Now I will add what do you mean by "the router sending me the battery is down when i know it is not the case"? Please be specific. What log messages are you seeing? What notification messages are you receiving?
I also asked you to explain your custom app -- I.E. How does it work. Does it work at the USB level? Does it query uspd? Please be specific.
You probably should disable your custom app while you attempt to diagnose the problem you are experiencing.
What version of the pfSense nut package are you using? What version of the underlying nut package?
-
Been watching this thread and not seeing any action, so here I am!
I think these alerts may be the result of slightly dirty power. I have a pair of APC BR800's and NUT has been alerting me far more often since having a power outage last fall, which, coincidentally, was around the same time as 25.07 was released. The APCs started logging errors after that. One is on pfSense, the other on a Windows box using APCUPSD for Windows. At first I thought maybe it was NUT because of the emails, but after looking at the APCUPSD log, I saw the same occurrences. Lasted for about 5 seconds in the NUT log, 3 seconds in the APCUPSD log. I reduced the sensitivity on the UPSs, but it didn't seem to make any difference. Just throwing it out there.
-
@provels Thanks for your response.
I have a nut probe from nut server which pings the UPS attached to router (thru the netgate router interface) and reports that the UPS is fine and danddy! However, the router sends me email alerts constantly from its probe!
This happened after i upgrade to 25.11.1-RELEASE (arm64).
Did the softare update create this bug ? or is it a bug? how to tell if my UPS is really the culprint?
-
@netboy said in UPS ups on battery - appers often now:
I have a nut probe from nut server which pings the UPS attached to router (thru the netgate router interface) and reports that the UPS is fine and danddy!
I don't think you ever answered the question of how you are pinging... are you using upsc through upsd? Or are you pinging directly via USB?
Also, have you tried disabling your custom software to see the the problem stops or continues?
-
@dennypage The netgate routes is DIRECTLY connected va USB to the UPS which is the result of all the alerts. Netgat UPS service sends me alerts
-
@netboy said in UPS ups on battery - appers often now:
The netgate routes is DIRECTLY connected va USB to the UPS which is the result of all the alerts. Netgat UPS service sends me alerts
Maybe this is a translation issue? I don't understand what you mean by "The Netgate routes". I also don't understand what you mean by "Netgat UPS service".
To be very clear, I am asking about the custom application you are running. The thing you wrote. Does this custom application get its information from a tcp connection to upsd? Or does it get it directly from the UPS via USB?
I've asked for log entries, which have not provided. I'v asked you to try shutting down your your custom application to see if that affects the problem you are having.
I cannot help without information and testing.
-
@dennypage Hey the custom application has nothing to do with the alerts. The alerts are emanating from Netgate router and the ups is directly connected to the router. I am using the UPS service that comes with the netgate router - no custom service is being used. Why is the router sending me alerts all of a sudden? When i reboot the router the alert stops and after some time it starts again. I have now disabled the UPS service in the router.
The UPS is in good shape otherwise the UPS lights will blink if in low batttery which it is not.
-
@netboy said in UPS ups on battery - appers often now:
I am using the UPS service that comes with the netgate router - no custom service is being used.
There is no UPS service that comes with the router. Do you mean the NUT package?
This:
@netboy said in UPS ups on battery - appers often now:
This is my reading directly from nut server

is clearly a custom application. It is not part of pfSense, part of the NUT package for pfSense, or part of NUT itself.
-
@dennypage But @dennypage custom application has nothing to do with router alerts.
I showed the custom service to show the proof that my custom app pinging the UPS service (Netgate UPS service) states UPS Is in good helath.
Why then is the netgate UPS service sending me alerts?
If i reboot the netgate router the alert stops for 12 hours and then again it starts. This is clearly IMHO a communication breakdown between router and its UPS service.
-
@netboy said in UPS ups on battery - appers often now:
Did the softare update create this bug ? or is it a bug? how to tell if my UPS is really the culprint?
How do you know your AC power quality? Brownouts and such?
-
@provels said in UPS ups on battery - appers often now:
How do you know your AC power quality? Brownouts and such?
I am sure my UPS is good - if it was bad the UPS lights will flicker or alarm will set off if battery has no juice. Another proof is my custom app pings the SAME ups service that comes with the netgate router and reports UPS is in good condition - remember the UPS service is stating it is good health - However, the same UPS service (netgate ups service) thinks my UPS is bad and sends me alerts! Why?
My UPS is DIRECTLY connected to the router via USB
-
@netboy said in UPS ups on battery - appers often now:
I am sure my UPS is good - if it was bad the UPS lights will flicker or alarm will set off if battery has no juice.
FWIW, that isn't always the case with a fast follow UPS like what you have.
-
@dennypage said in UPS ups on battery - appers often now:
fast follow UPS like what you have
Can you please explain what is "fast follow UPS"?
Do you mean "actions or tasks that are done very quickly after an initial event, message, or decision." - I have to say no this is not the issue IMHO becuase the pattern is consistent..
The pattern:
<1>Flooded with email alerts from netgate ups (usb attached)
<2>No lights or warning from UPS
<3>My "custom" app says the UPS is OK
<4> I reboot router
<5> next 12 hours no alerts
<6> alert then flooding my inboxThe above pattern repeats.
@dennypage I am fully aware you are an expert in nut and i believe you are the developer for netgate NUT package - Do you really think there is no communcation issue between netgate router and the UPS package (service) installed inside the router based on my post?
-
@netboy I was referring to the power outside of your control, upstream, from the utility. Momentary voltage variations can trip alerts.
-
@netboy said in UPS ups on battery - appers often now:
Can you please explain what is "fast follow UPS"?
A fast follow UPS is one that generates a pure sin wave output following mains. Some also do full conversion, using mains purely to power a DC bus and always powering the load via a manufactured sin wave. Very expensive in terms of power efficiency while mains is available. These UPSs are used for computer systems that cannot tolerate any fluctuation in input power.
I made a mistake and confused your post with another NUT service request. My bad.