
Hi all,
What is everyone doing to pick up power usage for Juniper routers and switches other than via their PDU stats?
Thanks.

Hi all,
This would be for MX80's, EX4200's, EX2200's and SRX110's so power shows up under health.
Thanks.

You replied without context, that's pretty confusing!
In general, you need to find out if information is available in SNMP from the relevant device.
adam.
------ Original Message ------ From: "Gavin Henry" ghenry@surevoip.co.uk To: "Observium Network Observation System" observium@observium.org Sent: 12/13/2014 4:41:05 AM Subject: Re: [Observium] Pwr consumption on JunOS
Hi all,
This would be for MX80's, EX4200's, EX2200's and SRX110's so power shows up under health.
Thanks.

On 14 Dec 2014 02:55, "Adam Armstrong" adama@memetic.org wrote:
You replied without context, that's pretty confusing!
In general, you need to find out if information is available in SNMP from
the relevant device.
Thanks. How do you add custom queries to Observium?
adam.
------ Original Message ------ From: "Gavin Henry" ghenry@surevoip.co.uk To: "Observium Network Observation System" observium@observium.org Sent: 12/13/2014 4:41:05 AM Subject: Re: [Observium] Pwr consumption on JunOS
Hi all,
This would be for MX80's, EX4200's, EX2200's and SRX110's so power shows
up under health.
Thanks.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

On 12/19/2014 01:38 PM, Gavin Henry wrote:
What is everyone doing to pick up power usage for Juniper routers and switches other than via their PDU stats?
Still struggling to find what to query via snmp for this and a couple of Cisco routers.
90% chance it's not reported via SNMP, or we would have grabbed it already.
Tom

On Cisco it would almost certainly be in CISCO-ENTITY-SENSORS-MIB and/or ENTITY-SENSORS-MIB.
Cisco devices which keep track of their power usage like 6500s actually aren't measuring usage, they're just using the "maximum usage" values for linecards. Those classes of devices often have voltage and ampere sensors in ENTITY-SENSOR-MIB, though.
On Juniper, who knows, their MIBs make no sense.
A good place to start would be asking Juniper, I guess.
adam.
On 2014-12-19 13:51, Tom Laermans wrote:
On 12/19/2014 01:38 PM, Gavin Henry wrote: What is everyone doing to pick up power usage for Juniper routers and switches other than via their PDU stats? Still struggling to find what to query via snmp for this and a couple of Cisco routers.
90% chance it's not reported via SNMP, or we would have grabbed it already.
Tom _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

On 19 December 2014 at 21:29, Adam Armstrong adama@memetic.org wrote:
On Cisco it would almost certainly be in CISCO-ENTITY-SENSORS-MIB and/or ENTITY-SENSORS-MIB.
Cisco devices which keep track of their power usage like 6500s actually aren't measuring usage, they're just using the "maximum usage" values for linecards. Those classes of devices often have voltage and ampere sensors in ENTITY-SENSOR-MIB, though.
On Juniper, who knows, their MIBs make no sense.
A good place to start would be asking Juniper, I guess.
They gave us this today:
-----------
Could you please let me know if the following is of any use to you:
Here you have Juniper Networks Enterprise-Specific MIBs. (look for power supply) https://www.juniper.net/documentation/en_US/junos12.1/topics/concept/juniper...
Here you have Chassis MIBs supported by platform which includes power supply MIBs. https://www.juniper.net/documentation/en_US/junos12.1/topics/concept/mib-cha...
Here you have one example for MX5: https://www.juniper.net/documentation/en_US/junos12.1/topics/reference/gener...
You can use the following tool to look up for MIBs based on your needs (Junos version specific): http://contentapps.juniper.net/mib-explorer/search.jsp

On 2014-12-19 21:32, Gavin Henry wrote:
On 19 December 2014 at 21:29, Adam Armstrong adama@memetic.org wrote: On Cisco it would almost certainly be in CISCO-ENTITY-SENSORS-MIB and/or ENTITY-SENSORS-MIB.
Cisco devices which keep track of their power usage like 6500s actually aren't measuring usage, they're just using the "maximum usage" values for linecards. Those classes of devices often have voltage and ampere sensors in ENTITY-SENSOR-MIB, though.
On Juniper, who knows, their MIBs make no sense.
This is an excellent example :
Here you have one example for MX5: https://www.juniper.net/documentation/en_US/junos12.1/topics/reference/gener...
Per-model MIB objects?
Jesus fucking christ. Eat a million fucking dicks Juniper. Fucking seriously. What the fuck.
FUCK.
adam.

This is an excellent example :
Here you have one example for MX5:
https://www.juniper.net/documentation/en_US/junos12.1/topics/reference/gener...
Per-model MIB objects?
Jesus fucking christ. Eat a million fucking dicks Juniper. Fucking seriously. What the fuck.
FUCK.
adam.
I'll pass these comments on and will report back :-)

