LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-04-2010, 12:55 AM   #1
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Rep: Reputation: 30
Code behind nagios plugins


Hello,

This might be a very stupid question, but i want to ask: How to see the code behind the nagios plugin: Nagios Checker? I opened the folder which i have downloaded. After that where do i have to go to see the codes? Is it in App_Codes?
 
Old 08-05-2010, 10:08 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Nagios checker is a mozilla plugins. if you want to see source code checkout svn repository.
 
Old 08-05-2010, 05:50 PM   #3
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
svn repository? whats that? x.x
 
Old 08-05-2010, 05:55 PM   #4
gasdim
Member
 
Registered: Jun 2010
Location: Volos GREECE
Distribution: ubuntu derivative
Posts: 157

Rep: Reputation: 28
Check this link about svn. Every open-source app usually has an svn repo in order to download the source code and edit it and re-publish if you want!
 
Old 08-05-2010, 08:00 PM   #5
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
Hi gasdim,

but i still don't understand how to use it to get the source code?
i thought the source code is in the plugins file when we have downloaded it?
sorry i'm stupid :X
 
Old 08-06-2010, 03:08 AM   #6
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
x_x
 
Old 08-06-2010, 03:45 AM   #7
gasdim
Member
 
Registered: Jun 2010
Location: Volos GREECE
Distribution: ubuntu derivative
Posts: 157

Rep: Reputation: 28
The application have a link given by the site-publisher for example app test have http://svn.companyname/xxx/test so you give in a terminal svn checkout http://svn.companyname/xxx/test and the file starts download
 
Old 08-06-2010, 03:54 AM   #8
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
so i have to download svn?
link:http://subversion.apache.org/source-code.html

sorry still don't really get it x_x
 
Old 08-06-2010, 03:56 AM   #9
gasdim
Member
 
Registered: Jun 2010
Location: Volos GREECE
Distribution: ubuntu derivative
Posts: 157

Rep: Reputation: 28
Open a terminal and give svn co http://svn.apache.org/repos/asf/subversion/trunk subversion
 
Old 08-06-2010, 04:01 AM   #10
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
Oh okay.

Code:
xanios@ubuntu:~$ svn co http://svn.apache.org/repos/asf/subversion/trunk subversion
The program 'svn' is currently not installed.  You can install it by typing:
sudo apt-get install subversion
svn: command not found
so i go along with 'sudo apt-get install subversion' and that should be it?

thank you
 
Old 08-06-2010, 04:04 AM   #11
gasdim
Member
 
Registered: Jun 2010
Location: Volos GREECE
Distribution: ubuntu derivative
Posts: 157

Rep: Reputation: 28
In a terminal give sudo apt-get install subversion in order to install svn app. When finished give svn co http://svn.apache.org/repos/asf/subversion/trunk subversion and the app will download immidiatelly. It will save in a folder in your home directory!
 
Old 08-06-2010, 04:16 AM   #12
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
Hmm, okay.

But when i give svn co http://svn.apache.org/repos/asf/subversion/trunk subversion, it just 'paused'?

Code:
...
Setting up subversion (1.6.5dfsg-1ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
xanios@ubuntu:~$ svn co http://svn.apache.org/repos/asf/subversion/trunk subversion
is there something wrong?
 
Old 08-07-2010, 08:23 AM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The command
svn co http://svn.apache.org/repos/asf/subversion/trunk subversion
.. works OK today > " Checked out revision 983224. "
( 83.6 MB subversion was received.)

But that is not really something you need, when subversion
already is installed with 'sudo apt-get install subversion' ?
..
 
Old 08-07-2010, 08:33 AM   #14
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
hi there,

the svn works OK today? how come yesterday is not ok =X

anyways,

hmm, that is not really something i need? then what should i use? i just want to view the source codes behind nagios checker.(:

thank you.
 
Old 08-07-2010, 09:58 AM   #15
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
Hi,

i got Checked out revision 983236.

how do i use it to view source code for my nagios checker? >.<
sorry i'm stupid >.<
 
  


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
Adding plugins to Nagios keogk Linux - General 3 06-29-2010 05:50 PM
Problem in installing nagios plugins prak86 Linux - Newbie 1 12-29-2009 02:04 AM
Help with nagios plugins anaigini45 Linux - Newbie 7 12-15-2009 02:29 AM
installing check_mysql and check_mem nagios plugins williebens Linux - Networking 15 07-31-2008 06:01 PM
LXer: 5 Eclipse plugins for discovering bad code LXer Syndicated Linux News 0 01-23-2007 05:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:13 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