Page 2 of 2

Re: NRDS

Posted: Tue Jan 14, 2014 2:55 pm
by rentsys
I figured out my problem. It was a user error. I was entering in http:/10.149.149.38/nrds/ instead of just the ip address. I corrected it and now it is fixed.
What affects how often the passive checks are received?

Re: NRDS

Posted: Tue Jan 14, 2014 3:47 pm
by lmiltchev
What affects how often the passive checks are received?
I believe it is run on a cron job once a minute. You can view the cron entries by running in terminal:

Code: Select all

cat /etc/cron.d/nagiosxi

Re: NRDS

Posted: Tue Jan 14, 2014 4:13 pm
by rentsys
Which one is it?

Code: Select all

[root@csvmmon01 ~]# cat /etc/cron.d/nagiosxi
# /etc/cron.d/nagiosxi: crontab fragment for nagiosxi

# Backup MySQL & PostgreSQL Databases
0   7 * * * root   /root/scripts/automysqlbackup
0   8 * * * root   /root/scripts/autopostgresqlbackup

*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1
*/5 * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/dbmaint.php > /usr/local/nagiosxi/var/dbmaint.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1
01  * * * * nagios /usr/local/nagiosxi/cron/recurringdowntime.pl > /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
*/5 * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php > /usr/local/nagiosxi/var/deadpool.log 2>&1


Re: NRDS

Posted: Tue Jan 14, 2014 4:16 pm
by slansing
I believe it is the perfdataproc cron, essentially running:

/usr/local/nagiosxi/cron/perfdataproc.php and logging the output.

Re: NRDS

Posted: Tue Jan 14, 2014 4:24 pm
by rentsys
So for outbound check transfer settings I did exclude matches and /^localhost/ /^127\.0\.0\.1/
Surprisingly I got the exact hosts and checks that I wanted to get , in Unconfigured objects, so I didn't think about it at the time.
But now I'm wondering why all the hosts I have on the slave server aren't being sent to the main?

Re: NRDS

Posted: Tue Jan 14, 2014 4:27 pm
by slansing
So you are receiving hosts and services via NRDP from one XI server on the main server, but not another?

Re: NRDS

Posted: Tue Jan 14, 2014 4:33 pm
by rentsys
No, I receive 7 passive host/service checks from the slave to the master. why do I not receive all of the hosts/services on the slave?

Re: NRDS

Posted: Tue Jan 14, 2014 5:09 pm
by rentsys
I figured it out. The reason I didn't get any other Unconfigured Objects is because everything else on the main server already matched the slave except for those 7 hosts/services.
This thread can be closed. Thank you.