problem with data replications
problem with data replications
Team,
We have configured nsca between master and slave .
Monitoring on slave server is fine but the the data is not completely reflected in master server.
Getting below message OK: No data received yet.
Attached screenshot for this.
Can you please help us to rectify this.
Thanks
Ravi
We have configured nsca between master and slave .
Monitoring on slave server is fine but the the data is not completely reflected in master server.
Getting below message OK: No data received yet.
Attached screenshot for this.
Can you please help us to rectify this.
Thanks
Ravi
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: problem with data replications
This won't populate until the next time the slave runs the check and sends to the master
Re: problem with data replications
I see below output in service-perfdata.1367258503
Copying perfdata file to /usr/local/nagios/var/spool/perfdata/service-perfdata.1367258503
Sending passive check data to NSCA server(s)...
Sending to NSCA target host: 13.145.126.165
CMDLINE: /bin/cat /tmp/NSCAOUTuDOyHJ | /usr/local/nagios/libexec/send_nsca -H 13.145.126.165 -to 10 -c /usr/local/nagios/etc/send_nsca-13.145.126.165.cfg
190 data packet(s) sent to host successfully.
Sending passive check data to NRDP server(s)...
Sending to NRDP target host: 13.145.126.165
CMDLINE: /bin/cat /tmp/NRDPOUTxiItfd | php /usr/local/nrdp/clients/send_nrdp.php --url=https://13.145.126.165/nrdp/ --token=th1sAt0k3n --usestdin
DONE. Processed 8 files.
Copying perfdata file to /usr/local/nagios/var/spool/perfdata/service-perfdata.1367258503
Sending passive check data to NSCA server(s)...
Sending to NSCA target host: 13.145.126.165
CMDLINE: /bin/cat /tmp/NSCAOUTuDOyHJ | /usr/local/nagios/libexec/send_nsca -H 13.145.126.165 -to 10 -c /usr/local/nagios/etc/send_nsca-13.145.126.165.cfg
190 data packet(s) sent to host successfully.
Sending passive check data to NRDP server(s)...
Sending to NRDP target host: 13.145.126.165
CMDLINE: /bin/cat /tmp/NRDPOUTxiItfd | php /usr/local/nrdp/clients/send_nrdp.php --url=https://13.145.126.165/nrdp/ --token=th1sAt0k3n --usestdin
DONE. Processed 8 files.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: problem with data replications
Does the master have more results than the 2 OK's it had earlier?
Re: problem with data replications
Hi,
we have imported around 200+ servers data.Now most of them are showing (Return code of 127 is out of bounds - plugin may be missing) and some of them are showing correct results.
we have imported around 200+ servers data.Now most of them are showing (Return code of 127 is out of bounds - plugin may be missing) and some of them are showing correct results.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: problem with data replications
When you say most are receiving 127 out of bounds but some are not, what are the differences between these two, are all of the services returning some ok results, and some out of bounds? Or are entire servers reporting normally, where other entire servers are reporting all 127 error codes? Are they all NSCA, or NRDP checks? You may have imported them but it is likely that they are not configured properly for the new XI server's credentials i.e "matching encryption/password/token."
Re: problem with data replications
Some are returning OK and some are returning out of bound error for each server.
Around 40% results are errors.
We have imported using NSCA, NRDP checks.
Password and encrytion token are same
Around 40% results are errors.
We have imported using NSCA, NRDP checks.
Password and encrytion token are same
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: problem with data replications
Just to verify, can you run on one of the remote server having issues. Let's be sure that the plugins you wish to use are actually there and have the permissions that they need.
Code: Select all
ll -R /usr/local/nagiosNagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: problem with data replications
We configured 3 servers as slave.Only one of the server is pushing data and as mentioned in the ticket we have some are ok but some are with return errors
(Return code of 127 is out of bounds - plugin may be missing) .
Verified Permissions and they seems to be correct.
Two of servers are not pushing data and it is showing below error in two servers
-bash-4.1$ tail -f /usr/local/nagiosxi/var/perfdataproc.log
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 28 bytes) in /usr/local/nagiosxi/cron/perfdataproc.php on line 138
ls: write error: Broken pipe
(Return code of 127 is out of bounds - plugin may be missing) .
Verified Permissions and they seems to be correct.
Two of servers are not pushing data and it is showing below error in two servers
-bash-4.1$ tail -f /usr/local/nagiosxi/var/perfdataproc.log
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 28 bytes) in /usr/local/nagiosxi/cron/perfdataproc.php on line 138
ls: write error: Broken pipe
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: problem with data replications
Looks like either the server is running out of memory, or it is reaching a php memory_limit in /etc/php.iniravish78 wrote:Two of servers are not pushing data and it is showing below error in two servers
-bash-4.1$ tail -f /usr/local/nagiosxi/var/perfdataproc.log
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 28 bytes) in /usr/local/nagiosxi/cron/perfdataproc.php on line 138
ls: write error: Broken pipe