27 lines
2.1 KiB
Text
27 lines
2.1 KiB
Text
|
Index: Nagstamon/Config.py
|
||
|
--- Nagstamon/Config.py.orig
|
||
|
+++ Nagstamon/Config.py
|
||
|
@@ -789,17 +789,17 @@ class Config(object):
|
||
|
else:
|
||
|
# the Linux settings
|
||
|
defaultactions = {"RDP": Action(name="RDP", description="Connect via RDP.",
|
||
|
- type="command", string="/usr/bin/rdesktop -g 1024x768 $ADDRESS$"),
|
||
|
+ type="command", string="${LOCALBASE}/bin/rdesktop -g 1024x768 $ADDRESS$"),
|
||
|
"VNC": Action(name="VNC", description="Connect via VNC.",
|
||
|
- type="command", string="/usr/bin/vncviewer $ADDRESS$"),
|
||
|
+ type="command", string="${LOCALBASE}/bin/vncviewer $ADDRESS$"),
|
||
|
"SSH": Action(name="SSH", description="Connect via SSH.",
|
||
|
- type="command", string="/usr/bin/gnome-terminal -x ssh root@$ADDRESS$"),
|
||
|
+ type="command", string="${LOCALBASE}/bin/gnome-terminal -x ssh root@$ADDRESS$"),
|
||
|
"Telnet": Action(name="Telnet", description="Connect via Telnet.",
|
||
|
type="command",
|
||
|
- string="/usr/bin/gnome-terminal -x telnet root@$ADDRESS$"),
|
||
|
+ string="${LOCALBASE}/bin/gnome-terminal -x telnet root@$ADDRESS$"),
|
||
|
"Update-Linux": Action(name="Update-Linux", description="Run remote update script.",
|
||
|
type="command",
|
||
|
- string="/usr/bin/terminator -x ssh root@$HOST$ update.sh",
|
||
|
+ string="${LOCALBASE}/bin/terminator -x ssh root@$HOST$ update.sh",
|
||
|
enabled=False)}
|
||
|
# OS agnostic actions as examples
|
||
|
defaultactions["Nagios-1-Click-Acknowledge-Host"] = Action(name="Nagios-1-Click-Acknowledge-Host", type="url",
|