NapsterX
Anfänger
Beiträge: 8
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0, 3.2.3
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: 173
Anzahl Services: 727
Betriebssystem(e): OpenSuse 11.0, OpenSuse 11.2
Plugin-Version(en): rrdtool 1.3.8, pnp-0.4.14
NDO-Version: 2
![]() |
Quellcode |
1 2 3 4 |
AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user |
Beiträge: 5 397
Geschlecht: Männlich
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.1
Icinga-Version(en): Icinga 1.0.1
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: >70
Anzahl Services: >200
Betriebssystem(e): SLES10
Plugin-Version(en): 1.4.11
Sonstige Addon's: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6
2
25.05.2011, 12:15
NapsterX
Anfänger
Beiträge: 8
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0, 3.2.3
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: 173
Anzahl Services: 727
Betriebssystem(e): OpenSuse 11.0, OpenSuse 11.2
Plugin-Version(en): rrdtool 1.3.8, pnp-0.4.14
NDO-Version: 2
3
25.05.2011, 13:35
![]() |
Quellcode |
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 |
Nagios Core 3.2.3 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 10-03-2010 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config directory '/etc/nagios'... Processing object config file '/etc/nagios/commands.cfg'... Processing object config file '/etc/nagios/hostgroups.cfg'... Processing object config file '/etc/nagios/templates.cfg'... Processing object config directory '/etc/nagios/backups'... Processing object config file '/etc/nagios/contactgroups.cfg'... Processing object config file '/etc/nagios/contacts.cfg'... Processing object config file '/etc/nagios/hosts.cfg'... Read object config files okay... Running pre-flight check on configuration data... Checking services... Error: Check period '24x7' specified for service 'LAN Interface' on host 'xxxx' is not defined anywhere! Error: Notification period '24x7' specified for service 'LAN Interface' on host 'xxxx' is not defined anywhere! ... ... Checked 727 services. Checking hosts... Error: Notification period '24x7' specified for host 'xxxx' is not defined anywhere! Error: Notification period '24x7' specified for host 'xxxx' is not defined anywhere! ... ... Checked 173 hosts. Checking host groups... Checked 8 host groups. Checking service groups... Checked 0 service groups. Error: Service notification period '24x7' specified for contact 'xxxx' is not defined anywhere! Error: Host notification period '24x7' specified for contact 'xxxx' is not defined anywhere! ... ... Checked 7 contacts. Checking contact groups... Checked 7 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 42 commands. Checking time periods... Checked 0 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 1641 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. |
Beiträge: 5 397
Geschlecht: Männlich
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.1
Icinga-Version(en): Icinga 1.0.1
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: >70
Anzahl Services: >200
Betriebssystem(e): SLES10
Plugin-Version(en): 1.4.11
Sonstige Addon's: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6
4
25.05.2011, 14:01
NapsterX
Anfänger
Beiträge: 8
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0, 3.2.3
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: 173
Anzahl Services: 727
Betriebssystem(e): OpenSuse 11.0, OpenSuse 11.2
Plugin-Version(en): rrdtool 1.3.8, pnp-0.4.14
NDO-Version: 2
5
25.05.2011, 14:53
In der apache error_log unter /var/log/apache2 ist der letzte Eintrag vom 13.05.2011 und nicht wirklich hilfreich.
Zitat
Gibt es Meldungen in den Apache-Logs?
/usr/local/nagios/etc # ls -al
Zitat
Eventuell sind die Berechtigungen auf die htpasswd.users-Datei nicht korrekt!
![]() |
Quellcode |
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 |
Nagios Core 3.2.3 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 10-03-2010 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config file '/usr/local/nagios/etc/objects/commands.cfg'... Processing object config file '/usr/local/nagios/etc/objects/contacts.cfg'... Processing object config file '/usr/local/nagios/etc/objects/timeperiods.cfg'... Processing object config file '/usr/local/nagios/etc/objects/templates.cfg'... Processing object config directory '/etc/nagios'... Processing object config file '/etc/nagios/commands.cfg'... Warning: Duplicate definition found for command 'check_ftp' (config file '/etc/nagios/commands.cfg', starting on line 1) Error: Could not add object property in file '/etc/nagios/commands.cfg' on line 2. Error processing object config files! ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. |
![]() |
Quellcode |
1 2 3 4 |
#cfg_file=/usr/local/nagios/etc/objects/commands.cfg #cfg_file=/usr/local/nagios/etc/objects/contacts.cfg cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg #cfg_file=/usr/local/nagios/etc/objects/templates.cfg |
![]() |
Quellcode |
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 |
Nagios Core 3.2.3 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 10-03-2010 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config file '/usr/local/nagios/etc/objects/timeperiods.cfg'... Processing object config directory '/etc/nagios'... Processing object config file '/etc/nagios/commands.cfg'... Processing object config file '/etc/nagios/hostgroups.cfg'... Processing object config file '/etc/nagios/templates.cfg'... Processing object config directory '/etc/nagios/backups'... Processing object config file '/etc/nagios/contactgroups.cfg'... Processing object config file '/etc/nagios/contacts.cfg'... Processing object config file '/etc/nagios/hosts.cfg'... Read object config files okay... Running pre-flight check on configuration data... Checking services... Checked 727 services. Checking hosts... Checked 173 hosts. Checking host groups... Checked 8 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 7 contacts. Checking contact groups... Checked 7 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 42 commands. Checking time periods... Checked 5 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 |
/usr/local/nagios/etc # grep authorized cgi.cfg authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin #authorized_for_read_only=user1,user2 |
Beiträge: 2 121
Geburtstag: 30.05.1983 (28)
Geschlecht: Männlich
Wohnort: Wien
Beruf: DNS & Monitoring Developer
Anzahl Nagios-Server: 3x Icinga prod, 2x test/dev
Nagios-Version(en): s/nagios/icinga/
Icinga-Version(en): 1.4.0 / GIT
Verteiltes Monitoring: Ja
Redundantes Monitoring: Ja
Anzahl-Hosts: 1000+
Anzahl Services: 15000+
Betriebssystem(e): RHEL 5.6 x64
Plugin-Version(en): 1.4.15
IDO-Version: 1.4.0 / GIT MySQL/Postgresql/Oracle
Sonstige Addon's: PNP 0.6.11, check_mk GIT
6
25.05.2011, 15:10
Beiträge: 5 397
Geschlecht: Männlich
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.1
Icinga-Version(en): Icinga 1.0.1
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: >70
Anzahl Services: >200
Betriebssystem(e): SLES10
Plugin-Version(en): 1.4.11
Sonstige Addon's: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6
7
25.05.2011, 15:49
NapsterX
Anfänger
Beiträge: 8
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0, 3.2.3
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: 173
Anzahl Services: 727
Betriebssystem(e): OpenSuse 11.0, OpenSuse 11.2
Plugin-Version(en): rrdtool 1.3.8, pnp-0.4.14
NDO-Version: 2
8
25.05.2011, 16:32
![]() |
Quellcode |
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 |
# /usr/local/nagios/etc/objects # more hosts.cfg # DO NOT REMOVE OR EDIT ANY '*_id_*' COMMENTS IN THIS FILE # # host_id_2 define host { host_name xyhost alias xyhost address w.x.y.z contact_groups admins #icon_image nagiosimages/router.jpg use generic-host } # service_id_2_6 define service { use generic-service host_name xyhost service_description ping display_name Ping check_command check_ping contact_groups admins } usw... |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 |
/usr/local/nagios/etc/objects # more contacts.cfg define contact { contact_name nagiosadmin alias Nagios Administrator email use generic-contact } usw.. |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 |
/usr/local/nagios/etc/objects # more contactgroups.cfg define contactgroup { contactgroup_name admins alias Administrators members nagiosadmin } usw... |
Beiträge: 5 397
Geschlecht: Männlich
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.1
Icinga-Version(en): Icinga 1.0.1
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: >70
Anzahl Services: >200
Betriebssystem(e): SLES10
Plugin-Version(en): 1.4.11
Sonstige Addon's: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6
9
25.05.2011, 17:02
Nein, diese Dinge haben nichts mit deinem Problem zu tun.
Zitat
Ich vermute zwar weniger, aber kann es sein das ich zusätzlich das pnp-plugin, rrdtool und nagiosadmin installieren muss?
NapsterX
Anfänger
Beiträge: 8
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0, 3.2.3
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: 173
Anzahl Services: 727
Betriebssystem(e): OpenSuse 11.0, OpenSuse 11.2
Plugin-Version(en): rrdtool 1.3.8, pnp-0.4.14
NDO-Version: 2
10
26.05.2011, 10:16
![]() |
Quellcode |
1 2 3 |
[Thu May 26 08:31:35 2011] [error] [client 192.168.2.16] user 123 not found: /nagios/stylesheets/common.css, referer: http://w.x.y.z/ [Thu May 26 08:31:35 2011] [error] [client 192.168.2.16] user 123 not found: /nagios/images/trends.gif, referer: http://w.x.y.z/ [Thu May 26 08:31:35 2011] [error] [client 192.168.2.16] user 123 not found: /nagios/stylesheets/avail.css, referer: http://w.x.y.z/ |
![]() |
Quellcode |
1 2 3 |
127.0.0.1 - - [26/May/2011:09:12:31 +0200] "GET / HTTP/1.0" 200 5093 "-" "check_http/v1.4.15 (nagios-plugins 1.4.15)" 127.0.0.1 - - [26/May/2011:09:17:31 +0200] "GET / HTTP/1.0" 200 5093 "-" "check_http/v1.4.15 (nagios-plugins 1.4.15)" 127.0.0.1 - - [26/May/2011:09:22:31 +0200] "GET / HTTP/1.0" 200 5093 "-" "check_http/v1.4.15 (nagios-plugins 1.4.15)" |
Beiträge: 5 397
Geschlecht: Männlich
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.1
Icinga-Version(en): Icinga 1.0.1
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: >70
Anzahl Services: >200
Betriebssystem(e): SLES10
Plugin-Version(en): 1.4.11
Sonstige Addon's: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6
11
26.05.2011, 10:26
Nein, das hat damit nichts zu tun. Vermutlich werden die archivierten Nagios-Log-Files nicht gefunden.
Zitat
Nehme stark an das er die RRD-Files nicht findet, oder ?
NapsterX
Anfänger
Beiträge: 8
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0, 3.2.3
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: 173
Anzahl Services: 727
Betriebssystem(e): OpenSuse 11.0, OpenSuse 11.2
Plugin-Version(en): rrdtool 1.3.8, pnp-0.4.14
NDO-Version: 2
12
26.05.2011, 10:46
Beiträge: 5 397
Geschlecht: Männlich
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.1
Icinga-Version(en): Icinga 1.0.1
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: >70
Anzahl Services: >200
Betriebssystem(e): SLES10
Plugin-Version(en): 1.4.11
Sonstige Addon's: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6
13
26.05.2011, 10:57
![]() |
Quellcode |
1 |
grep "^log_" nagios.cfg |
NapsterX
Anfänger
Beiträge: 8
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0, 3.2.3
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: 173
Anzahl Services: 727
Betriebssystem(e): OpenSuse 11.0, OpenSuse 11.2
Plugin-Version(en): rrdtool 1.3.8, pnp-0.4.14
NDO-Version: 2
14
26.05.2011, 11:00
NapsterX
Anfänger
Beiträge: 8
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0, 3.2.3
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: 173
Anzahl Services: 727
Betriebssystem(e): OpenSuse 11.0, OpenSuse 11.2
Plugin-Version(en): rrdtool 1.3.8, pnp-0.4.14
NDO-Version: 2
15
26.05.2011, 12:37
![]() |
Quellcode |
1 2 3 4 5 |
[1306394691] SERVICE ALERT: |
Beiträge: 5 397
Geschlecht: Männlich
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.1
Icinga-Version(en): Icinga 1.0.1
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: >70
Anzahl Services: >200
Betriebssystem(e): SLES10
Plugin-Version(en): 1.4.11
Sonstige Addon's: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6
16
27.05.2011, 20:01
![]() |
Quellcode |
1 2 |
Return code of 127 is out of bounds - plugin may be missing ...Make sure the plugin you're trying to run actually exists. |