[RESOLVED]How to use Nagios plugin check_snmp_qnap_volspace

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.
Locked
nagios1_1
Posts: 14
Joined: Thu Jan 26, 2017 12:25 pm

[RESOLVED]How to use Nagios plugin check_snmp_qnap_volspace

Post by nagios1_1 »

Hello, I downloaded "check_snmp_qnap_volspace" plugin.
Now I want to use it.
This is my Nas configuration:

Code: Select all

#############################################################
# Definizione dell'host NAS                                 #
#############################################################

define host {
        host_name               NAS
        alias                   Network Attached Storage
        address                 10.30.30.30
        check_command           check-host-alive
        hostgroups              nas
        check_interval          5
        retry_interval          1
        max_check_attempts      5
        check_period            24x7
        #contact_groups         bla bla bla
        #notification_interval  blabla
        #notification_period    24x7
        #notification_options   d,u,r
}


#############################################################
# Definizione del gruppo di appartenenza                    #
#############################################################

define hostgroup {
        hostgroup_name          nas
        alias                   Network Attached Storage
}
how should I use the plugin?
Thanks
Last edited by nagios1_1 on Wed Mar 15, 2017 11:26 am, edited 1 time in total.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: How to use Nagios plugin "check_snmp_qnap_volspace"

Post by rkennedy »

Contact whoever wrote the plugin for instructions.
Former Nagios Employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: How to use Nagios plugin "check_snmp_qnap_volspace"

Post by tmcdonald »

It looks like there is some usage information on the plugin's GitHub:

https://github.com/nicsar/check_snmp_qnap_volspace

and it even gives you a sample config. I would start with that, and if you have any questions about the Nagios configuration we can help!
Former Nagios employee
nagios1_1
Posts: 14
Joined: Thu Jan 26, 2017 12:25 pm

Re: How to use Nagios plugin "check_snmp_qnap_volspace"

Post by nagios1_1 »

tmcdonald wrote:It looks like there is some usage information on the plugin's GitHub:

https://github.com/nicsar/check_snmp_qnap_volspace

and it even gives you a sample config. I would start with that, and if you have any questions about the Nagios configuration we can help!
Before to configure the host with this plugin, can I verify loading it simply in "libexec" folder and run this command:

./check_snmp_qnap_volspace -H 10.1.5.10 -C gpublic -w 80 -c 90

Is it correct ?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: How to use Nagios plugin "check_snmp_qnap_volspace"

Post by tmcdonald »

That looks to be the correct usage, yes. Please note we did not write this plugin, so any specific usage questions or bugs might need to be directed toward the author.
Former Nagios employee
nagios1_1
Posts: 14
Joined: Thu Jan 26, 2017 12:25 pm

[RESOLVED]How to use Nagios plugin "check_snmp_qnap_volspace

Post by nagios1_1 »

tmcdonald wrote:That looks to be the correct usage, yes. Please note we did not write this plugin, so any specific usage questions or bugs might need to be directed toward the author.

Ok thanks, However it isn't good for my Nas. I checked with that command.
Locked