Nagios Admin pages

Grant Lowe glowe at sbcglobal.net
Wed Dec 17 20:27:40 CET 2008


The only two definitions that I have for nagiosadmin are these:

define contact{
        contact_name                    nagiosadmin                     ; Short name of user
        use                             generic-contact         ; Inherit default values from generic-contact template (defined above)
        alias                           Nagios Admin            ; Full name of user

        email                           glowe at sbcglobal.net
        }
and 

define contactgroup{
        contactgroup_name       admins
        alias                   Nagios Administrators
        members                 nagiosadmin
        }




----- Original Message ----
From: Seth Simmons <ssimmons at cymfony.com>
To: Grant Lowe <glowe at sbcglobal.net>; nagios-user Mailinglist <nagios-users at lists.sourceforge.net>
Sent: Wednesday, December 17, 2008 9:07:07 AM
Subject: RE: [Nagios-users] Nagios Admin pages

Does your service/host checks have nagiosadmin either defined as a
contact or part of a contact group?


-----Original Message-----
From: Grant Lowe [mailto:glowe at sbcglobal.net] 
Sent: Wednesday, December 17, 2008 10:24 AM
To: Seth Simmons; nagios-user Mailinglist
Subject: Re: [Nagios-users] Nagios Admin pages

Hi Seth,

I understand it better now.  Thanks.  But I'm still getting the
notifications as nagiosadmin.  Any more ideas?

grant

----- Original Message ----
From: Seth Simmons <ssimmons at cymfony.com>
To: Grant Lowe <glowe at sbcglobal.net>; nagios-user Mailinglist
<nagios-users at lists.sourceforge.net>
Sent: Tuesday, December 16, 2008 11:01:23 AM
Subject: RE: [Nagios-users] Nagios Admin pages

It's the other way around (assuming I'm understanding the question
correctly).

If you have a host defined and you tell it to use the generic-host
template and define a different parameter for that specific host, that
takes precedence.
For example, here is your generic-host template and a defined host.

define host{
        name                            generic-host
        notifications_enabled           1          
        event_handler_enabled           1          
        flap_detection_enabled          1          
        failure_prediction_enabled      1          
        process_perf_data               1          
        retain_status_information       1          
        retain_nonstatus_information    1          
    notification_period        24x7        
        register                        0
        }

define host{
    name                redhatserver
    use                generic-host
    notifications_enabled    0
    }

With the above host, it has notifications disabled; if that wasn't
defined for that host, it would use the value in the template.
Same applies for services.


-----Original Message-----
From: Grant Lowe [mailto:glowe at sbcglobal.net] 
Sent: Tuesday, December 16, 2008 1:32 PM
To: Seth Simmons; nagios-user Mailinglist
Subject: Re: [Nagios-users] Nagios Admin pages

Hi Seth,

Thanks for the link.  I've looked more closely at the definitions, and
it looks like since I have the "generic" service that I'm using that
comes stalk with Nagios, that's what I'm using.  That's what I'm
guessing anyway.  This begets a question.  If the other service
definitions "inherit" from the "generic" definition, it seems that the
"generic" service is the one that gets used, and has priority, not the
"inherited" one.  Is that correct?



----- Original Message ----
From: Seth Simmons <ssimmons at cymfony.com>
To: Grant Lowe <glowe at sbcglobal.net>; nagios-user Mailinglist
<nagios-users at lists.sourceforge.net>
Sent: Tuesday, December 16, 2008 9:08:21 AM
Subject: RE: [Nagios-users] Nagios Admin pages

start here

http://nagios.sourceforge.net/docs/3_0/notifications.html


-----Original Message-----
From: Grant Lowe [mailto:glowe at sbcglobal.net] 
Sent: Tuesday, December 16, 2008 11:51 AM
To: nagios-user Mailinglist
Subject: [Nagios-users] Nagios Admin pages

Hi All,

How do I get nagiosadmin to stop receiving notifications that the other
admins get?  For example, the Windows guys get some that I don't need to
get.

Thanks for any pointers.


------------------------------------------------------------------------
------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
_______________________________________________
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


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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