Linux

Linux Tutorials and Howtos – free howtos tutorials on linux, installation, configuration, support, technical quries, tips , Redhat, Centos, Fedora, Debian,

Install nagios-plugins-contentage on openSUSE

This plugin checks one or more directory for files older than a specified age. You can define the age of files for warning and critical states. Note: the plugin checks the mtime of files, not the ctime. Usage: check_dircontent.pl -w 24 -c 48 -p /tmp Options: -w|–warning : time for warnings (minutes) -c|–critical : time(…)

Install nagiosQL on openSUSE

NagiosQL is a web based administration tool for nagios 2.x. It helps you to easy build a complex configuration with all options, manage them and use them. NagiosQL needs a webserver with php, MySQL and file access to the nagios configuration files.

Install nagios-plugins-debugsource on openSUSE

This package provides debug sources for package nagios-plugins. Debug sources are useful when developing applications that use this package or when debugging this package.

How to Configure Fedora grub to dual boot with Ubuntu

Here are the steps. 1. Reboot. At the Fedora startup menu enter single user mode to reduce the risk of disk activity interfering with our work. 2. We will now need to properly configure grub to use the Fedora menu for Fedora boots using the Fedora grub boot loader and the Ubuntu menu for Ubuntu(…)

How to Switch Your Console to the Serial Port on Linux Box

By configuring the options in your /etc/grub.conf file you can redirect console output to one of your newly configured serial ports. This will allow you to see all of the bootup and shutdown messages on this new serial terminal port. In this example, the /dev/ttyS1 port has been configured to become the new console. The(…)

How Physical COM Ports Map To Linux TTYS Devices

You can determine whether you have valid serial ports using the setserial command. In this case we are looking for all available ports between ttyS0 to ttyS7. You can see we only have two valid selections, ttyS0 and ttyS1. [root@bigboy tmp]# setserial -g /dev/ttyS[01234567] /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4 /dev/ttyS1, UART: 16550A, Port:(…)

How to Determine the TCP Daemon’s Name

The easiest way of determining the name of a daemon is to use the ps command and then use grep to filter for the name of the service. Here, the example quickly determines the daemon name (/usr/sbin/sshd) for the SSH server process. Because TCP Wrappers only requires the program name and not the path, sshd(…)

Install nagios-plugins-nfsmounts on openSUSE

A perl script that checks all local NFS mounts by forking itself and trying to chdir to it and (optionally) writing to a file. It includes performance data and allows warnings based on thresholds.

Install nagios-plugins-nis on openSUSE

Nagios plugin (script) to check the status of a NIS server on a specified host and NIS domain by asking NIS server for “passwd.byname”. As an additional check, a username may be specified which will then be “looked up” on the NIS server, note that this is optional and only introduced in v1.1 Script returns(…)

Install nagios-plugins-zypper on openSUSE

This plugin checks for software updates on systems that use package management systems based on the zypper command found in openSUSE. It checks for security, recommended and optional patches and also for optional package updates. You can define the status by patch category. Use a commata to list more than one category to a state.(…)