cancel
Showing results for 
Search instead for 
Did you mean: 

Host Checker - Differentiate between Linux & Mac OS

Highlighted
Not applicable

Host Checker - Differentiate between Linux & Mac OS

Hi,

 

I'm trying to write different host-checker policies for Windows, Mac's & Linux devices.

The difference between the Windows and Unix-based devices isn't a big problem (using an earlier helpful post for this; look for any process on Windows, look for the /tmp/* dir on Linux/Mac) The problem comes in to differentiate between Mac OS and Linux, as they're both quite similar. I'm looking for this as I'd like to offer the Pulse client to the Mac users, and the NC client to Linux users.

 

Does anyone have any idea on how to clearly differentiate between these two?

 

Many thanks,

 

Alex

3 REPLIES 3
Highlighted
Frequent Contributor

Re: Host Checker - Differentiate between Linux & Mac OS

Try the useragent string, it can be spoofed but in this case it shouldn't matter..

Highlighted
Respected Contributor

Re: Host Checker - Differentiate between Linux & Mac OS

Look for finder for the macs or safari
Highlighted
New Contributor

Re: Host Checker - Differentiate between Linux & Mac OS

I have done some searching and derived the following hostchecker policies. Not sure if someone has a better idea.

Linux
------------
Process:
init

File:
/etc/crontab
/boot/vmlinuz*


Mac OS X
----------------
Process:
SystemUIServer
Dock

File:
/Applications/Preview.app
/Applications/System Preferences.app