Wednesday, May 22nd 2013, 11:21am UTC+2
You are not logged in.
Dear visitor, welcome to Monitoring-Portal.
Although this is a german monitoring forum, please don't hesitate to post in
English. Nearly everybody here understands you and will answer in English as well.
If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form to register here or read more information about the registration process. If you are already registered, please login here.
Birthday: Feb 14th 1983 (30)
Gender: male
Location: Germany - Munich
Occupation: Student - Computer Science
Number of monitoring servers: 2
Hobbies: learning C# & XNA - Gamedesign, iPhone Programming
Nagios Version: 3.0.6
Distributed monitoring: Nein
Redundant monitoring: Ja
Number of hosts: 300
Number of services: 2000
OS: RHEL5
Plugin Version: 1.4.12
NagVis Version: 1.5.1
NDO Version: 1.4b7
Perfparse Version: PNP 0.6.2
Other Addons: 2 Node Cluster again with Heartbeat 2.1 & DRBD 8 / Munin 1.4
Birthday: Feb 14th 1983 (30)
Gender: male
Location: Germany - Munich
Occupation: Student - Computer Science
Number of monitoring servers: 2
Hobbies: learning C# & XNA - Gamedesign, iPhone Programming
Nagios Version: 3.0.6
Distributed monitoring: Nein
Redundant monitoring: Ja
Number of hosts: 300
Number of services: 2000
OS: RHEL5
Plugin Version: 1.4.12
NagVis Version: 1.5.1
NDO Version: 1.4b7
Perfparse Version: PNP 0.6.2
Other Addons: 2 Node Cluster again with Heartbeat 2.1 & DRBD 8 / Munin 1.4
Andurin
Unregistered
Problem ist das Nagios derzeit ca. 15-30 Minuten braucht bis es gestartet ist. In der Zeit wird die Datenbank von NDO vollgeschrieben (ich habe es schon auf das Noetigste reduziert ueber die Eventbroker Settings).
Birthday: Feb 14th 1983 (30)
Gender: male
Location: Germany - Munich
Occupation: Student - Computer Science
Number of monitoring servers: 2
Hobbies: learning C# & XNA - Gamedesign, iPhone Programming
Nagios Version: 3.0.6
Distributed monitoring: Nein
Redundant monitoring: Ja
Number of hosts: 300
Number of services: 2000
OS: RHEL5
Plugin Version: 1.4.12
NagVis Version: 1.5.1
NDO Version: 1.4b7
Perfparse Version: PNP 0.6.2
Other Addons: 2 Node Cluster again with Heartbeat 2.1 & DRBD 8 / Munin 1.4
Birthday: Nov 26th 1975 (37)
Gender: male
Location: Mainburg
Occupation: PDM-Consultant, IT-Specialist
Number of monitoring servers: 3
Nagios Version: 3.2.0/3.2.1/3.2.2
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: ~200
Number of services: ~1800
OS: Linux, AIX, HP-UX, Windows
Plugin Version: 1.4.14/1.4.15
NagVis Version: 1.4-nightly/1.5-nightly
NDO Version: 1.4b9
Other Addons: NRPE, PNP,NSClient++,DokuWiki,NagiosBPV, MKLivestatus, Thruk
Birthday: Feb 14th 1983 (30)
Gender: male
Location: Germany - Munich
Occupation: Student - Computer Science
Number of monitoring servers: 2
Hobbies: learning C# & XNA - Gamedesign, iPhone Programming
Nagios Version: 3.0.6
Distributed monitoring: Nein
Redundant monitoring: Ja
Number of hosts: 300
Number of services: 2000
OS: RHEL5
Plugin Version: 1.4.12
NagVis Version: 1.5.1
NDO Version: 1.4b7
Perfparse Version: PNP 0.6.2
Other Addons: 2 Node Cluster again with Heartbeat 2.1 & DRBD 8 / Munin 1.4
Birthday: Nov 26th 1975 (37)
Gender: male
Location: Mainburg
Occupation: PDM-Consultant, IT-Specialist
Number of monitoring servers: 3
Nagios Version: 3.2.0/3.2.1/3.2.2
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: ~200
Number of services: ~1800
OS: Linux, AIX, HP-UX, Windows
Plugin Version: 1.4.14/1.4.15
NagVis Version: 1.4-nightly/1.5-nightly
NDO Version: 1.4b9
Other Addons: NRPE, PNP,NSClient++,DokuWiki,NagiosBPV, MKLivestatus, Thruk
|
|
MySQL queries |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
-- BEGIN 1.4b7 MODS ALTER TABLE `nagios_configfilevariables` DROP INDEX `instance_id`; ALTER TABLE `nagios_configfilevariables` ADD INDEX ( `instance_id` , `configfile_id` ) ; ALTER TABLE `nagios_timedeventqueue` ADD INDEX ( `instance_id` ) ; ALTER TABLE `nagios_statehistory` ADD INDEX ( `instance_id` , `object_id` ) ; ALTER TABLE `nagios_servicestatus` ADD INDEX ( `instance_id` , `service_object_id` ) ; ALTER TABLE `nagios_processevents` ADD INDEX ( `instance_id` , `event_type` ) ; ALTER TABLE `nagios_logentries` ADD INDEX ( `instance_id` ) ; ALTER TABLE `nagios_hoststatus` ADD INDEX ( `instance_id` , `host_object_id` ) ; ALTER TABLE `nagios_flappinghistory` ADD INDEX ( `instance_id` , `object_id` ) ; ALTER TABLE `nagios_externalcommands` ADD INDEX ( `instance_id` ) ; ALTER TABLE `nagios_customvariablestatus` ADD INDEX ( `instance_id` ) ; ALTER TABLE `nagios_contactstatus` ADD INDEX ( `instance_id` ) ; ALTER TABLE `nagios_conninfo` ADD INDEX ( `instance_id` ) ; ALTER TABLE `nagios_acknowledgements` ADD INDEX ( `instance_id` , `object_id` ) ; ALTER TABLE `nagios_objects` ADD INDEX ( `instance_id` ) ; ALTER TABLE `nagios_logentries` ADD INDEX ( `logentry_time` ) ; ALTER TABLE `nagios_commenthistory` CHANGE `comment_data` `comment_data` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_comments` CHANGE `comment_data` `comment_data` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_downtimehistory` CHANGE `comment_data` `comment_data` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_externalcommands` CHANGE `command_args` `command_args` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_hostchecks` CHANGE `output` `output` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_hostchecks` CHANGE `perfdata` `perfdata` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_hoststatus` CHANGE `output` `output` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_hoststatus` CHANGE `perfdata` `perfdata` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_logentries` CHANGE `logentry_data` `logentry_data` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_scheduleddowntime` CHANGE `comment_data` `comment_data` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_servicechecks` CHANGE `output` `output` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_servicechecks` CHANGE `perfdata` `perfdata` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_servicestatus` CHANGE `output` `output` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_servicestatus` CHANGE `perfdata` `perfdata` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_statehistory` CHANGE `output` `output` TEXT CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ; ALTER TABLE `nagios_processevents` ADD INDEX ( `event_time` , `event_time_usec` ) ; ALTER TABLE `nagios_hoststatus` ADD INDEX ( `current_state` ) ; ALTER TABLE `nagios_hoststatus` ADD INDEX ( `state_type` ) ; ALTER TABLE `nagios_hoststatus` ADD INDEX ( `last_check` ) ; ALTER TABLE `nagios_hoststatus` ADD INDEX ( `notifications_enabled` ) ; ALTER TABLE `nagios_hoststatus` ADD INDEX ( `problem_has_been_acknowledged` ) ; ALTER TABLE `nagios_hoststatus` ADD INDEX ( `passive_checks_enabled` ) ; ALTER TABLE `nagios_hoststatus` ADD INDEX ( `active_checks_enabled` ) ; ALTER TABLE `nagios_hoststatus` ADD INDEX ( `event_handler_enabled` ) ; ALTER TABLE `nagios_hoststatus` ADD INDEX ( `flap_detection_enabled` ) ; ALTER TABLE `nagios_hoststatus` ADD INDEX ( `is_flapping` ) ; ALTER TABLE `nagios_hoststatus` ADD INDEX ( `scheduled_downtime_depth` ) ; ALTER TABLE `nagios_servicestatus` ADD INDEX ( `current_state` ) ; ALTER TABLE `nagios_servicestatus` ADD INDEX ( `last_check` ) ; ALTER TABLE `nagios_servicestatus` ADD INDEX ( `notifications_enabled` ) ; ALTER TABLE `nagios_servicestatus` ADD INDEX ( `problem_has_been_acknowledged` ) ; ALTER TABLE `nagios_servicestatus` ADD INDEX ( `passive_checks_enabled` ) ; ALTER TABLE `nagios_servicestatus` ADD INDEX ( `active_checks_enabled` ) ; ALTER TABLE `nagios_servicestatus` ADD INDEX ( `event_handler_enabled` ) ; ALTER TABLE `nagios_servicestatus` ADD INDEX ( `flap_detection_enabled` ) ; ALTER TABLE `nagios_servicestatus` ADD INDEX ( `is_flapping` ) ; ALTER TABLE `nagios_servicestatus` ADD INDEX ( `scheduled_downtime_depth` ) ; ALTER TABLE `nagios_statehistory` ADD INDEX ( `state_time` , `state_time_usec` ) ; ALTER TABLE `nagios_timedeventqueue` ADD INDEX ( `event_type` ) ; ALTER TABLE `nagios_timedeventqueue` ADD INDEX ( `scheduled_time` ) ; ALTER TABLE `nagios_logentries` ADD INDEX ( `entry_time` ) ; ALTER TABLE `nagios_logentries` ADD INDEX ( `entry_time_usec` ) ; ALTER TABLE `nagios_externalcommands` ADD INDEX ( `entry_time` ) ; -- END 1.4b7 MODS |
Birthday: Feb 14th 1983 (30)
Gender: male
Location: Germany - Munich
Occupation: Student - Computer Science
Number of monitoring servers: 2
Hobbies: learning C# & XNA - Gamedesign, iPhone Programming
Nagios Version: 3.0.6
Distributed monitoring: Nein
Redundant monitoring: Ja
Number of hosts: 300
Number of services: 2000
OS: RHEL5
Plugin Version: 1.4.12
NagVis Version: 1.5.1
NDO Version: 1.4b7
Perfparse Version: PNP 0.6.2
Other Addons: 2 Node Cluster again with Heartbeat 2.1 & DRBD 8 / Munin 1.4
Gender: male
Location: Oldenburg
Number of monitoring servers: 6
Nagios Version: 2.5
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: x00
Number of services: x0000
OS: Suse 9.3
Plugin Version: 1.4.1
NDO Version: 1.3.1
Perfparse Version: 0.105.6
Birthday: Feb 14th 1983 (30)
Gender: male
Location: Germany - Munich
Occupation: Student - Computer Science
Number of monitoring servers: 2
Hobbies: learning C# & XNA - Gamedesign, iPhone Programming
Nagios Version: 3.0.6
Distributed monitoring: Nein
Redundant monitoring: Ja
Number of hosts: 300
Number of services: 2000
OS: RHEL5
Plugin Version: 1.4.12
NagVis Version: 1.5.1
NDO Version: 1.4b7
Perfparse Version: PNP 0.6.2
Other Addons: 2 Node Cluster again with Heartbeat 2.1 & DRBD 8 / Munin 1.4
Hallo falc410!
Dein Nagios-Neustart dauert wirklich so lange? Dann gibt es einen Engpaß bei CPU, Disks (Mein "Favorit") oder Netzwerk) - und dann lohnt es sich wirklich, ein bißchen tiefer zu graben ... hier mal ein paar Fragen, die mir so spontan einfallen ...
Quoted
Beim Neustart von Nagios werden (fast) als erstes historische Daten gelöscht. Wenn Du für einen Test die entsprechenden Werte in der ndomod.cfg auf "nicht löschen" stellst, hast Du einen Test, ob es das Löschen ist, was Dich bremst.
Quoted
Wie ist Deine Check-Latency im Nagios (Siehe Performance-Status-Seite)?
Quoted
Wie groß sind Deine Datenbank-Puffer (INNODB - eigene Index-Puffer!) eingestellt? (Reicht der Speicher?)
Quoted
Wie groß ist Deine Datenbank? (Wenn sie sehr groß ist, kannst Du mit dem Anlegen der Indizes - wie unten angeben Dein Nagios für Stunden ausbremsen ... aber vielleicht hast Du die Indizes schon?)
Quoted
Läuft auf der Datenbank noch mehr (außer der NDO)?
Quoted
Brauchst Du die historischen Daten aus der NDO? (Ich glaube rausgelesen zu haben: ja)
Gender: male
Location: Oldenburg
Number of monitoring servers: 6
Nagios Version: 2.5
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: x00
Number of services: x0000
OS: Suse 9.3
Plugin Version: 1.4.1
NDO Version: 1.3.1
Perfparse Version: 0.105.6
Sorry - ich meinte die ndo2db.cfg. Dort wird das Löschen eingestellt - die Werte weiß ich leider so nicht aus dem Kopf, die stehen aber in der Installations-Anleitung drin.
Quoted
Wie stelle ich das ein? Ich habe in der ndomod.cfg die Data Processing Options auf -1 gelassen da ich ja den Event Broker in der nagios.cfg schon beschnitten habe.
Birthday: Feb 14th 1983 (30)
Gender: male
Location: Germany - Munich
Occupation: Student - Computer Science
Number of monitoring servers: 2
Hobbies: learning C# & XNA - Gamedesign, iPhone Programming
Nagios Version: 3.0.6
Distributed monitoring: Nein
Redundant monitoring: Ja
Number of hosts: 300
Number of services: 2000
OS: RHEL5
Plugin Version: 1.4.12
NagVis Version: 1.5.1
NDO Version: 1.4b7
Perfparse Version: PNP 0.6.2
Other Addons: 2 Node Cluster again with Heartbeat 2.1 & DRBD 8 / Munin 1.4
Sobald ich das Broker Modul aus der nagios.cfg entferne und Nagios durchstarte ist die check_latency auf unter 1 sekunde gedrueckt. Es ist definitiv die Verbindung in Nagios - MySQL die hier bremst aber ich weiss nicht ob es am Brokermodul liegt oder an der Datenbank, einer falschen Config oder sonstwas.
Deine Latency ist "astronomisch" (12min im Mittel).
...
Was macht Deine Latency, wenn Du die DB abkoppelst?
...
Gruß
Bernd
Birthday: Jun 1st
Gender: male
Number of monitoring servers: 2
Nagios Version: 0.0.0
Icinga Version: 1.8.4
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: >500
Number of services: >2000
OS: Win200x, RHEL4/5/6, OES2
Plugin Version: 1.4.16
Other Addons: PNP 0.6, Brain 2.0

