Page 1 of 2
PNP graphs for hostgroup
Posted: Tue Aug 28, 2012 11:43 pm
by ytlcomm
Hi guys,
Need your assistance to get below graphs for specific hostgroup. I've tried to modify the PHP URL to cater this but failed. Is it possible? How do I do that?
1.png
- Faiz
Re: PNP graphs for hostgroup
Posted: Wed Aug 29, 2012 7:01 am
by scottwilkerson
This isn't just one graphic, it is many.
if you click the link at the bottom that says "More Performance Graphs" you will get a URL that has them all
Re: PNP graphs for hostgroup
Posted: Wed Aug 29, 2012 8:32 pm
by ytlcomm
No. I'm looking for this PNP graphs for the whole hostgroup. Let say, for Linux Server hostgroup, I want to be able to see multiple graphs of CPU utilization of different host. Is it possible to do that?
Re: PNP graphs for hostgroup
Posted: Thu Aug 30, 2012 9:51 am
by mguthrie
The metrics component will allow you you to do this for a few common metrics like CPU usage, Load, Memory, and Disk usage. But apart from that we don't have a way to view all graphs by hostgroup or servicegroup. It's not a bad idea though!
Re: PNP graphs for hostgroup
Posted: Thu Sep 27, 2012 3:24 am
by ytlcomm
Hi, I've noticed that my graphs suddenly missing! What should I do? Where to start troubleshooting? I've followed the step mention in this
thread, but not success. Please help.
1.jpg
Re: PNP graphs for hostgroup
Posted: Thu Sep 27, 2012 2:47 pm
by scottwilkerson
Had you recently added anything to the server?
What version of XI are you running?
Re: PNP graphs for hostgroup
Posted: Thu Sep 27, 2012 10:21 pm
by ytlcomm
I'm using Nagios XI 2011R3.2
I have added multiple hosts and group it into one hostgroup. Create one service and assign it to the hostgroup I just create just now. Is it because 'Process perf data' set to skip? I remember it works before this and suddenly it gone missing.
Re: PNP graphs for hostgroup
Posted: Fri Sep 28, 2012 10:57 am
by mguthrie
Take a look at this wiki and see if it applies to your issue:
http://support.nagios.com/wiki/index.ph ... ve_No_Data
Also, run the following from the command-line to make sure the graphing service is still running.
What kind of CPU load is your server running on average?
Re: PNP graphs for hostgroup
Posted: Sun Sep 30, 2012 10:13 pm
by ytlcomm
Hi,
As requested.
Code: Select all
[root@nagios01 services]# cd /usr/local/nagios/var/spool/xidpe
You have new mail in /var/spool/mail/root
[root@nagios01 xidpe]# ls -f | wc -l
2
NPCD is running
Code: Select all
[root@nagios01 lock]# service npcd status
NPCD running (pid 13598).
[root@nagios01 lock]# service npcd restart
NPCD Stopped.
NPCD started.
Load average. There are 8 CPU cores.
Code: Select all
[root@nagios01 lock]# uptime
11:12:53 up 5 days, 40 min, 2 users, load average: 6.92, 7.83, 7.85
Re: PNP graphs for hostgroup
Posted: Mon Oct 01, 2012 10:08 am
by mguthrie
Lets first make sure npcd isn't halting the perfdata processing because of CPU load. Update /usr/local/nagios/etc/pnp/npcd.cfg with the following value:
Lets also make sure the files aren't being queued up anywhere else:
Code: Select all
cd /usr/local/nagios/var/spool/perfdata
ls -f | wc -l
If the problem doesn't reveal itself shortly we'll get a remote session scheduled to figure out what the issue is.