unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40087: custom zabbix alert scripts are expected to be found in /gnu/store
@ 2020-03-16  9:20 Ricardo Wurmus
       [not found] ` <handler.40087.B.158435046517328.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2020-03-16  9:20 UTC (permalink / raw)
  To: 40087

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#40087: custom zabbix alert scripts are expected to be found in /gnu/store
       [not found] ` <handler.40087.B.158435046517328.ack@debbugs.gnu.org>
@ 2020-03-16  9:34   ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2020-03-16  9:34 UTC (permalink / raw)
  To: 40087

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-16  9:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-16  9:20 bug#40087: custom zabbix alert scripts are expected to be found in /gnu/store Ricardo Wurmus
     [not found] ` <handler.40087.B.158435046517328.ack@debbugs.gnu.org>
2020-03-16  9:34   ` Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).