[Xymon] for one hp-ux server override CLASS=hp-ux in analysis.cfg

Torsten Richter bb4 at richter-it.net
Wed Aug 17 19:43:17 CEST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Bakkies,

just add an EXHOST statement to the CLASS line like:

CLASS=hp-ux EXHOST=appletree

This should work.

Regards
Torsten

On 17.08.2016 18:52, Bakkies Gatvol wrote:
> I am running 4-3-23
> 
> -rwxr-xr-x 1 xymondev1 xymondevg 658688 Nov 13  2015 /xymondev/src/4-3
- -23/xymon-4.3.23/xymond/xymond
> 
> 
> in
> 
> analysis.cfg I have
> 
> 
> 
> 
> CLASS=hp-ux
>         DISK /cdrom IGNORE
>         DISK  * 101 102
>         PROC cron
>         PROC sshd 1
>         PROC /usr/sbin/xntpd
>         FILE /home/perfman/perfman red MODE=755
>         FILE /sysadm/xymon red MODE=777
>         FILE /var/adm/syslog/syslog.log red MODE=644
>         LOG /var/adm/syslog/syslog.log %CRIT|SERIOUS|EMERG
> 
> 
> 
> Now I have to monitor a new client hp-ux box that does not run sshd or
 /usr/sbin/xntpd
> 
> 
> 
> on the new client hp-ux box  ( os = > B.11.31  ) I am running an old h
obbit client, because it is all I can find to run. I am not in a positio
n to compile.
> 
> 
> I tried to override by adding above the class in analysis.cfg
> 
> 
> 
> HOST=appletree
>         PROC postgres
>         PROC /usr/sbin/xntpd 0 1
> 
> 
> 
> CLASS=hp-ux
>         DISK /cdrom IGNORE
>         DISK  * 101 102
>         PROC cron
>         PROC sshd 1
>         PROC /usr/sbin/xntpd
>         FILE /home/perfman/perfman red MODE=755
>         FILE /sysadm/xymon red MODE=777
>         FILE /var/adm/syslog/syslog.log red MODE=644
>         LOG /var/adm/syslog/syslog.log %CRIT|SERIOUS|EMERG
> 
> 
> 
> that gives me a green line for PROC /usr/sbin/xntpd 0 1
> 
> and a red line for PROC /usr/sbin/xntpd
> 
> 
> which still gets me a red status
> 
> 
> I am out of ideas.
> 
> 
> Please somebody help.
> 
> 
> Thank you
> 
> 
> bakgat
> 
> 
> 
> 
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
> 

- -- 
+---------------------------------------------------------+
| E-mail  : bb4 [at] richter-it.net			  |
|							  |
| Homepage: http://www.richter-it.net/			  |
+---------------------------------------------------------+
Download my public key from:
http://keys.gnupg.net/pks/lookup?search=0x899093AC&op=get
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAle0ojUACgkQ7DlmxomQk6wgnwCeK3l88Kjw3jyF2m1H6zfZxg/f
WW8AoJkQMYb5Rqodp4/8g5FqUkAKMwaK
=X45O
-----END PGP SIGNATURE-----



More information about the Xymon mailing list