Page 1 of 1

Struggling with Command and Service for MaxDB plugin

Posted: Fri Jul 17, 2020 3:51 pm
by dlukinski
Hello XI Support

We are trying to get MAxDB monitoring in place (to retire the competing SnagView installation in Europe)
and struggling with MAxDB plugin not having much documentation to use one with:

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

How would Command and Service look like for this plugin?

Thank you

Re: Struggling with Command and Service for MaxDB plugin

Posted: Mon Jul 20, 2020 4:44 pm
by cdienger
The .pl plugin gives this usage info in it's help(./check_maxdb.pl --help):

Code: Select all

Usage: ./check_maxdb.pl -t <D|L|B|S> -H <host> -d <dbname> -u <user,password>  -w <warn level> -c <crit level>
So a definition like this should do the trick:

Code: Select all

$USER1$/check_maxdb.pl -t $ARG1$ -H $HOSTADDRESS$ -d $ARG2$ -u $ARG2$ -w $ARG2$ -c $ARG2$
The service would then look like the attached.