Description:

DEFCON level indicator, that executes an arbitrary command in a loop, updating the warning level depending on the output.

The command must output a number between 1 and 5.
Last changelog:

8 years ago

0.1: Initial SAFE release (Shitty Artwork Featureless and Evil)

deabru

8 years ago

With nagios and more, this guy uses a simple heuristic to decide how worried we should be, and what level should be set.

His blog:

http://blog.iwebsolutions.co.uk/2009/07/knowing-the-network/

Report

k3ks

8 years ago

Can't see a real use for this plasmoid for now but i think it should be easy possible to find one.
Funny idea :)

Report

C

RazZziel

8 years ago

Haha, same for me, I don't really know how this can be any useful but I started writing it anyway so it's done when I come up with a use case.

Maybe it could be used with a script that counts the number of emails in your inbox and estimates your "work-to-do level", or something alike.

Report

Xanadu

8 years ago

It's possible to parse the real one out of this page:

http://www.freerepublic.com/~defcon/

It's a pretty clean page. If I was better with awk and friends, I'd just paste the line here, but alas...

Report

C

RazZziel

8 years ago

It's not very elegant but I think it will do the job

a=`wget -qO - http://www.freerepublic.com/~defcon/ | grep -oP "We are now at DefCon level: (<[^>]+>){2}[1-5]"`;echo ${a:(-1)}

Report

8 years ago

0.1: Initial SAFE release (Shitty Artwork Featureless and Evil)

product-maker 6 11

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.1
updated Aug 08 2009
added Aug 08 2009
downloads today
0
page views today 4