14 Nov
2012
14 Nov
'12
6:55 a.m.
On 14-11-2012 00:57, Jeremy Laidman wrote:
What if you define a "DS" condition in your analysis.cfg that references users.rrd, something like this:
HOST=name-of-host DS users users.rrd:la <5 COLOR=red "TEXT=User count %V is fewer than %L"
I'm assuming that the user count shown in "[uptime]" (that goes into users.rrd) is the same as the count of entries in "[who]".
That would be another way of doing it, yes. The "DS" rules use the same "modify" command to update the status-color, so it is just a different way of detecting when to go red.
Regards, Henrik