Thursday, June 20th 2013, 12:44pm 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
Location: Hamburg
Number of monitoring servers: 1
Nagios Version: Icinga Core 1.6.1
Icinga Version: Icinga Web 1.7
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 100
Number of services: 800
OS: Ubuntu Server 11.10
Plugin Version: 1
NDO Version: 1
|
|
Source code |
1 2 3 |
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 15975 ? Sl 0:02 python -m ingraph/bin/ingraphd -d /etc/ingraph -p /var/run/ingraph/ingraphd.pid -u ingraph -o restart 16116 ? S 0:02 python -m ingraph/bin/ingraph_collectord -d /etc/ingraph -p /var/run/ingraph/ingraph-collectord.pid -P /usr/local/icinga/var/perfdata -e *-perfdata.*[0-9] -l 50 -m BACKUP -s 60 -u ingraph -g icinga -o - restart |
Gender: male
Occupation: Application Developer
Nagios Version: -
Icinga Version: 1.8.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: -
Number of services: -
OS: Ubuntu 12.04
Plugin Version: 1.4.16
|
|
Source code |
1 2 3 4 5 |
service_perfdata_file=/usr/local/icinga/var/perfdata/service-perfdata service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=30 service_perfdata_file_processing_command=process-service-perfdata-file |
|
|
Source code |
1 2 3 4 |
define command {
command_name process-service-perfdata-file
command_line mv /usr/local/icinga/var/perfdata/service-perfdata /usr/local/icinga/var/perfdata/service-perfdata.$TIMET$
}
|
Beginner
Number of monitoring servers: 1
Nagios Version: check_mk 1.1.12p6
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 4
Number of services: 98
OS: Linux, Windows
Plugin Version: 1.1.12p6-1
NDO Version: 1
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
Vielleicht hilft es anderen, wenn du schreibst, was verkehrt war.
Quoted
Hat sich erledigt, der Fehler saß vorm Bildschirm
Beginner
Number of monitoring servers: 1
Nagios Version: check_mk 1.1.12p6
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 4
Number of services: 98
OS: Linux, Windows
Plugin Version: 1.1.12p6-1
NDO Version: 1
Beginner
Gender: male
Location: Hamburg
Number of monitoring servers: 1
Nagios Version: Icinga Core 1.6.1
Icinga Version: Icinga Web 1.7
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 100
Number of services: 800
OS: Ubuntu Server 11.10
Plugin Version: 1
NDO Version: 1

