Macro values don't seem to be consistent

Claudio Kuenzler ck at claudiokuenzler.com
Mon Jul 11 17:14:03 CEST 2011


This particular one:

define service{
        use                     normal-service-trading
        host_name               server14
        service_description     Service Check
        check_command           check_nrpe!proxy_bs_connections
        }

So there's no alias entry either.

It's the very first time that this happens, and it continues. The service is
still down (in maintenance) but Nagios continues to send the notification
with a wrong HOSTALIAS.

On Mon, Jul 11, 2011 at 4:50 PM, Terry Carmen <terry at cnysupport.com> wrote:

> Quoting Claudio Kuenzler <ck at claudiokuenzler.com>:
>
> > Hello,
> >
> > Since today I have almost the same problem as Jim.
> > The $HOSTALIAS$ macro works fine for all the checks, except one host
> alias
> > is wrong. I got aware of it today.
> >
> > Same version as Jim's, 3.2.3, compiled from source as well.
> >
> > Host config:
> >
> > define host{
> >         use                     linux-platform-demo     ; Name of host
> > template to use
> >                                                         ; This host
> > definition will inherit all variables that are defined
> >                                                         ; in (or
> inherited
> > by) the linux-server host template definition.
> >         host_name               server14
> >         alias                   SERVER14-RANDOMDEMO
> >         address                 192.168.0.14
> >         }
> >
>
> What does your service definition look like?
>
> Terry
>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110711/e90c45f6/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list