Not getting notifications with NAGIOS XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
desmondlewissmith
Posts: 21
Joined: Wed Jul 27, 2011 2:19 pm
Location: Richardson, TX
Contact:

Not getting notifications with NAGIOS XI

Post by desmondlewissmith »

I setup a LINUX server with 15 services checked.

/var disk space check is setup with Send a notification immediately.

Send alert notifications to… Myself is checked no contacts and no contact groups are checked.

When this partition went to 100% full, the State history does not show the event (happened in the last 24 hrs) and I did not get an email for this alert.

If I look at Nagios Core Config Manager for this same /var check service under the Alert Settings tab, Notifications Enabed is on and Manage Contacts has me (myself) listed and Manage Contact Groups has nothing listed.

I'm trying to figure out why it is that I am not getting notifications.
Plan B is to make Plan A work.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Not getting notifications with NAGIOS XI

Post by slansing »

Can you share your service definition and command definition that is being used?
desmondlewissmith
Posts: 21
Joined: Wed Jul 27, 2011 2:19 pm
Location: Richardson, TX
Contact:

Re: Not getting notifications with NAGIOS XI

Post by desmondlewissmith »

define service {
host_name caisisapp-dev1-16
service_description /var Disk Space
use generic-service
check_command check_xi_by_ssh! -C "/users/tmugrage/usr/local/nagios/libexec/check_disk /var" -l tmugrage -E!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
first_notification_delay 0
notification_period xi_timeperiod_24x7
notification_options w,c,u,r,f,s,
notifications_enabled 1
contacts tmugrage
_xiwizard sshproxy
register 1
}
Plan B is to make Plan A work.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Not getting notifications with NAGIOS XI

Post by slansing »

You will need to have a host address specified for your check and also a properly defined check command and warning and critical thresholds set up on your service check. In addiction, the contact that is defined here is "tmugrage."

I would review this page first:

http://assets.nagios.com/downloads/nagi ... ng_SSH.pdf

Did you use the wizard to set this up? It appears as though you did but missed a few things.
desmondlewissmith
Posts: 21
Joined: Wed Jul 27, 2011 2:19 pm
Location: Richardson, TX
Contact:

Re: Not getting notifications with NAGIOS XI

Post by desmondlewissmith »

The notification was setup aulomatically when I ran the SSH wizard. Not sure what you mean by missing a step.

The contact that's defince as tmugrage was me (co-worker) running SSH as a different user because I cannot use the nagios user that environment due to policies. (hence the -l)
Plan B is to make Plan A work.
jwu
Posts: 81
Joined: Wed Jul 24, 2013 2:54 pm

Re: Not getting notifications with NAGIOS XI

Post by jwu »

is the emailing notification setup?
you might want to see if your email alerts are setup?
send yourself a test mail to start
cstg-infra
Posts: 14
Joined: Thu Aug 29, 2013 10:15 am
Location: Ohio
Contact:

Re: Not getting notifications with NAGIOS XI

Post by cstg-infra »

jwu wrote:is the emailing notification setup?
you might want to see if your email alerts are setup?
send yourself a test mail to start
Are you saying send a test notification from the service check itself? As in the Send Custom Notification command? This has been tested and does not work.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Not getting notifications with NAGIOS XI

Post by lmiltchev »

Is "tmugrage" a Nagios XI user or a "contact only". Can you post the contact's definition?
Be sure to check out our Knowledgebase for helpful articles and solutions!
desmondlewissmith
Posts: 21
Joined: Wed Jul 27, 2011 2:19 pm
Location: Richardson, TX
Contact:

Re: Not getting notifications with NAGIOS XI

Post by desmondlewissmith »

tmugrage is one of the NAGIOS admins. He's actually on this thread now as well. He's one of our sysadmins.
Plan B is to make Plan A work.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Not getting notifications with NAGIOS XI

Post by slansing »

Can you post the contact's definition?
Locked