Using Fence SNMP APC PDU

francisco.

Member
Sep 8, 2014
36
0
6
Madrid
Dear forum,

I am trying to set up fence devices with 2 rack pdu and cannot get a simple "status".

Rack PDU model: Minuteman RPM1581HVN

#snmpwalk -c $COMMUNITY -v 1 $IP
iso.3.6.1.2.1.1.1.0 = STRING: "RPM"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.17420
iso.3.6.1.2.1.1.3.0 = Timeticks: (786120227) 90 days, 23:40:02.27
iso.3.6.1.2.1.1.4.0 = STRING: "X"
iso.3.6.1.2.1.1.5.0 = STRING: "PDU1"
iso.3.6.1.2.1.1.6.0 = STRING: "X"
iso.3.6.1.2.1.1.7.0 = INTEGER: 7

Cannot get nothing with fence_apc_snmp.

#fence_apc_snmp -a $IP -n 1 -d 1 -c $COMMUNITY -o status
Traceback (most recent call last):
File "/usr/sbin/fence_apc_snmp", line 209, in <module>
main()
File "/usr/sbin/fence_apc_snmp", line 205, in main
result = fence_action(FencingSnmp(options), options, set_power_status, get_power_status, get_outlets_status)
File "/usr/share/fence/fencing.py", line 880, in fence_action
status = get_multi_power_fn(tn, options, get_power_fn)
File "/usr/share/fence/fencing.py", line 800, in get_multi_power_fn
plug_status = get_power_fn(tn, options)
File "/usr/sbin/fence_apc_snmp", line 138, in get_power_status
apc_resolv_port_id(conn, options)
File "/usr/sbin/fence_apc_snmp", line 113, in apc_resolv_port_id
apc_set_device(conn)
File "/usr/sbin/fence_apc_snmp", line 107, in apc_set_device
conn.log_command("Trying %s"%(device.ident_str))
AttributeError: FencingSnmp instance has no attribute 'log_command'

What is happening? Is this command no compatible with Minuteman?

Regards.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!