Search found 98 matches

by skypete
Wed May 23, 2018 6:09 pm
Forum: Open Source Nagios Projects
Topic: Synology On Nagios Core
Replies: 51
Views: 27323

Re: Synology On Nagios Core

define command{ command_name check_snmp_synology command_line $USER1$/check_snmp_synology -2 $ARG1$ -h $HOSTADDRESS$ -v $ARG2$ } # HOSTS# define host{ host_name HOSTNAME-1 address 192.168.1.77 max_check_attempts 3 check_interval 3 retry_interval 1 notifications_enabled 1 } #SERVICES# define service{...
by skypete
Wed May 23, 2018 5:56 pm
Forum: Open Source Nagios Projects
Topic: Synology On Nagios Core
Replies: 51
Views: 27323

Re: Synology On Nagios Core

ok my synology box name is HOSTNAME-1 and the IP is 192.168.1.77

My community SNMPv1,SNMPv2 name is SYNTEST
by skypete
Wed May 23, 2018 5:53 pm
Forum: Open Source Nagios Projects
Topic: Synology On Nagios Core
Replies: 51
Views: 27323

Re: Synology On Nagios Core

Box293 wrote:Did you restart the Nagios service?

Yes
by skypete
Wed May 23, 2018 5:50 pm
Forum: Open Source Nagios Projects
Topic: Synology On Nagios Core
Replies: 51
Views: 27323

Re: Synology On Nagios Core

Did everything you mentioned and not showing up in nagios web interface.
by skypete
Wed May 23, 2018 5:20 pm
Forum: Open Source Nagios Projects
Topic: Synology On Nagios Core
Replies: 51
Views: 27323

Re: Synology On Nagios Core

no i did not know i just used the commmunity name from the synology I called HOSTNAME And this is working correctly, so disregard the username and password stuff, I was posting that response to clarify with hsmith as to what is happening. No worries thanks also wanted to ask where would this be pla...
by skypete
Wed May 23, 2018 5:15 pm
Forum: Open Source Nagios Projects
Topic: Synology On Nagios Core
Replies: 51
Views: 27323

Re: Synology On Nagios Core

no i did not know i just used the commmunity name from the synology I called HOSTNAME

I ran this command ./check_snmp_synology -2 HOSTNAME -h ipaddress -v
by skypete
Wed May 23, 2018 5:10 pm
Forum: Open Source Nagios Projects
Topic: Synology On Nagios Core
Replies: 51
Views: 27323

Re: Synology On Nagios Core

ok stand by gonna try now thanks.
by skypete
Wed May 23, 2018 2:54 pm
Forum: Open Source Nagios Projects
Topic: Synology On Nagios Core
Replies: 51
Views: 27323

Re: Synology On Nagios Core

OK great, we now need to make it executable (I made a mistake with my original command): chmod +x /usr/local/nagios/libexec/check_snmp_synology Now try and test the plugin, what output does it produce? ok I ran this command ./check_snmp_synology -2 HOSTNAME -h ipaddress -v Results [root:/usr/local/...
by skypete
Wed May 23, 2018 10:59 am
Forum: Open Source Nagios Projects
Topic: Synology On Nagios Core
Replies: 51
Views: 27323

Re: Synology On Nagios Core

hsmith wrote:

Code: Select all

usage: ./check_snmp_synology [OPTION] -u [user] -p [pass] -h [hostname] 
Did you supply a username and password when you executed the command?
what do i have to add where it says option? thanks
by skypete
Wed May 23, 2018 8:58 am
Forum: Open Source Nagios Projects
Topic: Synology On Nagios Core
Replies: 51
Views: 27323

Re: Synology On Nagios Core

OK great, we now need to make it executable (I made a mistake with my original command): chmod +x /usr/local/nagios/libexec/check_snmp_synology Now try and test the plugin, what output does it produce? after i made it executable i ran this ./check_snmp_synology -2 public -h Ipaddress results CRITIC...