Re: Error: Service check command 'check_sybase
"Jose Oliveira" <[email protected]>
| Newsgroups | gmane.network.nagios.user.brazil |
|---|---|
| Message-ID | <[email protected]> |
Olá Otavio Antes de configurar o serviço no services.cfg, voce precisa criá-lo no checkcommands.cfg. Os parametros reais, como voce citou, devem ser colocados no checkcommands.cfg. Dê uma olhada nestes dois arquivos que voce vai entender a lógica da coisa... PS: Registre-se na lista no site <https://lists.sourceforge.net/lists/listinfo/nagios-users-br> https://lists.sourceforge.net/lists/listinfo/nagios-users-br 2008/7/16 Otávio R. M. Evaristo - TrustNet Informática < [email protected]>: > Bom Dia!! > > Essa é minha primeira pergunta na lista, enfim eu estou querendo checar > uma base de dados no Sybase Anywhere mas estou tendo o seguinte erro ao > verificar as conf do nágios: > > Error: Service check command 'check_sybase -U dba -P sql -S otavio -D > BD0001' specified in service 'BD0001' for host 'otavio' not defined > anywhere! > > Segundo o help do check_sybase estou fazendo tudo certo, se alguém puder me > dar uma dica. Obrigado: > > HELP check_sybase > > Mandatory arguments to long options are mandatory for short options too. > -U, --user Username to connect to database. > -P, --pass Password to connect to database. > -S, --dbsvr Database server (as in the interfaces file). > -D, --dbname Database name to check. > --config=FILE Config file (see SECURITY below) > --checktype=TYPE Type of check to run (see TYPEs below) > --charset=CHARSET Character set of server (default iso_1). > --explain Explains how we calculated the free space. > --fallback Fallback to a CONNECT check if a non-CONNECT check > takes too long. > --no-mixed-devices-warning Suppress the warning about mixed data/log > devices. > -w, --warning Warning threshold (default 25). > -c, --critical Critical threshold (default 10). > -t, --timeout Timeout value, in seconds (default 30). > -h, --help This help message > -V, --version Version information (1.1) > > Examples: > check_sybase -U sa -P secret -S bigbox -D orders > check_sybase --config=/secure/nagios-sybase.cfg --checktype=CONNECT > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > -- > [email protected] mailing list > https://lists.sourceforge.net/lists/listinfo/nagios-users-br > Wiki: http://nagios-br.sf.net/wiki > -- Abraços JGeraldo ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -- [email protected] mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki