You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to move a host to maintenance mode but I'm struggling with the syntax. The documentation names the parameters, which is great, but it doesn't show how to pass them over (at least I didn't find it).
I tried this: zabbix-cli -C "create_maintenance_definition \"'name':'a','description':'b','host':'c','time period':'30 minutes','maintenance type':'0'\""
Result: [Error]: Wrong number of parameters used. Type help or \? to list commands
The text was updated successfully, but these errors were encountered:
Oh my god. The docs must be really bad. I came up with something completely different. At one point I starting going down the road you did but reversed course because I was getting ...Wrong number of parameters....
I'm trying to move a host to maintenance mode but I'm struggling with the syntax. The documentation names the parameters, which is great, but it doesn't show how to pass them over (at least I didn't find it).
I tried this:
zabbix-cli -C "create_maintenance_definition \"'name':'a','description':'b','host':'c','time period':'30 minutes','maintenance type':'0'\""
Result:
[Error]: Wrong number of parameters used. Type help or \? to list commands
The text was updated successfully, but these errors were encountered: