Thursday, May 23rd 2013, 6:12pm 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.

jediknight

Beginner

Posts: 33

Birthday: Jun 13th 1980 (32)

Occupation: Systemadministrator

Number of monitoring servers: 2

Nagios Version: 2.10

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 28 Srv

Number of services: 150+

OS: gentoo

Plugin Version: 1.4.10

1

Wednesday, December 19th 2007, 2:32pm

1000 Mails

Hallo Forum,

also zunächst: ich habe einen Server der hat nur noch 700MB frei bei ner 8 GB Partition.
Nagios schickt mir in 3 Minutenabständen Kritische Mails während der Arbeitszeit und das schon seit Tagen. Kann ich irgendwie konfigurieren, dass ein, zwei Mails genug sind für diesen einen Server? Ich will das notification_intervall nicht erhöhen, da ich diesen Check für viele hostgroups verwende.

danke im voraus
jediknight

pitchfork

Administrator

Posts: 18,450

Location: Kassel

Occupation: Sysadmin SAP / Linux / AIX

Number of monitoring servers: 2

Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)

Nagios Version: 3.2.3 ( OMD )

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 360

Number of services: 6700

OS: Debian 6.0

Plugin Version: 1.4.x

Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk

2

Wednesday, December 19th 2007, 2:36pm

wie wärs mit einem Acknowledge des Alarms ?
+++ PNP Developer +++ PNP 0.6.21 ist online ! +++
Hilfreiche Infos gefunden? Dann schnell ein paar Cent flattrn
OMD - Open Monitoring Distribution

WolverineJR

Professional

Posts: 843

Gender: male

Location: Nähe Frankfurt

Occupation: Sys-Admin

Number of monitoring servers: 1

Nagios Version: 3.2.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: ~ 250

Number of services: ~ 2500

OS: Debian Lenny

Plugin Version: 1.4.15

NagVis Version: 1.5.1

Other Addons: PnP 0.6.11, SNMPTT 0.1.2, NagTrap 0.1.3, DokuWiki, SMSTools, mklivestatus

3

Wednesday, December 19th 2007, 2:37pm

RE: 1000 Mails

... oder Du setzt die Schwellwerte für den Check rauf bzw. runter (ganz wie man es sieht :D )
Gruß,

Wolvie

--> Wer glaubt das Projektmanager Projekte managen, glaubt auch das Zitronenfalter Zitronen falten. :P

jediknight

Beginner

Posts: 33

Birthday: Jun 13th 1980 (32)

Occupation: Systemadministrator

Number of monitoring servers: 2

Nagios Version: 2.10

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 28 Srv

Number of services: 150+

OS: gentoo

Plugin Version: 1.4.10

4

Wednesday, December 19th 2007, 2:40pm

Quoted

Original von pitchfork
wie wärs mit einem Acknowledge des Alarms ?


wie macht man das?

pitchfork

Administrator

Posts: 18,450

Location: Kassel

Occupation: Sysadmin SAP / Linux / AIX

Number of monitoring servers: 2

Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)

Nagios Version: 3.2.3 ( OMD )

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 360

Number of services: 6700

OS: Debian 6.0

Plugin Version: 1.4.x

Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk

5

Wednesday, December 19th 2007, 2:43pm

Im Webfrontend Acknowledge auf den Alarm ?!
+++ PNP Developer +++ PNP 0.6.21 ist online ! +++
Hilfreiche Infos gefunden? Dann schnell ein paar Cent flattrn
OMD - Open Monitoring Distribution

jediknight

Beginner

Posts: 33

Birthday: Jun 13th 1980 (32)

Occupation: Systemadministrator

Number of monitoring servers: 2

Nagios Version: 2.10

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 28 Srv

Number of services: 150+

OS: gentoo

Plugin Version: 1.4.10

6

Wednesday, December 19th 2007, 2:47pm

aha habe acknoledge gefunden und bekommen folgenden Meldung (oder Dave kriegt die =) )

Sorry Dave, I can't let you do that...

It seems that you have chosen to not use the authentication functionality of the CGIs.

I don't want to be personally responsible for what may happen as a result of allowing unauthorized users to issue commands to Nagios,so you'll have to disable this safeguard if you are really stubborn and want to invite trouble.

Read the section on CGI authentication in the HTML documentation to learn how you can enable authentication and why you should want to.

This post has been edited 1 times, last edit by "jediknight" (Dec 19th 2007, 2:48pm)


Andurin

Unregistered

7

Wednesday, December 19th 2007, 3:02pm

Dann meld dich mal mit dem Contact an, der auch die Mails erhält... wäre ja noch schöner, wenn jeder alles darf :P

jediknight

Beginner

Posts: 33

Birthday: Jun 13th 1980 (32)

Occupation: Systemadministrator

Number of monitoring servers: 2

Nagios Version: 2.10

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 28 Srv

Number of services: 150+

OS: gentoo

Plugin Version: 1.4.10

8

Wednesday, December 19th 2007, 3:07pm

in der cgi.cfg steht drinn

authentication=1
authorized_for_all_service = ich
authorized_for_all_hosts = ich

um das Nagios interface zu sehen habe ich mich als "ich" eingeloggt.

so vorher war es:
authentication=0
authorized_for_all_service = *
authorized_for_all_hosts = *

jetzt bekomme ich die Meldung

Sorry, but you are not authorized to commit the specified command.
Read the section of the documentation that deals with authentication and authorization in the CGIs for more information.

pitchfork

Administrator

Posts: 18,450

Location: Kassel

Occupation: Sysadmin SAP / Linux / AIX

Number of monitoring servers: 2

Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)

Nagios Version: 3.2.3 ( OMD )

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 360

Number of services: 6700

OS: Debian 6.0

Plugin Version: 1.4.x

Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk

9

Wednesday, December 19th 2007, 3:11pm

Quoted

Original von jediknight
Sorry, but you are not authorized to commit the specified command.
Read the section of the documentation that deals with authentication and authorization in the CGIs for more information.


Ich suchs dir mal raus .... Moment ... www.nagios.org ... 2,x oder 3.x ??? ... egal ...

http://nagios.sourceforge.net/docs/3_0/cgiauth.html

Bitteschön
+++ PNP Developer +++ PNP 0.6.21 ist online ! +++
Hilfreiche Infos gefunden? Dann schnell ein paar Cent flattrn
OMD - Open Monitoring Distribution

jediknight

Beginner

Posts: 33

Birthday: Jun 13th 1980 (32)

Occupation: Systemadministrator

Number of monitoring servers: 2

Nagios Version: 2.10

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 28 Srv

Number of services: 150+

OS: gentoo

Plugin Version: 1.4.10

10

Wednesday, December 19th 2007, 3:37pm

Danke fürs raussuchen.

also habe die Docu gelesen und folgendes eingestellt

authorized_for_system_information=nagiosadmin
authorized_for_system_commands=nagiosadmin
authorized_for_configuration_information=nagiosadmin
authorized_for_all_hosts=nagiosadmin
authorized_for_all_host_commands=nagiosadmin
authorized_for_all_services=nagiosadmin
authorized_for_all_service_commands=nagiosadmin

schlauer als das bin ich nicht geworden.?!

jetzt bekomme ich diese Meldung

Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!

Read the documentation for information on how to enable external commands...

ich werde mich mal nach den enable external commands umsehen

This post has been edited 1 times, last edit by "jediknight" (Dec 19th 2007, 3:39pm)


pitchfork

Administrator

Posts: 18,450

Location: Kassel

Occupation: Sysadmin SAP / Linux / AIX

Number of monitoring servers: 2

Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)

Nagios Version: 3.2.3 ( OMD )

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 360

Number of services: 6700

OS: Debian 6.0

Plugin Version: 1.4.x

Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk

11

Wednesday, December 19th 2007, 3:40pm

Und du bist als nagiosadmin angemeldet ?

Steht das oben links auch in Web Interface ?
Sowas wie "logged in as nagiosadmin"
+++ PNP Developer +++ PNP 0.6.21 ist online ! +++
Hilfreiche Infos gefunden? Dann schnell ein paar Cent flattrn
OMD - Open Monitoring Distribution

Andurin

Unregistered

12

Wednesday, December 19th 2007, 3:47pm

Quoted

Original von jediknight
Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!

Read the documentation for information on how to enable external commands...



Das hier?

http://nagios.sourceforge.net/docs/3_0/c…ternal_commands

jediknight

Beginner

Posts: 33

Birthday: Jun 13th 1980 (32)

Occupation: Systemadministrator

Number of monitoring servers: 2

Nagios Version: 2.10

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 28 Srv

Number of services: 150+

OS: gentoo

Plugin Version: 1.4.10

13

Thursday, December 20th 2007, 9:12am

also, wenn ich in der nagios.cfg check_external_commands=1 einstselle um das acknowledge auszuführen bekomme ich die Whoops Seite...

