Re: [Nut-upsuser] NUT on CentOS ([EMAIL PROTECTED])
2006/8/30, Davide Ferrari [EMAIL PROTECTED]: El Miércoles, 30 de Agosto de 2006 15:35, escribió: I don't see any reason to this failure, according to your info. moreover, snmp-ups hasn't received much attention for long, so the problem shouldn't come from the version diff between 2.0.2 and 2.0.3. Ok. since snmp-ups is based upon Net SNMP, the problem might sit here. So, did you try some snmpwalk/snmpget from the same box to see if data is reachable? snmpwalk -c public -v 1 sai.atrapalo.com SNMPv2-MIB::sysDescr.0 = STRING: Comet Extreme 6 kVA SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.705.1.2 SNMPv2-MIB::sysUpTime.0 = Timeticks: (68683888) 7 days, 22:47:18.88 SNMPv2-MIB::sysContact.0 = STRING: Davide Ferrari SNMPv2-MIB::sysName.0 = STRING: SAI SNMPv2-MIB::sysLocation.0 = STRING: Sala servidores SNMPv2-MIB::sysServices.0 = INTEGER: 72 IF-MIB::ifNumber.0 = INTEGER: 1 IF-MIB::ifIndex.1 = INTEGER: 1 IF-MIB::ifDescr.1 = STRING: UM9008 IF-MIB::ifType.1 = INTEGER: iso88023Csmacd(7) (etc. etc.) so it seems to work. I've also tried to set in /etc/ups/ups.conf mips = mge according to snmp-ups manpage but it throws the same error (well, only changing ietf for mge in the error output). I really have no clues about what's happening here... nor do I. I vaguely remember a problem with name resolution (or alike)in snmp-ups, due to a net snmp problem, but I can't find it back. Possible tests: - replace sai.atrapalo.com by its IP address - starting snmp-ups in full debug mode (-D) will give us some more info. A side solution is simply to set the faulty system as a nut slave of one of the working system. Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - RD Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/ ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] NUT on CentOS ([EMAIL PROTECTED])
2006/8/29, Doug Parsons [EMAIL PROTECTED]: http://rpmfind.net/linux/rpm2html/search.php?query=nut And use the package for the Fedora Core 4. CentOS is of course a clone of Redhat and this version is RHEL4 if I am correct. Most of the packages for the Fedora Core 4 will work. It too is a clone but uses all the latest packages of everything as a test bed for the leading edge. http://rpmfind.net//linux/RPM/fedora/updates/4/i386/nut-2.0.3-0.fc4.2.i386.h tml Takes you straight to the package. btw, another good RPM search engine is rpm.pbone.net the only drawback is that you can't direct link to pkg I'll consider adding these to the website package section Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - RD Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/ ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] NUT on CentOS ([EMAIL PROTECTED])
El Miércoles, 30 de Agosto de 2006 15:35, escribió: I don't see any reason to this failure, according to your info. moreover, snmp-ups hasn't received much attention for long, so the problem shouldn't come from the version diff between 2.0.2 and 2.0.3. Ok. since snmp-ups is based upon Net SNMP, the problem might sit here. So, did you try some snmpwalk/snmpget from the same box to see if data is reachable? snmpwalk -c public -v 1 sai.atrapalo.com SNMPv2-MIB::sysDescr.0 = STRING: Comet Extreme 6 kVA SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.705.1.2 SNMPv2-MIB::sysUpTime.0 = Timeticks: (68683888) 7 days, 22:47:18.88 SNMPv2-MIB::sysContact.0 = STRING: Davide Ferrari SNMPv2-MIB::sysName.0 = STRING: SAI SNMPv2-MIB::sysLocation.0 = STRING: Sala servidores SNMPv2-MIB::sysServices.0 = INTEGER: 72 IF-MIB::ifNumber.0 = INTEGER: 1 IF-MIB::ifIndex.1 = INTEGER: 1 IF-MIB::ifDescr.1 = STRING: UM9008 IF-MIB::ifType.1 = INTEGER: iso88023Csmacd(7) (etc. etc.) so it seems to work. I've also tried to set in /etc/ups/ups.conf mips = mge according to snmp-ups manpage but it throws the same error (well, only changing ietf for mge in the error output). I really have no clues about what's happening here... -- Davide Ferrari System Administrator http://www.atrapalo.com ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
[Nut-upsuser] NUT on CentOS ([EMAIL PROTECTED])
Where can I find precompiled NUT packages for CentOS 4.2/[EMAIL PROTECTED] I cannot find them in the default repos or anywhere in Google...I have near 0 experience with this distro and I really don't know where to start... Thanks in advance -- Davide Ferrari System Administrator http://www.atrapalo.com ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] NUT on CentOS ([EMAIL PROTECTED])
El Martes, 29 de Agosto de 2006 14:13, Doug Parsons escribió: http://rpmfind.net/linux/rpm2html/search.php?query=nut And use the package for the Fedora Core 4. CentOS is of course a clone of Redhat and this version is RHEL4 if I am correct. Most of the packages for the Fedora Core 4 will work. It too is a clone but uses all the latest packages of everything as a test bed for the leading edge. http://rpmfind.net//linux/RPM/fedora/updates/4/i386/nut-2.0.3-0.fc4.2.i386. h tml Takes you straight to the package. Thanks for the suggestion...I was wrong with the CentOS version I suppose cause it happens to be a Fedora3 clone, so Fedora4 packages doesn't work, but with Fedora3 packages it gone smoothly. Now I'm stuck with getting the snmp driver working, I've installed net-snmp but here it is what I get: # /sbin/snmp-ups -DD -a sai Network UPS Tools - Multi-MIBS SNMP UPS driver 0.41 (2.0.2) Warning: This is an experimental driver. Some features may not function correctly. debug level is '2' SNMP UPS driver : entering upsdrv_initups() SNMP UPS driver : entering load_mib2nut(ietf) load_mib2nut: using ietf (RFC 1628) mib SNMP UPS driver : entering nut_snmp_init(snmp-ups, sai.atrapalo.com, public) ietf MIB wasn't found on sai.atrapalo.com The config file are taken exactly the same from a gentoo/ubuntu installation (see my previous post NUT on Ubuntu Dapper)...it's due to an unsupported UPS in 2.0.2 version? It's the only difference between this and the other installations which are 2.0.3... It's a MGE UPS Comet Extreme with a SNMP Transverse card ref. 66074 -- Davide Ferrari System Administrator http://www.atrapalo.com ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser