pcp
[Top] [All Lists]

[Bug 936] pmie falling operator does not insert instance (%i) and value

To: pcp@xxxxxxxxxxx
Subject: [Bug 936] pmie falling operator does not insert instance (%i) and value (%v)
From: bugzilla-daemon@xxxxxxxxxxx
Date: Wed, 12 Dec 2012 05:40:48 -0600
Auto-submitted: auto-generated
In-reply-to: <bug-936-835@xxxxxxxxxxxxxxxx/bugzilla/>
References: <bug-936-835@xxxxxxxxxxxxxxxx/bugzilla/>
http://oss.sgi.com/bugzilla/show_bug.cgi?id=936





--- Comment #5 from azzurrow@xxxxxxxxx  2012-12-12 05:40:46 CST ---
I've changed the rules to

some_inst rising match_inst "^(/dev/root|/dev/cciss)" (
    filesys.full > 50
) -> syslog "high file system util" " [%i] %v ";

some_inst falling match_inst "^(/dev/root|/dev/cciss)" (
    filesys.full > 40
) -> syslog "normal file system util" " [%i] %v ";

and the log entries show the corectvalues

Dec 12 12:34:48 lggwsl32 pcp-pmie[10674]: high file system util
[/dev/cciss/c0d0p1] 53 
Dec 12 12:35:18 lggwsl32 pcp-pmie[10674]: normal file system util
[/dev/cciss/c0d0p1] 36.0 

Good stuff. Thanks.

-- 
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.

<Prev in Thread] Current Thread [Next in Thread>