Servers - General
1819712 Members
2915 Online
109605 Solutions
New Discussion

serverhealth using ilorest

 
Catalin1
Visitor

serverhealth using ilorest

hello,

Im trying to get the ServerHealth that you see in ILo from the command line using ilorest 4.9.0. 

When I try using serverinfo, I get this error:
iLORest > serverinfo --all
ERROR: '<' not supported between instances of 'int' and 'str'
Anyone knows why?  If I use serverinfo --power, it works just fine. 

2 REPLIES 2
shiva_jr
HPE Pro

Re: serverhealth using ilorest

Hi @Catalin1 ,

   I believe that the issue may be with script syntax, where the one of the value should be the an integer but it is defined as a string.
Please find the more information on serverinfo command syntax and script here.
Regards,
Shiva_JR
Please mark as Solution Accepted, if this post answers your query.

 



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
support_s
System Recommended

Query: serverhealth using ilorest

Hello,

 

Let us know if you were able to resolve the issue.

 

If you have no further query, and you are satisfied with the answer then kindly mark the topic as Solved so that it is helpful for all community members.

 

Please click on "Thumbs Up/Kudo" icon to give a "Kudo".

 

Thank you for being a HPE valuable community member.


Accept or Kudo