Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python error when launching #53

Open
coom opened this issue Nov 7, 2018 · 1 comment
Open

Python error when launching #53

coom opened this issue Nov 7, 2018 · 1 comment

Comments

@coom
Copy link

coom commented Nov 7, 2018

Hi,

I would like to use your script to monitor my Dell iDRAC, but when I launch it against any of my host, I get the following errror :

Traceback (most recent call last):
  File "./idrac_2.2rc4", line 848, in <module>
    result, tmp_code = PARSER().main()
  File "./idrac_2.2rc4", line 765, in main
    else: hw_4 = float(hw[4])/10
ValueError: could not convert string to float: (n/a)

Did you got an idea to address this please ?

Guillaume T.

@ChristianMoritz
Copy link

ChristianMoritz commented Feb 13, 2019

ive got a similar error.

  File "./idrac_2.2rc4", line 848, in <module>
    result, tmp_code = PARSER().main()
  File "./idrac_2.2rc4", line 644, in main
    hw_dict = self.classifier(snmp_data, hw_dict)  # classify data
  File "./idrac_2.2rc4", line 413, in classifier
    item_order = int(_.split()[0].split('.')[-1])
ValueError: invalid literal for int() with base 10: 'Bad'

the old script version works fine for me....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants