Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As asked in my previous post, can you please tell us how you installed it, where you got the package, did you install using your package manager apt-get, dpkg, synaptic, Ubuntu software center?
The script is trying to use yum as package manager which is normally not installed/used on Debian based distros.
you right, i used version 0.6.10, the status now is that i downloaded 0.4.14 and after install (./configure->make install->make install-init->make install-conf and changing nagios values)i cant find the script i used before (maybe cause it is debian version and the 0.6.10 was not) could you guide me in checking if the pnp4nagios was installed correct?
I'm not familiar with pnp4nagios so I'm not the best reference for this question but I'd imagine since you got errors on compiling that you didn't install pnp4nagios at all. See what the following commands gives you:
Code:
which pnp4nagios
whereis pnp4nagios
Those will look in your path for a binary/executable file with that name and report back to you on the console.
If it's not installed I advice you to download the correct version and take it from zero following for example the link I posted for Ubuntu before.
That says that it's a directory, not a file, so have a look inside that directory to see what's in there. But I'm quite confident that pnp4nagios didn't install correctly. I just had a look at the link I posted earlier and it should install in /usr/local/pnp4nagios. I advice you to repeat the installation from zero to be sure. Also looking at the mentioned url the verify script when run on Ubuntu states using dpkg as package manager so I'm sure you have versions mixed up, be it script or program or both. Uninstall / delete what you have and start over is about the best advice I think for the moment.
You can check with dpkg -l to see if there's a reference for pnp4nagios on your system:
You can download it from Sourceforge here. The version you'll download is 0.6.10 and the last update on Sourceforge dates from 15/12/2010. What a little bit Googling can't do
Apparently there's only a source version so follow the instructions from the link I posted previously.
ok, i reinstalled (all the nagios configuration stays the same so only compiling and make) and run
verify script ./verify_pnp_config.pl -m NPCD
this is what i get, same...
Check Nagios/Icinga/PNP integration, v0.1.27
[I] OS: Ubuntu 10.04.1 LTS
[I] Perl: 5.010001
[I] Package Manager: /usr/bin/yum
[E] Package "php,php5,php-common,php5-common" not found
[E] Package "dejavu" not found
[H] http://docs.pnp4nagios.org/en/pnp-0....uired_software
root@monitor:/home/install/pnp4nagios/pnp4nagios-0.6.10/scripts# ./verify_pnp_config.pl -m NPCD
Check Nagios/Icinga/PNP integration, v0.1.27
[I] OS: Ubuntu 10.04.1 LTS
[I] Perl: 5.010001
[I] Package Manager: /usr/bin/yum
[E] Package "php,php5,php-common,php5-common" not found
[E] Package "dejavu" not found
[H] http://docs.pnp4nagios.org/en/pnp-0....uired_software
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.