Hi Kyang,
Thanks for the reply.
I think we are using pnp4nagios to get the performance graph of the each host.The page is redirected to the path as given below and the service using is Host Perfdata.
http://10.211.31.191/pnp4nagios/graph?h ... testserver
Please find the error while checking the memory ,disk.
Thanks in advance.
How can we monitor pnp4nagios and integrated with NCPA?
-
- Posts: 138
- Joined: Mon Nov 30, 2015 6:12 am
Re: How can we monitor pnp4nagios and integrated with NCPA?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 3739
- Joined: Thu May 05, 2016 3:54 pm
Re: How can we monitor pnp4nagios and integrated with NCPA?
This seems like an error with how PNP4Nagios is interpreting this host's performance data. Which is ... odd.
Strictly speaking though, this is a PNP4Nagios problem. Not a Nagios Core or NCPA problem.
This old mail chain from 2009 implies that you should delete the existing RRDs for the windows_testserver host and start from scratch:
https://sourceforge.net/p/pnp4nagios/ma ... /23733505/
Alternatively, there seem to be options within PNP4Nagios to account for dynamically changing series as mentioned in the above email chain.
There is a PNP4Nagios mailing list on SourceForge as well, which may also be a good place to ask these questions:
https://sourceforge.net/projects/pnp4na ... rce=navbar
Strictly speaking though, this is a PNP4Nagios problem. Not a Nagios Core or NCPA problem.
This old mail chain from 2009 implies that you should delete the existing RRDs for the windows_testserver host and start from scratch:
https://sourceforge.net/p/pnp4nagios/ma ... /23733505/
Alternatively, there seem to be options within PNP4Nagios to account for dynamically changing series as mentioned in the above email chain.
There is a PNP4Nagios mailing list on SourceForge as well, which may also be a good place to ask these questions:
https://sourceforge.net/projects/pnp4na ... rce=navbar
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: How can we monitor pnp4nagios and integrated with NCPA?
Thanks for the help @mcapra!
mcapra is right, it does not seem to be a Nagios related issue.
Please try his suggestions and let us know if you have any questions.
mcapra is right, it does not seem to be a Nagios related issue.
Please try his suggestions and let us know if you have any questions.
-
- Posts: 138
- Joined: Mon Nov 30, 2015 6:12 am
Re: How can we monitor pnp4nagios and integrated with NCPA?
Hello Experts,
could you please clarify the missing options.
I have installed NCPA agent on the client side and monitored via nagios server.
From nagios server side, I seen that one option is missed out (Perform Extra actions ) nearby hostname. Attaching the screenshot1
while I seen the options ,when the nsclient++ installed and monitored via nagios server . Attaching the screenshot 2
The option will be redirected to another web page 192.168.xx.x/pnp4nagios//index.php/graph?host=hostname to monitor the performance graph of client.
but we manually able to see the performance graph via NCPA agent.
why the option is not visible while monitoring the ncpa client?
Is there any possibility for changing the source code ?
Regards,
Simbu
could you please clarify the missing options.
I have installed NCPA agent on the client side and monitored via nagios server.
From nagios server side, I seen that one option is missed out (Perform Extra actions ) nearby hostname. Attaching the screenshot1
while I seen the options ,when the nsclient++ installed and monitored via nagios server . Attaching the screenshot 2
The option will be redirected to another web page 192.168.xx.x/pnp4nagios//index.php/graph?host=hostname to monitor the performance graph of client.
but we manually able to see the performance graph via NCPA agent.
why the option is not visible while monitoring the ncpa client?
Is there any possibility for changing the source code ?
Regards,
Simbu
You do not have the required permissions to view the files attached to this post.
Re: How can we monitor pnp4nagios and integrated with NCPA?
You know... I think I see what you mean now. Sorry I didn't catch it sooner.
You can add that graph option using the Extended host information. (NOTE: it will be deprecated in a future version)
https://assets.nagios.com/downloads/nag ... ostextinfo
To accomplish this, I would look at your cfg file for BDNFS6
Then find what you have for extended host information there, and change it for NCPA. You will also need to use the correct URL in order to view the graphs.
You can also post your BDNFS6.cfg file for us to review.
You can add that graph option using the Extended host information. (NOTE: it will be deprecated in a future version)
https://assets.nagios.com/downloads/nag ... ostextinfo
To accomplish this, I would look at your cfg file for BDNFS6
Code: Select all
/usr/local/nagios/etc/objects/BDNFS6.cfg
You can also post your BDNFS6.cfg file for us to review.
-
- Posts: 138
- Joined: Mon Nov 30, 2015 6:12 am
Re: How can we monitor pnp4nagios and integrated with NCPA?
Hi Kyang,
Thanks for reply.
The mentioned path is not available in the nagios server,as we are adding the services to the hosts via nconf GUI.
we are using the Nagios core server 3.5.0 version and the mentioned path files are as follows.
[root@nagios_test objects]# pwd
/usr/local/nagios/etc/objects
[root@nagios_test objects]# ls -ltr
total 64
-rw-rw-r--. 1 nagios nagios 4019 Mar 7 2014 windows.cfg
-rw-rw-r--. 1 nagios nagios 3208 Mar 7 2014 timeperiods.cfg
-rw-rw-r--. 1 nagios nagios 10812 Mar 7 2014 templates.cfg
-rw-rw-r--. 1 nagios nagios 3293 Mar 7 2014 switch.cfg
-rw-rw-r--. 1 nagios nagios 3124 Mar 7 2014 printer.cfg
-rw-rw-r--. 1 nagios nagios 5403 Mar 7 2014 localhost.cfg
-rw-rw-r-- 1 nagios nagios 8634 Apr 15 2014 commands.cfg_back
-rw-rw-r--. 1 nagios nagios 2326 Apr 15 2014 contacts.cfg
-rw-rw-r--. 1 nagios nagios 9006 Feb 8 23:34 commands.cfg
could you please assist me further to make changes.
Regards,
Simbu
Thanks for reply.
The mentioned path is not available in the nagios server,as we are adding the services to the hosts via nconf GUI.
we are using the Nagios core server 3.5.0 version and the mentioned path files are as follows.
[root@nagios_test objects]# pwd
/usr/local/nagios/etc/objects
[root@nagios_test objects]# ls -ltr
total 64
-rw-rw-r--. 1 nagios nagios 4019 Mar 7 2014 windows.cfg
-rw-rw-r--. 1 nagios nagios 3208 Mar 7 2014 timeperiods.cfg
-rw-rw-r--. 1 nagios nagios 10812 Mar 7 2014 templates.cfg
-rw-rw-r--. 1 nagios nagios 3293 Mar 7 2014 switch.cfg
-rw-rw-r--. 1 nagios nagios 3124 Mar 7 2014 printer.cfg
-rw-rw-r--. 1 nagios nagios 5403 Mar 7 2014 localhost.cfg
-rw-rw-r-- 1 nagios nagios 8634 Apr 15 2014 commands.cfg_back
-rw-rw-r--. 1 nagios nagios 2326 Apr 15 2014 contacts.cfg
-rw-rw-r--. 1 nagios nagios 9006 Feb 8 23:34 commands.cfg
could you please assist me further to make changes.
Regards,
Simbu
Re: How can we monitor pnp4nagios and integrated with NCPA?
Sorry about that, didn't realize you were on 3.5.0.
Where is the cfg file located for that HOST --> BDNFS6? Is it the windows.cfg?
Where is the ncpa.cfg?
Could you find your cfg files for those two objects. Make sure to post/attach both of them on here so I can review them.
Where is the cfg file located for that HOST --> BDNFS6? Is it the windows.cfg?
Where is the ncpa.cfg?
Could you find your cfg files for those two objects. Make sure to post/attach both of them on here so I can review them.
-
- Posts: 138
- Joined: Mon Nov 30, 2015 6:12 am
Re: How can we monitor pnp4nagios and integrated with NCPA?
Hi Kyang,
The host config files were located under /usr/local/nagios/etc/Default_collector/hosts.cfg
Please find the output of both agents.
For nsclient agent
define host {
host_name BDNFS6
alias BDNFS6
address 10.176.130.36
max_check_attempts 3
check_interval 1
notification_interval 360
notification_options d,u,r,s
notifications_enabled 1
icon_image_alt Windows Server
icon_image base/win40.gif
statusmap_image base/win40.gd2
check_command check-host-alive
check_period 24x7
notification_period 24x7
contact_groups +admins,Monitoring_Team
use windows-server
}
For NCPA Agent
define host {
host_name windows_ncpaclient
alias windows_ncpaclient
address 10.211.27.21
max_check_attempts 3
check_interval 2
notification_interval 360
notification_options d,u,r,s
notifications_enabled 1
icon_image_alt Windows Server
icon_image base/win40.gif
statusmap_image base/win40.gd2
check_command check-host-alive
check_period 24x7
notification_period 24x7
contact_groups +admins
}
Please find attached ncpa.cfg for the reference .
The host config files were located under /usr/local/nagios/etc/Default_collector/hosts.cfg
Please find the output of both agents.
For nsclient agent
define host {
host_name BDNFS6
alias BDNFS6
address 10.176.130.36
max_check_attempts 3
check_interval 1
notification_interval 360
notification_options d,u,r,s
notifications_enabled 1
icon_image_alt Windows Server
icon_image base/win40.gif
statusmap_image base/win40.gd2
check_command check-host-alive
check_period 24x7
notification_period 24x7
contact_groups +admins,Monitoring_Team
use windows-server
}
For NCPA Agent
define host {
host_name windows_ncpaclient
alias windows_ncpaclient
address 10.211.27.21
max_check_attempts 3
check_interval 2
notification_interval 360
notification_options d,u,r,s
notifications_enabled 1
icon_image_alt Windows Server
icon_image base/win40.gif
statusmap_image base/win40.gd2
check_command check-host-alive
check_period 24x7
notification_period 24x7
contact_groups +admins
}
Please find attached ncpa.cfg for the reference .
You do not have the required permissions to view the files attached to this post.
Re: How can we monitor pnp4nagios and integrated with NCPA?
Hello,
Could you send me the whole file?
For both nsclient agent, and ncpa agent?
I would like to see what else you have in that file. Thanks
Could you send me the whole file?
For both nsclient agent, and ncpa agent?
Code: Select all
define host {
host_name BDNFS6
alias BDNFS6
address 10.176.130.36
max_check_attempts 3
check_interval 1
notification_interval 360
notification_options d,u,r,s
notifications_enabled 1
icon_image_alt Windows Server
icon_image base/win40.gif
statusmap_image base/win40.gd2
check_command check-host-alive
check_period 24x7
notification_period 24x7
contact_groups +admins,Monitoring_Team
use windows-server
}
-
- Posts: 66
- Joined: Wed Dec 27, 2017 2:20 pm
- Location: Nieuwegein, The Netherlands
Re: How can we monitor pnp4nagios and integrated with NCPA?
Hello rohithroki,
On the host defnition used with NCPA you did not specify the Windows host template, that is the line starting with ‘use ...’.
Regards
On the host defnition used with NCPA you did not specify the Windows host template, that is the line starting with ‘use ...’.
Regards