In this bash script we will use expect scripting. Expect is known primarily as an indispensable application for system administrators. We use expect generally in case where input from user is required , for eg. ssh, ftp, telnet, sudo etc. Given below is sample bash script which will first ssh the remote host and then […]
Linux
Nagios plugin check_mailfromd bash script
In this post we will create Nagios plugin check_mailfromd in bash script.This nagios plugin is written in a very simple way and easy to understand. Task To check service status of mailfromd service. Create nagios plugin check_mailfromd Create a new bash script file called check_mailfromd. Use your favorite file editor for this, we in general […]
Xen Server License Nagios Plugin (bash script)
Introduction In this post we will share about the “Xen Server License Nagios Plugin” written in bash script. It was good experience to create the nagios plugin for Xen server license. Task To show how many days are left for Xen Server expiration. Requirement You must have following items to be installed in system. 1. […]
You don’t have permission to access /nagios on this server :Solved
Did you ever get, Error: You don’t have permission to access /nagios on this server while installing Nagios. We got this error also and we solved it too. The chance when we got to deploy Nagios server in our network we struck with first error after installation of Nagios in Fedora 11 “Leonidas”. We followed […]
Authenticate root to login in GUI mode in Fedora 10
Today we have installed Fedora10 in my PC in Virtual Box.We were aware that by default Fedora 10 do not permit root to login in Runlevel 5. Fedora has tightened their security.We did some changes in system and tested the root authentication issue in our PC. Steps To Authenticate root to login in GUI mode […]
Minimised Application not visible in panel – RHEL 5
How to solve when the minimised applications in panel get disappeared in RHEL 5 ? Two days ago I found a very strange problem in my PC(I am using the RHEL 5.0 Operating System). Whenever I minimised my opened application like terminal,web browser,anything it did nt appear in bottom panel(Taskbar).I had to get back these […]