Error when checking linux disks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Error when checking linux disks

Post by paulol »

Sometimes Nagios XI returns this error in some disks checks "is not accessible: No such file or directory". But it's not all the time.
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Error when checking linux disks

Post by cdienger »

What does the configuration for these service checks look like? What happens if you try running the commands directly on the XI command line?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Re: Error when checking linux disks

Post by paulol »

[nagios@TREVOUX ~]$ /usr/local/nagios/libexec/check_nrpe -2 -H 10.0.72.73 -t 50 -u -c check_disk -a '-w 10% -c 5% -W 5% -K 2% -p /data'
DISK OK - free space: /data 27489 MB (28.77% inode=100%);| /data=68060MB;90617;95651;0;100686
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Error when checking linux disks

Post by cdienger »

Can we get a screenshot of this check's settings as seen in the CCM(edit the "/usr Disk Usage" service under Configure > Core Config Manager > Monitoring > Services).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Re: Error when checking linux disks

Post by paulol »

Please find attached the screenshot.
You do not have the required permissions to view the files attached to this post.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Error when checking linux disks

Post by mbellerue »

That's a lot of $ARG#$ defined. Is that a custom command? Can you trim that command down so it only has $ARG1$ and $ARG2$?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Re: Error when checking linux disks

Post by paulol »

ok.
You do not have the required permissions to view the files attached to this post.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Error when checking linux disks

Post by mbellerue »

We might need a profile for this one. If you could go to Admin -> System Profile -> Download Profile, and send that file to me in a PM, that would be great. Also, about how often do these soft errors occur? Is it on any one particular host, or is it spread out across all of the servers you monitor?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Error when checking linux disks

Post by ssax »

Interesting, never seen this before.

On 10.0.72.73, what version of the check_disk plugin are you running?

Code: Select all

/usr/local/nagios/libexec/check_disk -V
Are you seeing anything in dmesg on that server? (run it from the XI server as well)

Code: Select all

dmesg
What about in /var/log/messages?

What version of the NRPE agent are you running on that system?

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H 10.0.72.73 -2
Please PM me a copy of your profile as well so that we can see if there is anything nagios related going on, you can download it from Admin > System Profile > Download Profile.
Locked