Build precise queries to find exactly what you need
Press ESC to close
@dmagniez
Favorites0
Views
Projects0
I had to change some parameters in my commands : [NRPE Handlers] command[cmd]=$ARG1$ check_mailbox_health=cmd /c echo scriptsexchangeMailboxHealth.ps1 | PowerShell.exe -Command - check_public_folders=cmd /c echo scriptsexchangePublicFoldersMounted.ps1 | PowerShell.exe -Command - [NRPE] command_timeout=180 because this script execute in more than 60 sec ! in centreon : $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c $ARG1$ -a $ARG2$ -t 180 with arg : !check_mailbox_health!
Reviewed 15 years ago
I have replaced this code : $self->{invalidobjects}->{invalid_ind_partitions} = $self->{handle}->fetchrow_array(q{ SELECT COUNT(DISTINCT STATUS) FROM dba_ind_partitions WHERE status 'USABLE' }); by this one : $self->{invalidobjects}->{invalid_ind_partitions} = $self->{handle}->fetchrow_array(q{ SELECT COUNT(DISTINCT STATUS) FROM dba_ind_partitions WHERE status 'USABLE' AND status 'N/A' }); because there was notification about invalid partition, but it was subpartition, reported by "N/A"
Reviewed 14 years ago