Notification error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Notification error

Post by sarfarosh »

Hello Guys,
I am not able to get proper Notification through Mail if any alerts it triggered , the notification that i get looks like

Code: Select all

    From: 
    Sent: Tuesday, May 28, 2013 9:59 AM
    To: 
    Subject: PROBLEM Service Alert - BHIL-4-ASIFNG-HASAN-202.14/$ is $

     

    ***** Nagios XI Alert *****

    Nagios has detected a problem with this service.

    Notification Type: PROBLEM

    Service: $
    Host: BHIL-4-ASIFNG-HASAN-202.14
    Address: 172.16.202.14
    State: $
    Info:
    $
    Date/Time: 2013-05-28 09:59:07

    Respond: http://123.176.37.155/nagiosxi//rr.php?uid=49--1-ecf775975c7dd5ebe7959e1305445e49
    Nagios URL: http://123.176.37.155/nagiosxi/

 

Mine templet in notification management is

Host Alert Message:

Code: Select all

***** Nagios XI Alert *****

%alertsummary%

Notification Type: %type%
Host: %host%
State: %hoststate%
Address: %hostaddress%
Info: %hostoutput%
Date/Time: %datetime%

Respond: %responseurl%
Nagios URL: %xiserverurl%
Service Alert Message:

Code: Select all

***** Nagios XI Alert *****

%alertsummary%

Notification Type: %type%

Service: %service%
Host: %host%
Address: %hostaddress%
State: %servicestate%
Info:
%serviceoutput%
Date/Time: %datetime%

Respond: %responseurl%
Nagios URL: %xiserverurl%
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Notification error

Post by abrist »

What handlers do you have set for the contact in question?
Go to --> configure --> core config manager --> contacts --> click the contact in the question --> click alert settings tab.
What commands are selected for each of the: "Manage host notification commands" and "Manage service notification commands" ?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Re: Notification error

Post by sarfarosh »

Abrist
Below are the Handler command assigned to the Contact in alert setting for service Notification

Code: Select all

notify-host-by-email

notify-service-by-email

process-host-perfdata-file-pnp-bulk

process-host-perfdata-pnp-normal

process-service-perfdata-file-bulk

process-service-perfdata-file-pnp-bulk

process-service-perfdata-pnp-normal

xi_host_event_handler

xi_host_notification_handler

xi_service_event_handler

xi_service_notification_handler


Now only available command is

Code: Select all

check_none
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Notification error

Post by abrist »

This probably your issue. The contact should only have 1 notification command, and you are most likely receiving these '$' emails from setting a service handler on for a host command and vice versa.
For "manage host notification commands", only set:

Code: Select all

xi_host_notification_handler
For "manage service notification commands", only set:

Code: Select all

xi_service_notification_handler
Remove the others, save, and then "apply configuration".
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked