<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Some questions about APCUPSD]]></title><description><![CDATA[<p dir="auto">The APCUPSD Package works and turns off the Firewall when needed.<br />
I have some questions:</p>
<ol>
<li>Is Halt or PowerOff better? I would like PFSense to come back on when the power returns.</li>
<li>On Windows and Linux PCs I need to install an agent, but how do I configure it? By entering the LAN IP of PFSense?</li>
<li>What is NIS for? And how should I configure these parameters?<br />
Thanks in advance.</li>
</ol>
]]></description><link>https://forum.netgate.com/topic/163640/some-questions-about-apcupsd</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 13:07:53 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/163640.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 09 May 2021 17:24:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Some questions about APCUPSD on Mon, 17 May 2021 16:02:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whitetiger-it">@<bdi>whitetiger-it</bdi></a> said in <a href="/post/983498">Some questions about APCUPSD</a>:</p>
<blockquote>
<p dir="auto">I have to display pop-ups, send an email and send a message with Telegram. So I have to use a script, but I can't get it to start when the state changes.</p>
</blockquote>
<p dir="auto">Sorry - I have no Idea ...</p>
]]></description><link>https://forum.netgate.com/post/983508</link><guid isPermaLink="true">https://forum.netgate.com/post/983508</guid><dc:creator><![CDATA[fireodo]]></dc:creator><pubDate>Mon, 17 May 2021 16:02:16 GMT</pubDate></item><item><title><![CDATA[Reply to Some questions about APCUPSD on Mon, 17 May 2021 15:39:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fireodo">@<bdi>fireodo</bdi></a><br />
The Wall is for displaying messages to logged in users.<br />
I have to display pop-ups, send an email and send a message with Telegram. So I have to use a script, but I can't get it to start when the state changes.<br />
I've reread the documentation again, but I don't understand where I'm wrong.</p>
]]></description><link>https://forum.netgate.com/post/983498</link><guid isPermaLink="true">https://forum.netgate.com/post/983498</guid><dc:creator><![CDATA[WhiteTiger-IT]]></dc:creator><pubDate>Mon, 17 May 2021 15:39:52 GMT</pubDate></item><item><title><![CDATA[Reply to Some questions about APCUPSD on Mon, 17 May 2021 15:23:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whitetiger-it">@<bdi>whitetiger-it</bdi></a> said in <a href="/post/983493">Some questions about APCUPSD</a>:</p>
<blockquote>
<p dir="auto">What should throw them?</p>
</blockquote>
<p dir="auto">I guess you need something like this <a href="https://www.howtoforge.com/linux-wall-command/" target="_blank" rel="noopener noreferrer nofollow ugc">Wall</a></p>
]]></description><link>https://forum.netgate.com/post/983495</link><guid isPermaLink="true">https://forum.netgate.com/post/983495</guid><dc:creator><![CDATA[fireodo]]></dc:creator><pubDate>Mon, 17 May 2021 15:23:39 GMT</pubDate></item><item><title><![CDATA[Reply to Some questions about APCUPSD on Mon, 17 May 2021 15:16:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fireodo">@<bdi>fireodo</bdi></a><br />
Sorry if I still bother you.</p>
<p dir="auto">I have created two executable scripts, "/etc/apcupsd/onbattery" in Linux and "c:/apcupsd/etc/apcupsd/onbattery.bat" in Win10 (configured as Slave).<br />
The scripts work, but they don't run when I turn off the power and the UPS changes status.<br />
Both Win10 PCs and Linux PCs (Ubuntu and Xubuntu) detect the status and it is reported in apcupsd.events. In Win10, the Windows pop-up is also displayed.<br />
After the foreseen minutes, the PCs shut down correctly.<br />
So everything is working, except the custom messages.</p>
<p dir="auto">What should throw them?<br />
In Win10 it should be apccontrol.bat and in linux apccontrol.<br />
I'm not very experienced, but reading the code of these two files my opinion is that apccontrol doesn't even start.</p>
]]></description><link>https://forum.netgate.com/post/983493</link><guid isPermaLink="true">https://forum.netgate.com/post/983493</guid><dc:creator><![CDATA[WhiteTiger-IT]]></dc:creator><pubDate>Mon, 17 May 2021 15:16:29 GMT</pubDate></item><item><title><![CDATA[Reply to Some questions about APCUPSD on Fri, 14 May 2021 08:53:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whitetiger-it">@<bdi>whitetiger-it</bdi></a> said in <a href="/post/982995">Some questions about APCUPSD</a>:</p>
<blockquote>
<p dir="auto">Are there any scripts on the net to use already?</p>
</blockquote>
<p dir="auto">That you have to search ...</p>
<blockquote>
<p dir="auto">Another question about your Widget in PFSense.<br />
I see under Runtime: 5.7 Minutes Battery Age 561 Tage.<br />
I guess the 5.4 minutes is relative to battery life with this load, but what is TAGE?</p>
</blockquote>
<p dir="auto">Oh, my fault Tage (german) = Days<br />
(if you want you can change in the apc_usv.widget.php in line 155 "Tage" with "Days" - I forgot to translate this)</p>
]]></description><link>https://forum.netgate.com/post/982996</link><guid isPermaLink="true">https://forum.netgate.com/post/982996</guid><dc:creator><![CDATA[fireodo]]></dc:creator><pubDate>Fri, 14 May 2021 08:53:42 GMT</pubDate></item><item><title><![CDATA[Reply to Some questions about APCUPSD on Fri, 14 May 2021 08:43:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fireodo">@<bdi>fireodo</bdi></a><br />
I have not seen any advertisement .<br />
I'll try better or insert a popup message in a script.<br />
Are there any scripts on the net to use already?</p>
<p dir="auto">Another question about your Widget in PFSense.<br />
I see under Runtime: 5.7 Minutes Battery Age 561 Tage.<br />
I guess the 5.4 minutes is relative to battery life with this load, but what is TAGE?</p>
]]></description><link>https://forum.netgate.com/post/982995</link><guid isPermaLink="true">https://forum.netgate.com/post/982995</guid><dc:creator><![CDATA[WhiteTiger-IT]]></dc:creator><pubDate>Fri, 14 May 2021 08:43:25 GMT</pubDate></item><item><title><![CDATA[Reply to Some questions about APCUPSD on Fri, 14 May 2021 08:20:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whitetiger-it">@<bdi>whitetiger-it</bdi></a> said in <a href="/post/982985">Some questions about APCUPSD</a>:</p>
<blockquote>
<p dir="auto">Do you need to install any other packages?</p>
</blockquote>
<p dir="auto">I'm not aware of a graphical interface for apcupsd on Ubuntu. Only CLI.</p>
<blockquote>
<p dir="auto">Is the shutdown on the PC automatically managed by APCUPSD or do I need to create a script?</p>
</blockquote>
<p dir="auto">You get an advertisement so you can shutdown your PC. For automatic shutdown you have to create a script.</p>
<p dir="auto">Have a fine day,<br />
fireodo</p>
]]></description><link>https://forum.netgate.com/post/982991</link><guid isPermaLink="true">https://forum.netgate.com/post/982991</guid><dc:creator><![CDATA[fireodo]]></dc:creator><pubDate>Fri, 14 May 2021 08:20:18 GMT</pubDate></item><item><title><![CDATA[Reply to Some questions about APCUPSD on Fri, 14 May 2021 08:09:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fireodo">@<bdi>fireodo</bdi></a><br />
I have installed APCUPSD on a PC with Xubuntu 20.04.<br />
The configuration seems correct to me because if I type in the terminal the command <strong>apcaccess status</strong> the status of the UPS is listed.<br />
However, while on Win 10 there is an icon in the Tray that signals the status of the UPS, on Xubuntu I don't see anything.<br />
Do you need to install any other packages?<br />
Is the shutdown on the PC automatically managed by APCUPSD or do I need to create a script?</p>
]]></description><link>https://forum.netgate.com/post/982985</link><guid isPermaLink="true">https://forum.netgate.com/post/982985</guid><dc:creator><![CDATA[WhiteTiger-IT]]></dc:creator><pubDate>Fri, 14 May 2021 08:09:48 GMT</pubDate></item><item><title><![CDATA[Reply to Some questions about APCUPSD on Wed, 12 May 2021 15:16:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whitetiger-it">@<bdi>whitetiger-it</bdi></a> said in <a href="/post/982702">Some questions about APCUPSD</a>:</p>
<blockquote>
<p dir="auto">Now in Win10 the agent is OK.</p>
</blockquote>
<p dir="auto">All right! <img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=d0a5ddc94ac" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" /></p>
]]></description><link>https://forum.netgate.com/post/982703</link><guid isPermaLink="true">https://forum.netgate.com/post/982703</guid><dc:creator><![CDATA[fireodo]]></dc:creator><pubDate>Wed, 12 May 2021 15:16:56 GMT</pubDate></item><item><title><![CDATA[Reply to Some questions about APCUPSD on Wed, 12 May 2021 15:14:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fireodo">@<bdi>fireodo</bdi></a><br />
I set a new rule in LAN area.</p>
<p dir="auto">Source LAN Net<br />
Destination LAN Address with port 3551</p>
<p dir="auto">Now in Win10 the agent is OK.</p>
]]></description><link>https://forum.netgate.com/post/982702</link><guid isPermaLink="true">https://forum.netgate.com/post/982702</guid><dc:creator><![CDATA[WhiteTiger-IT]]></dc:creator><pubDate>Wed, 12 May 2021 15:14:51 GMT</pubDate></item><item><title><![CDATA[Reply to Some questions about APCUPSD on Wed, 12 May 2021 11:08:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whitetiger-it">@<bdi>whitetiger-it</bdi></a> said in <a href="/post/982640">Some questions about APCUPSD</a>:</p>
<blockquote>
<p dir="auto">On Windows I have installed and configured the agent with winapcupsd-3.14.14.exe, but it keeps giving me network error.<br />
Being in the LAN I don't think port 3551 should be opened.<br />
Or maybe it is the packet on PFSense that is not sending messages over the LAN.</p>
</blockquote>
<p dir="auto">Hmmm, its working here without problems as I described - maybe there is something different in your LAN ...</p>
]]></description><link>https://forum.netgate.com/post/982648</link><guid isPermaLink="true">https://forum.netgate.com/post/982648</guid><dc:creator><![CDATA[fireodo]]></dc:creator><pubDate>Wed, 12 May 2021 11:08:37 GMT</pubDate></item><item><title><![CDATA[Reply to Some questions about APCUPSD on Wed, 12 May 2021 10:47:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fireodo">@<bdi>fireodo</bdi></a><br />
On Windows I have installed and configured the agent with winapcupsd-3.14.14.exe, but it keeps giving me network error.<br />
Being in the LAN I don't think port 3551 should be opened.<br />
Or maybe it is the packet on PFSense that is not sending messages over the LAN.</p>
]]></description><link>https://forum.netgate.com/post/982640</link><guid isPermaLink="true">https://forum.netgate.com/post/982640</guid><dc:creator><![CDATA[WhiteTiger-IT]]></dc:creator><pubDate>Wed, 12 May 2021 10:47:16 GMT</pubDate></item><item><title><![CDATA[Reply to Some questions about APCUPSD on Mon, 10 May 2021 08:03:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whitetiger-it">@<bdi>whitetiger-it</bdi></a> said in <a href="/post/982174">Some questions about APCUPSD</a>:</p>
<blockquote>
<p dir="auto">Is Halt or PowerOff better? I would like PFSense to come back on when the power returns.</p>
</blockquote>
<p dir="auto">I guess it depends on the machine - If your machine is configured in BIOS to start when power returns than I would choose PowerOff.</p>
<blockquote>
<p dir="auto">On Windows and Linux PCs I need to install an agent, but how do I configure it? By entering the LAN IP of PFSense?</p>
</blockquote>
<p dir="auto">Windows and Linux are diferent: on Linux you have to configure the apcupsd.conf :<br />
UPSTYPE net<br />
DEVICE "IP of your pfsense":3551<br />
On the Windows Agent you have to say that the UPS is a net-device and also point to the pfsense IP.</p>
<p dir="auto">Hope that helps,<br />
Regards,<br />
fireodo</p>
]]></description><link>https://forum.netgate.com/post/982225</link><guid isPermaLink="true">https://forum.netgate.com/post/982225</guid><dc:creator><![CDATA[fireodo]]></dc:creator><pubDate>Mon, 10 May 2021 08:03:37 GMT</pubDate></item></channel></rss>