-
Notifications
You must be signed in to change notification settings - Fork 14
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
crontab grafana_alerts #12
Comments
/usr/bin/grafanaalerts |
thanks for file location /usr/bin/grafanaAlerts |
Hi You need to install jmespath ( >=0.6.1 ): pip install jmespath2015-11-05 3:56 GMT+06:00 systems1 [email protected]:
|
I'm having the same error jmespath is installed. pip show jmespathMetadata-Version: 2.0 |
@PodioSpaz I met the same error. By reinstall jmespath, everything is fine. |
which python script should be added in crontab
I only see grafana_alerts module and no grafana_alerts.py as per documentation crontab
"Add a cron task to execute grafana_alerts for example each 3 minutes::
*/3 * * * * grafana_alerts"
Red Hat Enterprise Linux Server release 6.6
/usr/lib/python2.6/site-packages/grafana_alerts>]ls -l
total 80
-rw-r--r-- 1 root root 11075 Oct 28 16:29 alerting.py
-rw-r--r-- 1 root root 9742 Oct 28 16:29 alerting.pyc
-rw-r--r-- 1 root root 1130 Oct 28 16:29 html_version_item.html
-rw-r--r-- 1 root root 2801 Oct 28 16:29 html_version_main.html
-rw-r--r-- 1 root root 315 Oct 28 16:29 init.py
-rw-r--r-- 1 root root 620 Oct 28 16:29 init.pyc
-rw-r--r-- 1 root root 1436 Oct 28 16:29 launcher.py
-rw-r--r-- 1 root root 2375 Oct 28 16:29 launcher.pyc
-rw-r--r-- 1 root root 9 Oct 28 16:29 package_data.dat
-rw-r--r-- 1 root root 15718 Oct 28 16:29 reporting.py
-rw-r--r-- 1 root root 11095 Oct 28 16:29 reporting.pyc
The text was updated successfully, but these errors were encountered: