Does Anyone use any other scripts apart from the default ones?
Ad Widget
Collapse
External Scripts?
Collapse
X
-
-
External Scripts? - Yes possible.
Yes possible. You need to place scripts in /etc/zabbix/scripts/ , create a UserParameter inside zabbix_agentd.conf, create key zabbix agent and give your UserParameter entry here.
For ex:
And create a item with 'myscript' as key of type zabbix agent.Code:UserParameter=myscript, /bin/bash /etc/zabbix/scripts/myscript.sh
ThanksComment
-
Yeah sorry was my mistake should of been more clear. I've just installed 3.0 and just wondering about Remote Commands etc..
i.e. How to do it and works, i'll have a look through the docs but was just wondering what other people have done i.e. do you have examples to share?Comment
-
Above post has an example named myscript.
Usecase : Sometimes you have custom scripts built for managing/monitoring your Infra or any custom application, and when you wanted to integrate with zabbix, use this parameter. I had build custom script for computing results based on the input parameters for a custom application and integrated using UserParamer with zabbix.
ThanksComment
-
Comment