nagios sample object config file for monitoring machines. First you need to have the Host definition — > Host group definition [here we add the hosts for this group]–>and then the Service Definition Example: for Service Definition # Define a service to check the disk space of the root partition # on the local machine. [...]
nagios configuration files root@jyothis:/usr/local/nagios/etc# ls -l total 68 -rw-rw-r– 1 nagios nagios 10699 Mar 22 2009 cgi.cfg -rw-r–r– 1 root root 26 Mar 22 2009 htpasswd.users -rw-rw-r– 1 nagios nagios 42730 Mar 22 2009 nagios.cfg drwxrwxr-x 2 nagios nagios 4096 Nov 27 13:19 objects -rw-rw—- 1 nagios nagios 1340 Mar 22 2009 resource.cfg :/usr/local/nagios/etc# cd [...]
Verify the sample Nagios configuration files. /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg /usr/local/nagios/bin# ./nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data… Running pre-flight check on configuration data… Checking services… Checked 9 services. Checking hosts… Checked 2 hosts. Checking host groups… Checked 1 host groups. Checking service groups… [...]
Quickstart Installation Guides install Nagios from source (code) on Ubuntu * Nagios and the plugins will be installed underneath /usr/local/nagios * Nagios will be configured to monitor a few aspects of your local system (CPU load, disk usage, etc.) * The Nagios web interface will be accessible at http://localhost/nagios/ Required Packages Make sure you’ve installed [...]
To fully understand the architecture of Cisco Centri Firewall, you need to understand the TCP/IP architecture on which the Internet is based. This appendix discusses the TCP/IP architecture and provides a basic reference model that can help you understand how Cisco Centri Firewall operates. It explains TCP/IP terminology and describes the fundamental concepts underlying the [...]
Download chrom development version for ubuntu You can download the development verion from the url below, there are versions available for other platform also from the url. http://ppa.launchpad.net/chromium-daily/ppa/ubuntu/pool/main/c/chromium-browser/ Adding the repository: https://launchpad.net/~chromium-daily/+archive/ppa deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu intrepid main deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu intrepid main
Adding google repository to Ubuntu or Debian based distros. Add the following rule to e.g. /etc/apt/sources.list, or if your distro has the /etc/apt/sources.list.d/ directory, add it to a file called google.list in that directory: # Google software repository deb http://dl.google.com/linux/deb/ stable non-free main Once the above entry is added we can run apt as usual. [...]
The -F option force fsck on reboot, login as root and type the following command to reboot and run fsck: # shutdown -rF now -F Force fsck on reboot. -r Reboot after shutdown. -k Don’t really shutdown; only send the warning messages to everybody. or Login as user root and create a file called forcefsck: [...]
Q. My laptop partition /dev/sdb1 is showing file system error, how do i use fsck command to check for file system error and repair the partition. Solution is to use fsck – check and repair a Linux file system or use e2fsck – check a Linux ext2/ext3 file system. Device Start End Blocks [...]
setuid program are programs, which runs as owner of the program, rather than the user executing the program. root@laptop:~# ls -l `which su` -rwsr-xr-x 1 root root 31012 2009-04-04 11:19 /bin/su root@laptop:~# ls -l `which sudo` -rwsr-xr-x 1 root root 115136 2009-02-17 08:52 /usr/bin/sudo root@laptop:~#