NagMIN / Nagios Templates
Fred Reimers
FReimers at infosysinc.com
Fri Mar 28 20:14:59 CET 2003
Dan,
I know that there are a number of different ways of doing things in Nagios. I don't see a need to support all of them. Part of the problem with administering Nagios is that there's no consistency to the configuration between engineers. I'm trying to get NagMIN automated to the point that a Tier1 level support person can make basic changes. To that end, I'm purposefully simplifying things through enhancement and elimination.
I don't see any need to support templates that are also hosts, contacts or services. In my opinion, it's confusing at best and adds no value to NagMIN. This may have eased some configuration burdens in the past when editing the files directly. I think the Service Group or Port Scan features of NagMIN make more sense.
My eventual goal with NagMIN is to minimize having to manually configure services at all. It just doesn't scale well. Like I mentioned earlier, I have one service defined and am
using 15 of 44 templates. In one instance, I'm monitoring 344 services using PortScan and Service Groups for 72 hosts.
If you need to do embedded service templates like this for special cases, you can still create Nagios configuration files and add them to nagios.cfg. You can edit them from NagMIN.
Fred
-----Original Message-----
From: Dan Rich [mailto:drich at employees.org]
Sent: Friday, March 28, 2003 1:32 PM
To: Fred Reimers
Subject: Re: Contact Templates
Fred Reimers said:
> Dan,
>
> I didn't know you could create contact templates!! I'll add the table in
> tonight. This will help with some other stuff I'm trying to automate.
I think you're going to have problems down the road though if you keep
differentiating between templates and the defined data. There's nothing to
stop me from defining lots of templates and building them together as I go.
For example, the following is a valid config:
define service{
name test-24x7
use generic-service
notification_period 24x7
register 0
}
define service{
name test-wcr
use test-24x7
notification_options w,c,r
register 0
}
define service{
name ssh-test-service
use test-wcr
service_description SSH
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups smallservers-admin-admins
notification_interval 120
notification_period 24x7
notification_options w,c,r
check_command check_ssh
register 0
}
define service
use ssh-test-service
host_name myhost
contact_groups test
}
.....
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
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