Home Directory Plugins Databases Oracle CHeck autoextend V2

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 Tree

CHeck autoextend V2

Rating
0 votes
Favoured:
0
Hits
163602
Files:
FileDescription
check_autoextendcheck_autoextend
check_autoextend.sqlcheck_autoextend.sql
check_autoextend_multi.sqlcheck_autoextend_multi.sql
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check les DBF en autoextend
Affichage des usages :

./check_autoextend -h
#########################################################
### LISTE DES PARAMETRES ###
### -u/-U user ###
### -p/-P Password ###
### -l/-L Listener(à distance) ###
### ou ORACLE_SID(En Local) ###
### -t/-T Nom du tablespace ###
###---------------------------------------------------###
### -m/-M (Optionel) ###
### -m pour checker tous les DBF du TBS en parametre ###
### -m Utilise la requete check_autoextend_multi.sql ###
### sinon Utilise la requete check_autoextend.sql ###
#########################################################



Check multi avec différents etats des DBF :

./check_autoextend -M -U"User" -P"MDP" -T"TbsName" -L"ListenerName" -W 70 -C80
KO : Le DBF "TABLESPACE"20.dbf est occupe a 99,22% ;
echo $?
2


./check_autoextend -M -U"User" -P"MDP" -T"TbsName" -L"ListenerName" -W30 -C80
KO : Le DBF "TABLESPACE"20.dbf est occupe a 99,22% ; Warning : Le DBF "TABLESPACE"01.dbf est occupe a 49,22% ; Warning : Le DBF "TABLESPACE"21.dbf est occupe a 62,11% ;
echo $?
2
./check_autoextend -M -U"User" -P"Password" -T"TbsName" -L"ListenerName" -W99 -C100
Warning : Le DBF "TABLESPACE"20.dbf est occupe a 99,22% ;
echo $?
1


./check_autoextend -M -U"User" -P"MDP" -T"TbsName" -L"ListenerName" -W80 -C90
KO : Le DBF "TABLESPACE"20.dbf est occupe a 99,22% ;
echo $?
2
./check_autoextend -M -U"User" -P"MDP" -T"TbsName" -L"ListenerName" -W100 -C100
OK : Tous les DBF Autoextend du tablespace "TABLESPACE" sont OK
echo $?
0
Erreur dans la définition des seuils :

./check_autoextend -M -U"User" -P"MDP" -T"TbsName" -L"ListenerName" -W100 -C90
Unknown : Le Seuil Critique est inférieur au seuil Warning
echo $?
3

pourcentage d'occupation de tous les DBF en autoextend :

./check_autoextend -U"User" -P"Password" -T"TbsName" -L"ListenerName" -W100 -C100
OK : Tous les DBF Autoextend du tablespace "TABLESPACE" sont OK
echo $?
0

./check_autoextend -U"User" -P"Password" -T"TbsName" -L"ListenerName" -W60 -C100
Warning : Augmentation des fichiers Autoextend du TBS "TABLESPACE" à 64,66%
echo $?
1


./check_autoextend -U"User" -P"Password" -T"TbsName" -L"ListenerName" -W60 -C62
KO : Augmentation des fichiers autoextend du TBS "TABLESPACE" à 64,66% ;
echo $?
2