Hello and thanks for your reply,
- Can we see the exact configuration?
Sure, which configuration would you require? Icinga/PNP/rrdcached/.. ?
Which exact files?
As I stated in my original post, I used the supplied guide in order to get
PNP up and running, so all configurations are identical to the ones there.
Here's the service configuration, which was included in the .deb package
from the repo (the only thing added is action_url):
apply Service "ping4" {
import "generic-service"
check_command = "ping4"
vars.sla = "24x7"
assign where "linux-servers" in host.groups
assign where "windows-servers" in host.groups
ignore where host.address == ""
action_url = "/pnp4nagios/graph?host=$HOSTNAME$&srv=$SERVICEDESC$'
class='tips' rel='/pnp4nagios/popup?host=$HOSTNAME$&srv=$SERVICEDESC$"
}
And here's a listing of the perfdata/localhost folder, so you could see
other services are creating and populating rrd-files:
root@SERVERNAME:/var/lib/pnp4nagios/perfdata/localhost# ll
total 22188
drwxrwxr-x 2 nagios nagios 4096 Aug 5 14:17 ./
drwxr-xr-x 4 nagios nagios 4096 Jul 25 15:32 ../
-rw-rw-r-- 1 nagios nagios 768224 Aug 5 14:00 apt.rrd
-rw-rw-r-- 1 nagios nagios 2530 Aug 5 14:16 apt.xml
-rw-rw-r-- 1 nagios nagios 3067856 Aug 5 14:14 disk.rrd
-rw-rw-r-- 1 nagios nagios 6915 Aug 5 14:16 disk.xml
-rw-rw-r-- 1 nagios nagios 768224 Jul 29 00:35 _HOST_.rrd
-rw-rw-r-- 1 nagios nagios 2455 Jul 29 00:35 _HOST_.xml
-rw-rw-r-- 1 nagios nagios 768224 Aug 5 14:09 http.rrd
-rw-rw-r-- 1 nagios nagios 2512 Aug 5 14:16 http.xml
-rw-rw-r-- 1 nagios nagios 14566016 Aug 5 14:03 icinga.rrd
-rw-rw-r-- 1 nagios nagios 27147 Aug 5 14:16 icinga.xml
-rw-rw-r-- 1 nagios nagios 1151496 Aug 5 14:11 load.rrd
-rw-rw-r-- 1 nagios nagios 3176 Aug 5 14:17 load.xml
-rw-rw-r-- 1 nagios nagios 384952 Aug 5 13:48 procs.rrd
-rw-rw-r-- 1 nagios nagios 1874 Aug 5 14:17 procs.xml
-rw-rw-r-- 1 nagios nagios 384952 Aug 5 13:46 ssh.rrd
-rw-rw-r-- 1 nagios nagios 1882 Aug 5 14:17 ssh.xml
-rw-rw-r-- 1 nagios nagios 384952 Aug 5 14:13 swap.rrd
-rw-rw-r-- 1 nagios nagios 1956 Aug 5 14:16 swap.xml
-rw-rw-r-- 1 nagios nagios 384952 Aug 5 13:54 users.rrd
-rw-rw-r-- 1 nagios nagios 1862 Aug 5 14:16 users.xml
- Verify that these check commands and plugins provide valid performance
data.
"..even though I can see the performance data under "Service State
Information" ". Here's what I see under the service ping4 as an example -
Performance Data:pl=0%;5;15;0 rta=3.1999999999999999e-05s;0.1;0.2;0
- Hard to tell with that little details you provided.
"Please let me know if you require any additional details from my end." :)
On Tue, Aug 5, 2014 at 5:44 PM, Michael Friedrich <
[email protected]> wrote:
> Am 05.08.2014 17:17, schrieb Yuval Freund:
>
> Hello,
>
> I set up the latest version (2.0.1) of Icinga2 on an Ubuntu 14.04
> Machine with ClassicUI and pnp4nagios using the official repository.
> Everything seems to be working, including my integration with the
> ClassicUI, accept for one issue - pnp only recieves performance data from
> services which are directly configured under the host, but not for services
> which were applied from services.conf .
>
>
> Can we see the exact configuration?
>
>
>
> Example - With the supplied test configs, I can see graphs for services
> such as users, procs, and swap, but not for ping4 nor ping6, even though I
> can see the performance data under "Service State Information".
> There are also no rrd files created for these services
> under /var/lib/pnp4nagios/perfdata/localhost
>
>
> Verify that these check commands and plugins provide valid performance
> data.
>
>
>
> Is it a current limitation/bug, or am I doing something wrong?
>
>
> Hard to tell with that little details you provided.
>
>
> Please let me know if you require any additional details from my end. I
> followed this guide in order to get pnp up and running:
>
> https://wiki.icinga.org/display/howtos/Setting+up+PNP+with+Icinga2+on+Debian
>
> Thanks in advance.
>
>
> _______________________________________________
> icinga-users mailing
> [email protected]https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
>
> --
> Michael Friedrich, DI (FH)
> Application Developer
>
> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
> GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
> http://www.netways.de | [email protected]
>
> ** Open Source Backup Conference 2014 - September - osbconf.org **
> ** Puppet Camp Duesseldorf 2014 - Oktober - netways.de/puppetcamp **
> ** OSMC 2014 - November - netways.de/osmc **
> ** OpenNebula Conf 2014 - Dezember - opennebulaconf.com **
>
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users