We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello everyone,
I can install the agent with the modified conf file, when I've imported the XLM file no problem.
Is just the agent can't start. But if I add # before "UserParameter =" I can start my agent.
This is my conf file :
####### USER-DEFINED MONITORED PARAMETERS #######
UnsafeUserParameters=1
UserParameter = system.discovery[],%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_win_system_discovery.vbs $1 UserParameter = quota[],%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_win_quota.vbs $1 $2 UserParameter = wu.all,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_wus_update_all.vbs UserParameter = wu.crit,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_wus_update_crit.vbs UserParameter = server.domain,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_user_domain.vbs UserParameter = server.roles,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_server_role.vbs UserParameter = server.serial,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_server_serialnumber.vbs
like is explain in https://github.com/jjmartres/Zabbix/...windows-envmon
Is someone have a solution, I'll be very very happy.....
And sorry for my english
The text was updated successfully, but these errors were encountered:
This works fine: UserParameter=system.discovery[*],%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_win_system_discovery.vbs "$1"
UserParameter=system.discovery[*],%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_win_system_discovery.vbs "$1"
UserParameter=quota[*],%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_win_quota.vbs "$1" "$2"
UserParameter=wu.all,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_wus_update_all.vbs
UserParameter=wu.crit,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_wus_update_crit.vbs
UserParameter=server.domain,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_user_domain.vbs
UserParameter=server.roles,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_server_role.vbs
UserParameter=server.serial,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_server_serialnumber.vbs
Sorry, something went wrong.
HHOOOOOOO YYYEAAAAAA!!!!!
thank you every much!!!!! It's working now!!! :)
No branches or pull requests
Hello everyone,
I can install the agent with the modified conf file, when I've imported the XLM file no problem.
Is just the agent can't start. But if I add # before "UserParameter =" I can start my agent.
This is my conf file :
####### USER-DEFINED MONITORED PARAMETERS #######
Option: UnsafeUserParameters
Allow all characters to be passed in arguments to user-defined parameters.
The following characters are not allowed:
\ ' " ` * ? [ ] { } ~ $ ! & ; ( ) < > | # @
Additionally, newline characters are not allowed.
0 - do not allow
1 - allow
Mandatory: no
Range: 0-1
Default:
UnsafeUserParameters=1
Option: UserParameter
User-defined parameter to monitor. There can be several user-defined parameters.
Format: UserParameter=,
Mandatory: no
Default:
UserParameter = system.discovery[],%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_win_system_discovery.vbs $1
UserParameter = quota[],%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_win_quota.vbs $1 $2
UserParameter = wu.all,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_wus_update_all.vbs
UserParameter = wu.crit,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_wus_update_crit.vbs
UserParameter = server.domain,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_user_domain.vbs
UserParameter = server.roles,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_server_role.vbs
UserParameter = server.serial,%systemroot%\system32\cscript.exe /nologo /T:30 C:\zabbix\zabbix_server_serialnumber.vbs
like is explain in https://github.com/jjmartres/Zabbix/...windows-envmon
Is someone have a solution, I'll be very very happy.....
And sorry for my english
The text was updated successfully, but these errors were encountered: