problem with services using ncpa and rhel7
-
UoGLibrary
- Posts: 9
- Joined: Mon Jan 26, 2015 12:24 pm
problem with services using ncpa and rhel7
Hi there we're running nagios xi and I use the ncpa agent to monitor our servers.
We've migrated content from RHEL5-64 bit to RHEL7-64 bit these are both VM's.
When I run the NCPA configuration wizard on the RHEL 7 boxes, system level items such as cpu, memory, disk etc work fine but nothing is showing up in the list of services when I hit the drop down arrow.
Services that I have had previously setup are reporting "unknown" I removed them from the Core Config Manager and tried to reset them up but as I said when I run the ncpa configuration wizard no services show up.
Can you point me in the right direction please.
Regards
Stephen
We've migrated content from RHEL5-64 bit to RHEL7-64 bit these are both VM's.
When I run the NCPA configuration wizard on the RHEL 7 boxes, system level items such as cpu, memory, disk etc work fine but nothing is showing up in the list of services when I hit the drop down arrow.
Services that I have had previously setup are reporting "unknown" I removed them from the Core Config Manager and tried to reset them up but as I said when I run the ncpa configuration wizard no services show up.
Can you point me in the right direction please.
Regards
Stephen
You do not have the required permissions to view the files attached to this post.
Re: problem with services using ncpa and rhel7
What is the version of the NCPA agent that you installed on the client? What is the version of Nagios XI, NCPA wizard, and the "check_ncpa.py" plugin that you are currently using?
I was not able to recreate the issue. Here's what I have:
on the client
on the Nagios XI server
I was not able to recreate the issue. Here's what I have:
on the client
Code: Select all
[root@TEST_XI_RHEL_7 ~]# uname -a
Linux TEST_XI_RHEL_7 3.10.0-514.2.2.el7.x86_64 #1 SMP Wed Nov 16 13:15:13 EST 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@TEST_XI_RHEL_7 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)
[root@TEST_XI_RHEL_7 ~]# rpm -qa | grep ncpa
ncpa-2.0.3-1.el7.centos.x86_64Code: Select all
# /usr/local/nagios/libexec/check_ncpa.py -V
check_ncpa.py, Version 1.1.0You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
UoGLibrary
- Posts: 9
- Joined: Mon Jan 26, 2015 12:24 pm
Re: problem with services using ncpa and rhel7
I definitely have older versions of ncpa
for the client
for the server
[swilkins@pump ~]$
for the client
Code: Select all
[swilkins@appdev-rh7 ~]$ uname -a
Linux appdev-rh7.lib.uoguelph.ca 3.10.0-514.2.2.el7.x86_64 #1 SMP Wed Nov 16 13:15:13 EST 2016 x86_64 x86_64 x86_64 GNU/Linux
[swilkins@appdev-rh7 ~]$ uname -a
Linux appdev-rh7.lib.uoguelph.ca 3.10.0-514.2.2.el7.x86_64 #1 SMP Wed Nov 16 13:15:13 EST 2016 x86_64 x86_64 x86_64 GNU/Linux
[swilkins@appdev-rh7 ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)
[swilkins@appdev-rh7 ~]$ rpm -qa | grep ncpa
ncpa-1.8.1-1.el7.centos.x86_64[swilkins@pump ~]$
Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -V
check_ncpa.py, Version 0.3.5Re: problem with services using ncpa and rhel7
What is the version of Nagios XI and the NCPA wizard that you are currently using?
I will try to lab this in house, and find a possible workaround. Having said that, most probably your issue would get resolved if you upgraded the agent and the wizard.
I will try to lab this in house, and find a possible workaround. Having said that, most probably your issue would get resolved if you upgraded the agent and the wizard.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
UoGLibrary
- Posts: 9
- Joined: Mon Jan 26, 2015 12:24 pm
Re: problem with services using ncpa and rhel7
sorry im certainly no Linux guru so I greatly appreciate you supplying code.
I'm using nagios XI 5.4.2, (looks like 5.4.3 is out now). I'm not sure how to tell what version of the ncpa wizard im using, I would have thought that gets updated when I update nagios.
Can you please tell me how to find out which version of the ncpa wizard im using.
I'm using nagios XI 5.4.2, (looks like 5.4.3 is out now). I'm not sure how to tell what version of the ncpa wizard im using, I would have thought that gets updated when I update nagios.
Can you please tell me how to find out which version of the ncpa wizard im using.
Re: problem with services using ncpa and rhel7
You can check the wizard version from the gui under Admin > System Extensions > Manage Config Wizards
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
UoGLibrary
- Posts: 9
- Joined: Mon Jan 26, 2015 12:24 pm
Re: problem with services using ncpa and rhel7
the ncpa wizard is version1.3.6. I see 1.4.4 is available thanks much for pointing out this page!
Re: problem with services using ncpa and rhel7
No problem. Let us know once you've had a chance to test after upgrading the wizard and client.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
UoGLibrary
- Posts: 9
- Joined: Mon Jan 26, 2015 12:24 pm
Re: problem with services using ncpa and rhel7
I certainly will, I've already upgraded the wizard to 1.4.4 and rebooted to be sure but that didn't help on its own.
I've just rolled back to a snapshot on the client im testing from because I removed the old version of the ncpa client, downloaded and installed the new one ncpa-2.0.3.el7.x86_64.rpm
edited /usr/local/ncpa/etc/ncpa.cfg to put in our token (copied and pasted)
restarted the listener but now the wizard cant seem to connect to the box
so I'm going to try it again but that will have to wait till the morning.
I really appreciate the assistance you've given!
More tomorrow
Stephen
I've just rolled back to a snapshot on the client im testing from because I removed the old version of the ncpa client, downloaded and installed the new one ncpa-2.0.3.el7.x86_64.rpm
edited /usr/local/ncpa/etc/ncpa.cfg to put in our token (copied and pasted)
restarted the listener but now the wizard cant seem to connect to the box
so I'm going to try it again but that will have to wait till the morning.
I really appreciate the assistance you've given!
More tomorrow
Stephen
Re: problem with services using ncpa and rhel7
Sounds good. Glad to help!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.