Actually, this log output is different than what you showed before and it actually looks correct.
Are you receiving data on the remote machine now, or at least the unconfigured objects if they are new to the machine.
No Outbound Check Transfer...
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
-
- Posts: 80
- Joined: Sun Apr 29, 2012 12:43 pm
Re: No Outbound Check Transfer...
NO - I get nothing (no data and no unconfiguered objects - all is new).
I can see in the log that it tries to send to the correct url and token.
Can you please explain why the --usestdin is sending the program source and not data?
I can see in the log that it tries to send to the correct url and token.
Can you please explain why the --usestdin is sending the program source and not data?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: No Outbound Check Transfer...
It is sending data, the data is being cat'd and piped to the command,
the send_nrpe.php can take data piped to it if you use the --usestdin flag/bin/cat /tmp/NRDPOUTsrrklN |
-
- Posts: 80
- Joined: Sun Apr 29, 2012 12:43 pm
Re: No Outbound Check Transfer...
Great, thanks I'm not that of a techi...
So how do we take it from here?
I verified that I can get data though NRDP from this remote site using the send_nrdp.sh program.
We see its sending (from the log as you've explained)
We are about to buy few NagiosXI servers (one for each site) and my multisite design depend on this feature...
So how do we take it from here?
I verified that I can get data though NRDP from this remote site using the send_nrdp.sh program.
We see its sending (from the log as you've explained)
We are about to buy few NagiosXI servers (one for each site) and my multisite design depend on this feature...
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: No Outbound Check Transfer...
Actually, I may have found the problem looking at the output you sent previously
Can you unzip the attached file and place in /usr/local/nagiosxi/cron on the sending machine
wait a couple minutes for the cron job to start using the new file
Then run the following again and leave it run for several minutes and post the output
Can you unzip the attached file and place in /usr/local/nagiosxi/cron on the sending machine
wait a couple minutes for the cron job to start using the new file
Then run the following again and leave it run for several minutes and post the output
Code: Select all
tail -f /usr/local/nagiosxi/var/perfdataproc.log
You do not have the required permissions to view the files attached to this post.
-
- Posts: 80
- Joined: Sun Apr 29, 2012 12:43 pm
Re: No Outbound Check Transfer...
Please see the attaced log file.
I saw you changed the line:
Its using the new file but... with no effect (:
I'm closing for the day and hope you'll find a solution overnight
I saw you changed the line:
Code: Select all
$cmdline="/bin/cat $tmpfname | /usr/bin/php /usr/local/nrdp/clients/send_nrdp.php
I'm closing for the day and hope you'll find a solution overnight

You do not have the required permissions to view the files attached to this post.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: No Outbound Check Transfer...
One more thing, it seems php short tags are off on your system,
edit usr/local/nrdp/clients/send_nrdp.php and change line 2 to read
edit usr/local/nrdp/clients/send_nrdp.php and change line 2 to read
Code: Select all
<?PHP
-
- Posts: 80
- Joined: Sun Apr 29, 2012 12:43 pm
Re: No Outbound Check Transfer...
Its working
Regarding
Many thanks for your help
Matty

Regarding
I'm using the prebuilt v3.1 VMware macine (manually upgraded to 3.2) so its a "bug" you should look to fix.it seems php short tags are off on your system
Many thanks for your help
Matty
-
- Posts: 80
- Joined: Sun Apr 29, 2012 12:43 pm
Re: No Outbound Check Transfer...
Now that it is working I have 2 more questions (if I may):
1. It seems checks that has no "performance data" are not sent (e.g. check_vmware for cluster/datacenter state). Correct? what do you suggest as a workaround?
2. Should I expect to see graphs of the remote NagiosXI hosts & services?
1. It seems checks that has no "performance data" are not sent (e.g. check_vmware for cluster/datacenter state). Correct? what do you suggest as a workaround?
2. Should I expect to see graphs of the remote NagiosXI hosts & services?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: No Outbound Check Transfer...
Yep, I am working on getting this in the next release.mroter wrote:I'm using the prebuilt v3.1 VMware macine (manually upgraded to 3.2) so its a "bug" you should look to fix.
This is correct, the easy outbound transfers in XI do rely on the checks having performance data. The alternative takes a bit more configuration and would use the obsess_over_services and obsess_over_hosts commands in the nagios.cfg along with a custom command you would have to create to submit the checks.mroter wrote:1. It seems checks that has no "performance data" are not sent (e.g. check_vmware for cluster/datacenter state). Correct? what do you suggest as a workaround?
You can feel free to submit a feature request to our tracker if you would like to see items without performance data transferred.
mroter wrote:2. Should I expect to see graphs of the remote NagiosXI hosts & services?

Thanks for notifying us of these!
You do not have the required permissions to view the files attached to this post.