cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

975
Views
10
Helpful
3
Replies
atcapaev
Cisco Employee

Could you please help me with moquery?

 Hello ACI experts.

 

 

I am very new in ACI and does not have any coding skills whatsoever.

I have a task to fill up report on power supply status of the fabric.

 

I believe there could a way to pull such information from  the APIC using moquery command?

Could you please tell me if you know such method.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Marcel Zehnder
Participant

Hi 

moquery -c eqptPsu - you can use grep to gather the important information - for example:

moquery -c eqptPsu -x 'order-by=eqptPsu.dn|asc' | egrep "#|dn|ser|operSt"

 

HTH

Marcel

 

View solution in original post

apubillo
Cisco Employee

Hi,

 

To check PSU state/info:

 

  • moquery -c eqptPsu
  • moquery -c eqptPsuSlot
  • moquery -c eqptPsPower
  • moquery -c eqptSpromPsu
  • moquery -c eqptSpromPsuBlk
  • moquery -c eqptSpCmnBlk

View solution in original post

3 REPLIES 3
Marcel Zehnder
Participant

Hi 

moquery -c eqptPsu - you can use grep to gather the important information - for example:

moquery -c eqptPsu -x 'order-by=eqptPsu.dn|asc' | egrep "#|dn|ser|operSt"

 

HTH

Marcel

 

View solution in original post

atcapaev
Cisco Employee

Thank you very much Marcel!
That's what I was looking for.
apubillo
Cisco Employee

Hi,

 

To check PSU state/info:

 

  • moquery -c eqptPsu
  • moquery -c eqptPsuSlot
  • moquery -c eqptPsPower
  • moquery -c eqptSpromPsu
  • moquery -c eqptSpromPsuBlk
  • moquery -c eqptSpCmnBlk

View solution in original post

Content for Community-Ad