khatus.git
5 years agoAdd build instructions
Siraaj Khandkar [Wed, 29 Aug 2018 21:36:08 +0000 (17:36 -0400)] 
Add build instructions

5 years agoMove install script to make
Siraaj Khandkar [Wed, 29 Aug 2018 21:33:12 +0000 (17:33 -0400)] 
Move install script to make

5 years agoBring back src module name in messages
Siraaj Khandkar [Wed, 29 Aug 2018 21:13:10 +0000 (17:13 -0400)] 
Bring back src module name in messages

5 years agoDon't complain if cleaning pre-emptively
Siraaj Khandkar [Wed, 29 Aug 2018 18:39:53 +0000 (14:39 -0400)] 
Don't complain if cleaning pre-emptively

5 years agoRe-use AWK build recipe
Siraaj Khandkar [Wed, 29 Aug 2018 18:39:26 +0000 (14:39 -0400)] 
Re-use AWK build recipe

5 years agoRe-use AWK components
Siraaj Khandkar [Wed, 29 Aug 2018 18:19:59 +0000 (14:19 -0400)] 
Re-use AWK components

5 years agoAdd summary of process state meanings
Siraaj Khandkar [Wed, 29 Aug 2018 15:25:22 +0000 (11:25 -0400)] 
Add summary of process state meanings

5 years agoImplement user-selected status bar components
Siraaj Khandkar [Wed, 29 Aug 2018 15:09:29 +0000 (11:09 -0400)] 
Implement user-selected status bar components

5 years agoAdd execute-on-mount option
Siraaj Khandkar [Sat, 25 Aug 2018 18:24:55 +0000 (14:24 -0400)] 
Add execute-on-mount option

mainly to launch a file manager on mount, but potentially anything

5 years agoImplement device auto-mounter
Siraaj Khandkar [Sat, 25 Aug 2018 17:25:36 +0000 (13:25 -0400)] 
Implement device auto-mounter

5 years agoAdd TODO - formalize message format and protocol
Siraaj Khandkar [Sat, 25 Aug 2018 16:46:30 +0000 (12:46 -0400)] 
Add TODO - formalize message format and protocol

5 years agoAdd device-tracking idea
Siraaj Khandkar [Sat, 25 Aug 2018 16:31:19 +0000 (12:31 -0400)] 
Add device-tracking idea

5 years agoDo not process collect data we do not use
Siraaj Khandkar [Fri, 24 Aug 2018 00:41:58 +0000 (20:41 -0400)] 
Do not process collect data we do not use

at least for now, since khatus_bar is now using a noticeable amount of CPU time
(~2-3%, up from ~0-0.7%)

Definitely need to be more-discriminate about who gets what data, instead of
forcing everyone to filter

5 years agoMonitor process states totals
Siraaj Khandkar [Wed, 22 Aug 2018 14:34:39 +0000 (10:34 -0400)] 
Monitor process states totals

5 years agoMoar ideas
Siraaj Khandkar [Wed, 22 Aug 2018 00:04:53 +0000 (20:04 -0400)] 
Moar ideas

5 years agoFix tabs to spaces
Siraaj Khandkar [Tue, 21 Aug 2018 16:39:04 +0000 (12:39 -0400)] 
Fix tabs to spaces

5 years agoAdd more Ideas and TODOs
Siraaj Khandkar [Tue, 21 Aug 2018 04:52:59 +0000 (00:52 -0400)] 
Add more Ideas and TODOs

5 years agoExpose GC interval option
Siraaj Khandkar [Tue, 21 Aug 2018 02:28:12 +0000 (22:28 -0400)] 
Expose GC interval option

5 years agoAdd monitor idea: password digests against leaked databases
Siraaj Khandkar [Tue, 21 Aug 2018 02:12:47 +0000 (22:12 -0400)] 
Add monitor idea: password digests against leaked databases

5 years agoPromote detailed reporting from Ideas to TODOs
Siraaj Khandkar [Tue, 21 Aug 2018 01:57:29 +0000 (21:57 -0400)] 
Promote detailed reporting from Ideas to TODOs

5 years agoPromote process monitoring from Ideas to TODOs
Siraaj Khandkar [Tue, 21 Aug 2018 01:55:07 +0000 (21:55 -0400)] 
Promote process monitoring from Ideas to TODOs

5 years agoAdd some ideas and TODOs
Siraaj Khandkar [Tue, 21 Aug 2018 01:51:59 +0000 (21:51 -0400)] 
Add some ideas and TODOs

5 years agoReport GCed src and key more-clearly
Siraaj Khandkar [Mon, 20 Aug 2018 22:29:55 +0000 (18:29 -0400)] 
Report GCed src and key more-clearly

5 years agoAdd block device event sensor and monitor
Siraaj Khandkar [Mon, 20 Aug 2018 19:11:53 +0000 (15:11 -0400)] 
Add block device event sensor and monitor

5 years agoAdd redesign note to decouple sleep from sensor
Siraaj Khandkar [Mon, 20 Aug 2018 17:47:56 +0000 (13:47 -0400)] 
Add redesign note to decouple sleep from sensor

5 years agoDrop each option down to its own line
Siraaj Khandkar [Mon, 20 Aug 2018 02:51:19 +0000 (22:51 -0400)] 
Drop each option down to its own line

5 years agoRemove stale option from sanity_check
Siraaj Khandkar [Mon, 20 Aug 2018 02:50:17 +0000 (22:50 -0400)] 
Remove stale option from sanity_check

5 years agoFix grammar
Siraaj Khandkar [Sun, 19 Aug 2018 16:46:05 +0000 (12:46 -0400)] 
Fix grammar

5 years agoFix missing backtick
Siraaj Khandkar [Sun, 19 Aug 2018 16:44:32 +0000 (12:44 -0400)] 
Fix missing backtick

5 years agoMerge branch 'uniform-interface'
Siraaj Khandkar [Sun, 19 Aug 2018 16:26:22 +0000 (12:26 -0400)] 
Merge branch 'uniform-interface'

5 years agoUpdate README
Siraaj Khandkar [Sun, 19 Aug 2018 16:24:28 +0000 (12:24 -0400)] 
Update README

5 years agoDo not attach anything to the sensor output stream by default
Siraaj Khandkar [Sun, 19 Aug 2018 16:04:42 +0000 (12:04 -0400)] 
Do not attach anything to the sensor output stream by default

the subsequent redirections should be up to the user

5 years agoUpdate alignment
Siraaj Khandkar [Sun, 19 Aug 2018 16:01:01 +0000 (12:01 -0400)] 
Update alignment

5 years agoFix incorrect key for disk usage cache lookup
Siraaj Khandkar [Sun, 19 Aug 2018 16:00:11 +0000 (12:00 -0400)] 
Fix incorrect key for disk usage cache lookup

5 years agoAdd sanity_check scrip, for quick dev "testing"
Siraaj Khandkar [Sun, 19 Aug 2018 15:40:16 +0000 (11:40 -0400)] 
Add sanity_check scrip, for quick dev "testing"

so we can quickly observe the output of the monitors, without actuating it

5 years agoRemove debug prints and add TODOs
Siraaj Khandkar [Sun, 19 Aug 2018 02:19:48 +0000 (22:19 -0400)] 
Remove debug prints and add TODOs

5 years agoAdjust naming convention and fix usage
Siraaj Khandkar [Sat, 18 Aug 2018 15:01:07 +0000 (11:01 -0400)] 
Adjust naming convention and fix usage

(which was not even consistent with the previous convention)

5 years agoRemove the no-longer-used option: --debug
Siraaj Khandkar [Sat, 18 Aug 2018 14:42:57 +0000 (10:42 -0400)] 
Remove the no-longer-used option: --debug

Its sensible to have the debugging facilities, but not sensible to have an
option to turn-on a non-existent feature, so until debugging facilities are
back - the option has to go.

5 years agoSimplify setting default volume symbol
Siraaj Khandkar [Sat, 18 Aug 2018 14:29:13 +0000 (10:29 -0400)] 
Simplify setting default volume symbol

5 years agoFix missing default value when mute field is unknown
Siraaj Khandkar [Sat, 18 Aug 2018 14:21:18 +0000 (10:21 -0400)] 
Fix missing default value when mute field is unknown

5 years agoShorten some long lines
Siraaj Khandkar [Sat, 18 Aug 2018 14:08:12 +0000 (10:08 -0400)] 
Shorten some long lines

5 years agoMark GC messages as INFO rather than ERROR
Siraaj Khandkar [Fri, 17 Aug 2018 03:39:09 +0000 (23:39 -0400)] 
Mark GC messages as INFO rather than ERROR

5 years agoRemove the outdated "inp" from interval parameter names
Siraaj Khandkar [Fri, 17 Aug 2018 01:13:01 +0000 (21:13 -0400)] 
Remove the outdated "inp" from interval parameter names

it used to stand for input messages, differentiated from the output messages
(where an input msg _submitted_ data to the controller and output msg
_requested_ for data to be an outputted by the controller)

5 years agoRevise naming convention
Siraaj Khandkar [Fri, 17 Aug 2018 01:00:52 +0000 (21:00 -0400)] 
Revise naming convention

5 years agoFix missing subscript
Siraaj Khandkar [Thu, 16 Aug 2018 22:18:01 +0000 (18:18 -0400)] 
Fix missing subscript

5 years agoGeneralize unit scaling
Siraaj Khandkar [Thu, 16 Aug 2018 22:17:22 +0000 (18:17 -0400)] 
Generalize unit scaling

5 years agoDe-conflate value from expiration status
Siraaj Khandkar [Thu, 16 Aug 2018 21:21:19 +0000 (17:21 -0400)] 
De-conflate value from expiration status

5 years agoPass ttl explicitly
Siraaj Khandkar [Thu, 16 Aug 2018 17:03:35 +0000 (13:03 -0400)] 
Pass ttl explicitly

5 years agoComment on the effective meaning of ttl=0
Siraaj Khandkar [Thu, 16 Aug 2018 17:01:46 +0000 (13:01 -0400)] 
Comment on the effective meaning of ttl=0

5 years agoRename age_max to ttl
Siraaj Khandkar [Thu, 16 Aug 2018 16:59:04 +0000 (12:59 -0400)] 
Rename age_max to ttl

5 years agoLine-buffer upower output
Siraaj Khandkar [Thu, 16 Aug 2018 16:56:34 +0000 (12:56 -0400)] 
Line-buffer upower output

5 years agoRe-arrange redirections for better parallelism
Siraaj Khandkar [Thu, 16 Aug 2018 16:33:57 +0000 (12:33 -0400)] 
Re-arrange redirections for better parallelism

5 years agoMove total_to_diff transform from script to function
Siraaj Khandkar [Thu, 16 Aug 2018 16:20:26 +0000 (12:20 -0400)] 
Move total_to_diff transform from script to function

5 years agoIncrease TTL for most data points
Siraaj Khandkar [Thu, 16 Aug 2018 15:12:10 +0000 (11:12 -0400)] 
Increase TTL for most data points

5 years agoRedesign component interfaces
Siraaj Khandkar [Thu, 16 Aug 2018 00:47:00 +0000 (20:47 -0400)] 
Redesign component interfaces

to be consistent src/key/val triples

5 years agoClear MPD state on non-0 exit from MPD song sensor
Siraaj Khandkar [Mon, 13 Aug 2018 19:43:06 +0000 (15:43 -0400)] 
Clear MPD state on non-0 exit from MPD song sensor

This is only half-arse general solution - while it catches and propagates non-0
exits for all sensors, not all sensors will actually propagate failures from
middles of their pipelines; and controller only handles the mpd case here.

The right thing to do seems to be to save the current timestamp value and
mark every key in the db with it, then only use values that are fresh-enough.
This needs a re-organization of how values are formatted by the sensors and
stored by the controller.

For error-handling we need to enable pipefail option on all sensor scripts,
but, how to parse and handle errors _well_? It seems that shell/awk are no
longer an advantage...

5 years agoFix whitespace
Siraaj Khandkar [Sun, 12 Aug 2018 18:45:38 +0000 (14:45 -0400)] 
Fix whitespace

5 years agoFix iwconfig parser output to include interface
Siraaj Khandkar [Thu, 9 Aug 2018 17:36:11 +0000 (13:36 -0400)] 
Fix iwconfig parser output to include interface

5 years agoAdd TODO for controller k/v API
Siraaj Khandkar [Thu, 9 Aug 2018 17:33:32 +0000 (13:33 -0400)] 
Add TODO for controller k/v API

5 years agoAdd optional sensor performance logging
Siraaj Khandkar [Wed, 8 Aug 2018 17:17:58 +0000 (13:17 -0400)] 
Add optional sensor performance logging

5 years agoAdd redesign notes
Siraaj Khandkar [Wed, 8 Aug 2018 16:39:55 +0000 (12:39 -0400)] 
Add redesign notes

5 years agoFix weather alerts with empty phenomena
Siraaj Khandkar [Wed, 8 Aug 2018 14:06:08 +0000 (10:06 -0400)] 
Fix weather alerts with empty phenomena

5 years agoFix tab invader
Siraaj Khandkar [Wed, 8 Aug 2018 00:10:00 +0000 (20:10 -0400)] 
Fix tab invader

5 years agoAlert on reported weather phenomena
Siraaj Khandkar [Wed, 8 Aug 2018 00:05:00 +0000 (20:05 -0400)] 
Alert on reported weather phenomena

5 years agoGrab wifi status from iwconfig instead of nmcli
Siraaj Khandkar [Tue, 7 Aug 2018 23:04:56 +0000 (19:04 -0400)] 
Grab wifi status from iwconfig instead of nmcli

which reduces our resource footprint

5 years agoRevert "Simplify IPC - no need to name the pipe"
Siraaj Khandkar [Tue, 7 Aug 2018 22:16:00 +0000 (18:16 -0400)] 
Revert "Simplify IPC - no need to name the pipe"

This reverts commit 6ad7b3816d199eddc883bdda5205592f5f0442ae.

Sadly, it breaks the ERROR-tagging loop (which I want to keep) of a sensor's
stderr output (since it is now being unintentionally intercepted by the
OK-tagging loop - duh! :) )

5 years agoExtend TODO for wireless sensor improvements
Siraaj Khandkar [Tue, 7 Aug 2018 15:22:52 +0000 (11:22 -0400)] 
Extend TODO for wireless sensor improvements

5 years agoAdd TODO for nmcli monitor
Siraaj Khandkar [Tue, 7 Aug 2018 13:58:51 +0000 (09:58 -0400)] 
Add TODO for nmcli monitor

5 years agoRename reactor to watcher
Siraaj Khandkar [Mon, 6 Aug 2018 21:27:03 +0000 (17:27 -0400)] 
Rename reactor to watcher

5 years agoSimplify IPC - no need to name the pipe
Siraaj Khandkar [Mon, 6 Aug 2018 21:24:35 +0000 (17:24 -0400)] 
Simplify IPC - no need to name the pipe

5 years agoAdd TODO section to README
Siraaj Khandkar [Mon, 6 Aug 2018 21:19:05 +0000 (17:19 -0400)] 
Add TODO section to README

5 years agoSplit actuator into 2
Siraaj Khandkar [Mon, 6 Aug 2018 21:12:28 +0000 (17:12 -0400)] 
Split actuator into 2

- khatus_actuate_status_bar_to_xsetroot_name
- khatus_actuate_alert_to_notify_send

5 years agoPropagate controller errors as alerts
Siraaj Khandkar [Sat, 4 Aug 2018 19:51:35 +0000 (15:51 -0400)] 
Propagate controller errors as alerts

5 years agoAdd some notes on actuator(s)
Siraaj Khandkar [Fri, 3 Aug 2018 21:59:59 +0000 (17:59 -0400)] 
Add some notes on actuator(s)

5 years agoShow example of error propagation
Siraaj Khandkar [Fri, 3 Aug 2018 20:44:25 +0000 (16:44 -0400)] 
Show example of error propagation

5 years agoSketch a rough design diagram
Siraaj Khandkar [Fri, 3 Aug 2018 20:28:30 +0000 (16:28 -0400)] 
Sketch a rough design diagram

5 years agoAdd actuator prototype
Siraaj Khandkar [Fri, 3 Aug 2018 19:46:22 +0000 (15:46 -0400)] 
Add actuator prototype

5 years agoPropagate sensor errors to controller and trigger alerts
Siraaj Khandkar [Fri, 3 Aug 2018 19:07:50 +0000 (15:07 -0400)] 
Propagate sensor errors to controller and trigger alerts

5 years agoBe a bit more-consistent with while loops
Siraaj Khandkar [Fri, 3 Aug 2018 17:17:24 +0000 (13:17 -0400)] 
Be a bit more-consistent with while loops

5 years agoSimplify CLI option handling
Siraaj Khandkar [Fri, 3 Aug 2018 17:13:36 +0000 (13:13 -0400)] 
Simplify CLI option handling

using associative arrays

5 years agoFix khatus_sensor_bluetooth_power
Siraaj Khandkar [Fri, 3 Aug 2018 17:09:24 +0000 (13:09 -0400)] 
Fix khatus_sensor_bluetooth_power

-e option is not available in dash's echo

5 years agoFix bluetoothctl parser
Siraaj Khandkar [Fri, 3 Aug 2018 16:54:37 +0000 (12:54 -0400)] 
Fix bluetoothctl parser

5 years agoShow "n/a" instead of "off" when no bluetooth controllers were found
Siraaj Khandkar [Wed, 1 Aug 2018 22:42:39 +0000 (18:42 -0400)] 
Show "n/a" instead of "off" when no bluetooth controllers were found

5 years agoLog error on unexpected mute field value
Siraaj Khandkar [Wed, 1 Aug 2018 20:54:49 +0000 (16:54 -0400)] 
Log error on unexpected mute field value

5 years agoSplit-out and refactor 'pactl list sinks' parser
Siraaj Khandkar [Wed, 1 Aug 2018 20:49:21 +0000 (16:49 -0400)] 
Split-out and refactor 'pactl list sinks' parser

5 years agoFix volume sensor
Siraaj Khandkar [Wed, 1 Aug 2018 20:34:17 +0000 (16:34 -0400)] 
Fix volume sensor

5 years agoSplit-out ip addr parser
Siraaj Khandkar [Wed, 1 Aug 2018 19:47:02 +0000 (15:47 -0400)] 
Split-out ip addr parser

5 years agoLeave 2 cats alone
Siraaj Khandkar [Wed, 1 Aug 2018 19:37:42 +0000 (15:37 -0400)] 
Leave 2 cats alone

5 years agoSplit-out and refactor MPD status parser
Siraaj Khandkar [Wed, 1 Aug 2018 19:16:32 +0000 (15:16 -0400)] 
Split-out and refactor MPD status parser

5 years agoUpdate README
Siraaj Khandkar [Wed, 1 Aug 2018 19:06:13 +0000 (15:06 -0400)] 
Update README

adding a mascot

5 years agoRemove some newlines
Siraaj Khandkar [Wed, 1 Aug 2018 18:29:29 +0000 (14:29 -0400)] 
Remove some newlines

5 years agoSplit-out and refactor bluetooth status parser
Siraaj Khandkar [Wed, 1 Aug 2018 18:28:04 +0000 (14:28 -0400)] 
Split-out and refactor bluetooth status parser

5 years agoSplit batter and line_power alerts
Siraaj Khandkar [Wed, 1 Aug 2018 18:04:59 +0000 (14:04 -0400)] 
Split batter and line_power alerts

5 years agoRefactor forking functions
Siraaj Khandkar [Wed, 1 Aug 2018 17:14:44 +0000 (13:14 -0400)] 
Refactor forking functions

5 years agoReact-to, rather than poll-for, energy events
Siraaj Khandkar [Wed, 1 Aug 2018 16:54:51 +0000 (12:54 -0400)] 
React-to, rather than poll-for, energy events

5 years agoAdd msg field to debug
Siraaj Khandkar [Wed, 1 Aug 2018 13:18:04 +0000 (09:18 -0400)] 
Add msg field to debug

5 years agoMake alert subject more-explicit
Siraaj Khandkar [Wed, 1 Aug 2018 13:02:52 +0000 (09:02 -0400)] 
Make alert subject more-explicit

5 years agoRemove dead code
Siraaj Khandkar [Wed, 1 Aug 2018 05:53:54 +0000 (01:53 -0400)] 
Remove dead code

5 years agoInclude more info in mpd song change alert
Siraaj Khandkar [Wed, 1 Aug 2018 05:36:14 +0000 (01:36 -0400)] 
Include more info in mpd song change alert

5 years agoDo not alert on playlist clearing
Siraaj Khandkar [Wed, 1 Aug 2018 04:47:44 +0000 (00:47 -0400)] 
Do not alert on playlist clearing

This page took 0.068655 seconds and 4 git commands to generate.