Page 1 of 1

[RESOLVED]How to use Nagios plugin check_snmp_qnap_volspace

Posted: Tue Mar 14, 2017 11:11 am
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

Re: How to use Nagios plugin "check_snmp_qnap_volspace"

Posted: Tue Mar 14, 2017 2:48 pm
by rkennedy
Contact whoever wrote the plugin for instructions.

Re: How to use Nagios plugin "check_snmp_qnap_volspace"

Posted: Tue Mar 14, 2017 3:15 pm
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!

Re: How to use Nagios plugin "check_snmp_qnap_volspace"

Posted: Wed Mar 15, 2017 7:11 am
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 ?

Re: How to use Nagios plugin "check_snmp_qnap_volspace"

Posted: Wed Mar 15, 2017 11:17 am
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.

[RESOLVED]How to use Nagios plugin "check_snmp_qnap_volspace

Posted: Wed Mar 15, 2017 11:25 am
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.