Thursday, May 23rd 2013, 5:59pm 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.
Beginner
Gender: male
Occupation: SAP-Sysadmin
Number of monitoring servers: 1
Nagios Version: -
Icinga Version: Icinga 1.6.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: ~70
Number of services: ~500
OS: Debian Squeeze x86_64
Plugin Version: 1.4.13
IDO-Version: 1.6.1
Birthday: May 30th 1983 (29)
Gender: male
Location: Nürnberg
Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways
Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev
Nagios Version: s/nagios/icinga/
Icinga Version: 1.9.1 / GIT
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 1000+
Number of services: 15000+
OS: RHEL, Debian, SUSE
Plugin Version: 1.4.16
IDO-Version: 1.9.1 / GIT MySQL/Postgresql/Oracle
Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf
Beginner
Gender: male
Occupation: SAP-Sysadmin
Number of monitoring servers: 1
Nagios Version: -
Icinga Version: Icinga 1.6.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: ~70
Number of services: ~500
OS: Debian Squeeze x86_64
Plugin Version: 1.4.13
IDO-Version: 1.6.1
|
|
MySQL queries |
1 |
INSERT INTO icinga_services (instance_id, config_type, host_object_id, service_object_id, display_name, check_command_object_id, check_command_args, eventhandler_command_object_id, eventhandler_command_args, check_timeperiod_object_id, notification_timeperiod_object_id, failure_prediction_options, check_interval, retry_interval, max_check_attempts, first_notification_delay, notification_interval, notify_on_warning, notify_on_unknown, notify_on_critical, notify_on_recovery, notify_on_flapping, notify_on_downtime, stalk_on_ok, stalk_on_warning, stalk_on_unknown, stalk_on_critical, is_volatile, flap_detection_enabled, flap_detection_on_ok, flap_detection_on_warning, flap_detection_on_unknown, flap_detection_on_critical, low_flap_threshold, high_flap_threshold, process_performance_data, freshness_checks_enabled, freshness_threshold, passive_checks_enabled, event_handler_enabled, active_checks_enabled, retain_status_information, retain_nonstatus_information, notifications_enabled, obsess_over_service, failure_prediction_enabled, notes, notes_url, action_url, icon_image, icon_image_alt) VALUES (1, 1, 133, 277, 'KN_CHECK_LOAD_SSH', 48, '3!3!3!6!6!6', 0, '', 95, 101, '', 10.000000, 2.000000, 3, 0.000000, 0.000000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0.000000, 0.000000, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, '', '', '', 'dot\.png\' alt=\"\" border=\"0\"></a><A TARGET=\"_blank\" HREF=\"graphs\.cgi\?host=hambdfcpspdb&service=KN_CHECK_LOAD_SSH\"><img src=\"/icinga/cgi-bin/rrd2-system\.cgi\?host=hambdfcpspdb&service=KN_CHECK_LOAD_SSH&start=-5400&end=now&title=Actual&width=20&height=20&type=AVERAGE&only-graph=true\"', '') ON DUPLICATE KEY UPDATE host_object_id=133, display_name='KN_CHECK_LOAD_SSH', check_command_object_id=48, check_command_args='3!3!3!6!6!6', eventhandler_command_object_id=0, eventhandler_command_args='', check_timeperiod_object_id=95, notification_timeperiod_object_id=101, failure_prediction_options='', check_interval=10.000000, retry_interval=2.000000, max_check_attempts=3, first_notification_delay=0.000000, notification_interval=0.000000, notify_on_warning=0, notify_on_unknown=0, notify_on_critical=1, notify_on_recovery=1, notify_on_flapping=0, notify_on_downtime=0, stalk_on_ok=0, stalk_on_warning=0, stalk_on_unknown=0, stalk_on_critical=0, is_volatile=0, flap_detection_enabled=1, flap_detection_on_ok=1, flap_detection_on_warning=1, flap_detection_on_unknown=1, flap_detection_on_critical=1, low_flap_threshold=0.000000, high_flap_threshold=0.000000, process_performance_data=1, freshness_checks_enabled=0, freshness_threshold=0, passive_checks_enabled=1, event_handler_enabled=1, active_checks_enabled=1, retain_status_information=1, retain_nonstatus_information=1, notifications_enabled=1, obsess_over_service=1, failure_prediction_enabled=1, notes='', notes_url='', action_url='', icon_image='dot\.png\' alt=\"\" border=\"0\"></a><A TARGET=\"_blank\" HREF=\"graphs\.cgi\?host=hambdfcpspdb&service=KN_CHECK_LOAD_SSH\"><img src=\"/icinga/cgi-bin/rrd2-system\.cgi\?host=hambdfcpspdb&service=KN_CHECK_LOAD_SSH&start=-5400&end=now&title=Actual&width=20&height=20&type=AVERAGE&only-graph=true\"', icon_image_alt='' |
Birthday: May 30th 1983 (29)
Gender: male
Location: Nürnberg
Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways
Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev
Nagios Version: s/nagios/icinga/
Icinga Version: 1.9.1 / GIT
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 1000+
Number of services: 15000+
OS: RHEL, Debian, SUSE
Plugin Version: 1.4.16
IDO-Version: 1.9.1 / GIT MySQL/Postgresql/Oracle
Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf
|
|
Source code |
1 2 |
alter table icinga_hosts modify icon_image TEXT; alter table icinga_services modify icon_image TEXT; |
Beginner
Gender: male
Occupation: SAP-Sysadmin
Number of monitoring servers: 1
Nagios Version: -
Icinga Version: Icinga 1.6.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: ~70
Number of services: ~500
OS: Debian Squeeze x86_64
Plugin Version: 1.4.13
IDO-Version: 1.6.1
Birthday: May 30th 1983 (29)
Gender: male
Location: Nürnberg
Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways
Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev
Nagios Version: s/nagios/icinga/
Icinga Version: 1.9.1 / GIT
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 1000+
Number of services: 15000+
OS: RHEL, Debian, SUSE
Plugin Version: 1.4.16
IDO-Version: 1.9.1 / GIT MySQL/Postgresql/Oracle
Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf
Beginner
Gender: male
Occupation: SAP-Sysadmin
Number of monitoring servers: 1
Nagios Version: -
Icinga Version: Icinga 1.6.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: ~70
Number of services: ~500
OS: Debian Squeeze x86_64
Plugin Version: 1.4.13
IDO-Version: 1.6.1
Birthday: May 30th 1983 (29)
Gender: male
Location: Nürnberg
Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways
Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev
Nagios Version: s/nagios/icinga/
Icinga Version: 1.9.1 / GIT
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 1000+
Number of services: 15000+
OS: RHEL, Debian, SUSE
Plugin Version: 1.4.16
IDO-Version: 1.9.1 / GIT MySQL/Postgresql/Oracle
Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf
Das stimmt. URLs können auch lang sein![]()
Solange die Spalten nicht aus anderen Gründen als VARCHAR definiert sein müssen, spricht m.E.n. nichts gegen ein generelles Verwenden von TEXT als Feldtyp. Macht vielleicht auch im Sinne zukünftiger Entwicklungen Sinn, Felder nicht unnötiger Weise zu beschränken.
Beginner
Gender: male
Occupation: SAP-Sysadmin
Number of monitoring servers: 1
Nagios Version: -
Icinga Version: Icinga 1.6.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: ~70
Number of services: ~500
OS: Debian Squeeze x86_64
Plugin Version: 1.4.13
IDO-Version: 1.6.1
Birthday: May 30th 1983 (29)
Gender: male
Location: Nürnberg
Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways
Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev
Nagios Version: s/nagios/icinga/
Icinga Version: 1.9.1 / GIT
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 1000+
Number of services: 15000+
OS: RHEL, Debian, SUSE
Plugin Version: 1.4.16
IDO-Version: 1.9.1 / GIT MySQL/Postgresql/Oracle
Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf
Beginner
Gender: male
Occupation: SAP-Sysadmin
Number of monitoring servers: 1
Nagios Version: -
Icinga Version: Icinga 1.6.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: ~70
Number of services: ~500
OS: Debian Squeeze x86_64
Plugin Version: 1.4.13
IDO-Version: 1.6.1
Birthday: May 30th 1983 (29)
Gender: male
Location: Nürnberg
Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways
Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev
Nagios Version: s/nagios/icinga/
Icinga Version: 1.9.1 / GIT
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 1000+
Number of services: 15000+
OS: RHEL, Debian, SUSE
Plugin Version: 1.4.16
IDO-Version: 1.9.1 / GIT MySQL/Postgresql/Oracle
Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf