My company isn't leveraging Cisco UCS Central yet so I am creating a fault viewer via API calls to all of UCS FI's. Here is the issue I'm having, I'm trying to retrieve all of the major faults for a given pod with the code below;
curl -d "<aaaLogin inName='admin' inPassword='password'></aaaLogin>" http://192.168.1.1/nuova
<configResolveClass
cookie="<real_cookie>"
inHierarchical="false"
classId="faultInst">
<inFilter>
<eq class="faultInst"
property="highestSeverity"
value="major" />
</inFilter>
</configResolveClass>
But I'm getting this ugly error below;
% Total % Received % Xferd Average Speed Time Time Time Current
<!DOCTYPE H T M L P U B L I C " - / / I E T F / / D T D H T M L 2D.l0o/a/dE N "U>p
<html>l<ohaeda d >
T<ottiatll e > 3S0p2e nFto u n d </titleL>e
</hfeta d >S<pbeoeddy
0>
<h1> F o u n0d < / h 10>
<p>T h e d0o c u m e0n t h a5s8 m o v e d 0< a 9h7r1e5f2= "-h-t:t-p-s::-/-/ 1-9-2:.-1-6:8-.-1-.-1/:n-u-o v9a7"1>5h2ere</a>.</p>
</body>1<3/5h t m l2>1
2 106 212 0 58 179k 50390 --:--:-- --:--:-- --:--:-- 150k
bash: line 1: configResolveClass: No such file or directory
bash: -c: line 4: syntax error near unexpected token `newline'
bash: -c: line 4: ` classId="faultInst">'
Any thoughts on what I'm doing wrong?
PS. UCS Manager version is 2.2(1b) - It's old I know