Skip to content

A small script to get data from graphite and put them to zabbix using zabbix_sender

License

Notifications You must be signed in to change notification settings

maximsnezhkov/graphite2zabbix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

graphite2zabbix

small project to get data from graphite and put them to zabbix server to create triggers.

USAGE

  • edit conf section at the script
  • add zabbix trapper item at zabbix server
    • item type has to be 'Zabbix Trapper'
    • item key has to be same with graphite key, like 'web.host1.diskusage', you can choise different item name
    • Application has to be 'graphite'
    • add cron entry like this; * * * * * python graphite2zabbix.py >> /tmp/graphite2zabbix.log.log 2>&1
    • that's all :)
    • it refresh items list every 10 minutes, be patient

REQUIREMENT

  • zabbix sender
  • python modules
    • sys
    • json
    • requests
    • os
    • time

NOTES

  • to reduce zabbix api call, it creates a item cache file and refresh it every 10 minutes

About

A small script to get data from graphite and put them to zabbix using zabbix_sender

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%