When I execute check_disk command, it will report the following error:
DISK CRITICAL - net:[4026532606] is not accessible: No such file or directory
this is my command: /check_nrpe -H $HOSTADDRESS$ -t 120 -c $ARG1$ $ARG2$
And it can run correctly on other machines
the problem about net:[4026532606]
Re: the problem about net:[4026532606]
What arguments are you passing check_nrpe with $ARG1$ and $ARG2$ ?
Try running the full check_disk command directly on the remote machine's command line and let us know the results.
Try running the full check_disk command directly on the remote machine's command line and let us know the results.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
DataAssure
- Posts: 34
- Joined: Thu Jul 31, 2014 8:36 am
Re: the problem about net:[4026532606]
this is my command:
[root@******** libexec]# ./check_nrpe -H ******* -t 120 -c check_disk -a '-w 15% -c 10% -x overlay -x /dev/shm/.tomcat8.5.ptc_p -x shm -x tmpfs'
DISK CRITICAL - net:[4026532606] is not accessible: No such file or directory
[root@******** libexec]# ./check_nrpe -H ******* -t 120 -c check_disk -a '-w 15% -c 10% -x overlay -x /dev/shm/.tomcat8.5.ptc_p -x shm -x tmpfs'
DISK CRITICAL - net:[4026532606] is not accessible: No such file or directory
Re: the problem about net:[4026532606]
Try simplifying the command to see if you get a the same error:
Aslo try running the check_disk command directly on the remote host:
What does the check_disk defintion in nrpe.cfg or common.cfg look like? Common locations for these files are /usr/local/nagios/etc/nrpe.cfg and /usr/local/nagios/etc/nrpe/common.cfg.
Code: Select all
./check_nrpe -H ******* -t 120 -c check_disk -a '-w 15% -c 10%'Code: Select all
./check_disk -w 15% -c 10% -x overlay -x /dev/shm/.tomcat8.5.ptc_p -x shm -x tmpfsAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
DataAssure
- Posts: 34
- Joined: Thu Jul 31, 2014 8:36 am
Re: the problem about net:[4026532606]
I also found the same problem
DISK CRITICAL - net:[4026532606] is not accessible: No such file or directory
when i tried on the remote host.
the check_disk defintion in nrpe.cfg or common.cfg look like:
command[check_disk]=sudo /usr/local/nagios/libexec/check_disk $ARG1$
DISK CRITICAL - net:[4026532606] is not accessible: No such file or directory
when i tried on the remote host.
the check_disk defintion in nrpe.cfg or common.cfg look like:
command[check_disk]=sudo /usr/local/nagios/libexec/check_disk $ARG1$
Re: the problem about net:[4026532606]
Can you run the following commands on the client (remote machine), and show the output?
Code: Select all
/usr/local/nagios/libexec/check_disk -l
/usr/local/nagios/libexec/check_disk -VBe sure to check out our Knowledgebase for helpful articles and solutions!
-
DataAssure
- Posts: 34
- Joined: Thu Jul 31, 2014 8:36 am
Re: the problem about net:[4026532606]
hi,I found that the problem is related to docker. After I unloaded the docker on the machine, I found that it could work normally,I hope it can also give you some ideas to solve the problem,thank you very much.
Re: the problem about net:[4026532606]
Thanks for the feedback @DataAssure! I am glad your issue has been resolved! I will be closing this topic now. If you have any further issues/questions, please start a new thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!