graphing help please
list Mike
I have hobbit setup and am working on a script to monitor all my platforms (redhat, solaris, irix, tru64, windows, etc). I have the script running as a test on my local, windows workstation. The status seems to be reporting properly from the script through the bb2.html page on to notifications. What I want to see next is a graph of these values. The current value is the simulated one minute load percentage from windows. I know this value is being sent to hobbitd since I'm getting notifications based on the colors (clear/green/yellow/red) I'm sending to hobbitd. Do I need to cycle hobbitd? Mike
list Mike
▸
On 2006-09-25, Mike <user-b6f75e481c45@xymon.invalid> wrote:
I have hobbit setup and am working on a script to monitor all my platforms (redhat, solaris, irix, tru64, windows, etc). I have the script running as a test on my local, windows workstation. The status seems to be reporting properly from the script through the bb2.html page on to notifications. What I want to see next is a graph of these values. The current value is the simulated one minute load percentage from windows. I know this value is being sent to hobbitd since I'm getting notifications based on the colors (clear/green/yellow/red) I'm sending to hobbitd. Do I need to cycle hobbitd? Mike
I have found the hobbit-graph.cfg file. I'm trying to plot the load percentage for the cpu. I have one line that's going in like: status HOST.cpu green 12:00:50 up 7 days, 20:38, 0 users, load average: 20 0 0 Then another line that is: data HOST.cpu 20 I'm wanting the 20 above, 20% of the cpu, to be plotted.
list Buchan Milne
▸
On Monday 25 September 2006 19:45, Mike wrote:
On 2006-09-25, Mike <user-b6f75e481c45@xymon.invalid> wrote:I have hobbit setup and am working on a script to monitor all my platforms (redhat, solaris, irix, tru64, windows, etc). I have the script
which script?
running as a test on my local, windows workstation.
Which client are you using ?
▸
The status seems to be reporting properly from the script through the bb2.html page on to notifications. What I want to see next is a graph of these values. The current value is the simulated one minute load percentage from windows. I know this value is being sent to hobbitd since I'm getting notifications based on the colors (clear/green/yellow/red) I'm sending to hobbitd. Do I need to cycle hobbitd? MikeI have found the hobbit-graph.cfg file.
You shouldn't need to touch anything here.
▸
I'm trying to plot the load percentage for the cpu. I have one line that's going in like: status HOST.cpu green 12:00:50 up 7 days, 20:38, 0 users, load average: 20 0 0 Then another line that is: data HOST.cpu 20 I'm wanting the 20 above, 20% of the cpu, to be plotted.
I have only used the bbwin client for windows (bbwin.sf.net), not the Big Brother NT client. The bbwin client reports CPU usage to hobbit in the correct format for it to be graphed. Please provide some real details of what you are running on this client, if you're not running bbwin. On all the unix hosts, the hobbit client should be used ... Regards, Buchan -- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
list Mike
On 2006-09-26, Buchan Milne <user-9b139aff4dec@xymon.invalid> wrote:
--nextPart1939210.s1LOtCzRWx Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
▸
On Monday 25 September 2006 19:45, Mike wrote:On 2006-09-25, Mike <user-b6f75e481c45@xymon.invalid> wrote:I have hobbit setup and am working on a script to monitor all my platforms (redhat, solaris, irix, tru64, windows, etc). I have the scriptwhich script?
I am in a small development site that has one of many different platforms. I have written a script in tcl that should/will run on all platforms to gather the monitoring data. The tcl script is what I mention above. I'm happy to release my tcl script once it is complete.
running as a test on my local, windows=20 workstation.Which client are you using ?
I am using the tcl script I mention above. I know the script is working as I do get status messages from the tcl client into hobbitd on one of my linux boxes.
The status seems to be reporting properly from=20
▸
the script through the bb2.html page on to notifications. What I want to see next is a graph of these values. The current value is the simulated one minute load percentage from windows. I know this value is being sent to hobbitd since I'm getting notifications based on the colors (clear/green/yellow/red) I'm sending to hobbitd. Do I need to cycle hobbitd? MikeI have found the hobbit-graph.cfg file.You shouldn't need to touch anything here.
I agree, though I do not understand why the graphs are not showing up.
I'm trying to plot the=20
▸
load percentage for the cpu. I have one line that's going in like: status HOST.cpu green 12:00:50 up 7 days, 20:38, 0 users, load average: 20 0 0 Then another line that is: data HOST.cpu 20 I'm wanting the 20 above, 20% of the cpu, to be plotted.
I have only used the bbwin client for windows (bbwin.sf.net), not the Big=20 Brother NT client. The bbwin client reports CPU usage to hobbit in the=20 correct format for it to be graphed.
I like the bbwin on windows, but I want to run the same client everywhere, hence the tcl script.
Please provide some real details of what you are running on this client, if= =20 you're not running bbwin. On all the unix hosts, the hobbit client should b= e=20 used ...
I would like to use the hobbit client, but I do not want to compile the client on every box. Compiling the client on every box is one of the few weaknesses I find in hobbit. The hobbit clients do work on the three boxes where they are used, graphs appear, etc. Status messages, events, etc., do appear on hobbit from my tcl script, but graphs do not. I'm using a recent hobbit, if not the latest. Hobbitd runs on a linux box (fedora core 5). The other two linux boxes are of red hat flavor of different versions. When in full production the client will report the status of irix, hp-ux, solaris, windows xp, windows xp 64-bit, mac os x, dec, etc. I am happy to release my script when it is complete. Mike
list Jason Altrincham Jones
Hi all, Anyone had any luck stopped acknowledged alerts propagating up? If so how? Thanks, Jason
list Larry Barber
Did you try the NOPROPACK tag in bb-hosts? Thanks, Larry Barber
▸
On 9/26/06, Jones, Jason (Altrincham) <user-ee957b46acd2@xymon.invalid> wrote:Hi all, Anyone had any luck stopped acknowledged alerts propagating up? If so how? Thanks, Jason
list Charles Jones
Ironically I have the opposite problem. When I ack an alert on a sub page, the ack does not propogate up to the status on the main page(s). I sent a message about this a week or so ago, and someone else indicated they had the same problem, but thats all that came of it. -Charles
▸
Larry Barber wrote:Did you try the NOPROPACK tag in bb-hosts?
Thanks,
Larry Barber
On 9/26/06, *Jones, Jason (Altrincham)* < user-ee957b46acd2@xymon.invalid <mailto:user-ee957b46acd2@xymon.invalid>> wrote:
Hi all,
Anyone had any luck stopped acknowledged alerts propagating up? If so
how?
Thanks,
Jason
list Dominique Frise
▸
Charles Jones wrote:
Ironically I have the opposite problem. When I ack an alert on a sub page, the ack does not propogate up to the status on the main page(s). I sent a message about this a week or so ago, and someone else indicated they had the same problem, but thats all that came of it. -Charles Larry Barber wrote:Did you try the NOPROPACK tag in bb-hosts? Thanks, Larry Barber On 9/26/06, *Jones, Jason (Altrincham)* < user-ee957b46acd2@xymon.invalid <mailto:user-ee957b46acd2@xymon.invalid>> wrote: Hi all, Anyone had any luck stopped acknowledged alerts propagating up? If so how? Thanks, Jason
I can confirm ;-) Dominique UNIL - University of Lausanne
list Jason Altrincham Jones
How have you set up these subpages? Little embarrassing really I used the noprop stuff to stop yellow message alerts propagating just never thought of looking for the nopropack :( anyways I've used subpage, subparent, alternate pagesets etc. and never had a problem with errors not propagating. Jason.
▸
-----Original Message-----
From: Dominique Frise [mailto:user-78ab6673b600@xymon.invalid]
Sent: 27 September 2006 07:48
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Stop ack'd alerts propagating
Charles Jones wrote:Ironically I have the opposite problem. When I ack an alert on a sub page, the ack does not propogate up to the status on the main page(s).
I
sent a message about this a week or so ago, and someone else indicated
they had the same problem, but thats all that came of it. -Charles Larry Barber wrote:Did you try the NOPROPACK tag in bb-hosts? Thanks, Larry Barber On 9/26/06, *Jones, Jason (Altrincham)* < user-ee957b46acd2@xymon.invalid <mailto:user-ee957b46acd2@xymon.invalid>> wrote: Hi all, Anyone had any luck stopped acknowledged alerts propagating up?
If so
how? Thanks, Jason
I can confirm ;-) Dominique UNIL - University of Lausanne
list Dominique Frise
▸
Jones, Jason (Altrincham) wrote:
How have you set up these subpages? Little embarrassing really I used the noprop stuff to stop yellow message alerts propagating just never thought of looking for the nopropack :( anyways I've used subpage, subparent, alternate pagesets etc. and never had a problem with errors not propagating. Jason. -----Original Message----- From: Dominique Frise [mailto:user-78ab6673b600@xymon.invalid] Sent: 27 September 2006 07:48 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Stop ack'd alerts propagating Charles Jones wrote:Ironically I have the opposite problem. When I ack an alert on a sub page, the ack does not propogate up to the status on the main page(s).Isent a message about this a week or so ago, and someone else indicatedthey had the same problem, but thats all that came of it. -Charles Larry Barber wrote:Did you try the NOPROPACK tag in bb-hosts? Thanks, Larry Barber On 9/26/06, *Jones, Jason (Altrincham)* < user-ee957b46acd2@xymon.invalid <mailto:user-ee957b46acd2@xymon.invalid>> wrote: Hi all, Anyone had any luck stopped acknowledged alerts propagating up?If sohow? Thanks, JasonI can confirm ;-) Dominique UNIL - University of Lausanne
Our layout is pretty simple (no subpages/subparent/alternate pageset): from the main view, we have only on level of pages. # # Main view # # title Unil Services # page unilServAAL AAI, AD, LDAP title Unil Services group-only auth|conn|ldap Unil AAI, AD, LDAP page unilServDNS DNS title Unil Services group-only conn|dns Unil DNS page unilServMail Mail title Unil Services group-only conn|http|imaps|pop3s|smtp|webmail Unil Mail page unilServWeb Web title Unil Services group-only conn|http Unil Web title Academic Services page acadBackupServ Backup # title Academic Services # group-only conn|nsr Backup and so on... An acked red alert from any page (ex. conn test on unilServDNS) is not propagated on the main view (red icon for unilServDNS summary stays unacked) Dominique UNIL - University of Lausanne
list Jason Altrincham Jones
▸
# Main view # # title Unil Services # page unilServAAL AAI, AD, LDAP title Unil Services group-only auth|conn|ldap Unil AAI, AD, LDAP page unilServDNS DNS title Unil Services group-only conn|dns Unil DNS page unilServMail Mail title Unil Services group-only conn|http|imaps|pop3s|smtp|webmail Unil Mail page unilServWeb Web title Unil Services group-only conn|http Unil Web title Academic Services page acadBackupServ Backup # title Academic Services # group-only conn|nsr Backup
and so on...
An acked red alert from any page (ex. conn test on unilServDNS) is not propagated on the main view (red icon for unilServDNS summary stays unacked)
Can you send me a screenshot of your layout? (can of course black out names/IP addresses if you wish) also is this your bb-hosts file?
list Mike
▸
On 2006-09-26, Mike <user-b6f75e481c45@xymon.invalid> wrote:
On 2006-09-26, Buchan Milne <user-9b139aff4dec@xymon.invalid> wrote:--nextPart1939210.s1LOtCzRWx Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 25 September 2006 19:45, Mike wrote:On 2006-09-25, Mike <user-b6f75e481c45@xymon.invalid> wrote:I have hobbit setup and am working on a script to monitor all my platforms (redhat, solaris, irix, tru64, windows, etc). I have the scriptwhich script?I am in a small development site that has one of many different platforms. I have written a script in tcl that should/will run on all platforms to gather the monitoring data. The tcl script is what I mention above. I'm happy to release my tcl script once it is complete.running as a test on my local, windows=20 workstation.Which client are you using ?I am using the tcl script I mention above. I know the script is working as I do get status messages from the tcl client into hobbitd on one of my linux boxes.The status seems to be reporting properly from=20 the script through the bb2.html page on to notifications. What I want to see next is a graph of these values. The current value is the simulated one minute load percentage from windows. I know this value is being sent to hobbitd since I'm getting notifications based on the colors (clear/green/yellow/red) I'm sending to hobbitd. Do I need to cycle hobbitd? MikeI have found the hobbit-graph.cfg file.You shouldn't need to touch anything here.I agree, though I do not understand why the graphs are not showing up.
Seems the data is not making it to rrd. Is there a log file somewhere that might show why the data is not parsed or not making it to rrd? Mike
list Francesco Duranti
The data to be graphed can come also in the status message and not only in data messages. The way you send data I think is wrong, you cannot send more messages in one like it could be done with combo messages of bb you've to send one message at a time and to graph cpu the better think you can do is to see exactly what is sended to hobbit by the client cpu module and send exactly the same thing. For example: If you send a status message that contains: Thu Sep 28 12:04:17 2006 up: 9 days, 19:07 CPU Usage= 78% The cpu rrd module will get the CPU Usage and put the number into the rrd. If you know a bit of C you can check the source in hobbitd/rrd to check what the various rrd modules want to get as data. To get data out of data message and into rrd you also need to define what to get from there via ncv for example. Francesco
▸
-----Original Message----- From: news [mailto:user-6269d477d278@xymon.invalid] On Behalf Of Mike Sent: Wednesday, September 27, 2006 10:06 PM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Re: graphing help please On 2006-09-26, Mike <user-b6f75e481c45@xymon.invalid> wrote:On 2006-09-26, Buchan Milne <user-9b139aff4dec@xymon.invalid> wrote:--nextPart1939210.s1LOtCzRWx Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 25 September 2006 19:45, Mike wrote:On 2006-09-25, Mike <user-b6f75e481c45@xymon.invalid> wrote:I have hobbit setup and am working on a script to monitor all my >>> > platforms (redhat, solaris, irix, tru64, windows, etc). I have the >>> > scriptwhich script?I am in a small development site that has one of many different > platforms. I have written a script in tcl that should/will run on all > platforms to gather the monitoring data. The tcl script is what I > mention above. I'm happy to release my tcl script once it is complete.running as a test on my local, windows=20 workstation.Which client are you using ?I am using the tcl script I mention above. I know the script is > working as I do get status messages from the tcl client into hobbitd > on one of my linux boxes.The status seems to be reporting properly from=20 the script >>> > through the bb2.html page on to notifications. What I want to see >>> > next is a graph of these values. The current value is the >>> > simulated one minute load percentage from windows. I know this value is being sent to hobbitd since I'm getting >>> > notifications based on the colors (clear/green/yellow/red) I'm >>> > sending to hobbitd. Do I need to cycle hobbitd? MikeI have found the hobbit-graph.cfg file.You shouldn't need to touch anything here.I agree, though I do not understand why the graphs are not showing up.Seems the data is not making it to rrd. Is there a log file somewhere that might show why the data is not parsed or not making it to rrd? Mike