Whoops!

Error: Could not read host and service status information!

The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply...

Posts: 7,238

Gender: male

Number of monitoring servers: 2

Nagios Version: 3.2.1

Icinga Version: Icinga 1.7.x

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: >70

Number of services: >200

OS: SLES11

Plugin Version: 1.4.15

Other Addons: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6.18

14

Thursday, December 20th 2007, 9:27am

*seufz
Kann es sein, daß Du ein wenig ungeduldig bist? Funktioniert vielleicht ein Refresh im Browser ein paar Sekunden später? Hast Du mit ps -ef | grep nagios.cfg geprüft, ob Nagios läuft? Hast Du schon mal die Suchfunktion hier im Forum benutzt, um nach der Meldung zu suchen?

jediknight

Beginner

Posts: 33

Birthday: Jun 13th 1980 (32)

Occupation: Systemadministrator

Number of monitoring servers: 2

Nagios Version: 2.10

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 28 Srv

Number of services: 150+

OS: gentoo

Plugin Version: 1.4.10

15

Thursday, December 20th 2007, 10:43am

Tatsächlich nagios lässt sich nicht mehr starten. parameter -v gibt keinen Fehler zurück.

also dann bin ich mal ganz geduldig und suche im Forum ... X(

This post has been edited 3 times, last edit by "jediknight" (Dec 20th 2007, 10:51am)


Posts: 7,238

Gender: male

Number of monitoring servers: 2

Nagios Version: 3.2.1

Icinga Version: Icinga 1.7.x

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: >70

Number of services: >200

OS: SLES11

Plugin Version: 1.4.15

Other Addons: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6.18

16

Thursday, December 20th 2007, 10:53am

Wenn der Check keine Fehler findet und Nagios ohne ersichtlichen Grund abbricht, solltest Du mal einen Blick in die Log-Datei werfen (voraussichtlich nagios.log).

jediknight

Beginner

Posts: 33

Birthday: Jun 13th 1980 (32)

Occupation: Systemadministrator

Number of monitoring servers: 2

Nagios Version: 2.10

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 28 Srv

Number of services: 150+

OS: gentoo

Plugin Version: 1.4.10

17

Thursday, December 20th 2007, 11:34am

also nach herumkonfigurieren und ändern läuft nun nagios und ich habe ein berechtigungsproblem auf das File nagios.cmd im rw verzeichnis.

Die User apache und nagios sind in der Gruppe Nagcmd die ser Gruppe, ich habe rechte auf das Rw verzeichnis folgender massen vergeben rwxrwxrwt so wie ich es in der englischen doku verstanden habe. :baby:

tja vorher war das rw verzeichnis auf 777 auf user nagios und gruppe nagios eingestellt
auch das sticky bit habe ich mit diesem user und gruppe gesetzt.

muss ich da ne htpasswd.users anlegen, damit der Webserver drauf zugreifen kann? glaube eher nicht habe nichts davon gelesen

This post has been edited 1 times, last edit by "jediknight" (Dec 20th 2007, 11:38am)


Posts: 7,238

Gender: male

Number of monitoring servers: 2

Nagios Version: 3.2.1

Icinga Version: Icinga 1.7.x

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: >70

Number of services: >200

OS: SLES11

Plugin Version: 1.4.15

Other Addons: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6.18

18

Thursday, December 20th 2007, 11:59am

Lies mal hier

jediknight

Beginner

Posts: 33

Birthday: Jun 13th 1980 (32)

Occupation: Systemadministrator

Number of monitoring servers: 2

Nagios Version: 2.10

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 28 Srv

Number of services: 150+

OS: gentoo

Plugin Version: 1.4.10

19

Thursday, December 20th 2007, 12:11pm

danke fürs raussuchen aber diese Einträge habe ich schon vor langem gemacht

jediknight

Beginner

Posts: 33

Birthday: Jun 13th 1980 (32)

Occupation: Systemadministrator

Number of monitoring servers: 2

Nagios Version: 2.10

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 28 Srv

Number of services: 150+

OS: gentoo

Plugin Version: 1.4.10

20

Thursday, December 20th 2007, 12:17pm

öha, jetzt hab ich chown apache -R /usr/local/nagios/var/rw eingegeben uns siehe da, das acknowledge ist durchgegangen.

danke schön 8)

This post has been edited 1 times, last edit by "jediknight" (Dec 20th 2007, 12:18pm)