[Nut-upsuser] SNMP UPS: NETYS RT 1/1 UPS

Ing. Ján jan.ondrej at upjs.sk
Thu Oct 25 05:36:26 UTC 2012


Hello,

On Wed, Oct 24, 2012 at 10:46:32PM +0200, Arnaud Quette wrote:
> 
> great, I'll need your contrib for testing / adapting a script...
> I'm currently completing gen-snmp-subdriver.sh.
> it aims to do approx. the same things as gen-usbhid-subdriver.sh, but for
> SNMP:
> http://www.networkupstools.org/docs/developer-guide.chunked/ar01s04.html#hid-subdrivers
> 
> for now, I'll need the output of the *exact* below commands:
> $ snmpget -v1 -c XXX 192.168.14.10 .1.3.6.1.2.1.1.2.0
> $ snmpwalk -On -v1 -c XXX 192.168.14.10 .1.3.6.1.4.1.2254.2.4
> $ snmpwalk -Os -v1 -c XXX 192.168.14.10 .1.3.6.1.4.1.2254.2.4
> 
> the previous one was missing the -On (forced numeric paths), and I want to
> have the 3 output taken at the same time.

OK, output of this script attached:

snmpget -v1 -c $C $IP .1.3.6.1.2.1.1.2.0 > /tmp/snmpget.log
snmpwalk -On -v1 -c $C $IP .1.3.6.1.4.1.2254.2.4 \
  | gzip > /tmp/snmpwalk-On.log.gz
snmpwalk -Os -v1 -c $C $IP .1.3.6.1.4.1.2254.2.4 \
  | gzip > /tmp/snmpwalk-Os.log.gz

				SAL
-------------- next part --------------
SNMPv2-MIB::sysObjectID.0 = OID: DeltaUPS-MIB::upsv4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snmpwalk-On.log.gz
Type: application/x-gzip
Size: 799 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20121025/d78576cd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snmpwalk-Os.log.gz
Type: application/x-gzip
Size: 1207 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20121025/d78576cd/attachment-0001.bin>


More information about the Nut-upsuser mailing list