Thursday, June 20th 2013, 12:39am UTC+2

You are not logged in.

  • Login
  • Register

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.

Patrick K.

Beginner

Posts: 23

Number of monitoring servers: Nein

Nagios Version: Icinga 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 2

Number of services: 2

OS: OpenSuse 12.1

Plugin Version: nagios_plugins_1.4.15

1

Saturday, August 4th 2012, 2:53pm

Windows XP Client Monitoring Service check command ... not defined anywhere!

Hi,

ich ein icinga-server mit OpenSuse 12.1 aufgesetzt und frage mich nun warum ich mein Windows XP Client nicht überwacht bekomme.

Bei der Installation meines Servers habe ich diese Anleitung befolgt :
homepage.univie.ac.at/florian.szabo/wiki/index.php?title=icinga

Bei der Installation des Plugins NSClient++ diese:
homepage.univie.ac.at/florian.szabo/wiki/index.php?title=NSClient%2B%2B

wenn ich nun /etc/init.d/icinga restart eingebe bekomme ich folgende Meldung:
Running configuration check...CONFIG ERROR! Restart aborted. See /usr/local/icinga/var/icinga.chk for details.

-----Icinga.chk------

Icinga 1.6.1
Copyright (c) 2009-2011 Icinga Development Team (http://www.icinga.org)
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-02-2011
License: GPL

Reading configuration data...
Read main config file okay...
Processing object config file '/usr/local/icinga/etc/objects/commands.cfg'...
Processing object config file '/usr/local/icinga/etc/objects/contacts.cfg'...
Processing object config file '/usr/local/icinga/etc/objects/timeperiods.cfg'...
Processing object config file '/usr/local/icinga/etc/objects/templates.cfg'...
Processing object config file '/usr/local/icinga/etc/objects/localhost.cfg'...
Processing object config directory '/usr/local/icinga/etc/modules'...
Processing object config file '/usr/local/icinga/etc/objects/xp_nr4.cfg'...
Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
Error: Service check command 'win_check_nrpe' specified in service 'C:\ Drive Space' for host 'xp_nr4' not defined anywhere!
Error: Service check command 'win_check_nrpe' specified in service 'CPU Load' for host 'xp_nr4' not defined anywhere!
Error: Service check command 'win_check_nrpe' specified in service 'Memory Usage' for host 'xp_nr4' not defined anywhere!
Error: Service check command 'check_nrpe' specified in service 'NSClient++ Version' for host 'xp_nr4' not defined anywhere!
Error: Service check command 'win_check_nrpe' specified in service 'Uptime' for host 'xp_nr4' not defined anywhere!
Checked 14 services.
Checking hosts...
Checked 2 hosts.
Checking host groups...
Checked 2 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 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 26 commands.
Checking time periods...
Checked 5 time periods.
Checking modules...
Checked 0 modules.
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: 5

***> 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 definitions. If you are upgrading from a previous
version of Icinga, 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.
-----Icinga.chk ENDE------

Wo müssen diese Check den eingetragen sein ? Wäre sehr nett wenn mir jemand sagen könnte wo ich nach gucken muss um das Problem zu beheben.

Als Anhang ist auch noch mal die cfg meines XP Clients.

DANKE!

Gruß
Patrick
Patrick K. has attached the following file:
  • xp_nr4.txt (3.81 kB - 15 times downloaded - Last download: May 10th 2013, 7:48pm)

striep

Professional

Posts: 607

Birthday: Jul 20th 1962 (50)

Gender: male

Location: Buxtehude, ja, gibt es wirklich ;-)

Number of monitoring servers: 4

Hobbies: Paracord, RaspberryPi

Nagios Version: --

Icinga Version: 1.8.4, omd 0.55-20120802, OMD 0.56

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 561

Number of services: 1921

OS: ubuntu 10.04, Solaris, Windows

Plugin Version: 1.4.x

IDO-Version: 1.8.4 but not live

Other Addons: pnp 0.6.15/18, NSClient++ 0.3.8, SEC, NSCA

2

Saturday, August 4th 2012, 8:51pm

Quoted

Error: Service check command 'win_check_nrpe' specified in service 'C:\ Drive Space' for host 'xp_nr4' not defined anywhere!

