- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
how to test custom ambari alert
- Labels:
-
Apache Ambari
Created 09-20-2017 12:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I uset hdp 2.4 and ambari 2.2.1.1
I had custom an ambari alert and test on my test servers.
But when I copy it on mysql product environment, one server seems every thing is ok,and the other is show me :
'NoneType' object has no attribute 'modules'
So, I try to the monitor script writen in pytthon.
When I run python monitor.py, it shows ok,but on the ambari-agent,it still wrong.
So is there a way to test the script and debug the monitor script??
Created 09-21-2017 05:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What I don't clear is why on one server show me
'NoneType' object has no attribute 'modules'
,but the other is ok
I try to restart the ambari-agent,It show me ok
So terrible.
resloved.
Created 09-21-2017 05:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What I don't clear is why on one server show me
'NoneType' object has no attribute 'modules'
,but the other is ok
I try to restart the ambari-agent,It show me ok
So terrible.
resloved.

- « Previous
-
- 1
- 2
- Next »