Synology On Nagios Core

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Synology On Nagios Core

Post by scottwilkerson »

skypete wrote:Could you please send some examples thanks.
Here is the documentation for the object definitions
https://assets.nagios.com/downloads/nag ... tions.html
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
skypete
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Synology On Nagios Core

Post by skypete »

Thanks so my question is where does plugins go and how to install them?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Synology On Nagios Core

Post by scottwilkerson »

In Nagios Core it all depends on how you installed Nagios.. The plugins directory varies based on how you installed Nagios and the operating system.

if you can find the resources.cfg file the location is usually listed next to $USER1$ in that file.

you will need to place it there and mark it executable.

then you will have to create the host definition, command definition (after testing your plugin from the command line to verify it works with your system.

Finally the service definition for each thing you want to check.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
skypete
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Synology On Nagios Core

Post by skypete »

could you please make a simple step by step process guide to get at least one of the service working from the beginning its very confusing really appreciate it and it would help me out alot.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Synology On Nagios Core

Post by scottwilkerson »

We have a bunch of these guides for Nagios XI, but it is much easier to use

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

For Nagios Core the full documentation and guides can be found here

https://assets.nagios.com/downloads/nag ... n/toc.html
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Synology On Nagios Core

Post by Box293 »

Before you worry about Nagios configurations you need to make sure the plugin runs from the command line first.

This plugin was recommended:

https://exchange.nagios.org/directory/P ... us/details

It has command examples on how it works.

Download the plugin to your Nagios Core server, probably into /usr/local/nagios/libexec/

https://support.nagios.com/kb/article/h ... t-531.html

Then make it executable:

chmod +x /usr/local/nagios/libexec/

Test it, this command assumes your device is configured for SNMP v2 using a community called public:

Code: Select all

/usr/local/nagios/libexec/check_snmp_synology -2 public -h your_synology_ip_address
What does that output?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
skypete
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Synology On Nagios Core

Post by skypete »

Ok I will check that please stand by thanks so much.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Synology On Nagios Core

Post by tmcdonald »

We'll keep this open for you.
Former Nagios employee
skypete
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Synology On Nagios Core

Post by skypete »

Thank you
skypete
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Synology On Nagios Core

Post by skypete »

Box293 wrote:Before you worry about Nagios configurations you need to make sure the plugin runs from the command line first.

This plugin was recommended:

https://exchange.nagios.org/directory/P ... us/details

It has command examples on how it works.

Download the plugin to your Nagios Core server, probably into /usr/local/nagios/libexec/

https://support.nagios.com/kb/article/h ... t-531.html

Then make it executable:

chmod +x /usr/local/nagios/libexec/

Test it, this command assumes your device is configured for SNMP v2 using a community called public:

Code: Select all

/usr/local/nagios/libexec/check_snmp_synology -2 public -h your_synology_ip_address
What does that output?

I get permission denied.
Locked