Hi,
I am trying to graph the power usage of each port of an Avocent PM3000 (the PM3024/30A 24 port model).
This is the first time I have tried to create a Cacti XML SNMP query like this and although I have tried to go through the process as logically as possible, trying everything in turn and using examples to build the script from, I am getting nowhere and am ready to ask for help.
As I understand it, I should be able to use an index and go through each port in turn picking out the values I want. I wasn't able to get this working. Perhaps I chose the wrong OID's for the index? I tried many different combinations of things, all one after the other.
Is anyone here up for the challenge of helping me out on this one please? I'm sure this would be a useful template for other users too. I'm hoping that people who do this regularly will find this a piece of cake.
To help start anyone off, I have attached a few files to this post.
Avocent-PM-MIB.asn = the MIB for the device.
Avocent-PM-TRAP-MIB.asn = the trap MIB for the device.
(those are both downloaded off the actual power strip's OS so should be correct.
avocent.txt = An example of the output of all the various SNMP queries that can be done.
translated.txt = The SNMP OIDs and corresponding names, grabbed by this command:
for i in $(cat avocent.txt|awk {'print $1'}); do echo -n $i; echo -n " = "; snmptranslate -IR -On $i; done > translated.txt
Any help would really be appreciated. Rather than starting from scratch, if you would like me to upload my attempts so far, please let me know.
Avocent PDUs
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Fri Dec 04, 2009 7:06 am
Avocent PDUs
- Attachments
-
- avocent.txt
- (35.02 KiB) Downloaded 389 times
-
- Avocent-PM-MIB.asn.txt
- (59.4 KiB) Downloaded 306 times
-
- Avocent-PM-TRAP-MIB.txt
- (68.93 KiB) Downloaded 293 times
-
- translated.txt
- (51.18 KiB) Downloaded 305 times
-
- Posts: 3
- Joined: Fri Dec 04, 2009 7:06 am
Who is online
Users browsing this forum: No registered users and 2 guests