Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xkilian committed Jan 11, 2016
2 parents e92b3c3 + 57d637b commit d7c7ea0
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Date format: Gregorian Little Endian, starting with Day [DD/MM/YYYY]

# Version 3_0_8 unreleased

# - New plugin for Alcatel OXE Call server nodes
# - New plugin for Alcatel Vxworks based L2 switches
# - New plugin for Alcatel Linux based L2/L3 switches
# - New plugin for Tripplite powerbar NET module
Expand Down
2 changes: 1 addition & 1 deletion plugins/genConfig/GeistRSMini.pm
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ sub custom_targets {
'display_name' => "Temperature sensor " . $id,
'_inst' => $id,
'_dstemplate' => "geist-sensor-temperature",
'_triggergroup' => "RSMini_Temp",
'_triggergroup' => "RSMini_Temp_Complex",
'use' => $opts->{dtemplate},
);

Expand Down
10 changes: 8 additions & 2 deletions sample-config/genConfig/Defaults_geist_rsmini.ini
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,15 @@
# Set service to UNKNOWN(3) by default
default_status = 3

[[Geist-Rsmini-Sensors-Temp]]
[[Geist-Rsmini-Sensors-Temp-Up-30]]
warning = tempSensorTempC, 30, gt

[[Geist-Rsmini-Sensors-Temp-Down-10]]
warning = tempSensorTempC, 10, lt

[TRIGGERGROUP]
RSMini_Temp = Geist-Rsmini-Sensors-Temp
RSMini_Temp_Basic = Geist-Rsmini-Sensors-Temp-Up-30

RSMini_Temp_Complex = Geist-Rsmini-Sensors-Temp-Up-30, Geist-Rsmini-Sensors-Temp-Down-10


5 changes: 3 additions & 2 deletions sample-config/genConfig/Defaults_plugin_alcatel_oxe.ini
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@

[TRIGGER]
# Set service to UNKNOWN(3) by default
default_status = 3

default_status = 3

# pbxState can take 6 int value: 0 = unknown, 1 = critical, 2 = major, 3 = minor, 4 = warning, 5 = OK
[[Alcatel-Oxe-Pbx-State]]
warning = pbxState, 4, eq, pbxState, 3, eq, or_
critical = pbxState, 1, eq, pbxState, 2, eq, or_
Expand Down
8 changes: 4 additions & 4 deletions sample-config/genConfig/Defaults_triggers.ini
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
critical = ifHCOutMulticastPkts.last(),5000,gt,ifOperStatus.last(),1,eq,and_

[[interface-nu_in]]
warning = ifInMulticastPkts.last(),2000,gt,ifAdminStatus.last(),1,eq,ifOperStatus.last(),1,eq,and_,and_
critical = ifInMulticastPkts.last(),5000,gt,ifOperStatus.last(),1,eq,and_
warning = ifInNUcastPackets.last(),2000,gt,ifAdminStatus.last(),1,eq,ifOperStatus.last(),1,eq,and_,and_
critical = ifInNUcastPackets.last(),5000,gt,ifOperStatus.last(),1,eq,and_
[[interface-nu_out]]
warning = ifOutMulticastPkts.last(),2000,gt,ifAdminStatus.last(),1,eq,ifOperStatus.last(),1,eq,and_,and_
critical = ifOutMulticastPkts.last(),5000,gt,ifOperStatus.last(),1,eq,and_
warning = ifOutNUcastPackets.last(),2000,gt,ifAdminStatus.last(),1,eq,ifOperStatus.last(),1,eq,and_,and_
critical = ifOutNUcastPackets.last(),5000,gt,ifOperStatus.last(),1,eq,and_

[[file]]
warning = FileSize.last(),1,gt
Expand Down

0 comments on commit d7c7ea0

Please sign in to comment.