Hi,
I have a request for a change for future xymon releases.
First a little more info about our situation and the reason for the request. We currently still are using xymon version 4.2.3. This because we successfully made some adjustments to the source code of that version to allow two new columns to show for linux based servers (For windows machines this is already implemented). It concerns the Timediff and uptime columns, that we split from the cpu column. The reason we made these adjustments (uptime) is because our virtual machines boot really fast and the conn test often doesn't detect any downtime. We then can capture this with the uptime column. (if uptime < 30min => alert) The reason we wanted the timediff column separately is because some machines require correct times and seen that it is combined with the cpu column this could create confusion and doesn't provide an easy overview that we are used from xymon. (Each individual peace of info = separate column)
We are eager to upgrade to the latest xymon release but are unable to make the same adjustments because some functions changed within the source code. (We did try though) We currently also don't have anybody employed who has the necessary indebt knowledge to make these kind of adjustments within the code.
I can provide some more info on the changes that we performed on version 4.2.3 if required.
Please let me know your thoughts. Regards, Jef Jagers
Hi Jef,
On Thu, Oct 11, 2012 at 09:52:26AM +0000, jef.jagers at thomsonreuters.com wrote:
This because we successfully made some adjustments to the source code of that version to allow two new columns to show for linux based servers (For windows machines this is already implemented). It concerns the Timediff and uptime columns, that we split from the cpu column.
Please let me know your thoughts.
please take a look at UP and CLOCK configuration: http://xymon.sourceforge.net/xymon/help/manpages/man5/analysis.cfg.5.html
However, it's not shown in separate columns. This could be achieved by querying the cpu status similar to this...
xymon localhost "xymondboard test=cpu color=red fields=hostname,msg"
... and adding the desired columns for each host:
xymon localhost "status HOSTNAME.clock red"
http://xymon.sourceforge.net/xymon/help/manpages/man1/xymon.1.html
That's not a very nice solution but at least there is no need to modify the source.
Best regards Thomas Kähn
Thomas Kähn Technik, Network Engineering & Design; Content Delivery Platform & IP
NETCOLOGNE Gesellschaft für Telekommunikation mbH Am Coloneum 9 | 50829 Köln
www.netcologne.de
Geschäftsführer: Dr. Hans Konle (Sprecher) Dipl.-Ing. Karl-Heinz Zankel
Vorsitzender des Aufsichtsrates: Dr. Andreas Cerbe
HRB 25580, AG Köln
Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sollten Sie diese Nachricht versehentlich erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon unverzüglich zu informieren und die Nachricht zu löschen. Die E-Mail darf in diesem Fall weder vervielfältigt noch in anderer Weise verwendet werden.
Hi Thomas,
Thanks for the suggestion. Going to take a look at it, this would allow us to move forward.
But I think adjusting the source code would be, in my opinion, the most logical solution. Then it is maintained in newer version also.
Met vriendelijke groeten, Jef Jagers Systems Engineer Thomson CompuMark
Thomson Reuters
-----Original Message----- From: Thomas Kähn [mailto:xymonliste at netcologne.de] Sent: vrijdag, oktober 12, 2012 8:00 To: Jagers, Jef (TR Technology) Cc: xymon at xymon.com Subject: Re: [Xymon] New xymon Feature
Hi Jef,
On Thu, Oct 11, 2012 at 09:52:26AM +0000, jef.jagers at thomsonreuters.com wrote:
This because we successfully made some adjustments to the source code of that version to allow two new columns to show for linux based servers (For windows machines this is already implemented). It concerns the Timediff and uptime columns, that we split from the cpu column.
Please let me know your thoughts.
please take a look at UP and CLOCK configuration: http://xymon.sourceforge.net/xymon/help/manpages/man5/analysis.cfg.5.html
However, it's not shown in separate columns. This could be achieved by querying the cpu status similar to this...
xymon localhost "xymondboard test=cpu color=red fields=hostname,msg"
... and adding the desired columns for each host:
xymon localhost "status HOSTNAME.clock red"
http://xymon.sourceforge.net/xymon/help/manpages/man1/xymon.1.html
That's not a very nice solution but at least there is no need to modify the source.
Best regards Thomas Kähn
Thomas Kähn Technik, Network Engineering & Design; Content Delivery Platform & IP
NETCOLOGNE Gesellschaft für Telekommunikation mbH Am Coloneum 9 | 50829 Köln
www.netcologne.de
Geschäftsführer: Dr. Hans Konle (Sprecher) Dipl.-Ing. Karl-Heinz Zankel
Vorsitzender des Aufsichtsrates: Dr. Andreas Cerbe
HRB 25580, AG Köln
Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sollten Sie diese Nachricht versehentlich erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon unverzüglich zu informieren und die Nachricht zu löschen. Die E-Mail darf in diesem Fall weder vervielfältigt noch in anderer Weise verwendet werden.
On 11 October 2012 20:52, <jef.jagers at thomsonreuters.com> wrote:
This because we successfully made some adjustments to the source code of that version to allow two new columns to show for linux based servers (For windows machines this is already implemented). It concerns the Timediff and uptime columns, that we split from the cpu column.
What you could do is implement this in a script, perhaps launched from tasks.cfg as a channel worker. Something like this:
tasks.cfg: [timediff] ENVFILE /usr/lib/xymon/server/etc/xymonserver.cfg NEEDS xymond CMD xymond_channel --channel=status --filter='\|cpu\|' --log=$XYMONSERVERLOGS/timediff.log timediff.sh
Then in timediff.sh, you just split out the two parameters from what you find, and then create two new status messages for timediff and uptime.
J
Hi Jeremy,
Thanks for the suggestion. Looks good as well. Let me try this one.
Regards, Jef Jagers
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: vrijdag, oktober 12, 2012 8:35 To: Jagers, Jef (TR Technology) Cc: xymon at xymon.com Subject: Re: [Xymon] New xymon Feature
On 11 October 2012 20:52, <jef.jagers at thomsonreuters.com<mailto:jef.jagers at thomsonreuters.com>> wrote:
This because we successfully made some adjustments to the source code of that version to allow two new columns to show for linux based servers (For windows machines this is already implemented). It concerns the Timediff and uptime columns, that we split from the cpu column.
What you could do is implement this in a script, perhaps launched from tasks.cfg as a channel worker. Something like this:
tasks.cfg: [timediff] ENVFILE /usr/lib/xymon/server/etc/xymonserver.cfg NEEDS xymond CMD xymond_channel --channel=status --filter='\|cpu\|' --log=$XYMONSERVERLOGS/timediff.log timediff.sh
Then in timediff.sh, you just split out the two parameters from what you find, and then create two new status messages for timediff and uptime.
J
participants (3)
-
jef.jagers@thomsonreuters.com
-
jlaidman@rebel-it.com.au
-
xymonliste@netcologne.de