<HTML>
<HEAD>
<TITLE>Re: [Xymon] Clients not loading custom client-local.cfg values</TITLE>
</HEAD>
<BODY>
<FONT FACE="Arial"><SPAN STYLE='font-size:11pt'>These are very helpful suggestions to use for troubleshooting. The “client data” page was showing something like<BR>
    [collector:]<BR>
    client server,name,ems,com.linux linux<BR>
<BR>
Which was clearly not respecting the “--class=suse-srvs” that was being applied to the startup script. <BR>
<BR>
I’ve tried starting the client now with:  “./runclient.sh --os=suse-srvs start” which does adjust the OS value reported accordingly, but as there isn’t a “xymonclient-suse-srvs.sh” script the msgs just pile up in the ./tmp/ and are never delivered to the server. <BR>
<BR>
Any other thoughts or suggestions are welcomed.<BR>
<BR>
-- <BR>
Thanks,<BR>
Josh Bradley<BR>
<BR>
<BR>
<B>From: </B>Jeremy Laidman <<a href="jlaidman@rebel-it.com.au">jlaidman@rebel-it.com.au</a>><BR>
<B>Date: </B>Wed, 2 May 2012 12:06:40 +1000<BR>
<B>To: </B>Joshua Bradley <<a href="jbradley@ems.com">jbradley@ems.com</a>><BR>
<B>Cc: </B><<a href="xymon@xymon.com">xymon@xymon.com</a>><BR>
<B>Subject: </B>Re: [Xymon] Clients not loading custom client-local.cfg values<BR>
<BR>
What does your "client data" page show as your config class?  It's the last word of the first line in the [collector:] section.<BR>
<BR>
I note that you show "-class" set to "suse-srv" but your client-local.cfg entry set to "suse-srvs" instead.  Was that a typo in your email, or in your configuration?<BR>
<BR>
Also, the "--class" suffix has two dashes, and you listed only one.<BR>
<BR>
Also, after changes to client-local.cfg, you might need to kill the "xymond" process (it should restart automatically) to have the changes take effect.<BR>
<BR>
It should work for you.  The man page for client-local.cfg states that only the hostname and OS name are used when matching the relevant section, and doesn't mention the config class.  Despite this, I see posts indicating that people are using this.  Indeed Henrik has said that it's actually the class that's matched, and the class defaults to the OS type.  I think the doco needs updating in this regard.<BR>
<BR>
On Wed, May 2, 2012 at 3:37 AM, Bradley, Joshua E. <<FONT COLOR="#0000FF"><U><a href="jbradley@ems.com">jbradley@ems.com</a></U></FONT>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Courier New"><SPAN STYLE='font-size:10pt'>Greetings,<BR>
<BR>
We have a variety of servers in our environment which we’re looking to monitor with Xymon. I’ve recently built a Xymon server 4.3.7 and compiled some clients on our SUSE 9 machines. When running the clients they only seem to match the entries in the client-local.cfg file on the server for [linux] and not the custom entries which I created [suse-srvs]. I’ve tried launching the client with with —class=suse-srv but to no avail. I feel like I’m missing something, can anyone give me some feedback?<BR>
<FONT COLOR="#888888"><BR>
<BR>
-- <BR>
Thanks,<BR>
Josh Bradley<BR>
</FONT></SPAN></FONT></FONT><FONT COLOR="#888888"><FONT FACE="Arial"><SPAN STYLE='font-size:11pt'><BR>
<B>This message is a PRIVATE communication. If you are not the intended recipient, please do not read, copy, use, or disclose to others. If you have received this message in error, please reply to sender and delete this message from your system. Thank you. <BR>
</B></SPAN></FONT></FONT><FONT FACE="Arial"><SPAN STYLE='font-size:11pt'><BR>
_______________________________________________<BR>
Xymon mailing list<BR>
<FONT COLOR="#0000FF"><U><a href="Xymon@xymon.com">Xymon@xymon.com</a><BR>
<a href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a><BR>
</U></FONT><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>


<HTML><BODY><P><hr size=1></P>
<P><STRONG>
This message is a PRIVATE communication. If you are not the intended recipient, please do not read, copy, use, or disclose to others. If you have received this message in error, please reply to sender and delete this message from your system. Thank you. 

</STRONG></P></BODY></HTML>