I actually found a nice command to use in the CMC. Its quite easy to automatize this. On your surveillanve-server, create a ssh key-pair. Then upload the public key in the CMC like this $ pkey=`cat .ssh/id_rsa.pub | tr -d '\n'`       # gives the variable 'pkey' the contents of the public key $ ssh root[NAME] "racadm sshpkauth -i svcacct -k 1 -p 0xfff -t '$pkey'"    # will ask you for the CMC root pwd (calvin by default) The thing is, i didnt see how to set a ssh key for the root account, so you set the key for an account called "service". Then you should be able to login to the CMC as user service, like this $ ssh service[NAME]    # make sure you use the ssh key now And FINALLY, you can run the command "getactiveerrors"  $ getactiveerrorsThere are no messages.  SO, this is easy to script, for instance to use with nagios/nrpe, like this (you can also specify in .ssh/config that you want to use the user 'service' when you connect to that host)  #!/usr/bin/env bash chassis_name=$1 if [ -z "$chassis_name" ]then    echo "Usage: $0 "     exit 2 fi  out=`ssh service@$chassis_name getactiveerrors | tr '\n' ',' | tr -s ' -'`r=$? if ((r))then    echo "Failed to ssh to $chassis_name."    exit 2fi if [ "${out:0:22}" == "There are no messages." ]then    echo "Chassis $chassis_name all OK."    exit 0else    echo $out    exit 2fi
Hello! How do you people do hw-monitoring of the M100e chassis? A blade can be checked via IPMI from the iDRAC. Or via the openmanage package, but i would prefer to be platform-agnostic here. I cant see that any of the sensors from the drac-ipmi-system references any PSUs or similar. The PSUs are in the chassis. So how are we supposed to monitor that? :) I have looked and looked for any "enable IPMI" in the CMC of the chassis, but cant find it. Any suggestions?   wbr / Alex 
Monitoring M1000e chassis. How? IPMI? SNMP?