Help with NRDS?

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: Help with NRDS?

Post by scottwilkerson »

Ok, you have a user process limit of 1024 but have a total of 1500 processes.

I would recommend upping that limit so your crons can run

Code: Select all

ulimit -u 4096
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Help with NRDS?

Post by jbennett »

Upon increasing the limit, I attempted to manually run the feedproc.php script that is called by the cron and I get the same results:

Code: Select all

# ulimit -u
4096
# /usr/local/nagiosxi/cron/feedproc.php
...
PROCESSED 0 COMMANDS
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Help with NRDS?

Post by scottwilkerson »

The bigger issue is "are your crons running

Code: Select all

tail -50 /var/log/cron
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Help with NRDS?

Post by jbennett »

scottwilkerson wrote:The bigger issue is "are your crons running

Code: Select all

tail -50 /var/log/cron
I checked and I was getting the same messages, so I rebooted the server to try and kick them off again.

Now, I'm getting the following:

Code: Select all

Apr 18 20:18:01 nagiosxivm CROND[2536]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1)
Apr 18 20:18:01 nagiosxivm CROND[2538]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Apr 18 20:18:01 nagiosxivm CROND[2537]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)
Apr 18 20:18:01 nagiosxivm CROND[2539]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1)
Apr 18 20:18:01 nagiosxivm CROND[2541]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Apr 18 20:18:01 nagiosxivm CROND[2540]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Apr 18 20:18:01 nagiosxivm CROND[2542]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1)
Apr 18 20:18:01 nagiosxivm CROND[2543]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1)
Apr 18 20:19:01 nagiosxivm CROND[4420]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1)
Apr 18 20:19:01 nagiosxivm CROND[4421]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1)
Apr 18 20:19:01 nagiosxivm CROND[4422]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1)
Apr 18 20:19:01 nagiosxivm CROND[4423]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Apr 18 20:19:01 nagiosxivm CROND[4424]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Apr 18 20:19:01 nagiosxivm CROND[4425]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Apr 18 20:19:01 nagiosxivm CROND[4426]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)
Apr 18 20:19:01 nagiosxivm CROND[4427]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1)
Apr 18 20:20:01 nagiosxivm CROND[7515]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/dbmaint.php > /usr/local/nagiosxi/var/dbmaint.log 2>&1)
Apr 18 20:20:01 nagiosxivm CROND[7519]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1)
Apr 18 20:20:01 nagiosxivm CROND[7516]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php > /usr/local/nagiosxi/var/deadpool.log 2>&1)
Apr 18 20:20:01 nagiosxivm CROND[7520]: (root) CMD (/usr/lib/sa/sa1 -S DISK 1 1)
Apr 18 20:20:01 nagiosxivm CROND[7514]: (root) CMD (LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok &> /dev/null)
Apr 18 20:20:01 nagiosxivm CROND[7522]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1)
Apr 18 20:20:01 nagiosxivm CROND[7517]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1)
Apr 18 20:20:01 nagiosxivm CROND[7518]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Apr 18 20:20:01 nagiosxivm CROND[7521]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Apr 18 20:20:01 nagiosxivm CROND[7523]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1)
Apr 18 20:20:01 nagiosxivm CROND[7525]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)
Apr 18 20:20:01 nagiosxivm CROND[7524]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
However, when I try and manually run feedproc.php, I get the same as before:

Code: Select all

# /usr/local/nagiosxi/cron/feedproc.php
...
PROCESSED 0 COMMANDS
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Help with NRDS?

Post by scottwilkerson »

This is normal output, now lets see if the items are in unconfigured objects
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Help with NRDS?

Post by jbennett »

When I checked this today, I only see 13 items in the unconfigured items list.

These are 6 UPSs, 4 PDUs, and 3 AC units that are no longer on our network.

None of these items is for the Linux box that I'm trying to test NRDS on.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Help with NRDS?

Post by scottwilkerson »

Can you run this again from the remote system

Code: Select all

/usr/local/nrdp/clients/nrds/nrds.pl -H testlane2
Also, can you verify that if you do a quick find from the XI interface that testlane2 is not present
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Help with NRDS?

Post by jbennett »

testlane2 has been in our system for a while now. Do I need to remove it for this?

Code: Select all

# /usr/local/nrdp/clients/nrds/nrds.pl -H testlane2
ERROR: STDIN must be either 3 or 4 fields long, I found 2
Sent 5 checks to http://xxx.xxx.xxx.xxx/nrdp/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Help with NRDS?

Post by scottwilkerson »

I'm confused, if it is in the system, it won't show under unconfigured objects...

I thought this was the system you were trying to add
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Help with NRDS?

Post by jbennett »

That will explain a lot. This system has been added with some basic checks for a while now. Let me try removing it.

This could also explain all of the trouble I'm having with SNMP Traps I would imagine.
Locked