NDO only processing some hosts

Greg Pangrazio pangrazi at gmail.com
Thu Jul 15 16:12:18 CEST 2010


ndo2db:
ndo2db_user=nagios
ndo2db_group=nagios
socket_type=unix
socket_name=/var/cache/nagios3/ndo.sock
tcp_port=5668
db_servertype=mysql
db_host=localhost
db_port=
db_name=ndoutils
db_prefix=nagios_
db_user=php_user
db_pass=php_p at ssw0rd
max_timedevents_age=60
max_systemcommands_age=90
max_servicechecks_age=90
max_hostchecks_age=90
max_eventhandlers_age=1440
debug_level=0
debug_verbosity=1
debug_file=@localstatedir@/ndo2db.debug
max_debug_file_size=1000000

ndomod:
instance_name=default
output_type=unixsocket
output=/var/cache/nagios3/ndo.sock
tcp_port=5668
output_buffer_items=5000
buffer_file=/var/cache/nagios3/ndomod.tmp
file_rotation_interval=14400
file_rotation_timeout=60
reconnect_interval=15
reconnect_warning_interval=15
data_processing_options=-1
config_output_options=2

NDO2DB 1.4b7


Thanks,
Greg Pangrazio
pangrazi at gmail.com




On Thu, Jul 15, 2010 at 6:42 AM, Michael Friedrich
<michael.friedrich at univie.ac.at> wrote:
> Greg Pangrazio wrote:
>> Is there a way to limit which hosts get put into the NDO database?  My
>> install is getting a bit big and NDO is taking up too much of the CPU
>> and making the system sluggish.  If i turn of NDO it works fine.
>>
>> I use ndo for some custom pages for groups that do not have access to
>> nagios and only need to check like 80 services and 40 hosts for those
>> pages and the other 800 hosts and 3000 services don't need to be in
>> the database.
>>
>> Maybe I am missing some NDO optimizations too?
>>
> egrep -v "^#|^%" ndo2db.cfg
> egrep -v "^#|^%" ndomod.cfg
>
> version?
>
> and consider like mentioned setting data processing options, and the
> data trimming options.
>
>> The hardware is a dual quad core Xeon 2.5Ghz with 56GB ram so I should
>> not be having any problems.
>>
>
> normally I/O problems if the RDBMS is on the same host.
>
> Kind regards,
> Michael
>
>
>
> --
> DI (FH) Michael Friedrich
> michael.friedrich at univie.ac.at
> Tel: +43 1 4277 14359
>
> Vienna University Computer Center
> Universitaetsstrasse 7 A-1010 Vienna, Austria
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> 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
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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