Skip to content

zerthimon/zabbixtrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zabbix_trapper

Zabbix Trapper Python interface library

use:

from zabbixtrapper import ZabbixTrapper
req= [{"host": "some.host.com", "value": 732248.0, "key": "memory.memory-free", "clock": 1422882561}]
z = ZabbixTrapper('zabbix.host.com', '10051')
r = z.send_traps(req)
print r

result:

{u'info': u'processed: 1; failed: 0; total: 1; seconds spent: 0.000021', u'response': u'success'}

About

Zabbix Trapper Python Interface Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages