workstations
Carroll, Jim P [Contractor]
jcarro10 at sprintspectrum.com
Fri Feb 7 20:29:12 CET 2003
I did a major push of new service definitions to 50+ hosts last night.
We're now monitoring 127 hosts, 1777 services. And a *lot* of
servicedependencies.
For starters, I'm using the cfg_dir directive in nagios.cfg. Then for each
host out there, I have a file (eg, host fizzgig would have the filename
fizzgig.cfg). Within that file exists the host definition and all the
service definitions.
I created a template file containing the services I wanted to add to all
these hosts, but with "XXXXXXXX" instead of any particular hostname. Then
with a bit of some shell scripting, using a 'for' loop and 'sed', I was able
to massage then append to all the files I was interested in.
This definitely cut down on the keystrokes and the 'oops' factor.
Not sure if this was what you were asking....
jc
> -----Original Message-----
> From: Tom DE BLENDE [mailto:tdeblend at gcc.dhl.com]
> Sent: Friday, February 07, 2003 9:05 AM
> To: Potter G M (Greg)
> Cc: Don Schultz; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] workstations
>
>
> I imagine you don't have a large environment then? And if you do
> (let's say 500+ users), how do you add all this data into Nagios?
>
> An interesting thread.
>
> "Potter, G M (Greg)" wrote:
> >
> > We watch our workstations. It is helpful to know if your users
> > are having a problem before you get the call. Often I can be in the
> > office of a client with a down workstation and fix the
> problem before
> > they know they have one. That improves PR and customer
> satisfaction.
> >
> > Greg
> >
> > > -----Original Message-----
> > > From: Don Schultz [mailto:don_schultz at panvera.com]
> > > Sent: Thursday, February 06, 2003 5:39 PM
> > > To: nagios-users at lists.sourceforge.net
> > > Subject: [Nagios-users] workstations
> > >
> > >
> > > Are any of you checking workstations? Just asking for fun
> to see if
> > > anyone is.
> > > Thanks,
> > >
> > > --
> > > Don Schultz | Panvera Corporation
> > > Unix Administrator | 501 Charmany Drive
> > > ph: 608.204.5060 | Madison, WI 53719
> > > fax: 608.204.5061 |
> > > ------------------------------------------
> > > pgp: B0 F8 40 8F 66 E2 3B CF 5B BE F4 8C
> > > F8 75 25 B9 04 AF 67 A3
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.NET email is sponsored by:
> > > SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See!
> > > http://www.vasoftware.com
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > >
> >
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> > http://www.vasoftware.com
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
More information about the Users
mailing list