Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory

dmagniez

Reviews(2)
bydmagniez, July 20, 2011
check_oracle_health
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"
bydmagniez, March 29, 2011
2 of 2 people found this review helpful
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!