GNU bug report logs - #40087
custom zabbix alert scripts are expected to be found in /gnu/store

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Mon, 16 Mar 2020 09:22:02 UTC

Severity: normal

To reply to this bug, email your comments to 40087 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#40087; Package guix. (Mon, 16 Mar 2020 09:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 16 Mar 2020 09:22:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: bug-guix <at> gnu.org
Subject: custom zabbix alert scripts are expected to be found in /gnu/store
Date: Mon, 16 Mar 2020 10:20:45 +0100
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




Information forwarded to bug-guix <at> gnu.org:
bug#40087; Package guix. (Mon, 16 Mar 2020 09:36:01 GMT) Full text and rfc822 format available.

Message #8 received at 40087 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 40087 <at> debbugs.gnu.org
Subject: custom zabbix alert scripts are expected to be found in /gnu/store
Date: Mon, 16 Mar 2020 10:34:54 +0100
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




This bug report was last modified 4 years and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.