Unsolved
10 Posts
0
1880
All services are in Warning state due to (null) values
Nagios Core 3.5.1
Plugin version 3.1
Four Servers: C6420, C6320, C4140, R840
All of the servers have valid iDRAC licenses and are in the support matrix
I connected to all of them via snmp v2 using this command:
python3 dellemc_nagios_discovery_service_utility.py --host x.x.x.x --prefProtocol 1 --snmp.version 2 --output.file /path/dell/config/objects/ --enableLog --all
It was successful and the config object file was created and looks great.
Total no of Hosts / IPs provided :1
Total no of Hosts / IPs processed successfully :1
# wc -l /path/dell/config/objects/file.cfg
155 /path/dell/config/objects/file.cfg
Yet every single check of every single service is yellow.
Dell EMC Server Amperage Probe Status - Warning - (null)
Dell EMC Server CPU Status - Warning - (null)
Dell EMC Server Power Supply Status - Warning - (null)
The nagios log shows the same details:
# tail /var/log/nagios3/nagios.log
[1598982043] SERVICE ALERT: servername;Dell EMC Server Overall Health Status;WARNING;SOFT;5;(null)
[1598982053] SERVICE ALERT: servername;Dell EMC Server Physical Disk Status;WARNING;SOFT;3;(null)
[1598982053] SERVICE ALERT: servername;Dell EMC Server Power Supply Status;WARNING;SOFT;3;(null)
[1598982053] SERVICE ALERT: servername;Dell EMC Server Temperature Probe Status;WARNING;SOFT;3;(null)
[1598982053] SERVICE ALERT: servername;Dell EMC Server Virtual Disk Status;WARNING;SOFT;3;(null)
[1598982053] SERVICE ALERT: servername;Dell EMC Server Voltage Probe Status;WARNING;SOFT;3;(null)
[1598982053] SERVICE ALERT: servername;Dell EMC Server Warranty Information;WARNING;SOFT;2;(null)
Thoughts?
seb192
10 Posts
0
September 1st, 2020 13:00
Figured it out - python3 has omsdk, but not python, so i replaced all instances of python with python3 in the templates and dell_commands files.
Next issue: for some of the servers, it isn't working.
Error:SNMP: No response from remote host x.x.x.x
The iDRAC is licensed fine, it has snmp enabled and I can call the dellemc_device_check.py script directly and it works great. However, when run by nagios, it doesn't work.
GastonBeltra
3 Posts
0
June 30th, 2022 11:00
it´s a timeout, change it to 30 like this in the commands
--snmp.timeout=30