Unsolved
9 Posts
1
10390
Error occurred while communicating to Warranty API service
Hi community, since Friday i receive an error by checking the warranty information of my servers, i'm using the version 3.0 and the script is running on ubuntu.
The result from the script:
python /usr/local/nagios/dell/scripts/dellemc_device_check.py --host=1.1.1.1 --devicetype=iDRAC --componentname=warranty --protocol=3 --http.user=ADM --http.password=PWD --http.timeout=45 --http.port=443 --http.retries=1 --logPath=None --warranty.warningDays=None --warranty.criticalDays=None
is:
Error occurred while communicating to Warranty API service X9X9X9X
As there exist no newer version of the dellemc_device_check.py and there are no changes in my infrastructure maybe dell has performed a change of their API?
Anyone else are also receiving this error?
BR
Markus
benhank
9 Posts
0
December 14th, 2018 11:00
I guess dell has abandoned us fellas.
anupam.aloke
39 Posts
0
December 16th, 2018 09:00
Hi,
We have confirmed from our end that the API key that we are using in the plug-in for warranty service API is indeed working.
Could you please restart the nagios services and run the warranty check?
Thanks,
Anupam
benhank
9 Posts
0
December 18th, 2018 12:00
I shut down the nagios service as requested and reran the warranty check. still not working
Here is the link to where nagios is attempting to get the warrany info from:
Thank you for following up and I hope we can work together to get this resolved
anupam.aloke
39 Posts
0
December 18th, 2018 13:00
Hi @benhank,
Well, that's strange. I just ran the following Nagios plugin check script on my Ubuntu 18.04, with python 2.7.15rc1 and it is working:
Could you please try running the warranty check script for one of the hosts and see if it works?
Mc_G
9 Posts
0
December 19th, 2018 00:00
anupam.aloke
39 Posts
0
December 19th, 2018 00:00
@Mc_G, thank you for confirming that warranty checks are working again. I sincerely regret the inconvenience that you had to endure due to a minor glitch in the API key. We have fixed the issue with API key and that should hold you in good stead till you upgrade to a next version of Nagios plugin sometime next year.
Happy holidays!
Cheers
benhank
9 Posts
0
December 19th, 2018 10:00
sadly they arent working for me. what version of the warranty check should I be running? i am running version 1. is there a way to upgrade the plugin without it adding all the extra hostgroups and making changes to mysqldb?
anupam.aloke
39 Posts
0
December 21st, 2018 02:00
@benhank, if you are running OpenManage Plugin v1.0 for Nagios XI then you can upgrade to latest v3.0 using the instructions provided in the Installation Guide.
Upgrading to new version of the plugin will not create extra hostgroups. New host groups are created dynamically only when a host belonging to that hostgroup is discovered. Also, it will not impact your already discovered hosts and services
If you really don't want to upgrade to latest version, then you can try copying the latest version of the warranty check script using the following workaround and see if it works:
Please let us know if you are still facing issues with your warranty checks.
timothysmith
1 Message
0
December 26th, 2018 04:00
We've run into the same problem, here, but as it turns out they canned our key since we did not re-enroll (they must have slipped in an annual re-enrollment requirement, as looking back through correspondence there was no mention of re-enrollment requirements). We're having to re-enroll to get a working key again. It was working fine up until the time others started to experience issues. I wonder if they did a blanket deactivation on old keys for some reason. A bit annoyed there was no prior notice.
benhank
9 Posts
0
January 3rd, 2019 10:00
its working now! I had to make some changes to your instructions but its working! Sorry for the delayed response
The difference is in the name of the plugin. Look into /usr/local/nagios/libexec and see what the name of the plugin for the warranty is. It will either be
dell_OMC_Nagios_Warranty_v_1_0.jar
dell_OMC_NagiosXI_Warranty_v_1_0.jar
And then rename the file correctly.
Thanks for the help!
anupam.aloke
39 Posts
0
January 3rd, 2019 23:00
@benhank, glad to know that you were able to get the warranty monitoring service working again.