Added sanity and logging. (#33935)
Added sanity and logging. (#33935)

* Added sanity and logging.

Added a check if zabbix_sender is installed on the Minion, if not exit.

* Moved code from the global namespace to a function

@rallytime thanks for the suggestions, guess I've fixed them all.

* Moved function zbx() below __virtual__(), for consistency.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt