An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170130/6cf79fc2/attachment.html>
The disk warning levels are adjusted in the server, not the client. They should go in files in the subfolder $XYMONHOME/analysis.d, which on my server would be /etc/xymon/analysis.d.
Unless it’s a custom written test that executes on the client all adjustments are made on the server. The client forwards all the information about its status to the server, the server is responsible for parsing the information sent by the client and deciding the status of each test.
Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate One La-Z-Boy Drive | Monroe, Michigan 48162 | Office: 734-384-6403 | | Mobile: 7349151444 | Email: Scot.Kreienkamp at la-z-boy.com From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Kris Springer Sent: Monday, January 30, 2017 4:12 PM To: xymon at xymon.com Subject: [Xymon] linux client disk warning levels
I've got some linux clients set up and I'd like to adjust the disk warning levels, but I can't seem to get any custom settings to work. There's settings in the /etc/xymon/localclient.cfg file, but editing the defaults does nothing. In that file it specifies that I need to add --local to the xymonclient.sh command found in the /etc/xymon/cllientlaunch.cfg file, but when I do that the client goes purple. So I looked in the /etc/xymon/localclient.cfg file again and added a HOST= line as well as the custom disk levels I want, but that doesn't change anything. I should also note that I'm restarting the xymon-client service after each change to make sure it's applying it.
Can someone give me a clue as to how to make this seemingly simple adjustment on my client? Or is there a way to define the disk levels in my server's hosts file for this client?
Thanks. Kris Springer
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
You would normally put warning levels in the server/etc/analysis.cfg file, or in individual files in server/etc/analysis.d. The server breaks the [df] section out of the client report and applies the warning and panic levels to each partition.
Ralph Mitchell
On Mon, Jan 30, 2017 at 4:12 PM, Kris Springer <kspringer at innovateteam.com> wrote:
I've got some linux clients set up and I'd like to adjust the disk warning levels, but I can't seem to get any custom settings to work. There's settings in the /etc/xymon/localclient.cfg file, but editing the defaults does nothing. In that file it specifies that I need to add --local to the xymonclient.sh command found in the /etc/xymon/cllientlaunch.cfg file, but when I do that the client goes purple. So I looked in the /etc/xymon/localclient.cfg file again and added a HOST= line as well as the custom disk levels I want, but that doesn't change anything. I should also note that I'm restarting the xymon-client service after each change to make sure it's applying it.
Can someone give me a clue as to how to make this seemingly simple adjustment on my client? Or is there a way to define the disk levels in my server's hosts file for this client?
Thanks. Kris Springer
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170130/dface754/attachment.html>
Hi Kris,
believe me, it’s always better to write settings on server side instead of client side.
And, for windows clients, I strongly suggest you to switch to the Zak’s great powershell client, you can get out from svn
"svn checkout http://svn.code.sf.net/p/xymon/code/sandbox/WinPSClient ."
This behaves more like a linux client, and that’s cool
Alessandro
Da: Xymon [mailto:xymon-bounces at xymon.com] Per conto di Kris Springer
Understood about the server doing the deciphering of the client data. Strange that the Windows clients are easily adjusted on the client end.
I don't have an analysis.d folder. I think I'll just add the custom levels into the analysis.cfg file and see what happens.
participants (4)
-
Alessandro.Tinivelli@faacgroup.com
-
kspringer@innovateteam.com
-
ralphmitchell@gmail.com
-
Scot.Kreienkamp@la-z-boy.com