custom zabbix alert scripts are expected to be found in /gnu/store

  • Open
  • quality assurance status badge
Details
One participant
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Ricardo Wurmus
Severity
normal
R
R
Ricardo Wurmus wrote on 16 Mar 2020 10:20
(address . bug-guix@gnu.org)
87d09cmz9u.fsf@elephly.net
I added a new script “media type” in Zabbix and specified that the
script to be run should be /srv/my-script.

When testing an action for this media type, Zabbix attempts to find the
script in the /share/zabbix/alertscripts directory of the zabbix-server
package:

Cannot execute command "/gnu/store/vic3bhg8jjws4gv9ivzrn8i4vnxd5nf3-zabbix-server-4.4.1/share/zabbix/alertscripts//srv/my-script": [2] No such file or directory

This means that custom Zabbix alert scripts don’t work.

--
Ricardo
R
R
Ricardo Wurmus wrote on 16 Mar 2020 10:34
(address . 40087@debbugs.gnu.org)
87blowmym9.fsf@elephly.net
The location can be overridden with the AlertScriptsPath configuration
option in the server settings.

The default is a sub-directory in the pkgdatadir, which doesn’t make
sense for Guix.

--
Ricardo
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 40087@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 40087
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch