I am using APC Smart-UPS 1000 with AP9630 network card. The server and Smart-UPS 1000 are connected to the same network, in which UPS has the address 192.168.88.20. I just want the UPS to notify my server if there is a power outage so that the server shuts down correctly.
The server and UPS are not directly connected by any cable (USB, Serial, etc.), only via the network via a router.
Here are the contents of my /usr/local/etc/apcupsd/apcupsd.conf file:
And then:
First of all, I can’t even understand whether the server can communicate with the UPS via the network using the APC AP9630 network card and be turned off in the event of an accident? Or is some kind of cable, for example USB, required between the server and APC?
If they can communicate, what's wrong with my configuration? I just replaced a few lines in the configuration file according to the sample.
Also, I used pcnet with my credentials but no luck:
The server and UPS are not directly connected by any cable (USB, Serial, etc.), only via the network via a router.
Here are the contents of my /usr/local/etc/apcupsd/apcupsd.conf file:
Code:
UPSNAME myapc
UPSCABLE smart
UPSTYPE net
DEVICE 192.168.88.20:80
And then:
Code:
# apcaccess status
APC : 001,021,0530
DATE : 2024-05-24 13:35:57
HOSTNAME : myserver
VERSION : 3.14.14 (31 May 2016) freebsd
UPSNAME : Not found
CABLE : Ethernet Link
DRIVER : NETWORK UPS Driver
UPSMODE : Not found
STARTTIME: 2024-05-24 13:34:39
SHARE : ShareUPS
MASTERUPD: 2024-05-24 13:35:57
MASTER : 192.168.88.20:80
STATUS : SLAVE
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME : 0 Seconds
NUMXFERS : 0
TONBATT : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000400
END APC : 2024-05-24 13:36:31
First of all, I can’t even understand whether the server can communicate with the UPS via the network using the APC AP9630 network card and be turned off in the event of an accident? Or is some kind of cable, for example USB, required between the server and APC?
If they can communicate, what's wrong with my configuration? I just replaced a few lines in the configuration file according to the sample.
Also, I used pcnet with my credentials but no luck:
Code:
UPSTYPE pcnet
DEVICE 192.168.88.20:mylogin:mypassword