LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Code behind nagios plugins (https://www.linuxquestions.org/questions/linux-newbie-8/code-behind-nagios-plugins-824029/)

Xanios 08-04-2010 12:55 AM

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?

sem007 08-05-2010 10:08 AM

Nagios checker is a mozilla plugins. if you want to see source code checkout svn repository.

Xanios 08-05-2010 05:50 PM

svn repository? whats that? x.x

gasdim 08-05-2010 05:55 PM

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!

Xanios 08-05-2010 08:00 PM

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

Xanios 08-06-2010 03:08 AM

x_x

gasdim 08-06-2010 03:45 AM

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

Xanios 08-06-2010 03:54 AM

so i have to download svn?
link:http://subversion.apache.org/source-code.html

sorry still don't really get it x_x

gasdim 08-06-2010 03:56 AM

Open a terminal and give svn co http://svn.apache.org/repos/asf/subversion/trunk subversion

Xanios 08-06-2010 04:01 AM

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

gasdim 08-06-2010 04:04 AM

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!

Xanios 08-06-2010 04:16 AM

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?

knudfl 08-07-2010 08:23 AM

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' ?
..

Xanios 08-07-2010 08:33 AM

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.

Xanios 08-07-2010 09:58 AM

Hi,

i got Checked out revision 983236.

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


All times are GMT -5. The time now is 02:04 PM.