http://oss.sgi.com/bugzilla/show_bug.cgi?id=936
Summary: pmie falling operator does not insert instance (%i)
and value (%v)
Product: pcp
Version: unspecified
Platform: All
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: pcp
AssignedTo: mort@xxxxxxx
ReportedBy: azzurrow@xxxxxxxxx
CC: pcp@xxxxxxxxxxx
Estimated Hours: 0.0
Classification: Unclassified
The pmie rising and falling operators allow to implement threshold monitoring
using upper and lower limits.
There seems to be a bug in the falling operator that inhibits the insertion of
instance and value.
In particular the former is required for any alarms handling.
All tests were done with PCP V3.6.10. The O/S is RedHat EL 5.6 x6_64.
[root@lggwsl32 ~]# pmie -t 10 -v
falling some_inst match_inst "^(/dev/root|/dev/cciss)" (
filesys.full > 40
) -> print "normal file system util" " [%i] %v ";
expr_1: ?
expr_1: false
expr_1: false
Fri Dec 7 11:16:49 2012: normal file system util
expr_1: true
[root@lggwsl32 ~]# pmie -t 10 -v
falling some_inst match_inst "^(/dev/root|/dev/cciss)" (
filesys.full > 40
) -> print "normal file system util [%i] %v ";
expr_1: ?
expr_1: false
expr_1: false
Fri Dec 7 11:17:48 2012: (null)
expr_1: true
The rising operators works
[root@lggwsl32 SW]# pmie -t 10 -v
rising some_inst match_inst "^(/dev/root|/dev/cciss)" (
filesys.full > 50
) -> print "high file system util" " [%i] %v ";
falling some_inst match_inst "^(/dev/root|/dev/cciss)" (
filesys.full > 40
) -> print "normal file system util" " [%i] %v ";
^D
expr_1: ?
expr_2: ?
expr_1: false
expr_2: false
Fri Dec 7 09:34:07 2012: high file system util [/dev/cciss/c0d0p1] 53
expr_1: true
expr_2: false
expr_1: false
expr_2: false
Fri Dec 7 09:34:27 2012: normal file system util
expr_1: false
expr_2: true
--
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
|