| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 5,235
» Latest member: pwcreator
» Forum threads: 4,030
» Forum posts: 16,405
Full Statistics
|
| Online Users |
There are currently 176 online users. » 0 Member(s) | 171 Guest(s) Applebot, Baidu, Bing, Google, Yandex
|
| Latest Threads |
Wi-Fi works for a few min...
Forum: Network Problems
Last Post: kabifff
2025-12-15, 12:57 AM
» Replies: 0
» Views: 54
|
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 3,601
|
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 113,226
|
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 60,680
|
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 4,969
|
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 8,638
|
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 46,025
|
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 144,164
|
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 79,766
|
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 62,719
|
|
|
| Nagios/Nagat Network Monitoring |
|
Posted by: Strabo - 2004-08-30, 01:35 PM - Forum: DNS and DHCP
- Replies (1)
|
 |
We are going to install Nagios monitoring tool and Nagat for configuring the nagios sctuff. If you search Sourceforge you will see a few different nagat tools that users have written to do different stuff. I am also going to include the nrpe_nt executable, the wincheck_counter (this does command line perfmons on windows) and a vb script that does services up or down state. The great thing about Nagios is you can make your own Plugins for it etc...
This how-to requires apache and php to be installed and configured correctly!
Get nagios and decompress it.
Quote:tar -zxvf nagios-1.2.tar.gz
Make a directory to install Nagios in
Quote:mkdir /usr/local/nagios
You need to add the user and group for nagios.
Quote:groupadd nagiosuseradd -g nagios nagios
Now lets configure the application for installation.
Quote:./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios
You should see this output:
Quote:*** Configuration summary for nagios 1.2 02-02-2004 ***:
General Options:
-------------------------
Nagios executable: nagios
Nagios user/group: nagios,nagios
Command user/group: nagios,nagios
Embedded Perl: no
Install ${prefix}: /usr/local/nagios
Lock file: ${prefix}/var/nagios.lock
Init directory: /etc/rc.d/init.d
Web Interface Options:
------------------------
HTML URL: [/url]http://localhost/nagios//
CGI URL: [url=http://localhost/nagios/cgi-bin/]http://localhost/nagios/cgi-bin/
Traceroute (used by WAP): /bin/traceroute
External Data Routines:
------------------------
Status data: Default (text file)
Object data: Template-based (text file)
Comment data: Default (text file)
Downtime data: Default (text file)
Retention data: Default (text file)
Peformance data: Default (external commands)
Extended info data: Template-based (text file)
Review the options above for accuracy. If they look okay,
type 'make all' to compile the main program and CGIs.
continue installation:
make all
make install
You can continue with installing Nagios as follows (type 'make'
without any arguments for a list of all possible options):
make install-init
- This installs the init script in /etc/rc.d/init.d
make install-commandmode
- This installs and configures permissions on the
directory for holding the external command file
make install-config
- This installs *SAMPLE* config files in /usr/local/nagios/etc
You'll have to modify these sample files before you can
use Nagios. Read the HTML documentation for more info
on doing this. Pay particular attention to the docs on
object configuration files, as they determine what/how
things get monitored!
Next you have to do the following as it states from the output above.
Quote:make allmake install
make install-init
make install-commandmode
make install-config
The command "make install-config" installs sample config scripts in
Quote:/usr/local/nagios/etc
You need to make the directory read write so you can edit the files with the Nagat configuratoin tool.
Quote:cd /usr/local/nagioschmod 777 etc -R (this is so nagat can write the config files)
Now you need to edit Apache.
Quote:vi /usr/local/apache/conf/httpd.conf
Now insert the following under ScriptAlias.
Quote:#for nagiosScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory "/usr/local/nagios/sbin/">
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Alias /nagios/ /usr/local/nagios/share/
<Directory "/usr/local/nagios/share">
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
Alias /nagiosadmin/ /usr/local/apache/htdocs/nagat/
<Directory "/usr/local/apache/htdocs/nagat/">
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
Now you can check the nagios config from the terminal. I like using the tool in Nagat that does the same thing so you can see it in a webpage.
Quote:/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
You can put security on each section of the reporting tool to limit access to it. This is stored in CFG.CGI file.
Quote:htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
Enter the password when asked. now lets put the .htaccess files in the directories for security.
Quote:vi /usr/local/nagios/share/.htaccessvi /usr/local/nagios/sbin/.htaccess
Enter in this in the .htaccess file.
Quote:AuthName "Nagios Access"AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user
Now it is time to install the nagios plugin so you can actually monitor stuff. These are some of the generic default monitoring scripts for like Oracle or cpu etc..
The app is "nagios-plugins-1.4.0alpha1.tar"
Quote:tar -zxvf nagios-plugins-1.4.0alpha1.tar
Now lets compile the plugin.
Quote:./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin
OK you know the drill with make and make install.
Quote:makemake install
Now if you use Nagat you have to do chmod 777 on the directory with the executable.
Quote:chmod 777 /usr/local/nagios/var/rw/ -R
You need to do the same thing for hte nagios execuable too.
Quote:chmod 777 /usr/local/nagios/bin/ -R
Now lets install NRPE 2.0 so you can execute remote commands on another machine. nrpe-2.0.tar.gz
Quote:tar
|
|
|
| any problems with the site (smtp errors ?) |
|
Posted by: anyweb - 2004-08-28, 06:44 PM - Forum: Site News
- Replies (9)
|
 |
hi, if any of you are getting smtp errors on the site please respond here
i don't know what the problem is yet, but i've had three new users complaining about smtp errors
please post any errors in this thread
thanks
anyweb
|
|
|
| VSFTP |
|
Posted by: godskalk - 2004-08-28, 07:09 AM - Forum: How Do I?
- Replies (4)
|
 |
How do i get to see who is connected to my ftp,
what they are downloading and how fast they are downloading?
Using vsftpd on fedora core 2.
|
|
|
| Synaptics touchpad on laptop... |
|
Posted by: halo14 - 2004-08-27, 07:46 PM - Forum: Debian
- No Replies
|
 |
hey anyweb, maybe you (or someone else) can help me out with this one...
I'm running Debian 3.1 "Sarge" on my notebook...
It was running 2.4 kernel okay but I wanted the ACPI to turn off my notebook automatically... so I upgraded to 2.6.7...
Under 2.4 my touch pad worked fine (tap-to-click and scroll bars) now after upgrading... my touchpad moves very fast... which is okay because I just slowed down the mouse acceleration... but i can't tap or scroll now... I downloaded the synaptics driver... i installed it through apt-get and I also download the source... did my make and make install... added *what I assume to be* the correct entries into the XF86Config-4 file and restarted X... then I had no mouse activity at all.. so i just commented out the lines I added in the file... and it works okay now... because it doesn't load the synaptics driver...
If anyone has the XF86Config-4 file from their laptop running debian on a 2.6.7 kernel... stick it up... I can't seem to get this to work....
|
|
|
| is fedora core release 2 stable ? |
|
Posted by: anyweb - 2004-08-26, 08:05 AM - Forum: Polls
- No Replies
|
 |
i'm putting up this poll becuase for a month or two, fcr2 was hard locking on me, sometimes a few times per day, very very frustrating, i was just about to go back to fcr1 when i disabled apache (8 running processes)
since then, i have not had one single crash,
apache was compiled the same way as i did it in fcr1 (which by the way, this site is running on with uptime of 122 days atm)
cheers
anyweb
|
|
|
| Linux compatible ethernet cards? |
|
Posted by: SB53150 - 2004-08-25, 03:05 AM - Forum: How Do I?
- Replies (5)
|
 |
Im downloading Redhat 9.0 now to try it out and I read you need to have a modem compadible with Linux and I have DSL so do I have to buy a new ethernet card? And if so which 1?
|
|
|
| ok, i will try suse |
|
Posted by: anyweb - 2004-08-24, 07:10 PM - Forum: SUSE
- Replies (1)
|
 |
FREE
thank you Novell !!
check this out
cheers
anyweb
We apologize for the inconvenience. Please visit [/url]http://www.novell.com/community/linux/order_limited.php, as the site is now functioning again.
Thank you,
Novell Customer Communities
SC
-----Original Message-----
From: Linux Community [mailto:Linux_Community@novell.com]
Sent: Saturday, August 21, 2004 12:00 AM
Subject: Linux Technical Resource Kit Available
Dear Linux Professional,
We are contacting you to inform you that the Novell Linux Technical Resource Kit is available for order once again.
As you may have heard, we experienced an overwhelming initial demand for this kit, and quickly exhausted our inventory within a few short weeks of its availability. Now we've managed to produce a few more.
However, the quantity is very limited - and initially available only to those on the kit wait-list.
An exclusive order site will be available at http://www.novell.com/community/linux/order_limited.php until the end of Tuesday, August 24, 2004. Remember, that the offer is available only while supplies last - so please visit the order site as soon as possible. After that time, any remaining quantity will be released to the general public.
To make sure that we have enough kits for all on the wait-list, please refer anyone else interested in the Linux Technical Resource Kit, to visit [url=http://www.novell.com/community/linux/order.php]http://www.novell.com/community/linux/order.php sometime during the middle of next week.
As mentioned on the original order site - the Novell Linux Technical Resource Kit contains over 10 GB of licensed and evaluation software on 3 DVDs. The Kit includes:
- SUSE Linux Professional 9.1 (Bootable Installation DVD)
- SUSE Linux Entreprise Server 9 (ISO Installation Images)
- SUSE Linux Professional 8.2 (Installation ISO images for use with Ximian Desktop)
- Ximian Desktop 2.0 Evaluation (ISO Image)
- Red Carpet 2.0.2 Evaluation (ISO Image)
- GroupWise for Linux 6.5.1 - Server, Client & Messenger (ISO Images)
- Novell Nterprise Linux Services 1.0 (ISO Image & NLS Companion CD)
- And more...
If you have any questions about this offer, please respond to this e-mail.
Sincerely,
Novell Linux Community
|
|
|
|