Rvision des limites.
darcs-hash:20070202102151-68412-28772d3f8f07af81ba0dc552527c0616488103f1.gz
This commit is contained in:
parent
9863780c62
commit
afbe5e9bca
1 changed files with 8 additions and 8 deletions
|
@ -11,6 +11,8 @@ dico_courbes_gen = {
|
|||
'vlabel' : "nb de pages restantes",
|
||||
'lower-limit' : 0,
|
||||
'upper-limit' : 30000,
|
||||
'warning' : "2000:",
|
||||
'critical' : "500:",
|
||||
'dico' : {
|
||||
'car_bla' : ("enterprises.11.2.3.9.4.2.1.4.1.10.5.1.1.1.0","Cartouche noir","000000"),
|
||||
'car_cya' : ("enterprises.11.2.3.9.4.2.1.4.1.10.5.1.1.2.0","Cartouche cyan","00ffff"),
|
||||
|
@ -21,8 +23,6 @@ dico_courbes_gen = {
|
|||
'vlabel' : "pourcentage restant",
|
||||
'lower-limit' : 0,
|
||||
'upper-limit' : 100,
|
||||
'warning' : 15,
|
||||
'critical' : 2,
|
||||
'dico' : {
|
||||
'car_p_bla' : ("enterprises.11.2.3.9.4.2.1.4.1.10.1.1.18.1.0","Cartouche noir","000000"),
|
||||
'car_p_cya' : ("enterprises.11.2.3.9.4.2.1.4.1.10.1.1.18.2.0","Cartouche cyan","00ffff"),
|
||||
|
@ -33,6 +33,8 @@ dico_courbes_gen = {
|
|||
'vlabel' : "nb de pages restantes",
|
||||
'lower-limit' : 0,
|
||||
'upper-limit' : 40000,
|
||||
'warning' : "2000:",
|
||||
'critical' : "500:",
|
||||
'dico' : {
|
||||
'tam_bla' : ("enterprises.11.2.3.9.4.2.1.4.1.10.5.1.1.5.0","Tambour d'imagerie noir","000000"),
|
||||
'tam_cya' : ("enterprises.11.2.3.9.4.2.1.4.1.10.5.1.1.6.0","Tambour d'imagerie cyan","00ffff"),
|
||||
|
@ -43,8 +45,6 @@ dico_courbes_gen = {
|
|||
'vlabel' : "Pourcentage restant",
|
||||
'lower-limit' : 0,
|
||||
'upper-limit' : 100,
|
||||
'warning' : 15,
|
||||
'critical' : 2,
|
||||
'dico' : {
|
||||
'tam_p_bla' : ("enterprises.11.2.3.9.4.2.1.4.1.10.1.1.37.5.0","Tambour d'imagerie noir","000000"),
|
||||
'tam_p_cya' : ("enterprises.11.2.3.9.4.2.1.4.1.10.1.1.37.6.0","Tambour d'imagerie cyan","00ffff"),
|
||||
|
@ -55,8 +55,8 @@ dico_courbes_gen = {
|
|||
'vlabel' : "nb de pages restantes",
|
||||
'lower-limit' : 0,
|
||||
'upper-limit' : 150000,
|
||||
'warning' : 5000,
|
||||
'critical' : 500,
|
||||
'warning' : "2000:",
|
||||
'critical' : "500:",
|
||||
'dico' : {
|
||||
'kit_tra' : ("enterprises.11.2.3.9.4.2.1.4.1.10.5.1.1.9.0","Kit de transfert image"),
|
||||
'kit_net' : ("enterprises.11.2.3.9.4.2.1.4.1.10.5.1.1.10.0","Kit de nettoyage image"),
|
||||
|
@ -90,9 +90,9 @@ if arg == "config" :
|
|||
#print "%s.draw LINE2" % fieldname
|
||||
print "%s.label %s" % (fieldname,dico_courbes[fieldname][1])
|
||||
if warning:
|
||||
print "%s.warning %d" % (fieldname, warning)
|
||||
print "%s.warning %s" % (fieldname, warning)
|
||||
if critical:
|
||||
print "%s.critical %d" % (fieldname, critical)
|
||||
print "%s.critical %s" % (fieldname, critical)
|
||||
# En attendant que l'option arrive...
|
||||
if False and len(dico_courbes[fieldname])>2:
|
||||
print "%s.colour %s" % (fieldname,dico_courbes[fieldname][2])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue