Hi,
I have installed snmpd and snmp on my RPI. Also activated SNMP on my QNAP TS-230. Uploaded the script to my domoticz RPI. (changed the settings as described in the manual)
But it doesnt work.
The command: ./nas.sh
Gives this error: Name or service not known
(of course the password and the ipadres for the NAS are correct and double checked)
I think the problem is the SNMP port on the NAS because i cant find any settings in the domoticz nas.sh script where i can put the port number for the NAS SNMP
Someone have an idea what to change to get it working?
Thanks!
HowTo: monitor QNAP NAS
Moderator: leecollings
-
- Posts: 2
- Joined: Saturday 03 April 2021 20:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: HowTo: monitor QNAP NAS
Alright. After a few hours staring very angry at my monitor i got it working... It turns out i needed to delete alle the ' ' ' in the settings in the script.
So the settings part now look like:
NASIP="192.168.1.11" # NAS IP Address
PASSWORD="notvisible" # SNMP Password
DOMO_IP="192.168.1.19" # Domoticz IP Address
DOMO_PORT="8087" # Domoticz Port
NAS_IDX="12" # Virtual switch NAS STATUS
CPU_TEMP_IDX="13" # Virtual temerature sensor IDX NAS CPU
HD1_TEMP_IDX="14" # Virtual temerature sensor IDX HD1
HD2_TEMP_IDX="16" # Virtual temerature sensor IDX HD2
HD_REMAIN_IDX="17" # Virtual temerature sensor IDX HD REMAIN
So the settings part now look like:
NASIP="192.168.1.11" # NAS IP Address
PASSWORD="notvisible" # SNMP Password
DOMO_IP="192.168.1.19" # Domoticz IP Address
DOMO_PORT="8087" # Domoticz Port
NAS_IDX="12" # Virtual switch NAS STATUS
CPU_TEMP_IDX="13" # Virtual temerature sensor IDX NAS CPU
HD1_TEMP_IDX="14" # Virtual temerature sensor IDX HD1
HD2_TEMP_IDX="16" # Virtual temerature sensor IDX HD2
HD_REMAIN_IDX="17" # Virtual temerature sensor IDX HD REMAIN
Who is online
Users browsing this forum: No registered users and 0 guests