Skip to content

drbartz/zabbix_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zabbix_api

python script to interact with the Zabbix API

some examples:

zabbix_api = api()
zabbix_api.login("My_API_User", "My_Pass")
zabbix_api.Action_Create_Autoregister_by_Name("Linux autoregistration", "Linux", "Template OS Linux")
zabbix_api.Action_Create_Autoregister_by_Name("Windows autoregistration", "Windows", "Template OS Windows")
zabbix_api.Host_Update_Add_Template_by_Name(hostname, "Template App Zabbix Server")
zabbix_api.Host_Update_Add_Template_by_Name(hostname, "Template OS Linux")
zabbix_api.Create_Hostgroup("Monitoring")
zabbix_api.Host_Update_Add_HostGroup_by_Name(hostname,"Monitoring")

About

python script to interact with the Zabbix API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages