Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request for feature] display uptime, load, diskfree next to kernel version and lsb info #32

Open
atrent opened this issue Jun 26, 2014 · 5 comments
Assignees

Comments

@atrent
Copy link

atrent commented Jun 26, 2014

Hi,
as in the subject, it would be useful to have a glance at uptime&disk info next to lsb info, it could be activated upon configuration (i.e. apt-dater.conf)
Or you could make the whole parenthesis "(Debian 7.5 wheezy; 3.14-1-amd64)" (in my case) programmable, it could be an editable script giving just one line of output.

Thanks

@liske liske added this to the apt-dater 0.9.1 milestone Jun 28, 2014
@liske liske self-assigned this Jun 28, 2014
@liske
Copy link
Member

liske commented Jun 28, 2014

Hi,

making the parenthesis content configurable sounds like a good idea.

apt-dater is not designed to present live values of uptime/disk info/load (this would require periodic [expensive] updates via SSH all the time apt-dater is running). Especially observing disk usage or load sounds like a monitoring task...

HTH,
Thomas

@atrent
Copy link
Author

atrent commented Jun 29, 2014

I know that apt-dater is not a live monitoring system, in my mind the status (or the script) would be read (run) only upon refresh ("G"), it could be a hook of some sort...

@atrent
Copy link
Author

atrent commented Jun 29, 2014

I mean, hooks are already supported, you just need to, say, get the first output line of one of them (it could be called "status.sh")

EDIT: I've re-read the doc and I realized that hooks are run on the "client-side" (not on the monitored host, is it correct? In this case of course it's not possible to use them (hooks) to get the status of the monitored machine, thus you could think about introducing hooks on the target machine

@liske
Copy link
Member

liske commented Sep 24, 2014

Add hooks in apt-dater-host should be easy, although it requires some stuff within apt-dater for parsing and displaying.

@atrent
Copy link
Author

atrent commented Sep 29, 2015

as for the hooks running on the client (monitoring side) is it possible to get the execution result? (not the return code, but some output from the command)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants