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
See the following command; [root@appliance ~]# zabbix_get -s 192.168.1.1 -k "uSSD.discovery" --tls-connect psk --tls-psk-identity fw_key --tls-psk-file /tmp/key-pfsense-01 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). { "data":[ { "{#DISKMODEL}":"ADATA SU650NS38", "{#DISKSN}":"2K352L1S5AJW", "{#DISKNAME}":"/dev/ada0", "{#DISKCMD}":"/dev/ada0 -d atacam", "{#SMART_ENABLED}":"1", "{#DISKTYPE}":"1" } ] }
However I can run the command from the command line correctl;
'
root/scripts: ./smartctl-disks-discovery.pl
{
"data":[
{
"{#DISKMODEL}":"ADATA SU650NS38",
"{#DISKSN}":"2K352L1S5AJW",
"{#DISKNAME}":"/dev/ada0",
"{#DISKCMD}":"/dev/ada0 -d atacam",
"{#SMART_ENABLED}":"1",
"{#DISKTYPE}":"1"
}
]
}
`
At first I thought it was because it was sending environment variables.... so I tuned that stuff off in ssh, thinking that might be it.
Any help would be appreciated. Thank you.
The text was updated successfully, but these errors were encountered:
See the following command;
[root@appliance ~]# zabbix_get -s 192.168.1.1 -k "uSSD.discovery" --tls-connect psk --tls-psk-identity fw_key --tls-psk-file /tmp/key-pfsense-01 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). { "data":[ { "{#DISKMODEL}":"ADATA SU650NS38", "{#DISKSN}":"2K352L1S5AJW", "{#DISKNAME}":"/dev/ada0", "{#DISKCMD}":"/dev/ada0 -d atacam", "{#SMART_ENABLED}":"1", "{#DISKTYPE}":"1" } ] }
However I can run the command from the command line correctl;
'
root/scripts: ./smartctl-disks-discovery.pl
{
"data":[
{
"{#DISKMODEL}":"ADATA SU650NS38",
"{#DISKSN}":"2K352L1S5AJW",
"{#DISKNAME}":"/dev/ada0",
"{#DISKCMD}":"/dev/ada0 -d atacam",
"{#SMART_ENABLED}":"1",
"{#DISKTYPE}":"1"
}
]
}
`
At first I thought it was because it was sending environment variables.... so I tuned that stuff off in ssh, thinking that might be it.
Any help would be appreciated. Thank you.
The text was updated successfully, but these errors were encountered: