Page 1 of 1

the problem about net:[4026532606]

Posted: Thu Jul 16, 2020 4:02 am
by DataAssure
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

Re: the problem about net:[4026532606]

Posted: Thu Jul 16, 2020 3:24 pm
by cdienger
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.

Re: the problem about net:[4026532606]

Posted: Thu Jul 16, 2020 8:43 pm
by DataAssure
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

Re: the problem about net:[4026532606]

Posted: Fri Jul 17, 2020 1:26 pm
by cdienger
Try simplifying the command to see if you get a the same error:

Code: Select all

./check_nrpe -H ******* -t 120 -c check_disk -a '-w 15% -c 10%'
Aslo try running the check_disk command directly on the remote host:

Code: Select all

./check_disk -w 15% -c 10% -x overlay -x /dev/shm/.tomcat8.5.ptc_p -x shm -x tmpfs
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.

Re: the problem about net:[4026532606]

Posted: Tue Jul 28, 2020 10:33 pm
by DataAssure
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$

Re: the problem about net:[4026532606]

Posted: Wed Jul 29, 2020 3:45 pm
by lmiltchev
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 -V

Re: the problem about net:[4026532606]

Posted: Sun Aug 02, 2020 9:32 pm
by DataAssure
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]

Posted: Mon Aug 03, 2020 8:31 am
by lmiltchev
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.