LinuxQuestions.org
Help answer threads with 0 replies.
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-29-2010, 04:42 AM   #1
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Rep: Reputation: 0
Smile Pnp4Nagios configuration issues


Hi,

i installed Nagios and then tried to install pnp4nagios, when i initialize the verify script ./verify_pnp_config.pl -m NPCD i get this,

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

and the web page for pnp4nagios http://monitor/pnp4nagios/ gives me the following titled framework error (see attached)

hope any of you can help, i really like the pnp4nagios to work, i am still working on that but any help would be appriciated.

thanks.
 
Old 12-29-2010, 05:05 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well the message you've printed there tells you *EXACTLY* what is wrong... did you read it?? install those packages.
 
Old 12-29-2010, 05:33 AM   #3
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
boy oh boy

the thing is they are installed, can you run Nagios without PHP?
 
Old 12-29-2010, 06:51 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Can you show that the rpms for those packages are all installed (and potentially the right architecture too)
 
Old 12-29-2010, 07:03 AM   #5
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
is this ok?

php-pear 5.3.2-1ubuntu4.5 PEAR - PHP Extension and Application Repository
php5 5.3.2-1ubuntu4.5 server-side, HTML-embedded scripting language (metapackage)
php5-cli 5.3.2-1ubuntu4.5 command-line interpreter for the php5 scripting language
php5-common 5.3.2-1ubuntu4.5 Common files for packages built from the php5 source
php5-dev 5.3.2-1ubuntu4.5 Files for PHP5 module development
php5-gd 5.3.2-1ubuntu4.5 GD module for php5
php5-imap 5.3.2-0ubuntu2 IMAP module for php5
php5-ldap 5.3.2-1ubuntu4.5 LDAP module for php5
php5-mysql 5.3.2-1ubuntu4.5 MySQL module for php5
php5-snmp 5.3.2-1ubuntu4.5 SNMP module for php5

and also

rrdtool 1.3.8-1ubuntu1 Time-series data storage and display system (programs)

let me know if you need other information and if this suffice.
 
Old 12-29-2010, 07:05 AM   #6
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
better yet...

root@monitor:/home/install/rrdtool/rrdtool-1.4.5# dpkg -l | grep php
ii libapache2-mod-php5 5.3.2-1ubuntu4.5 server-side, HTML-embedded scripting languag
ii libphp-adodb 5.09a-1 The ADOdb database abstraction layer for PHP
ii php-pear 5.3.2-1ubuntu4.5 PEAR - PHP Extension and Application Reposit
ii php5 5.3.2-1ubuntu4.5 server-side, HTML-embedded scripting languag
ii php5-cli 5.3.2-1ubuntu4.5 command-line interpreter for the php5 script
ii php5-common 5.3.2-1ubuntu4.5 Common files for packages built from the php
ii php5-dev 5.3.2-1ubuntu4.5 Files for PHP5 module development
ii php5-gd 5.3.2-1ubuntu4.5 GD module for php5
ii php5-imap 5.3.2-0ubuntu2 IMAP module for php5
ii php5-ldap 5.3.2-1ubuntu4.5 LDAP module for php5
ii php5-mysql 5.3.2-1ubuntu4.5 MySQL module for php5
ii php5-snmp 5.3.2-1ubuntu4.5 SNMP module for php5
rc zabbix-frontend-php 1:1.8.1-1ubuntu1 network monitoring solution - PHP front-end
root@monitor:/home/install/rrdtool/rrdtool-1.4.5# dpkg -l | grep deja
ii ttf-dejavu 2.30-2 Metapackage to pull in ttf-dejavu-core and t
ii ttf-dejavu-core 2.30-2 Vera font family derivate with additional ch
ii ttf-dejavu-extra 2.30-2 Vera font family derivate with additional ch
 
Old 12-30-2010, 03:51 AM   #7
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
bump shiko shiko bump

any update guys?
 
Old 12-30-2010, 03:58 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well hang on, why does it think you're using yum for your package manager?
 
Old 12-30-2010, 04:33 AM   #9
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
not using yum using apt-get

not using yum using apt-get
 
Old 12-30-2010, 04:50 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well that's the point though, the script says yum...
 
Old 12-30-2010, 04:52 AM   #11
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
sorry i lost you

what script?
 
Old 12-30-2010, 05:05 AM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
The one you pasted in. it says it's using yum.
 
Old 12-30-2010, 05:31 AM   #13
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
ok, i just posted it to per your question to show you i have stuff you requested installed. why doesn`t anyone helps with the problem yet, i am lost
 
Old 12-30-2010, 05:50 AM   #14
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,

Can you start with telling us where you got pnp4nagios and in what format? As pointed out by acid_kewpie, in your first post the output of the script you executed (./verify_pnp_config.pl -m NPCD) is telling us that the package manager used is Yum, which is not for Ubuntu. Since you refer to dpkg and apt-get this clarifies that the packages are indeed installed but the script you used isn't for those package managers. Have a look at this site for how to install pnp4nagios in Ubuntu (it's for an older version but should work).
http://ubuntuforums.org/showthread.php?t=1418109

Kind regards,

Eric

Last edited by EricTRA; 12-30-2010 at 08:46 AM.
 
Old 12-30-2010, 06:20 AM   #15
itzikv
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Original Poster
Rep: Reputation: 0
Erictra,

thanks for posting that, i am familiar with that link, i tried to follow it again and verified it all as instructed and still i got this error even after:

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:/usr/local/pnp4nagios/libexec# sudo ./verify_pnp_config.pl -m npcd -b /usr/lib/nagios -c /usr/local/nagios/etc/nagios.cfg -B nagios
 
  


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 04:11 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