Error: Service check command 'win_check_nrpe' specified in service 'CPU Load' for host 'xp_nr4' not defined anywhere!

Error: Service check command 'win_check_nrpe' specified in service 'Memory Usage' for host 'xp_nr4' not defined anywhere!

Error: Service check command 'check_nrpe' specified in service 'NSClient++ Version' for host 'xp_nr4' not defined anywhere!

Error: Service check command 'win_check_nrpe' specified in service 'Uptime' for host 'xp_nr4' not defined anywhere!
Ich würde mal behaupten, dass das Command 'win_check_nrpe' nirgendwo definiert ist. (commands.cfg)
~~ Never touch a running system ~~
~~ Never run a touchy system ~~

Patrick K.

Beginner

Posts: 23

Number of monitoring servers: Nein

Nagios Version: Icinga 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 2

Number of services: 2

OS: OpenSuse 12.1

Plugin Version: nagios_plugins_1.4.15

3

Tuesday, August 7th 2012, 7:17pm

commands.cfg

Perfekt danke ! Problem gelöst

dnsmichi

Super Moderator

Posts: 6,101

Birthday: May 30th 1983 (30)

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

4

Tuesday, August 7th 2012, 8:37pm

RE: Windows XP Client Monitoring Service check command ... not defined anywhere!


Bei der Installation meines Servers habe ich diese Anleitung befolgt :
homepage.univie.ac.at/florian.szabo/wiki/index.php?title=icinga


gibts einen speziellen grund warum genau diese anleitung?
+++ Icinga / LConf Developer +++ Senior Consultant at []NETWAYS> +++
+++ Icinga 1.9 || Icinga 2 +++ Icinga Support || IRC +++

Patrick K.

Beginner

Posts: 23

Number of monitoring servers: Nein

Nagios Version: Icinga 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 2

Number of services: 2

OS: OpenSuse 12.1

Plugin Version: nagios_plugins_1.4.15

5

Wednesday, August 8th 2012, 8:02pm

Anleitung

Hi,

nein überhaupt nicht! Ich möchte nur in das ganze Thema rein kommen, um irgendwann meine Umgebung komplett zu monitoren. Ich will nicht mmer ein Herzinfakt bekomme wenn jemand sagt ist irgendwas mit dem Server ? ich kann meine E-Mails nicht abrufen :D

Ist aber schon ein hartes Stück Arbeit ! hänge schon wieder direkt beim nächsten Problem.

(Wenn du eine bessere Anleitung + Plugins hast installiere ich auch gern nochmal :D)

Gruß

Patrick

dnsmichi

Super Moderator

Posts: 6,101

Birthday: May 30th 1983 (30)

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

6

Wednesday, August 8th 2012, 11:40pm

es gibt suse packages, die man sich per yast holen kann, soweit mir bekannt (ich bin allerdings bekennender installier-dir-suse verweigerer).

mehr links hier: https://www.icinga.org/download/packages/
+++ Icinga / LConf Developer +++ Senior Consultant at []NETWAYS> +++
+++ Icinga 1.9 || Icinga 2 +++ Icinga Support || IRC +++

Patrick K.

Beginner

Posts: 23

Number of monitoring servers: Nein

Nagios Version: Icinga 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 2

Number of services: 2

OS: OpenSuse 12.1

Plugin Version: nagios_plugins_1.4.15

7

Friday, August 10th 2012, 11:49am

Suse

ok also ich muss sagen bin etwas frisch in der Linux Welt. Dachte ich hätte mit OpenSuse eine ganz gute Wahl getroffen :D

Ich hab es aber wenigstens geschafft ein XP Client zu überwachen und nicht nur per Ping ! Was mir aber erst mit der NSClient++-Win32-0.3.1.msi gelungen ist. Hier ist der Aufbau der nsc.ini viel einfacher und die Module sind auch schon angegeben welche nur noch auskommentiert werden müssen. Mit der neusten Version NSCP-0.4.0.183-Win32 war es mir einfach nicht möglich.

Spricht eigentlich generell etwas dagegen eine ältere Version einzusetzen ?

Gruß

Patrick