[Xymon] Couple of questions on client data

J.C. Cleaver cleaver at terabithia.org
Mon Jan 11 03:00:23 CET 2016


>From a status page:

https://xymon.com/xymon-cgi/svcstatus.sh?HOST=claudio.hswn.dk&SERVICE=conn

Click the History button, to:
https://xymon.com/xymon-cgi/history.sh?HISTFILE=claudio.hswn.dk.conn&ENTRIES=50&IP=192.168.20.1&DISPLAYNAME=claudio.hswn.dk

Click a convenient red/yellow dot, to:
https://xymon.com/xymon-cgi/historylog.sh?HOST=claudio.hswn.dk&SERVICE=conn&TIMEBUF=Mon_Dec_21_22:56:37_2015

Then scroll down and you should see a "Client Data available" link, to:
https://xymon.com/xymon-cgi/historylog.sh?CLIENT=claudio.hswn.dk&TIMEBUF=1450734721

Which should give you what was needed.

If there's *no* Client Data available anywhere on any links, make sure the
[hostdata] section is not disabled in tasks.cfg and that
--store-clientlogs is set properly in the options to xymond (by default,
it's "--store-clientlogs=!msgs"). You should see directories under
$XYMONVAR/hostdata/ by default.

Also, IIRC xymond_hostdata will by default skip storage when there's <5%
disk space free on the server it's running on.


HTH,

-jc




On Sun, January 10, 2016 5:18 pm, Novosielski, Ryan wrote:
> This is the info I need but it sounded like I can get it from historical
> periods, which is what I'm after.
>


> On Jan 10, 2016, at 18:56, David Boyer
> <davieb at gmail.com<mailto:davieb at gmail.com>> wrote:
>
> Ryan,
>      What specific data are you looking for?  If it's the kernel version,
> this could pull the info:
>


> On Sun, Jan 10, 2016 at 6:31 PM, Novosielski, Ryan
> <novosirj at ca.rutgers.edu<mailto:novosirj at ca.rutgers.edu>> wrote:
> Actually: how do you get at this? I can't see a way after hunting around a
> bit. I thought maybe in a client data link at the bottom of a historical
> page, but none is present.
>


> On Jan 10, 2016, at 06:48, J.C. Cleaver
> <cleaver at terabithia.org<mailto:cleaver at terabithia.org>> wrote:
>
> This becomes even more relevant when you consider snapshoting. When a
> status goes "red", a snapshot of the client data at that time is kept. So
> if you went back later to try to figure out why (e.g.) CPU was rising,
> the
> output of the '[who]' section tells you who might have been doing
> something then, even if the data wasn't used for making a test out of at
> that time.
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>





More information about the Xymon mailing list