Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    APC Status Widget

    Scheduled Pinned Locked Moved pfSense Packages
    15 Posts 3 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Carver @fireodo
      last edited by Carver

      @fireodo

      Thank you for the correction to the code. I was not sure if it was correct or if there was a more correct way to code it. I will check it out on my system. How does it work with loss of communication?

      fireodoF 2 Replies Last reply Reply Quote 0
      • fireodoF
        fireodo @Carver
        last edited by

        @carver said in APC Status Widget:

        @fireodo

        Thank you for the correction to the code.

        Its only a adaptation on my personal UPS - the results are diferite depending on the UPS that is utilized (the output of "apcaccess -h 0.0.0.0:3551" vary from UPS to UPS)

        I will check it out on my system.

        You probably will have to make some corrections. The refresh of the widget is also something that can have some improvements.

        How does it work with loss of communication?

        No, I couldn't do it here ... sorry!

        Regards,
        fireodo

        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
        pfsense 2.7.2 CE
        Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

        1 Reply Last reply Reply Quote 0
        • fireodoF
          fireodo @Carver
          last edited by

          @carver

          Hello,

          look what I have found:

          APC-Status Widget

          Regards,
          fireodo

          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
          pfsense 2.7.2 CE
          Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

          C 1 Reply Last reply Reply Quote 0
          • C
            Carver @fireodo
            last edited by Carver

            @fireodo
            It doesn't work on my machine. Widget is displayed but not values. Correction, it does work.......grin

            fireodoF 1 Reply Last reply Reply Quote 0
            • fireodoF
              fireodo @Carver
              last edited by fireodo

              @carver said in APC Status Widget:

              @fireodo
              It doesn't work on my machine. Widget is displayed but not values. Correction, it does work.......grin

              😊 Now, if you look at the code, you can maybe make modifications to customize the widget for your personal needs ... and perhaps you can also test the "COMMLOST" - scenario.
              If you want I can sent you my customized version and you can compare it with the original so you can see where you can make customizations.

              Regards,
              fireodo

              Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
              SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
              pfsense 2.7.2 CE
              Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

              C 1 Reply Last reply Reply Quote 0
              • C
                Carver @fireodo
                last edited by

                @fireodo
                I was thinking about customizing it for my tastes. It's a nice piece of code and works great with both scenarios, online and commlost. Yes, if you would like to send me yours, that will be great.......grin

                Carver

                fireodoF 1 Reply Last reply Reply Quote 0
                • fireodoF
                  fireodo @Carver
                  last edited by

                  @carver said in APC Status Widget:

                  @fireodo
                  I was thinking about customizing it for my tastes. It's a nice piece of code and works great with both scenarios, online and commlost. Yes, if you would like to send me yours, that will be great.......grin

                  Carver

                  apc_usv.widget.zip

                  ☺

                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                  pfsense 2.7.2 CE
                  Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    Carver @fireodo
                    last edited by

                    @fireodo
                    Thanks for sending yours. I changed his original to the info I wanted to see on my firewall. I am going to try and test it today and make sure all aspects of it work. It is obvious after looking at his coding I don’t have a clue what I am doing. I am too old school........grin

                    Carver

                    fireodoF 1 Reply Last reply Reply Quote 0
                    • fireodoF
                      fireodo @Carver
                      last edited by

                      @carver said in APC Status Widget:

                      @fireodo
                      Thanks for sending yours.

                      You're welcome!

                      I changed his original to the info I wanted to see on my firewall. I am going to try and test it today and make sure all aspects of it work. It is obvious after looking at his coding I don’t have a clue what I am doing. I am too old school........grin

                      In fact its important that you get what you want! 😊

                      Regards,
                      fireodo

                      Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                      SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                      pfsense 2.7.2 CE
                      Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                      1 Reply Last reply Reply Quote 0
                      • occamsrazorO
                        occamsrazor
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.