Results 1 to 2 of 2

Thread: Wrong output in thruk

  1. #1
    Junior Member
    Join Date
    Jul 2013
    Posts
    2

    Wrong output in thruk

    Hello,
    I am trying to monitor a nettapp filer.
    The commands seems ok when tested directely on the shinken :

    [root@freppau-lqsup01 ~]# cd /usr/local/shinken/libexec/
    [root@freppau-lqsup01 libexec]#
    [root@freppau-lqsup01 libexec]# ./check_netapp_2.py 10.57.8.115 -s public -t space_aggr
    Disk space for aggr_testpra: 99% in use (3904024 kB free)
    [root@freppau-lqsup01 libexec]#


    So the check is OK but on Thruk, the service is in WARNING and gives no output.
    Here are my configurations files :

    services.cfg :

    [pre]define service{
    service_description AGGREGATS
    check_command check_netapp_2!public!space_aggr!96!97!
    host_name FILER-PRA01
    use generic-service
    }

    [/pre]

    commands.cfg :

    [pre]define command {
    command_name check_netapp_2
    command_line $PLUGINSDIR$/check_netapp_2.py $HOSTADDRESS$ -s $ARG1$ -t $ARG2$
    }
    [/pre]

    Did i miss something here ?

    Thanks

  2. #2
    Administrator
    Join Date
    Jun 2011
    Posts
    216

    Re: Wrong output in thruk

    you give 4 parameter to your command but only use 2 of them actually. The 96 and 97 number are not used is your case. It can be related to your problem I think.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •