"CHECK_NRPE: Received 0 bytes from daemon" error message
Re: "CHECK_NRPE: Received 0 bytes from daemon" error message
Hello,
PFB output-
PRODUCTION> root@remotehost: /usr/local/nagios/etc > grep -e ^dont /usr/local/nagios/etc/nrpe.cfg
dont_blame_nrpe=1
We are not able to find NRPE v3 for AIX server (AIX 7.2.0.0), please give us a link to install NRPE v3 for the same.
PFB output-
PRODUCTION> root@remotehost: /usr/local/nagios/etc > grep -e ^dont /usr/local/nagios/etc/nrpe.cfg
dont_blame_nrpe=1
We are not able to find NRPE v3 for AIX server (AIX 7.2.0.0), please give us a link to install NRPE v3 for the same.
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: "CHECK_NRPE: Received 0 bytes from daemon" error message
We do not have access to an AIX server to develop instructions on compiling NRPE 3.xx on an AIX server so that is why they are missing from the KB article.
I suggest following the Centos instructions for compiling it.
There are a couple of alternatives you can use to monitor your AIX server.
One is to use SNMP and the following link are the instructions you can used to enable that on the AIX server.
https://assets.nagios.com/downloads/nag ... g-SNMP.pdf
Or you can use NCPA. Take a look at this link for more details on that Agent.
https://www.nagios.org/ncpa/
I suggest following the Centos instructions for compiling it.
There are a couple of alternatives you can use to monitor your AIX server.
One is to use SNMP and the following link are the instructions you can used to enable that on the AIX server.
https://assets.nagios.com/downloads/nag ... g-SNMP.pdf
Or you can use NCPA. Take a look at this link for more details on that Agent.
https://www.nagios.org/ncpa/
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: "CHECK_NRPE: Received 0 bytes from daemon" error message
Hello,
I tried using SNMP to enable monitoring on AIX server. I am getting below error:
[nagios@nagiosserver libexec]$ ./check_snmp_storage.pl -H remotehost -C Str0ngC0mmunity -m "^/$" -w 2 -c 4
ERROR: Description/Type table : No response from remote host 'remotehost'.
I tried using SNMP to enable monitoring on AIX server. I am getting below error:
[nagios@nagiosserver libexec]$ ./check_snmp_storage.pl -H remotehost -C Str0ngC0mmunity -m "^/$" -w 2 -c 4
ERROR: Description/Type table : No response from remote host 'remotehost'.
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: "CHECK_NRPE: Received 0 bytes from daemon" error message
You are missing the option in your command to specify it to use SNMP version 2 so add the -2 to the command like the example below and see if it works.
If not, verify that the Community string is correct and that the services on the AIX server were restarted using the new community string.
Code: Select all
./check_snmp_storage.pl -H remotehost -C Str0ngC0mmunity -2 -m "^/$" -w 2 -c 4Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: "CHECK_NRPE: Received 0 bytes from daemon" error message
Hello,
[nagios@nagiosserver libexec]$ ./check_snmp_storage.pl -H remotehost -C Str0ngC0mmunity -2 -m "^/$" -w 2 -c 4
ERROR: Description/Type table : No response from remote host 'remotehost'.
Also, we have verified community string is correct and services on the AIX server were restarted using the new community string.
Still we are getting the same error.
[nagios@nagiosserver libexec]$ ./check_snmp_storage.pl -H remotehost -C Str0ngC0mmunity -2 -m "^/$" -w 2 -c 4
ERROR: Description/Type table : No response from remote host 'remotehost'.
Also, we have verified community string is correct and services on the AIX server were restarted using the new community string.
Still we are getting the same error.
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: "CHECK_NRPE: Received 0 bytes from daemon" error message
I will need to see the /etc/snmpdv3.conf file and the output of this command ran as root on the AIX server.
Then, run this command on the XI server to see if you can get any response from the AIX server when doing a snmpwalk. Post the output of the command as well.
Adjust the server and community string as needed.
Thanks
Code: Select all
ps auxCode: Select all
snmpwalk remotehost -c Str0ngC0mmunity -v 2cThanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: "CHECK_NRPE: Received 0 bytes from daemon" error message
This is related to the topic - Re: "CHECK_NRPE: Received 0 bytes from daemon" error message
I am attaching /etc/snmpdv3.conf file.
[nagios@nagiosserver~]$ snmpwalk remotehost -c Str0ngC0mmunity -v 2c
Timeout: No Response from remotehost
Output of 'ps aux' is very long. Is there any specific thing that you want to check? I can search it using grep.
Also please let me know if there is any way to contact you over skype or call. We can also setup a meeting if it is convenient for you.
I am attaching /etc/snmpdv3.conf file.
[nagios@nagiosserver~]$ snmpwalk remotehost -c Str0ngC0mmunity -v 2c
Timeout: No Response from remotehost
Output of 'ps aux' is very long. Is there any specific thing that you want to check? I can search it using grep.
Also please let me know if there is any way to contact you over skype or call. We can also setup a meeting if it is convenient for you.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: "CHECK_NRPE: Received 0 bytes from daemon" error message
Edit this line in the snmpdv3.conf file and change this line from
to
Save the file and restart all of the daemons.
Test it out to see if it works now.
If it still fails, this is what I would like to see from the ps output.
Code: Select all
COMMUNITY public public noAuthNoPriv 0.0.0.0 0.0.0.0 -Code: Select all
COMMUNITY Str0ngC0mmunity Str0ngC0mmunity noAuthNoPriv 0.0.0.0 0.0.0.0 -Test it out to see if it works now.
If it still fails, this is what I would like to see from the ps output.
Code: Select all
ps aux |grep aixmibd
ps aux |grep hostmibd
ps aux |grep snmpmibd
ps aux |grep snmpdBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: "CHECK_NRPE: Received 0 bytes from daemon" error message
Thankyou so much! It is working fine.
This SNMP method is mainly useful to monitor filesystems only. Is there any way through which we can monitor parameters like swap,CPU,Load with similar method?
This SNMP method is mainly useful to monitor filesystems only. Is there any way through which we can monitor parameters like swap,CPU,Load with similar method?
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: "CHECK_NRPE: Received 0 bytes from daemon" error message
We want to monitor below parameters apart from filesystems:
1. CPU Utilization
2. CPU Out of Entitlement
3. Swap usage
4. xntpd Daemon
5. errdemon Daemon
6. syslogd Service
7. Cron Scheduler
1. CPU Utilization
2. CPU Out of Entitlement
3. Swap usage
4. xntpd Daemon
5. errdemon Daemon
6. syslogd Service
7. Cron Scheduler
Thanks & Regards,
I2MP Team.
I2MP Team.