SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
26
x11/nagstamon/patches/patch-Nagstamon_Config_py
Normal file
26
x11/nagstamon/patches/patch-Nagstamon_Config_py
Normal file
|
@ -0,0 +1,26 @@
|
|||
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",
|
Loading…
Add table
Add a link
Reference in a new issue