PNP graphs for hostgroup

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ytlcomm
Posts: 62
Joined: Tue May 22, 2012 8:52 pm

PNP graphs for hostgroup

Post 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
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: PNP graphs for hostgroup

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ytlcomm
Posts: 62
Joined: Tue May 22, 2012 8:52 pm

Re: PNP graphs for hostgroup

Post 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?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: PNP graphs for hostgroup

Post 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!
ytlcomm
Posts: 62
Joined: Tue May 22, 2012 8:52 pm

Re: PNP graphs for hostgroup

Post 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
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: PNP graphs for hostgroup

Post by scottwilkerson »

Had you recently added anything to the server?

What version of XI are you running?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ytlcomm
Posts: 62
Joined: Tue May 22, 2012 8:52 pm

Re: PNP graphs for hostgroup

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: PNP graphs for hostgroup

Post 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.

Code: Select all

service npcd restart
What kind of CPU load is your server running on average?
ytlcomm
Posts: 62
Joined: Tue May 22, 2012 8:52 pm

Re: PNP graphs for hostgroup

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: PNP graphs for hostgroup

Post 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:

Code: Select all

load_threshold = 20.0
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.
Locked