________________________________
 Från: Petter Reinholdtsen <[email protected]>
Till: [email protected] 
Skickat: onsdag, 12 december 2012 10:08
Ämne: Re: Sitesummary, munin and nagios
 
[George]
> Thanks,
> 
> That was a nice summary. Maybe it should be added to docs?

Please update the docs. :)
Yeah, I should start to contribute also..

> I tried to make a file called tjener:/etc/sitesummary/nagiosignore
> 
> For now it has only one entry;
> ltspserver00.intern process - dhcpd
> 
> It is owned by root, but readable to all.
>
> That, as I understand it, should make sitesummary to ignore the
> dhcpd service on ltspserver00? Its supposed to be created on main
> server (tjener) not ltspserver00?

Looks correct to me.

> But nothing happens. Still nagios complains about dhcpd on
> ltspserver00 not running (which is correct by the way, just want to
> get rid of the warning).

Did you run sitesummary-update-nagios to activate the change?
Noop, but I did now..

Did you verify that the "process - dhcpd" is identical to the check name in
Nagios?

In sitesummary-nagios-generated.cfg that service looks like this;

define service {
    use                              server-service;
    host_name                  lstpserver00
    service_description    process - dhcpd
    check_command        check_nrpe!check_procs_dhcpd -a 1:15 1:25
}

So its identical with the service_description, but not with the check_command

Is this correct?


> Are there any other way to control what entries sitesummary ads to
> /var/lib/sitesummare/nagios-generated.cfg?

Not at the moment, no.

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to