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
setting up zabbix server with a super minimal class right now..
class { 'zabbix':
zabbix_url => 'test0.local',
manage_resources => $manage_resources,
}
}
This is totally failing to manage the resources.
Error: Could not set 'present' on ensure: Server answer API error
{
"code": -32602,
"message": "Invalid params.",
"data": "Incorrect arguments passed to function."
}
on request:
{
"method": "host.update",
"params": [
{
"host": "test1.local",
"interfaces": [
{
"type": 1,
"main": 1,
"ip": null,
"dns": "test1.local",
"port": "10050",
"useip": 1
}
],
"templates": [
10001,
10102
],
"groups": [
{
"groupid": 15
}
],
"hostid": 10254
}
],
"id": 37574,
"jsonrpc": "2.0",
"auth": "cec4529954ff855133c82ac6fb43e0f0"
}
I would like to think I am doing something wrong.. But even the zabbixapi gem is having problems, as I end up needing to "fix" the gem to get this far.. As it was doing this..
Error: /Stage[main]/Zabbix::Resources::Web/Zabbix_host[test1.local]: Could not evaluate: Zabbix API version: 3.4.14 is not support by this version of zabbixapi
Should I be forcing to older versions to get this to work?
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
setting up zabbix server with a super minimal class right now..
class { 'zabbix':
zabbix_url => 'test0.local',
manage_resources => $manage_resources,
}
}
This is totally failing to manage the resources.
Error: Could not set 'present' on ensure: Server answer API error
{
"code": -32602,
"message": "Invalid params.",
"data": "Incorrect arguments passed to function."
}
on request:
{
"method": "host.update",
"params": [
{
"host": "test1.local",
"interfaces": [
{
"type": 1,
"main": 1,
"ip": null,
"dns": "test1.local",
"port": "10050",
"useip": 1
}
],
"templates": [
10001,
10102
],
"groups": [
{
"groupid": 15
}
],
"hostid": 10254
}
],
"id": 37574,
"jsonrpc": "2.0",
"auth": "cec4529954ff855133c82ac6fb43e0f0"
}
I would like to think I am doing something wrong.. But even the zabbixapi gem is having problems, as I end up needing to "fix" the gem to get this far.. As it was doing this..
Error: /Stage[main]/Zabbix::Resources::Web/Zabbix_host[test1.local]: Could not evaluate: Zabbix API version: 3.4.14 is not support by this version of zabbixapi
Should I be forcing to older versions to get this to work?
The text was updated successfully, but these errors were encountered: