My msgs test doesn't work
I put in in my "client-local.cfg":
[hostdemo] log:/var/adm/messages:10240
and
HOST=hostdemo LOG WARNING COLOR=red
in the "hobbit-clients.cfg" file.
I put a "WARNING" in my messages with "echo "WARNING" >" and a logger command but doesnt happends.
In my msgs column this appear: System logs at Thu Feb 15 17:04:43 ART 2007
No entries in /var/adm/messages <http://149.194.61.199:8080/hobbit-cgi/bb-hostsvc.sh?CLIENT=energyfs&SECTION=msgs:/var/adm/messages> Full log /var/adm/messages <http://149.194.61.199:8080/hobbit-cgi/bb-hostsvc.sh?CLIENT=energyfs&SECTION=msgs:/var/adm/messages> WARNING
But never turn to red status.
I have solaris 10 (06/06) sparc platform, the client is also sol10.
I'm betting this is the issue I ran into just yesterday on a FreeBSD box. Try %WARNING, you may also want to put what log you are looking for that WARNING in, just to be safe.
Bill Hart
Burke Corporation
From: Guillermo Castellini [mailto:gcastellini at gmail.com] Sent: Thursday, February 15, 2007 2:12 PM To: hobbit at hswn.dk Subject: [hobbit] My msgs test doesn't work
I put in in my "client-local.cfg":
[hostdemo] log:/var/adm/messages:10240
and
HOST=hostdemo
LOG WARNING COLOR=red
in the "hobbit-clients.cfg" file.
I put a "WARNING" in my messages with "echo "WARNING" >" and a logger command but doesnt happends.
In my msgs column this appear:
System logs at Thu Feb 15 17:04:43 ART 2007
No entries in /var/adm/messages <http://149.194.61.199:8080/hobbit-cgi/bb-hostsvc.sh?CLIENT=energyfs&SEC TION=msgs:/var/adm/messages>
Full log /var/adm/messages <http://149.194.61.199:8080/hobbit-cgi/bb-hostsvc.sh?CLIENT=energyfs&SEC TION=msgs:/var/adm/messages> WARNING But never turn to red status. I have solaris 10 (06/06) sparc platform, the client is also sol10.
participants (2)
-
bill.hart@burkecorp.com
-
gcastellini@gmail.com