Birthday: Feb 14th 1983 (30)
Gender: male
Location: Germany - Munich
Occupation: Student - Computer Science
Number of monitoring servers: 2
Hobbies: learning C# & XNA - Gamedesign, iPhone Programming
Nagios Version: 3.0.6
Distributed monitoring: Nein
Redundant monitoring: Ja
Number of hosts: 300
Number of services: 2000
OS: RHEL5
Plugin Version: 1.4.12
NagVis Version: 1.5.1
NDO Version: 1.4b7
Perfparse Version: PNP 0.6.2
Other Addons: 2 Node Cluster again with Heartbeat 2.1 & DRBD 8 / Munin 1.4
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
[mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql # Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package). old_passwords=1 #Test Entries for NDO Tuning key_buffer = 4M key_buffer_size = 128M max_allowed_packet = 16M thread_stack = 128K thread_cache_size = 64 table_cache = 512 query_cache_limit = 4M query_cache_size = 32M max_join_size = 4294967295 innodb_buffer_pool_size=1024M join_buffer_size=128M log_queries_not_using_indexes=yes log-slow-queries=/var/log/mysql-slow-queries.log # To allow mysqld to connect to a MySQL Cluster management daemon, uncomment # these lines and adjust the connectstring as needed. #ndbcluster #ndb-connectstring="nodeid=4;host=localhost:1186" [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [ndbd] # If you are running a MySQL Cluster storage daemon (ndbd) on this machine, # adjust its connection to the management daemon here. # Note: ndbd init script requires this to include nodeid! connect-string="nodeid=2;host=localhost:1186" [ndb_mgm] # connection string for MySQL Cluster management tool connect-string="host=localhost:1186" |
|
|
Source code |
1 2 3 4 5 6 7 8 |
Tasks: 198 total, 1 running, 197 sleeping, 0 stopped, 0 zombie Cpu(s): 0.7%us, 0.6%sy, 0.0%ni, 86.3%id, 12.3%wa, 0.1%hi, 0.0%si, 0.0%st Mem: 8312268k total, 1542524k used, 6769744k free, 401792k buffers Swap: 2040212k total, 0k used, 2040212k free, 699980k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 15349 root 15 0 2324 1080 804 R0 0.0 0:00.08 top 5124 root 10 -5 000 D0 0.0 1:14.93 kjournald |
This post has been edited 2 times, last edit by "falc410" (Mar 20th 2009, 11:33am)
Birthday: Jun 1st
Gender: male
Number of monitoring servers: 2
Nagios Version: 0.0.0
Icinga Version: 1.8.4
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: >500
Number of services: >2000
OS: Win200x, RHEL4/5/6, OES2
Plugin Version: 1.4.16
Other Addons: PNP 0.6, Brain 2.0
|
|
Source code |
1 2 3 |
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util sda 0.00 22.80 0.00 17.10 0.00 159.60 18.67 0.01 0.56 0.08 0.14 drbd0 0.00 0.00 0.00 26.80 0.00 107.20 8.00 3.60 134.46 37.26 99.85 |
|
|
Source code |
1 |
cat /sys/block/drdb0/queue/scheduler |
Birthday: Feb 14th 1983 (30)
Gender: male
Location: Germany - Munich
Occupation: Student - Computer Science
Number of monitoring servers: 2
Hobbies: learning C# & XNA - Gamedesign, iPhone Programming
Nagios Version: 3.0.6
Distributed monitoring: Nein
Redundant monitoring: Ja
Number of hosts: 300
Number of services: 2000
OS: RHEL5
Plugin Version: 1.4.12
NagVis Version: 1.5.1
NDO Version: 1.4b7
Perfparse Version: PNP 0.6.2
Other Addons: 2 Node Cluster again with Heartbeat 2.1 & DRBD 8 / Munin 1.4
|
|
Source code |
1 2 3 |
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util sda 0.00 38.20 1.40 30.20 5.60 273.60 17.67 0.07 2.19 0.41 1.31 drbd0 0.00 0.00 1.40 59.70 5.60 238.80 8.00 5.66 92.77 1.39 8.51 |
This post has been edited 1 times, last edit by "falc410" (Mar 20th 2009, 1:23pm)
Andurin
Unregistered
Ich bin echt mal gespannt ob ich bei DRBD noch was tunen kann oder nicht.
Birthday: Feb 14th 1983 (30)
Gender: male
Location: Germany - Munich
Occupation: Student - Computer Science
Number of monitoring servers: 2
Hobbies: learning C# & XNA - Gamedesign, iPhone Programming
Nagios Version: 3.0.6
Distributed monitoring: Nein
Redundant monitoring: Ja
Number of hosts: 300
Number of services: 2000
OS: RHEL5
Plugin Version: 1.4.12
NagVis Version: 1.5.1
NDO Version: 1.4b7
Perfparse Version: PNP 0.6.2
Other Addons: 2 Node Cluster again with Heartbeat 2.1 & DRBD 8 / Munin 1.4