Missing graphs for service

39 views
Skip to first unread message

Pavel Zelenka

unread,
Jan 25, 2016, 4:39:26 PM1/25/16
to nagrestconf-users
Hi,

I have a problem with graphs for service. I created new host and added a service. The command works and returns correct data.
I noticed that in directory /volume1/@appstore/Synagios/nagios-chroot/var/lib/pnp4nagios/perfdata there is a subdirectory for a host that contains files "_HOST_.rrd" and "_HOST_.xml" but datafiles for service are missing.
I checked host and service configuration but didn't find any difference. The host and service use same templates as hosts and services for which graphs work.
Any idea what may be wrong?

Thanks

Pavel

Mark Clarkson

unread,
Jan 25, 2016, 7:08:32 PM1/25/16
to nagrestc...@googlegroups.com
The plugin must return performance data for it to be graphed. Check that
the performance data appears in the Nagios GUI
(http://diskstation:8888/nagios3/). Click on the service and make sure
there is some data in the Performance Data field. Mine is like this for CPU:

Performance Data: 'user'=2.40 'nice'=0.55 'sys'=3.15 'softirq'=1.07
'iowait'=24.30 'irq'=0.50 'idle'=71.49

Also check the Synagios log in the DSM package manager. It should show
all the processes that are running, and one of them should be npcd,
which is responsible for processing the performance data. Npcd should be
listed in the log as '/usr/sbin/npcd -d -f /etc/pnp4nagios/npcd.cfg'.

Hope this helps!

Pavel Zelenka

unread,
Jan 26, 2016, 2:14:19 PM1/26/16
to nagrestconf-users
Hi Mark,

thanks for your reply. I use check_snmp plugin for getting memory and CPU usage. It seems that the problem is in plugin parameters. Without setting threshold and label performace data are missing. Once I provided this setting than it worked.
As I said in my original post the same command worked for other devices. I think that it may be caused by the fact that responses from devices may vary.
Anyway thanks again for your support.

Cheers

Pavel

Dne úterý 26. ledna 2016 1:08:32 UTC+1 Mark Clarkson napsal(a):
Reply all
Reply to author
Forward
0 new messages