NUT on FreeBSD unable to detect UPS
up vote
0
down vote
favorite
I've been trying to get my APC SNMP v3 UPS to work with NUT (network UPS tools) on FreeBSD 11.2. It's not detecting it.
What I've done so far
- Clean install FreeBSD 11.2 AMD64 and check UPS pingable
- install NUT:
pkg install nut
- create config file (contents below)
ee /usr/local/etc/nut/ups.conf
- run
upsdrvctl start
to test driver connectivity, as advised by NUT docs - result: "No supported device detected"
- run tcpdump in background to check if it's failing to connect:
tcpdump host <UPS_IP_ADDRESS> &
upsdrvctl start
output (both tcpdump and upsdrvctl):
- IP "GetRequest" packet from FreeBSD svr to correct UPS IP on SNMP port
- ARP "who-has" packet from UPS to identify FreeBSD server's MAC
- IP packet reply from UPS SNMP port to FreeBSD server
- FreeBSD server reports "No supported devices detected"
So the UPS is in fact able to be communicated with. But the device is apparently well supported, it's a pretty ordinary APC SMT 3000 series UPS with APC9630 network card, which is also well supported by NUT and has been for years. The auth/privProtocols are also apparently well supported according to the mailing list, again for a long time.
ups.conf
config file contents:
[apc-smt3000]
driver=snmp-ups
port=x.x.x.x
snmp_version=v3
desc="APC SMT3000"
secLevel=authPriv
secName="UPS_SNMP_PROFILE_NAME"
authPassword="PASSWORD"
privPassword="PASSWORD"
snmp_retries = 0
snmp_timeout=3
authProtocol=SHA
privProtocol=AES
I've checked the passwords, protocols and config on both UPS and server, they all look OK.
How can I troubleshoot this to find why they aren't talking?
freebsd snmp ups nut
add a comment |
up vote
0
down vote
favorite
I've been trying to get my APC SNMP v3 UPS to work with NUT (network UPS tools) on FreeBSD 11.2. It's not detecting it.
What I've done so far
- Clean install FreeBSD 11.2 AMD64 and check UPS pingable
- install NUT:
pkg install nut
- create config file (contents below)
ee /usr/local/etc/nut/ups.conf
- run
upsdrvctl start
to test driver connectivity, as advised by NUT docs - result: "No supported device detected"
- run tcpdump in background to check if it's failing to connect:
tcpdump host <UPS_IP_ADDRESS> &
upsdrvctl start
output (both tcpdump and upsdrvctl):
- IP "GetRequest" packet from FreeBSD svr to correct UPS IP on SNMP port
- ARP "who-has" packet from UPS to identify FreeBSD server's MAC
- IP packet reply from UPS SNMP port to FreeBSD server
- FreeBSD server reports "No supported devices detected"
So the UPS is in fact able to be communicated with. But the device is apparently well supported, it's a pretty ordinary APC SMT 3000 series UPS with APC9630 network card, which is also well supported by NUT and has been for years. The auth/privProtocols are also apparently well supported according to the mailing list, again for a long time.
ups.conf
config file contents:
[apc-smt3000]
driver=snmp-ups
port=x.x.x.x
snmp_version=v3
desc="APC SMT3000"
secLevel=authPriv
secName="UPS_SNMP_PROFILE_NAME"
authPassword="PASSWORD"
privPassword="PASSWORD"
snmp_retries = 0
snmp_timeout=3
authProtocol=SHA
privProtocol=AES
I've checked the passwords, protocols and config on both UPS and server, they all look OK.
How can I troubleshoot this to find why they aren't talking?
freebsd snmp ups nut
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I've been trying to get my APC SNMP v3 UPS to work with NUT (network UPS tools) on FreeBSD 11.2. It's not detecting it.
What I've done so far
- Clean install FreeBSD 11.2 AMD64 and check UPS pingable
- install NUT:
pkg install nut
- create config file (contents below)
ee /usr/local/etc/nut/ups.conf
- run
upsdrvctl start
to test driver connectivity, as advised by NUT docs - result: "No supported device detected"
- run tcpdump in background to check if it's failing to connect:
tcpdump host <UPS_IP_ADDRESS> &
upsdrvctl start
output (both tcpdump and upsdrvctl):
- IP "GetRequest" packet from FreeBSD svr to correct UPS IP on SNMP port
- ARP "who-has" packet from UPS to identify FreeBSD server's MAC
- IP packet reply from UPS SNMP port to FreeBSD server
- FreeBSD server reports "No supported devices detected"
So the UPS is in fact able to be communicated with. But the device is apparently well supported, it's a pretty ordinary APC SMT 3000 series UPS with APC9630 network card, which is also well supported by NUT and has been for years. The auth/privProtocols are also apparently well supported according to the mailing list, again for a long time.
ups.conf
config file contents:
[apc-smt3000]
driver=snmp-ups
port=x.x.x.x
snmp_version=v3
desc="APC SMT3000"
secLevel=authPriv
secName="UPS_SNMP_PROFILE_NAME"
authPassword="PASSWORD"
privPassword="PASSWORD"
snmp_retries = 0
snmp_timeout=3
authProtocol=SHA
privProtocol=AES
I've checked the passwords, protocols and config on both UPS and server, they all look OK.
How can I troubleshoot this to find why they aren't talking?
freebsd snmp ups nut
I've been trying to get my APC SNMP v3 UPS to work with NUT (network UPS tools) on FreeBSD 11.2. It's not detecting it.
What I've done so far
- Clean install FreeBSD 11.2 AMD64 and check UPS pingable
- install NUT:
pkg install nut
- create config file (contents below)
ee /usr/local/etc/nut/ups.conf
- run
upsdrvctl start
to test driver connectivity, as advised by NUT docs - result: "No supported device detected"
- run tcpdump in background to check if it's failing to connect:
tcpdump host <UPS_IP_ADDRESS> &
upsdrvctl start
output (both tcpdump and upsdrvctl):
- IP "GetRequest" packet from FreeBSD svr to correct UPS IP on SNMP port
- ARP "who-has" packet from UPS to identify FreeBSD server's MAC
- IP packet reply from UPS SNMP port to FreeBSD server
- FreeBSD server reports "No supported devices detected"
So the UPS is in fact able to be communicated with. But the device is apparently well supported, it's a pretty ordinary APC SMT 3000 series UPS with APC9630 network card, which is also well supported by NUT and has been for years. The auth/privProtocols are also apparently well supported according to the mailing list, again for a long time.
ups.conf
config file contents:
[apc-smt3000]
driver=snmp-ups
port=x.x.x.x
snmp_version=v3
desc="APC SMT3000"
secLevel=authPriv
secName="UPS_SNMP_PROFILE_NAME"
authPassword="PASSWORD"
privPassword="PASSWORD"
snmp_retries = 0
snmp_timeout=3
authProtocol=SHA
privProtocol=AES
I've checked the passwords, protocols and config on both UPS and server, they all look OK.
How can I troubleshoot this to find why they aren't talking?
freebsd snmp ups nut
freebsd snmp ups nut
edited Nov 25 at 23:38
Rui F Ribeiro
38.3k1477127
38.3k1477127
asked Nov 25 at 22:53
Stilez
441212
441212
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484105%2fnut-on-freebsd-unable-to-detect-ups%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown