Service status information issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Service status information issue

Post by RIDS_I2MP »

Hi Team,

We configured a Windows server monitoring in Nagios XI today using "NCPA" configuration Wizard. The monitoring was enabled successfully but we can see an extra "b" before each service status information. I am unable to understand why this is happening. I already checked the service definition and it doesn't contain anything like that. I have highlighted it in the screenshot.

Nagios Xi version: 5.7.1

I am attaching the screenshot here for your reference.

Thanks in advance for your help!!
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Service status information issue

Post by cdienger »

Are you only seeing it for this one host's services? It sounds like a typo somewhere in the config. Please review the configuration for the service checks in the CCM and try running it with the test option. Please PM me a copy of the settings database if there are still issues after reviewing the config. The default database can be gathered with:

Code: Select all

mysqldump -uroot -pnagiosxi nagiosql > nagiosql.sql
If the database has been offloaded to another machine then you'll need to modify the commands slightly to look like:

Code: Select all

mysqldump -h database_host_ip -uusername -ppassword nagiosql > nagiosql.sq
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Service status information issue

Post by RIDS_I2MP »

Hello,

I ran the check commend and below is the output:
[nagios@HO1-NAGIOSXI ~]$ /usr/local/nagios/libexec/check_ncpa.py -H 10.1.0.143 -t '[email protected]' -P 5693 -M memory/virtual -u 'Gi' -w '80' -c '90' b"WARNING: Used memory was 85.50 % (Available: 0.87 GiB, Total: 6.00 GiB, Free: 0.87 GiB, Used: 5.13 GiB) | 'available'=0.87GiB;5;5; 'total'=6.00GiB;5;5; 'free'=0.87GiB;5;5; 'used'=5.13GiB;5;5;"

I tried checking the service definition in CCM, but I could not find any typo error. Please suggest!

Below is the service definition:

-t '[email protected]' -P 5693 -M memory/virtual -u 'Gi' -w '80' -c '90'

While trying to take the MySQL dump using the command that you have provided, I am getting below error:

[root@HO1-NAGIOSXI tmp]# mysqldump -uroot -pnagiosxi nagiosql > nagiosql.sql
mysqldump: [Warning] Using a password on the command line interface can be insecure.
[root@HO1-NAGIOSXI tmp]#

We have bought a new License recently, so I have done the monitoring only on one server, I will check the monitoring on other servers as well.

Thanks for your support!!
Thanks & Regards,
I2MP Team.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Service status information issue

Post by ssax »

Ignore the warning:
mysqldump: [Warning] Using a password on the command line interface can be insecure.
Attach this file:

Code: Select all

/tmp/nagiosql.sql
Please PM me a copy of your profile as well, you can download it from Admin > System Profile > by clicking the Download Profile button.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Service status information issue

Post by RIDS_I2MP »

Hello,

I have configured monitoring on a Linux server today and used NCPA configuration wizard. I am getting the same "b" in all services there as well.

I am sending profile file and Nagios.sql to you using PM.

Please help us on the same.

Moderator's Note: The profile/nagios.log files have been shared with the support team but have been removed from the public forum.
Thanks & Regards,
I2MP Team.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Service status information issue

Post by ssax »

Please attach this file:

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py
Are you seeing that on any other systems or just this one?

Send me your ncpa.cfg and any files you have in that hosts ncpa.cfg.d directory on that system.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Service status information issue

Post by RIDS_I2MP »

Hello,

I have done the NCPA agent installation on a Windows server and also on a Linux server. I am facing the same issue on both.
I was not able to access Windows server, I am providing you ncpa.cfg file of the Linux server. Also I am attaching check_ncpa.py file and two files under ncpa.cfg.d directory.

PFA the screen shot of Linux server monitoring as well for your reference.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Service status information issue

Post by ssax »

So you're saying you have the B prepended on the linux system output as well?

What is that hostname for that one?

That output looks proper but the other one is using passive services and this one doesn't look like it is.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Service status information issue

Post by RIDS_I2MP »

Hello,

Yes, I can see B in Linux server as well.
Hostname: NagiosUAT.chalhoub.org (Linux server).
Note: I used Nagios XI "Deploy Agent" feature to deploy NCPA agent on Linux server, on the other hand, we did manual NCPA agent installation on windows server.

I am attaching the screenshot for that host and service here.

I need to setup monitoring for our Prod servers now, we want this issue to get resolved before that.
Please help us to resolve it at the earliest.

Thanks again for your continuous support!!
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Service status information issue

Post by ssax »

Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:

https://support.nagios.com/tickets/
Locked