-
-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Remote Commands capabilities on Zabbix Proxy #575
Add Remote Commands capabilities on Zabbix Proxy #575
Conversation
The CI builds failed seem to be related with the PR #576 (Fix rspec tests for Gentoo). |
manifests/proxy.pp
Outdated
@@ -347,6 +353,8 @@ | |||
$hostname = $zabbix::params::proxy_hostname, | |||
$listenport = $zabbix::params::proxy_listenport, | |||
$sourceip = $zabbix::params::proxy_sourceip, | |||
$enableremotecommands = $zabbix::params::proxy_enableremotecommands, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please add datatypes for both values? I assume both varaibles can only take integers with 0 as lowest value? So this could work:
$enableremotecommands = $zabbix::params::proxy_enableremotecommands, | |
Integer[0] $enableremotecommands = $zabbix::params::proxy_enableremotecommands, |
manifests/proxy.pp
Outdated
@@ -347,6 +353,8 @@ | |||
$hostname = $zabbix::params::proxy_hostname, | |||
$listenport = $zabbix::params::proxy_listenport, | |||
$sourceip = $zabbix::params::proxy_sourceip, | |||
$enableremotecommands = $zabbix::params::proxy_enableremotecommands, | |||
$logremotecommands = $zabbix::params::proxy_logremotecommands, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$logremotecommands = $zabbix::params::proxy_logremotecommands, | |
Integer[0] $logremotecommands = $zabbix::params::proxy_logremotecommands, |
Hi, Sorry for the delay, I updated the PR to the latest commit. The build 1138.1 give an error but I'm not sure that related to my changes. Can you check if it's all correct ? |
Pull Request (PR) description
Has documented in the Zabbix Wiki, the proxy have some options (since 3.4) for remote commands execution. So this PR add two boolean options:
EnableRemoteCommands
andLogRemoteCommands
.Source: https://www.zabbix.com/documentation/4.0/manual/appendix/config/zabbix_proxy
This Pull Request (PR) fixes the following issues
n/a