Basically this means we have to write a discovery module for every model of Juniper device we want to collect that data on, and then we have to run all of those modules against every juniper device at discovery time to work out which applies to which (or write some new code to only run certain modules on certain *models* of device).
Juniper suck at MIBs, even worse than they suck at building OSes for network hardware.
Full fucking filesystem on flash. Jesus. Why do people still buy their shit?
adam.
------ Original Message ------ From: "Gavin Henry" ghenry@surevoip.co.uk To: "Observium Network Observation System" observium@observium.org Sent: 12/19/2014 4:51:08 PM Subject: Re: [Observium] Pwr consumption on JunOS
This is an excellent example :
Here you have one example for MX5:
https://www.juniper.net/documentation/en_US/junos12.1/topics/reference/gener...
Per-model MIB objects?
Jesus fucking christ. Eat a million fucking dicks Juniper. Fucking seriously. What the fuck.
FUCK.
adam.
I'll pass these comments on and will report back :-)
-- Kind Regards,
Gavin Henry. Managing Director. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

So basically it's per model:
Please see the following response from the vendor.
Yes, the powerAC. Here is the direct link: http:// http://contentapps.juniper.net/mib-explorer/search.jsp#object=jnxMX5PowerAC&product=Junos+OS&release=11.4R12 contentapps.juniper.net http://contentapps.juniper.net/mib-explorer/search.jsp#object=jnxMX5PowerAC&product=Junos+OS&release=11.4R12 / http://contentapps.juniper.net/mib-explorer/search.jsp#object=jnxMX5PowerAC&product=Junos+OS&release=11.4R12 mib http://contentapps.juniper.net/mib-explorer/search.jsp#object=jnxMX5PowerAC&product=Junos+OS&release=11.4R12 -explorer/ http://contentapps.juniper.net/mib-explorer/search.jsp#object=jnxMX5PowerAC&product=Junos+OS&release=11.4R12 search.jsp http://contentapps.juniper.net/mib-explorer/search.jsp#object=jnxMX5PowerAC&product=Junos+OS&release=11.4R12 #object= http://contentapps.juniper.net/mib-explorer/search.jsp#object=jnxMX5PowerAC&product=Junos+OS&release=11.4R12 jnxMX5PowerAC http://contentapps.juniper.net/mib-explorer/search.jsp#object=jnxMX5PowerAC&product=Junos+OS&release=11.4R12 &product= http://contentapps.juniper.net/mib-explorer/search.jsp#object=jnxMX5PowerAC&product=Junos+OS&release=11.4R12 Junos http://contentapps.juniper.net/mib-explorer/search.jsp#object=jnxMX5PowerAC&product=Junos+OS&release=11.4R12 + http://contentapps.juniper.net/mib-explorer/search.jsp#object=jnxMX5PowerAC&product=Junos+OS&release=11.4R12 OS http://contentapps.juniper.net/mib-explorer/search.jsp#object=jnxMX5PowerAC&product=Junos+OS&release=11.4R12 &release=11.4R12 http://contentapps.juniper.net/mib-explorer/search.jsp#object=jnxMX5PowerAC&product=Junos+OS&release=11.4R12
You can get the model via SNMP anyway, right?
I have asked about the "one OS" claim and if it applies to SNMP. Don't know why they couldn't just do jnxPowerAC On 19 Dec 2014 23:21, "Adam Armstrong" adama@memetic.org wrote:
Basically this means we have to write a discovery module for every model of Juniper device we want to collect that data on, and then we have to run all of those modules against every juniper device at discovery time to work out which applies to which (or write some new code to only run certain modules on certain *models* of device).
Juniper suck at MIBs, even worse than they suck at building OSes for network hardware.
Full fucking filesystem on flash. Jesus. Why do people still buy their shit?
adam.
------ Original Message ------ From: "Gavin Henry" ghenry@surevoip.co.uk To: "Observium Network Observation System" observium@observium.org Sent: 12/19/2014 4:51:08 PM Subject: Re: [Observium] Pwr consumption on JunOS
This is an excellent example :
Here you have one example for MX5:
https://www.juniper.net/documentation/en_US/junos12.1/ topics/reference/general/objects-for-mx5-nm-mib.html
Per-model MIB objects?
Jesus fucking christ. Eat a million fucking dicks Juniper. Fucking seriously. What the fuck.
FUCK.
adam.
I'll pass these comments on and will report back :-)
-- Kind Regards,
Gavin Henry. Managing Director. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Wow juniper srsly, why on earth do this shit.
On 20 дек. 2014 г., at 0:41, Adam Armstrong adama@memetic.org wrote:
On 2014-12-19 21:32, Gavin Henry wrote: On 19 December 2014 at 21:29, Adam Armstrong adama@memetic.org wrote: On Cisco it would almost certainly be in CISCO-ENTITY-SENSORS-MIB and/or ENTITY-SENSORS-MIB. Cisco devices which keep track of their power usage like 6500s actually aren't measuring usage, they're just using the "maximum usage" values for linecards. Those classes of devices often have voltage and ampere sensors in ENTITY-SENSOR-MIB, though. On Juniper, who knows, their MIBs make no sense.
This is an excellent example :
Here you have one example for MX5: https://www.juniper.net/documentation/en_US/junos12.1/topics/reference/gener...
Per-model MIB objects?
Jesus fucking christ. Eat a million fucking dicks Juniper. Fucking seriously. What the fuck.
FUCK.
adam. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (4)
-
Adam Armstrong
-
Gavin Henry
-
Nikolay Shopik
-
Tom Laermans