Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
[root@nagios libexec]# ./check_hpjd [IP] -C public
Printer ok - ("Ready")
But nagios web still shows critical error: snmpget: Failure in sendto (Invalid argument) : Timeout from host
Edit: Just wanted to see for educational purposes what it would it say on the web interface if I change the name of check_hpjd file on libexec folder and change it back afterwards and now it gives me error like this: (No output on stdout) stderr:
If it's working from the command line, it ought to work from Nagios. However, you are running as root from the command line, so please log into the /usr/local/nagios/libexec folder and change from root to nagios. I'd like to confirm if you're getting the same error message.
1: Ran the desired command to check the permissions of the check_hpjd plugin, and it was only "root" so I changed it to Nagios:Nagios. I hope it is right
The default permissions are set to Apache:Nagios, however, since you have the other (everyone) set to read,write, and execute this should not be a problem.
The segmentation fault error is not something that comes up too often. It's possible your printer is not compatible with this plugin.
I would like to see your configuration files in Nagios Core to review the check commands and arguments. Would it be possible for your send over all of the files in the configuration directory for us to review? The configuration files are located in /usr/local/nagios/etc. Thanks.
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!
First of all, I would like to thank you very much for your kind help with my issue, but to be honest, to waste more of your time on that plugin problem to check all files etc would not be smart and definitely you have better things to do, I think I will find and try another plugin or just try another solution for these printers and see what will happen.
I think you may close this topic for now and once more, thank you for your generous help on the way!
First of all, I would like to thank you very much for your kind help with my issue, but to be honest, to waste more of your time on that plugin problem to check all files etc would not be smart and definitely you have better things to do, I think I will find and try another plugin or just try another solution for these printers and see what will happen.
I think you may close this topic for now and once more, thank you for your generous help on the way!