yes. Does NAS02 use the same username/password set in $USER3$ & $USER4$ that NAS01 does?lroslundh wrote:Is this what you're asking for?
Code: Select all
define command{ command_name check_snmp_synology command_line $USER1$/check_snmp_synology -h $HOSTADDRESS$ -u $USER3$ -p $USER4$ $ARG1$ }
Host check timed out check_snmp_synology
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host check timed out check_snmp_synology
Re: Host check timed out check_snmp_synology
scottwilkerson wrote:yes. Does NAS02 use the same username/password set in $USER3$ & $USER4$ that NAS01 does?lroslundh wrote:Is this what you're asking for?
Code: Select all
define command{ command_name check_snmp_synology command_line $USER1$/check_snmp_synology -h $HOSTADDRESS$ -u $USER3$ -p $USER4$ $ARG1$ }
Yes it does.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host check timed out check_snmp_synology
So if you run this command from the CLI for both NAS01 and NAS02 do you get valid results for both
Code: Select all
/usr/local/nagios/libexec/check_snmp_synology -u USERNAME -p PASSWORD -h HOSTIP
Re: Host check timed out check_snmp_synology
I can only get a valid response from NAS01.scottwilkerson wrote:So if you run this command from the CLI for both NAS01 and NAS02 do you get valid results for bothCode: Select all
/usr/local/nagios/libexec/check_snmp_synology -u USERNAME -p PASSWORD -h HOSTIP
With NAS02 i get the request timed out response.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host check timed out check_snmp_synology
Ok, are you sure NAS02 has SNMP v3 enabled with the same username and password, because it appears that it isn't able to connect
Re: Host check timed out check_snmp_synology
Hi Scott,
Yes im certain that username and password are the same on both NAS boxes.
NAS02 is located in another office, and im wondering if the ISP could be blocking the requests?
I have of course access to the core router, and both are configured in a similar way.
Bg.
Yes im certain that username and password are the same on both NAS boxes.
NAS02 is located in another office, and im wondering if the ISP could be blocking the requests?
I have of course access to the core router, and both are configured in a similar way.
Bg.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host check timed out check_snmp_synology
That is a very real possibility as these are UDP packets it becomes difficult to see where they are falling off.lroslundh wrote:NAS02 is located in another office, and im wondering if the ISP could be blocking the requests?
Re: Host check timed out check_snmp_synology
Do you know which port i need to enable on the core router in order to allow incoming UDP traffic with this plugin?
UDP port 161?
UDP port 161?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host check timed out check_snmp_synology
Yes, these go outbound from the Nagios server to UDP port 161