From f24a8ce93878005ae6b01f33b3d83a5f8d4c048c Mon Sep 17 00:00:00 2001 From: Ryan Blake <61893906+RyanBlakeIT@users.noreply.github.com> Date: Tue, 4 Nov 2025 11:26:13 -0500 Subject: [PATCH 1/2] Update self.md Added details regarding argusctl self and corrected syntax under Service Self for monrate. --- content/docs/self.md | 47 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/content/docs/self.md b/content/docs/self.md index 2e5e118..56427c3 100644 --- a/content/docs/self.md +++ b/content/docs/self.md @@ -31,6 +31,51 @@ Running the command argusctl status will display information about the Most interesting are the percent idle (the above argus is doing very little work and quite idle), and the monrate, the number of tests argus is doing per second. These are both given as 1, 5, and 15 minute averages. +## argusctl self + +Running the command argusctl self will display additional information about the running argus: + +
200 OK +cpurate: 0.004958954098553818 +cpurate15: 0.0051087599999999995 +cpurate5: 0.005105664717112987 +currfd: 14 +darpgraphdrops: 0 +darpgraphqueue: 0 +goroutines: 142 +idlerate: 0.9950410459014464 +idlerate15: 0.9948912400000002 +idlerate5: 0.9948943352828871 +mem.alloc: 17047992 +mem.stack: 2260992 +mem.sys: 44194832 +monrate: 37.304954657802796 +monrate15: 37.140000000000015 +monrate5: 37.135964140187056 +notifies: 0 +objects: 726 +pingidle: 8 +pingqueue: 16 +resolvdrops: 0 +resolvidle: 2 +resolvqueries: 160 +resolvqueue: 0 +resolvtimeouts: 0 +runs: 13274 +runsexpress: 2440 +runsprio: 10613 +schedqueue: 0 +services: 303 +uptime: 350 +workdefer: 0 +workdeferexpress: 0 +workdeferprio: 2230 +workidle: 112 +workqueue: 0 +workqueueexpress: 0 +workqueueprio: 0 ++ ## Service Self ... Argus also exports various data to itself as a Service, so you can do testing and graphing. Some useful examples: @@ -46,7 +91,7 @@ Argus also exports various data to itself as a Service, so you can do testing an messagedn: time to buy faster server } - Service Self/tested { + Service Self/monrate { title: Monitoring Rate ylabel: tests per second calc: ave-rate From 34f28fe7e99ffa182ef708cdd647f710204d65c0 Mon Sep 17 00:00:00 2001 From: Ryan Blake <61893906+RyanBlakeIT@users.noreply.github.com> Date: Tue, 4 Nov 2025 12:39:05 -0500 Subject: [PATCH 2/2] Update self.md Corrected Service Self examples with new syntax for the "Self" commands. Added information on argusctl self. --- content/docs/self.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/content/docs/self.md b/content/docs/self.md index 56427c3..9d922a9 100644 --- a/content/docs/self.md +++ b/content/docs/self.md @@ -82,10 +82,9 @@ Argus also exports various data to itself as a Service, so you can do testing an
Group "Myself" {
graph: yes
- Service Self/idle {
+ Service Self/idlerate {
title: Percent Idle
- calc: ave-rate
- scale: 0.01
+ expr: x * 100
# let someone know when it is time to upgrade h/w
minvalue: 20
messagedn: time to buy faster server