Struggling with Service Definitions without Hostgroups

Lars Stavholm stava at telcotec.se
Wed Mar 14 08:03:08 CET 2007


Brian E. Seppanen wrote:
> I'm a long time netsaint/nagios user.  At this time I'm still running 1.x 
> version 1.4.1.  I'm trying to make the migration to nagios-2.8, but I'm 
> struggling with object definitions for services in 2.x.  in 1.x I define 
> hostgroups with member hosts.  In the service definition I tie the 
> hostgroup to the service.  Easy binding of large numbers of hosts to a 
> single service, keeping the config sane.  I have ten distributed nagios 
> hosts with several hundred hosts and thousands of service checks, so I 
> cannot believe that services need to be defined on an individual basis for 
> hosts, so I'm assuming that I'm missing something fundamental to 2.x.
> 
> If I have 2500 current services, am I to understand that I 
> need to define 2500 different services?   There has to be a short hand 
> method for this that I'm missing.    Can someone point me to a best 
> practice that they've been able to implement in 2.x that will allow large 
> numbers of services to be defined in a minimally managed scenario.
> 
> Any suggestions appreciated.  thanks for your time.

Maybe: <http://nagios.sourceforge.net/docs/2_0/templatetricks.html>.

/L

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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