Tuesday, May 21st 2013, 2:39pm UTC+2

You are not logged in.

  • Login
  • Register

Barntrup

Intermediate

Posts: 468

Birthday: Dec 17th 1975 (37)

Gender: male

Location: Dörentrup

Occupation: SysAdmin

Number of monitoring servers: 2

Nagios Version: 3.0

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 175

Number of services: 890

OS: Debian Etch

Plugin Version: 1.4.11

Perfparse Version: -

Other Addons: PNP 0.4.9, NC_NET, DokuWiki, NagTrap

1

Friday, March 31st 2006, 11:45am

NagiosGrapher hat keine inhalte... (jetzt doch, aber)

Hallo,

habe versuch den NagiosGrapher zu installieren, in der Pipe landen Daten, die serviceextdateien wurden angelegt und die rrds auch, leider werden irgendwie keine Daten übernommen, (siehe log) und dei Graphen bleiben leer...

Laut der hier im forum genannten Seite zur überprüfung der Regex passt die aber (zumal die auch nur abkopiert ist)

ngraph.ncfg:
# Ping RTA
define ngraph{
service_name PING
graph_perf_regex rta=([0-9]*\.[0-9]*)
graph_value RTA
graph_units ms
graph_legend Time to answer
page RTA
rrd_plottype AREA
rrd_color 00a000
}


Log:
2006-03-31 11:43:02 PIPE: ktl-switch3 PING OK - 10.5.2.8: rta 13.637ms, lost 0% rta=13.637ms;300.000;1000.000;0; pl=0%;20;60;;
2006-03-31 11:43:02 VALUES: [ktl-switch3][PING]:No matching output values found...
2006-03-31 11:43:02 PIPE: blg-juz-hdd PING CRITICAL - 10.12.13.10: rta nan, lost 100% rta=0.000ms;300.000;1000.000;0; pl=100%;20;60;;
2006-03-31 11:43:02 VALUES: [blg-juz-hdd][PING]:No matching output values found...
2006-03-31 11:43:02 PIPE: btp-Minolta3100 PING OK - 10.2.2.21: rta 1.090ms, lost 0% rta=1.090ms;100.000;500.000;0; pl=0%;20;60;;
2006-03-31 11:43:02 VALUES: [btp-Minolta3100][PING]:No matching output values found...
2006-03-31 11:43:02 PIPE: btp-LexT634 PING OK - 10.2.3.20: rta 3.166ms, lost 0% rta=3.166ms;100.000;500.000;0; pl=0%;20;60;;
2006-03-31 11:43:02 VALUES: [btp-LexT634][PING]:No matching output values found...
2006-03-31 11:43:02 PIPE: blg-vpn-kitazauber PING OK - 10.12.15.1: rta 73.490ms, lost 0% rta=73.490ms;300.000;1000.000;0; pl=0%;20;60;;
2006-03-31 11:43:02 VALUES: [blg-vpn-kitazauber][PING]:No matching output values found...
Mark

###################

This post has been edited 1 times, last edit by "Barntrup" (Mar 31st 2006, 5:40pm)


Barntrup

Intermediate

Posts: 468

Birthday: Dec 17th 1975 (37)

Gender: male

Location: Dörentrup

Occupation: SysAdmin

Number of monitoring servers: 2

Nagios Version: 3.0

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 175

Number of services: 890

OS: Debian Etch

Plugin Version: 1.4.11

Perfparse Version: -

Other Addons: PNP 0.4.9, NC_NET, DokuWiki, NagTrap

2

Friday, March 31st 2006, 5:36pm

NagiosGrapher hat nun doch Inhalte aber...

Hallo,

irgendwie (keine Ahnung (leider) wie) werden die werte aus den Regexp dann doch erkannt. Zumindest beim Check PING.

Da ich von Regexp nicht wirklich eine Ahnung habe, wollte ich mal fragen, ob mir jemand für folgende Ausgaben die entsprechenden Regexp zur Verfügung stellen könnte...

CPU LOAD OK [0 %]
DISK OK [983 MB (98%) free on D:\ Label: Serial Number xxxxxxx]
DNS OK: 0,058 seconds response time
FTP OK - 0,049 second response time on port 21 [220 Microsoft FTP Service]
SMTP OK - 0,132 sec. response time
POP OK - 0,166 second response time on port 110
HTTP OK HTTP/1.1 200 OK - 1551 bytes in 0.523 seconds

Ist wahrschinlich etwas dreist, wäre trotzdem sehr dankbar...
Mark

###################

Barntrup

Intermediate

Posts: 468

Birthday: Dec 17th 1975 (37)

Gender: male

Location: Dörentrup

Occupation: SysAdmin

Number of monitoring servers: 2

Nagios Version: 3.0

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 175

Number of services: 890

OS: Debian Etch

Plugin Version: 1.4.11

Perfparse Version: -

Other Addons: PNP 0.4.9, NC_NET, DokuWiki, NagTrap

3

Friday, March 31st 2006, 6:26pm

RE: NagiosGrapher hat nun doch Inhalte aber...

OK,

warum er zwischenzeitlich keine werte erkannt hat, weiss ich mittlerweile - es war noch ein zweiter graph definiert, der ggfls. die "Loss" darstellen sollte (war glaube in der Bespiel Config mit drin)

Kann das trotzdem irgendwie dagestellt werden?

Hier mal (die auskommentierte) config:

# Ping Packet loss
#define ngraph{
# service_name PING
# graph_log_regex loss = ([0-9]*)
# graph_value Loss
# graph_units %
# graph_legend Loss
# page 2 Loss
# rrd_plottype LINE2
# rrd_color ff0000
#}
Mark

###################