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

Getting Below Error Please find the error below #69

Open
abdularshad06 opened this issue Aug 16, 2023 · 1 comment
Open

Getting Below Error Please find the error below #69

abdularshad06 opened this issue Aug 16, 2023 · 1 comment

Comments

@abdularshad06
Copy link

[admin@nagios check_idrac-master]$ ./idrac_check.py -H Idrac_IP-X.X.X.X -v 3 -u snmp -a sha -A snmp1234 -x aes -X snmp1234 -l noAuthNoPriv -m idrac-smiv2.mib -w MEM
Traceback (most recent call last):
File "./idrac_check.py", line 896, in
result, exit_code = PARSER().main()
File "./idrac_check.py", line 620, in main
snmp_data = self.get_snmp(oids=self.hardware[0])
File "./idrac_check.py", line 388, in get_snmp
scProc = run(snmp_cli.split(' '), capture_output=True) # query snmp data
File "/usr/lib64/python3.6/subprocess.py", line 423, in run
with Popen(*popenargs, **kwargs) as process:
TypeError: init() got an unexpected keyword argument 'capture_output'
[admin@nagios check_idrac-master]$

@Djdodo666
Copy link

I have the same problem.
I already changed the first line to python3.6 as we don't have 3.11

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