[Nut-upsuser] Issue with Eaton network-M2

Karim.afifi karim.afifi at free.fr
Tue Jun 23 00:50:55 BST 2020


Hello Guys,

After several days searching on the net and checking my set-up, I can't 
resolve an issue with Eaton network-M2 and "github nut".

I have two ups on the LAN :
- Eaton S3 Evolution with "old network card" => no problem.
- Eaton 5PX3000 with new "network-M2" card  => I can't load driver.

sudo /usr/local/ups/sbin/upsdrvctl start
Network UPS Tools - UPS driver controller 2.7.4.1
Network UPS Tools - Generic SNMP UPS driver 1.12 (2.7.4.1)
Detected Evolution on host 192.168.200.252 (mib: mge 0.52)
Network UPS Tools - Generic SNMP UPS driver 1.12 (2.7.4.1)

 >> Create theses files in var/state/ups
"snmp-ups-MGE"
"snmp-ups-MGE.pid"
"snmp-ups-MGE2.pid"
 >> and system stucky here.

 >> After a while, it's continue :
Startup timer elapsed, continuing...
Network UPS Tools - Generic SNMP UPS driver 1.12 (2.7.4.1)
Duplicate driver instance detected (PID file 
/var/state/ups/snmp-ups-MGE2.pid exists)! Terminating other driver!
Duplicate driver instance detected (PID file 
/var/state/ups/snmp-ups-MGE2.pid exists)! Terminating other driver!
Duplicate driver instance detected (PID file 
/var/state/ups/snmp-ups-MGE2.pid exists)! Terminating other driver!
Startup timer elapsed, continuing...
Network UPS Tools - Generic SNMP UPS driver 1.12 (2.7.4.1)
Duplicate driver instance detected (PID file 
/var/state/ups/snmp-ups-MGE2.pid exists)! Terminating other driver!
Duplicate driver instance detected (PID file 
/var/state/ups/snmp-ups-MGE2.pid exists)! Terminating other driver!
Duplicate driver instance detected (PID file 
/var/state/ups/snmp-ups-MGE2.pid exists)! Terminating other driver!

 >> An finally displays that :
Startup timer elapsed, continuing...
No supported device detected

In /var/state/ups :
"snmp-ups-MGE2.pid" is deleted
"snmp-ups-MGE.pid" remains (the ups with the old network card is running 
fine).

/usr/local/ups/bin/upsc -l
MGE (old ups is up)

Configuration seems to be OK.
ups.conf
[MGE]
driver = snmp-ups
port = 192.168.200.252
desc = "Eaton Evolution S3000"
community = public

[MGE2]
driver = snmp-ups
port = 192.168.200.244
desc = "Eaton 5PX3000"
community = public

uspd.users
[admin]
     password = ***
     allowfrom = localhost
     upsmon master
     actions = SET
     instcmds = ALL

cd /home/test/nut-master/server/
sudo ./upsd
Network UPS Tools upsd 2.7.4.1
fopen /var/state/ups/upsd.pid: No such file or directory
/usr/local/ups/etc/upsd.conf is world readable
not listening on 127.0.0.1 port 3493
no listening interface available

Github nut version should be compatible since 2 months :
"eaton-ats16-mib.c  - snmp-ups: cleanup Eaton ATS16 with new Network-M2"

Did I missed something ?
Could you please help me to fix this problem ?

Thanks a lot.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200623/7446c49a/attachment.html>


More information about the Nut-upsuser mailing list