Hi list,

I've imported a nagios config from my work for testing purpose and I see the
load used during startup and also during run is quite "high" (but seeing the
number of services it's still acceptable I guess);

so fyi:


nb: first I've met apparently a bug with shinken:

Warning The service 'PING' in the host '*' do not have contacts nor
contact_groups
The service 'PING' got a unknown host_name '*'.

here is the related config:

define hostgroup {
        hostgroup_name  ping-servers
                alias           Pingable servers
                members         *
        }
define service {
        hostgroup_name                  ping-servers
        service_description             PING
check_command                   check_ping!1000.0,30%!5000.0,70%
        use                             generic-service
notification_interval           0 ; set > 0 if you want to be renotified
}

I've temporary work arround it by commenting the 'members' line.

after that the config loads ok :

Checking global parameters...
*Checking hosts...*
*        Checked 368 hosts*
Checking hostgroups...
        Checked 12 hostgroups
Checking contacts...
        Checked 4 contacts
Checking contactgroups...
        Checked 4 contactgroups
Checking notificationways...
        Checked 4 notificationways
Checking escalations...
        Checked 1 escalations
*Checking services...*
*        Checked 4895 services*
Checking servicegroups...
        Checked 3 servicegroups
Checking timeperiods...
        Checked 10 timeperiods
Checking servicedependencies...
        Checked 0 servicedependencies
Checking hostdependencies...
        Checked 0 hostdependencies
Checking arbiterlinks...
        Checked 2 arbiterlinks
Checking schedulerlinks...
        Checked 2 schedulerlinks
Checking reactionners...
        Checked 1 reactionners
Checking pollers...
        Checked 1 pollers
Checking brokers...
        Checked 1 brokers
Checking receivers...
        Checked 0 receivers
Checking resultmodulations...
        Checked 1 resultmodulations
Checking discoveryrules...
        Checked 0 discoveryrules
Checking discoveryruns...
        Checked 0 discoveryruns
Cutting the hosts and services into parts
Creating packs for realms
Number of hosts in the realm All : 342
Things look okay - No serious problems were detected during the pre-flight
check
Configuration Loaded
stale pidfile exists (pid=12968 not exists).  reusing it.
Successfully changed to workdir: /home/greg
Redirecting stdout and stderr as necessary..


so it already loads correctly, very good (but it's quite long to load
because all the services are splitted in the number of files basically ; not
sure if having all them grouped in one file would really give better load
speed.


But I see in broker logs:

SERVICE ALERT: debian002;Disk Sharedmemory;CRITICAL;SOFT;2;/bin/sh:
/usr/lib/nagios/plugins/check_snmp_disk: not found
SERVICE ALERT: debian002;Disk /usr;CRITICAL;HARD;3;/bin/sh:
/usr/lib/nagios/plugins/check_snmp_disk: not found
SERVICE ALERT: debian002;Disk Memorybuffers;CRITICAL;SOFT;2;/bin/sh:
/usr/lib/nagios/plugins/check_snmp_disk: not found


shouldn't this be verified & noticed during config check and reported as an
error ?? or at least a warning  ??

otherwise this big config makes my computer be quite loaded but I've a quite
old hardware and so I think it's quite acceptable regarding the number of
services defined.


I report all this for info & because I'll be away for some weeks ;)

so good commits all :p

regards,

greg.
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to