GithubHelp home page GithubHelp logo

apc-pdu-snmp's People

Contributors

cretep avatar phillipsnick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

apc-pdu-snmp's Issues

Getting "GeneralError" when executing actions.

I am having an interesting issue turning some outlets off/on. I am attempting to control some APC PDU's, model #AP8965. When turning an outlet off or on I get the following error.

{ RequestFailedError: GeneralError: 1.3.6.1.4.1.318.1.1.4.4.2.1.3.10
at Object.Session.onSimpleGetResponse [as onResponse] (/path/to/relevant/directory/node_modules/net-snmp/index.js:946:16)
at Session.onMsg (/path/to/relevant/directory/node_modules/net-snmp/index.js:920:9)
at emitTwo (events.js:126:13)
at Socket.emit (events.js:214:7)
at UDP.onMessage [as onmessage] (dgram.js:659:8)
name: 'RequestFailedError',
message: 'GeneralError: 1.3.6.1.4.1.318.1.1.4.4.2.1.3.10',
status: 5 }

The weird thing is that the actions ARE going through, the outlets are turning off and on as expected. Have you run into this in the past? Any chance you could point me in the right direction?

Getting "RequestFailedError: GeneralError: 1.3.6.1.4.1.318.1.1.4.4.2.1.3.10" but actions are working

I am having an interesting issue turning some outlets off/on. I am attempting to control some APC PDU's, model #AP8965. When turning an outlet off or on I get the following error.

{ RequestFailedError: GeneralError: 1.3.6.1.4.1.318.1.1.4.4.2.1.3.10
at Object.Session.onSimpleGetResponse [as onResponse] (/path/to/relevant/directory/node_modules/net-snmp/index.js:946:16)
at Session.onMsg (/path/to/relevant/directory/node_modules/net-snmp/index.js:920:9)
at emitTwo (events.js:126:13)
at Socket.emit (events.js:214:7)
at UDP.onMessage [as onmessage] (dgram.js:659:8)
name: 'RequestFailedError',
message: 'GeneralError: 1.3.6.1.4.1.318.1.1.4.4.2.1.3.10',
status: 5 }

The weird thing is that the actions ARE going through, the outlets are turning off and on as expected. Have you run into this in the past? Any chance you could point me in the right direction?

Quick question

I am having issues testing your example. I keep getting RequestTimedOutError: Request timed out.

I logged into my APC pdu, enabled snmpV1 and snmpV3. Not sure if there is anything more needed than that. There are some options for access control but left those default.

Sitting in the example dir, I am running 'node outlet-info.js'.
I was expecting some output from what it looks like are various queries.

Any guidance would be helpful in this debug process.

Thanks.

README - APC MIB link

In the readme it looks like your refering to this link for the APC MIB (http://www.observium.org/svn/observer/trunk/mibs/PowerNet-MIB). This MIB appears to be version 4.0.5 (Jan 11, 2012) and is out of date.

Latest APC mibs can be found on their website here:
ftp://ftp.apc.com/apc/public/software/pnetmib/mib

Current MIB (May 12 2014):
ftp://ftp.apc.com/apc/public/software/pnetmib/mib/411/powernet411.mib

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.