Hi,
I have problem with monitoring of my hdd WD. On this bare metal server I have installed Xen. On Xen Server I have zabbix agent and installed this
https://github.com/v-zhuravlev/zbx-smartctl , step by step.
Unfortunately it doesn't work properly. I get error in zabbix server - Value should be a JSON object. You can see it on the screenshot:
Added in sudoers /usr/bin/perl didn't resolve the issue :/.
On server with agent:
sudo perl smartctl-disks-discovery.pl
{
"data":[
{
"{#DISKNAME}":"/dev/sda -d sat",
"{#SMART_ENABLED}":"1"
}
]
}
sudo zabbix_agentd -t uHDD.discovery
uHDD.discovery [t|{
"data":[
{
"{#DISKNAME}":"/dev/sda -d sat",
"{#SMART_ENABLED}":"1"
}
]
}]
Anybody can help with this issue?
I have problem with monitoring of my hdd WD. On this bare metal server I have installed Xen. On Xen Server I have zabbix agent and installed this
https://github.com/v-zhuravlev/zbx-smartctl , step by step.
Unfortunately it doesn't work properly. I get error in zabbix server - Value should be a JSON object. You can see it on the screenshot:
Added in sudoers /usr/bin/perl didn't resolve the issue :/.
On server with agent:
sudo perl smartctl-disks-discovery.pl
{
"data":[
{
"{#DISKNAME}":"/dev/sda -d sat",
"{#SMART_ENABLED}":"1"
}
]
}
sudo zabbix_agentd -t uHDD.discovery
uHDD.discovery [t|{
"data":[
{
"{#DISKNAME}":"/dev/sda -d sat",
"{#SMART_ENABLED}":"1"
}
]
}]
Anybody can help with this issue?
Comment