[Xymon] IGNORE ignored

Phil Crooker Phil.Crooker at orix.com.au
Tue Jun 4 01:35:48 CEST 2013


I've found the quotes to be problematic. Try escaping each space, or truncating the string:
 
LOG=/var/adm/messages IGNORE=terminal-device\ not\ specifiedby\ login
 
or
 
LOG=/var/adm/messages IGNORE=terminal-device.*login
 
These are a pain....


>>> On 1/06/2013 at 2:04 AM, in message <CAA9hN5MoP-+=BOS7wnjrD06bk7cK7W5fFmbHzG3d_etk_hD4iQ at mail.gmail.com>, Nick Pettefar <Nick at Pettefar.com> wrote:

In the server/etc/analysis.cfg file I have the following:

HOST=ourserver1
LOG=/var/adm/messages IGNORE="%terminal-device not specifiedby login%"
# LOG=/var/adm/messages IGNORE="terminal-device not specifiedby login"


I want to ignore messages containing the string "terminal-device not specifiedby login"

May 31 17:22:53 ourserver1 bpjava-msvc[7112]: [ID 427199 user.error] pam_dial_auth: terminal-device not specifiedby login, returning Error in underlying service module.
Unfortunately it doesn't work.

From: system user for Xymon
Subject: Xymon [214797] ourserver1-ge1:msgs CRITICAL (RED)

red Wed May 29 12:52:59 IST 2013 - System logs NOT ok

&red Critical entries in <a href="/xymon-cgi/svcstatus.sh?
CLIENT=ourserver1&SECTION=msgs:/var/adm/messages">/var/adm/messages</a>
&red May 29 12:51:56 ourserver1 bpjava-msvc[12541]: [ID 427199 user.error] pam_dial_auth: terminal-device not specifiedby login, returning Error in underlying service module.
&red May 29 12:51:56 ourserver1 bpjava-msvc[12541]: [ID 427199 user.error] pam_dial_auth: terminal-device not specifiedby login, returning Error in underlying service module.

<pre>
</pre>
<pre>
</pre>
<pre>
</pre>

What am I doing wrong?

Regards,

Nick Pettefar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130604/aeecb665/attachment.html>


More information about the Xymon mailing list