LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-30-2010, 07:40 AM   #16
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297

Hello,

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.

Kind regards,

Eric
 
Old 12-30-2010, 07:54 AM   #17
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
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?
 
Old 12-30-2010, 08:20 AM   #18
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

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.

Kind regards,

Eric
 
Old 12-30-2010, 08:24 AM   #19
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
root@monitor:/etc/pnp4nagios# which pnp4nagios
root@monitor:/etc/pnp4nagios# whereis pnp4nagios
pnp4nagios: /etc/pnp4nagios

this is what i get, does that mean it is installed?
 
Old 12-30-2010, 08:40 AM   #20
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

I'd say no because as far as I know executable files don't get installed in /etc. Can you execute this to see what the file is:
Code:
stat /etc/pnp4nagios
and post the results?

At first hand I'd say the program is not installed.

Kind regards,

Eric
 
Old 12-30-2010, 08:43 AM   #21
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
this is what i get in result:

root@monitor:/etc/pnp4nagios# stat /etc/pnp4nagios
File: `/etc/pnp4nagios'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: fb00h/64256d Inode: 163156 Links: 3
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2010-12-30 15:02:49.077024496 +0200
Modify: 2010-12-30 14:54:01.696934467 +0200
Change: 2010-12-30 14:54:01.696934467 +0200
 
Old 12-30-2010, 08:53 AM   #22
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

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:
Code:
dpkg -l 'pnp4nagios'
Kind regards,

Eric
 
Old 12-30-2010, 08:57 AM   #23
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
Ok, will do it, can you please though provide me link to the right version to download for my system? i want to install the proper one please.
 
Old 12-30-2010, 09:18 AM   #24
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

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.

Kind regards,

Eric
 
Old 12-30-2010, 09:26 AM   #25
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
thanks for being so responsive and supportive, i will keep updated, going right now to check it.
 
Old 12-30-2010, 09:37 AM   #26
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
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
 
Old 12-30-2010, 10:18 AM   #27
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
after uninstalling yum i run the script again and now i get :

Check Nagios/Icinga/PNP integration, v0.1.27

[I] OS: Ubuntu 10.04.1 LTS
[I] Perl: 5.010001
[I] Package Manager: /etc/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

still looking for yum but in different place, wtf?
 
Old 12-30-2010, 10:21 AM   #28
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Did you run:
Code:
make clean
before compiling again?

Kind regards,

Eric
 
Old 12-30-2010, 10:22 AM   #29
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
no i did not. i will try now and will update.
 
Old 12-30-2010, 10:26 AM   #30
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
same results. i ran make clean, then ./configure and then make all then make install-config and make install-init
ran the script and same results:

Check Nagios/Icinga/PNP integration, v0.1.27

[I] OS: Ubuntu 10.04.1 LTS
[I] Perl: 5.010001
[I] Package Manager: /etc/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

anymore ideas guys?

Last edited by itzikv; 12-30-2010 at 10:27 AM. Reason: addition
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pnp4nagios - getting both IN and OUT data onto 1 graph technobudha Linux - Server 1 06-10-2011 05:16 AM
pnp4nagios installing issues. babaqga Linux - Software 1 01-04-2011 06:51 AM
Problem With Graphs in Pnp4nagios kaplan71 Linux - Software 6 11-12-2008 09:11 AM
Issues with displaying graphs with pnp4nagios liquidcool Linux - Software 0 07-22-2008 03:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration