NRPE Check Differeneces
Re: NRPE Check Differeneces
Correct.
Just double checked both my 64bit and 32bit systems. There's plenty of other stuff in syslog, just nothing about nagios/nrpe.
Just double checked both my 64bit and 32bit systems. There's plenty of other stuff in syslog, just nothing about nagios/nrpe.
Re: NRPE Check Differeneces
It really should be logging, is syslog/syslog-ng/rsyslog installed? If so, there is a good chance that the daemon is not running correctly.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: NRPE Check Differeneces
Yes, rsyslog is installed, and working, as other events are showing up in logs. I tailed the log overnight and nothing shows up for nagios or nrpe.
Re: NRPE Check Differeneces
Try changing the following line in the nrpe.cfg on the client from this:
to this:
Restart NRPE and try your check again. Did this fix the issue?
Code: Select all
command[check_init_service]=/usr/lib/nagios/plugins/check_init_service $ARG1$Code: Select all
command[check_init_service]=sudo /usr/lib/nagios/plugins/check_init_service $ARG1$Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NRPE Check Differeneces
I had a couple other things come up that I had to resolve, so, I wasn't able to get to this at the end of last week.lmiltchev wrote:Try changing the following line in the nrpe.cfg on the client from this:to this:Code: Select all
command[check_init_service]=/usr/lib/nagios/plugins/check_init_service $ARG1$Restart NRPE and try your check again. Did this fix the issue?Code: Select all
command[check_init_service]=sudo /usr/lib/nagios/plugins/check_init_service $ARG1$
I had to clone the 64bit VM this morning and I was able to add it to nagios monitoring without issue, and ALL monitors are working on the CLONE without intervention on my end (including making the change you suggested here)
Re: NRPE Check Differeneces
... so it is working now?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: NRPE Check Differeneces
No. Inexplicably I might add. Server1 still isn't working properly. Server2, which was cloned (in vmware) from Server1 several hours ago, is working without issue.abrist wrote:... so it is working now?
[edit 1232]
On a whim, I removed this host from nagios and removed the nagios-agent and associated packages from the host and re-installed nagios-agent and re-added to nagios. Still the same "NRPE: Unable to read output" error on SSH, Cron and syslog checks.
Re: NRPE Check Differeneces
Is this an eval copu of XI, or are you a customer? If you are a customer, send an email to [email protected] and we can try to move to a remote session, as this question has pretty much exhausted what we an do through the forums.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: NRPE Check Differeneces
I am a customer, but, no need to email in.abrist wrote:Is this an eval copu of XI, or are you a customer? If you are a customer, send an email to [email protected] and we can try to move to a remote session, as this question has pretty much exhausted what we an do through the forums.
I rebooted the server this morning, that fixed the issue.