Increase ipmi plugin timeout
This commit is contained in:
parent
522da3fd95
commit
6e83300d78
|
@ -76,7 +76,7 @@ class MonitoringPluginScript(MonitoringPlugin):
|
||||||
ipmi_password = self.config["ipmi_password"]
|
ipmi_password = self.config["ipmi_password"]
|
||||||
retcode, _, _ = run_os_command(
|
retcode, _, _ = run_os_command(
|
||||||
f"/usr/bin/ipmitool -I lanplus -H {ipmi_hostname} -U {ipmi_username} -P {ipmi_password} chassis power status",
|
f"/usr/bin/ipmitool -I lanplus -H {ipmi_hostname} -U {ipmi_username} -P {ipmi_password} chassis power status",
|
||||||
timeout=2
|
timeout=5
|
||||||
)
|
)
|
||||||
|
|
||||||
if retcode > 0:
|
if retcode > 0:
|
||||||
|
|
Loading…
Reference in New Issue