|
|
Source code |
1 2 |
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 15975 ingraph 20 0 3611m 3.3g 1340 S 100 21.3 72:39.46 python |
This post has been edited 1 times, last edit by "timmer" (Apr 16th 2012, 5:05pm)
Gender: male
Occupation: Application Developer
Nagios Version: -
Icinga Version: 1.8.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: -
Number of services: -
OS: Ubuntu 12.04
Plugin Version: 1.4.16
Beginner
Gender: male
Location: Hamburg
Number of monitoring servers: 1
Nagios Version: Icinga Core 1.6.1
Icinga Version: Icinga Web 1.7
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 100
Number of services: 800
OS: Ubuntu Server 11.10
Plugin Version: 1
NDO Version: 1
Der ingraph daemon läuft immer noch bei 100% Cpu Last. Bist du sicher, dass das ein normales Verhalten ist? Es sind auch nach wie vor noch keine Performancegraphen im icinga-web zu sehen.Der wird jetzt fleißig in die Datenbank einfügen - solltest du nicht von alleine killen müssen
Gender: male
Occupation: Application Developer
Nagios Version: -
Icinga Version: 1.8.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: -
Number of services: -
OS: Ubuntu 12.04
Plugin Version: 1.4.16
|
|
Source code |
1 |
# strace -p 15975 -s 1024 -o /tmp/ingraph.strace |
|
|
Source code |
1 |
mysql> show processlist; |
Beginner
Gender: male
Location: Hamburg
Number of monitoring servers: 1
Nagios Version: Icinga Core 1.6.1
Icinga Version: Icinga Web 1.7
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 100
Number of services: 800
OS: Ubuntu Server 11.10
Plugin Version: 1
NDO Version: 1
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 |
mysql> show processlist; +--------+-----------+-----------------+---------+---------+------+-------+------------------+ | Id | User | Host | db | Command | Time | State | Info | +--------+-----------+-----------------+---------+---------+------+-------+------------------+ | 40 | eventdbrw | localhost:53118 | eventdb | Sleep | 39 | | NULL | | 207515 | icinga | localhost | icinga | Sleep | 1 | | NULL | | 207663 | icinga | localhost | icinga | Sleep | 2718 | | NULL | | 223072 | root | localhost | NULL | Query | 0 | NULL | show processlist | | 223073 | eventdbrw | localhost | eventdb | Sleep | 7 | | NULL | +--------+-----------+-----------------+---------+---------+------+-------+------------------+ 5 rows in set (0.00 sec) |
|
|
Source code |
1 2 |
/tmp$ cat ingraph.strace futex(0xebadc0, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...> |
Gender: male
Occupation: Application Developer
Nagios Version: -
Icinga Version: 1.8.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: -
Number of services: -
OS: Ubuntu 12.04
Plugin Version: 1.4.16
Beginner
Gender: male
Location: Hamburg
Number of monitoring servers: 1
Nagios Version: Icinga Core 1.6.1
Icinga Version: Icinga Web 1.7
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 100
Number of services: 800
OS: Ubuntu Server 11.10
Plugin Version: 1
NDO Version: 1
|
|
Source code |
1 2 |
cat /tmp/ingraph_collectord.strace recvfrom(7, <unfinished ...> |
Gender: male
Occupation: Application Developer
Nagios Version: -
Icinga Version: 1.8.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: -
Number of services: -
OS: Ubuntu 12.04
Plugin Version: 1.4.16
.Beginner
Gender: male
Location: Hamburg
Number of monitoring servers: 1
Nagios Version: Icinga Core 1.6.1
Icinga Version: Icinga Web 1.7
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 100
Number of services: 800
OS: Ubuntu Server 11.10
Plugin Version: 1
NDO Version: 1
|
|
Source code |
1 2 3 4 5 6 |
cat /tmp/ingraph_collectord.strace2
socket(PF_NETLINK, SOCK_RAW, 0) = 7
bind(7, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(7, {sa_family=AF_NETLINK, pid=16116, groups=00000000}, [12]) = 0
sendto(7, "\24\0\0\0\26\0\1\3e\317\216O\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(7, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0e\317\216O\364>\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1\10\0\2\0\177\0\0\1\7\0\3\0lo\0\0<\0\0\0\24\0\2\0e\317\216O\364>\0\0\2\30\200\0\2\0\0\0\10\0\1\0\n\233\fj\10\0\2\0\n\233\fj\10\0\4\0\n\233\f\377\t\0\3\0eth0\0\0\0\0\24\0\6\0\377\377\377\377\377\377\377\377\23\5\0\0\23\5\0\0\340\220\2700\377\177\0\0\360\22\225\2\0\0\0\0\240!D\0\0\0\0\0\320\340\202\2\0\0\0\000000000;5000.000000;0.000000 pl=0%;80;100\222\r7\366\300\177\0\0\360\336*;\0\0\0\0\0 \0\0\0\0\0\0\0 \0\0\0\0\0\0\1\0\0\0\0\0\0\0\20\221\2700\377\177\0\0\323R6\366\300\177\0\0\220\354\260\2\0\0\0\0\340\231\273\2\0\0\0\0\220\354\260\2\0\0\0\0\0\0\0\0\0\0\0\0\20\221\2700\377\177\0\0\277\"D\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0TA::rta=0.519000ms;3000.\0\0\0\0\0\0\0\000000.000000;0.000000 pl=0%;80;100;0\tHOSTCHECKCOMMAND::check-host-alive\tHOSTSTATE::UP
|
Beginner
Gender: male
Location: Hamburg
Number of monitoring servers: 1
Nagios Version: Icinga Core 1.6.1
Icinga Version: Icinga Web 1.7
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 100
Number of services: 800
OS: Ubuntu Server 11.10
Plugin Version: 1
NDO Version: 1
Gender: male
Occupation: Application Developer
Nagios Version: -
Icinga Version: 1.8.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: -
Number of services: -
OS: Ubuntu 12.04
Plugin Version: 1.4.16
Beginner
Gender: male
Location: Hamburg
Number of monitoring servers: 1
Nagios Version: Icinga Core 1.6.1
Icinga Version: Icinga Web 1.7
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 100
Number of services: 800
OS: Ubuntu Server 11.10
Plugin Version: 1
NDO Version: 1
Gender: male
Occupation: Application Developer
Nagios Version: -
Icinga Version: 1.8.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: -
Number of services: -
OS: Ubuntu 12.04
Plugin Version: 1.4.16
|
|
Source code |
1 2 |
# cat /etc/default/ingraph-collector INGRAPH_COLLECTOR_FILE_MODE="REMOVE" |
|
|
Source code |
1 |
for file in $(find $PERFDATADIR -type f -name \*.bak -mtime -7); do mv $file ${file%.bak}; done;
|
Beginner
Number of monitoring servers: 1
Nagios Version: Icinga 1.6
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 120
Number of services: 60
OS: Debian
Plugin Version: Ingraph
NDO Version: 1
|
|
Source code |
1 |
if last_flush + 30 < time.time() or len(updates) >= 25000: |