Graph is not showing in Nagios
-
- Posts: 196
- Joined: Mon May 27, 2013 3:16 pm
Re: Graph is not showing in Nagios
Hello,
Made the changes, not getting any error this time while verifying nagios configuration.
What is the next step?
Thanks,
Imran Khan.
Made the changes, not getting any error this time while verifying nagios configuration.
What is the next step?
Thanks,
Imran Khan.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Graph is not showing in Nagios
You should now have a graph icon in Nagios, clicking on this will bring up PNP graphs.
Wait about 15 minutes to see if performance data appears.
Wait about 15 minutes to see if performance data appears.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 196
- Joined: Mon May 27, 2013 3:16 pm
Re: Graph is not showing in Nagios
Hello,
That icon is not appeared in nagios.
Thanks,
Imran Khan.
That icon is not appeared in nagios.
Thanks,
Imran Khan.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Graph is not showing in Nagios
imran_khan wrote:That icon is not appeared in nagios
In Nagios, under Current Status click Hostsimran_khan wrote:# example.com' host definition
define host{
use generic-host,host-pnp ; Name of host template to use
host_name example.com
alias example.com
address Server_IP
address Server_IP
check_command check-host-alive
max_check_attempts 10
notification_interval 10
notification_period 24x7
notification_options d,u,r
hostgroups ABCD,PQRST
notes_url /nagios/info/windows.html
contact_groups linuxteam
}
The host example.com should be listed and next to it there will be an icon that looks like a line graph.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 196
- Joined: Mon May 27, 2013 3:16 pm
Re: Graph is not showing in Nagios
Hello,
Correct but that icon is not appeared next to the Host/Server Name. Only showing Extra Notes option and that also is not displaying properly.
Attached the file with this post.
Still not getting graph of any servers.
Thanks,
Imran Khan.
Correct but that icon is not appeared next to the Host/Server Name. Only showing Extra Notes option and that also is not displaying properly.
Attached the file with this post.
Still not getting graph of any servers.
Thanks,
Imran Khan.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Graph is not showing in Nagios
Putting the icon issue aside for a minute, are perfdata folder/files now being generated?
Code: Select all
ls -al /usr/local/pnp4nagios/var/perfdata
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 196
- Joined: Mon May 27, 2013 3:16 pm
Re: Graph is not showing in Nagios
Hello,
Thanks for the reply. Files are not generating.
[root@localhost ~]# ls -al /usr/local/pnp4nagios/var/perfdata
total 8
drwxr-xr-x 2 nagios nagios 4096 Jul 15 22:19 .
drwxr-xr-x 6 nagios nagios 4096 Jul 16 13:26 ..
Any update/suggestion?
Thanks,
Imran Khan.
Thanks for the reply. Files are not generating.
[root@localhost ~]# ls -al /usr/local/pnp4nagios/var/perfdata
total 8
drwxr-xr-x 2 nagios nagios 4096 Jul 15 22:19 .
drwxr-xr-x 6 nagios nagios 4096 Jul 16 13:26 ..
Any update/suggestion?
Thanks,
Imran Khan.
-
- Posts: 196
- Joined: Mon May 27, 2013 3:16 pm
Re: Graph is not showing in Nagios
Hello Box293,
Any update/suggestion. Please help me out of this.
Thanks,
Imran Khan.
Any update/suggestion. Please help me out of this.
Thanks,
Imran Khan.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Graph is not showing in Nagios
It's time to look at some log files.
At the CLI type:
Now go to a host and schedule an immediate check. Does anything appear on the cli?
We can turn on full debugging for Nagios.
Edit /usr/local/nagios/etc/nagios.cfg
Change:
To:
Restart Nagios
At the CLI type:
Now go to a host and schedule an immediate check. What appears on the cli (relevent to the host you just checked)?
At the CLI type:
Code: Select all
tail -f /var/log/messages
We can turn on full debugging for Nagios.
Edit /usr/local/nagios/etc/nagios.cfg
Change:
Code: Select all
debug_level=0
Code: Select all
debug_level=-1
At the CLI type:
Code: Select all
tail -f /usr/local/nagios/var/nagios.debug
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 196
- Joined: Mon May 27, 2013 3:16 pm
Re: Graph is not showing in Nagios
Hello,
Schedule and immediate checked.
Not generating any log on /var/log/messages.
Turned on debugging in Nagios and restarted Nagios service.
Schedule and immediate checked.
Not generating any log on /usr/local/nagios/var/nagios.log.
Thanks,
Imran Khan.
Schedule and immediate checked.
Not generating any log on /var/log/messages.
Turned on debugging in Nagios and restarted Nagios service.
Schedule and immediate checked.
Not generating any log on /usr/local/nagios/var/nagios.log.
Thanks,
Imran Khan.