[Xymon] both SPARC and x86 Solaris clients?

Richard L. Hamilton rlhamil2 at gmail.com
Fri Nov 7 21:24:25 CET 2014


How best to tell apart Solaris sparc vs x86 in client-local.cfg (for the clientversion especially, so suitable tar file can be chosen)?

One possibility: modify runclient.sh to use uname -sp (lowercased, and with space converted to dash),
which would come out as sunos-sparc or sunos-i386 (which is the end result I’d like)

another: use the —class= argument to runclient.sh  (although that would have to be referenced as a class in client-local.cfg), and means modifying the startup, which may vary before Solaris 10 vs at or after Solaris 10)

another: set SERVEROSTYPE in xymonclient.cfg on Solaris (sparc and x86) as above

Doubtless other possibilities too, but if anyone is dealing with this already, what are they doing?  Comparably, what will happen when a bunch of Linux-on-ARM hit the data centers? :-)




More information about the Xymon mailing list