Nagios passive checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios passive checks

Post by scottwilkerson »

you have an syntax error in this file, can you attach?

Code: Select all

/usr/local/nrdp/server/config.inc.php
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
neo_infraestructura
Posts: 61
Joined: Wed Jan 17, 2018 3:55 pm

Re: Nagios passive checks

Post by neo_infraestructura »

I'm sorry for the delay. I didn't see the "Page 2" link :cry: In the attachment is the file required.

Now, I was trying to keep moving forward with this passive check process, and I have troubles making the NCPA work. I did install the NCPA in a server to test, I did configure the /usr/local/ncpa/etc/ncpa.cfg and create a /usr/local/ncpa/etc/ncpa.cfg.d/nrdp.cfg simple only for test:
%HOSTNAME%|Memory Usage = memory/virtual/total --warning 80 --critical 90 --units GiB
And when I restart the ncpa service int his server I get this in the log file of ncpa:
nagios1.png
How can I fix this?

p.s: I don't have any of the files named in the error image. Are they necessary?
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: Nagios passive checks

Post by scottwilkerson »

remove the contents of line 15 from that file someone made an error when editing this and the following should not be there on line 15

Code: Select all

);
Lets, please fix one issue before moving on to another because you also wouldn't be able to send passive checks via NCPA if you had this config error.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
neo_infraestructura
Posts: 61
Joined: Wed Jan 17, 2018 3:55 pm

Re: Nagios passive checks

Post by neo_infraestructura »

Ok the NRDP it's working!
nagios1.png
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: Nagios passive checks

Post by scottwilkerson »

Excellent! Good to hear.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
neo_infraestructura
Posts: 61
Joined: Wed Jan 17, 2018 3:55 pm

Re: Nagios passive checks

Post by neo_infraestructura »

neo_infraestructura wrote:I'm sorry for the delay. I didn't see the "Page 2" link :cry: In the attachment is the file required.

Now, I was trying to keep moving forward with this passive check process, and I have troubles making the NCPA work. I did install the NCPA in a server to test, I did configure the /usr/local/ncpa/etc/ncpa.cfg and create a /usr/local/ncpa/etc/ncpa.cfg.d/nrdp.cfg simple only for test:
%HOSTNAME%|Memory Usage = memory/virtual/total --warning 80 --critical 90 --units GiB
And when I restart the ncpa service int his server I get this in the log file of ncpa:
nagios1.png
How can I fix this?

p.s: I don't have any of the files named in the error image. Are they necessary?
I'm still having this problem :/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios passive checks

Post by scottwilkerson »

Can you share both of your NCPA config files?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
neo_infraestructura
Posts: 61
Joined: Wed Jan 17, 2018 3:55 pm

Re: Nagios passive checks

Post by neo_infraestructura »

I share with you the config files of the linux server that must send its status to Nagios.
They come from the route:
-ncpa.cfg: /usr/local/ncpa/etc/
-nrdp.cfg: /usr/local/ncpa/etc/ncpa.cfg.d/
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: Nagios passive checks

Post by scottwilkerson »

And is the error in the log on the NCPA host exactly the same as it was before? Do you see any entries in Admin -> Unconfigured objects in the XI interface?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked