CentOS 5 :: Nagios - Checking Remote Host For Disk Space?

Nov 22, 2010

I'm trying to setup my test nagios to check the disk space of another linux box. I've got it setup and checking. But to my surprise, it was checking the nagios server's local disk space instead of the remote linux.

Here is my services.cfg.

define service{
use basic-service
name disk-space
check_command check_local_disk!20%!10%! /

[Code].....

View 10 Replies


ADVERTISEMENT

Software :: Nagios, Checking Remote Services?

May 16, 2011

My question is about checking remote services under Nagios. I have installed nrpe and the standard plugins on my Nagios server (RHEL 5.4) and the systems I want to monitor. I have been able to create hostgroups. I am somewhat confused as to how to add a new service. I want to check to see if tomcat is running on the remote servers. I found a plugin check_procs. If I run the following command on one of the remotes it works.

Quote:

check_procs -u tomcat6
PROCS OK: 1 process with UID = 101 (tomcat6)[code].....

It doesn't work. I'm not sure how to format the service.I've found gobs of documentation on how to setup and install Nagios, done. I've not been so lucky on how to setup a new service.

View 6 Replies View Related

General :: How To Monitor Remote Host Using Nagios

Jan 14, 2011

Yesterday i install nagios, after that i can successfully monitor my local machine disk usage and its services, but now i want to monitor remote host, but have no idea how to do this , i also google alot but not getting resource full explanation.so please guys tell me how can i monitor the remote host using nagios..

View 54 Replies View Related

Software :: Nagios Adding Remote Host?

Mar 2, 2011

i have some problem with nagios adding remots hosts in localhost.cfg (/etc/nagios/objects/localhost.cfg) file in that i am able to only one remote host if i add one more host in that file i got below error #/usr/sbin/nagios -v /etc/nagios/nagios.cfg

Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL

[Code]...

View 7 Replies View Related

Server :: Nagios Passive Or Remote-host-side Alert?

Jan 6, 2010

Is this possible that a process running on a remote-host only inform nagios when some thing is wrong. Rather then nagios-monitoring-server checking through NRPE every so often. Reason is I want to add too many alerts in the application. And I don't want a whole list of ok messages.

View 1 Replies View Related

Software :: Nagios: Free Disk Space : Invalid Drive?

Feb 19, 2010

We are using Nagios to monitor our servers. One of the items we monitor is the diskspace. We use the following code in our config file:

Code:
define service{
use generic-service,srv-pnp
host_name servername
service_description C: Drive Space
check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
code....

The check for the C-drive works fine. The check for the D-drive gives "Free disk space : Invalid drive".

View 3 Replies View Related

General :: Checking Of Services In Nagios

Jul 29, 2010

checking of services in Nagios. You all know the check_[service] command right? In the commands.cfg and windows.cfg. To check for the different types of services/ports, we just replace the [service] in check_[service] with the name of the port? I only know of check_http, check_ssh, check_ftp etc. Some ports like Finger, snmp etc, all these we also write it as 'check_finger', 'check_snmp'? 2) And, if that is the case, do we have to install additional plugins to monitor the ports defined earlier? 3) Lastly, if i want to monitor finger,snmp in windows server, would i need to download any software?

View 2 Replies View Related

Server :: Free Backup - Give A Disk Space Quota For Each Remote Windows Client

May 2, 2011

I'm looking for a free backup solution how work in client-server in both environments Linux(server) and Windows(client). in my case, i want to give a disk space quota in my Linux server for each remote windows client.

View 2 Replies View Related

Ubuntu :: Checking Disk Mean Checking All Partitions On Hd?

May 10, 2010

Sometimes at startup I get this message "Checking disk 1 of 1". Does that mean it's checking all partitions on the hd? After a bad shutdown there is no prompt for fsck to run and the system just boots up. In fstab I have both options set to "1" for the partition Ubuntu is on, all others set to "0". Any ideas on both?

View 3 Replies View Related

CentOS 5 :: Install CentOS 5.2, And The Installation Ran Out Of Disk Space After Running For About 2 Hours?

Feb 18, 2010

I am trying to install CentOS 5.2, and the installation ran out of disk space after running for about 2 hours.I checked the FAQ, and it said 1.2 GB. The disk is 3 GB. The default install was selected, and I think that it checks for sufficient available disk space before installing. Still, it ran for quite a while before announcing that it was out of disk space.The Installation Guide is not very helpful, since there is a blank page where the disk space requirement is supposed to be. I just picked the default installation. A search of the forums on "not enough disk space" did not return much.

View 13 Replies View Related

CentOS 5 :: Lower Security On Tftp So That Remote Host Can Do Gets

Jun 10, 2009

I was able to install and start tftp.I can tftp localhost and get a file, even from a non-administrator login.I can connect from a remote host, but the *get* times out.I suspect there is a security issue. Can you tell me how to lower the security on tftp so that a remote host can do gets?

View 4 Replies View Related

CentOS 5 :: Ssh_exchange_identification: Connection Closed By Remote Host?

Feb 3, 2011

I am having trouble connecting to one of the VM's through ssh from base machine all of a sudden. All I get is an error : ssh_exchange_identification: Connection closed by remote host

--IP/Hostname crossed out --
[root@XX-XX02 ~]# ssh -v 1XX.1X.5X.1XX
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008[code].....

Saying that the problem is only with ssh would be wrong as I can't seem to telnet or ftp it either. But I can ping it fine.When I try to login to that VM through console, it won't even let me login. The screen would flash for a sec and the same login prompt would reappear. I am not sure what exactly happened as it was working fine before.

OS version: CentOS release 5.5 (Final)
uname -a: Linux XX.XX 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:50:31 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

View 6 Replies View Related

CentOS 5 Networking :: Unable To Connect To Remote Host: Connection Refused

Feb 5, 2009

telnet localhost the output is...

Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused

I don't understand what is the problem. Its not configured properly how do i configure it?

View 7 Replies View Related

CentOS 5 Server :: Vsftpd - Takes Long Time To Login From Remote Host

Aug 19, 2009

I've setup vsftpd correctly and it's running fine with local users (in the same LAN). However, when remote users wanna login to the server, it takes more than 1 minute to get in. Users do can login from remote. It just took too long. (It prompted for the username and password very fast.) Since the server is behind a router, I did configure the port forwarding for TCP 20-21. The centos version is 5.3. The vsftpd is v2.0.5.

View 6 Replies View Related

CentOS 5 Networking :: Error: Unable To Connect To Remote Host: Connection Refused, It Happens With Any Port

Feb 11, 2009

I'm trying to connect with my server via telnet, but when i sent the command (telnet xxx.xxx.xxx.xxx Port) doesn't works and shows then follow error: Unable to connect to remote host: Connection refused, It happens with any port. Is strange but my telnet services works (telnet xxx.xxx.xxx.xxx), In addition, i tried with firewall enabled and disabled and the problem still happens. My centOS run on virtualbox.

View 3 Replies View Related

General :: CentOS 5 - Available Disk Space Always 0 Percent

Jun 16, 2011

I am running centos 5. So far, it gives no problem but just yesterday, when it reported "no free space" for file writing, I try to remove some file as usual. Unfortunately this time no matter how much files I had deleted, it just keep showing no available space for doing so.

Result from df:
[root@LSMSVR ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
1.2G 269M 879M 24% /
/dev/hda6 4.8G 138M 4.4G 4% /tmp
/dev/hda5 19G 2.4G 16G 14% /usr
/dev/hda3 48G 12G 34G 25% /var
/dev/hda2 379G 365G 0 100% /home
/dev/hda1 99M 15M 80M 16% /boot
tmpfs 180M 0 180M 0% /dev/shm
ow to recover the lost space in /home?

View 2 Replies View Related

CentOS 5 :: How Many Space Does A Plan C5.4 Take On Hard Disk

Dec 29, 2009

Can some one tell me how many space does a plan CentOS 5.4 take and the minium size of the memory.
Also, what is the minium size I have to partition on /boot

View 1 Replies View Related

CentOS 5 :: Increased Disk Space Not Reflected

May 11, 2011

I am running Centos 5.5 in vmware and recently had to increase my disk space from 20GB to 40GB. I understand that in linux, the increased disk space is not automatically reflected but as I am new to this topic, I am not sure how I can go about doing this. how to see what's the available space and how I can partition(?) this.

For your reference:

[root@localhost ~]# fdisk -l
Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code].....

View 2 Replies View Related

CentOS 5 :: Any Known Errors On Allocating Disk Space Using Rsync?

Mar 13, 2009

Need to know if there are any known errors allocating disk space using rsync. I have recently setup a small file backup server (2 500GB drives) running Centos 5.2, with a rsync daemon (via xinetd). However I have noticed that after about a week of usage, if I reboot, then the disk that rsync uses, has a lot of multiply claimed blocks and inode errors, such that I have to run fsck multiple times to fix. This has happened a couple of times now so I don't think that its random.

View 11 Replies View Related

CentOS 5 :: Resizing Software-RAID Disk Space On 5.5?

Mar 13, 2011

I have a dedicated server that has CentOS 5.5 installed.. I can access that server via SSH as root. Now the issue is.. httpdocs folder is situated in /var where all website data is stored. I have more than 50GB of website that needs to be transfered to this partition but this partition is of 4.0GB..

# cat /etc/fstab
/dev/md1 / ext3 defaults 1 1
/dev/sda2 none swap sw
/dev/sdb2 none swap sw

[code]...

View 2 Replies View Related

CentOS 5 :: Df Not Showing Disk Space After Logical Volume Expansion / Fix It?

Jun 5, 2009

I've added a new LUN to my Centos 5.2 server using Powerpath and have added it to an ext3 logical volume. I extended the logical volume using lvextend and the new space shows up correctly in lvdisplay. What I'm having problems with is getting Centos to see the new disk space (df -h shows 500GB, not 600GB as expected). I've tried running a resize2fs on the new volume but it tells me that "the filesystem is already n blocks long. Nothing to do". Does any one know where I'm going wrong? If possible I'd like to sort this without a reboot.

View 3 Replies View Related

CentOS 5 :: Part Of The Disk Space Is Unavailable: Only 37 GB Out Of 80GB Is Accessible?

Dec 26, 2009

A part of the disk space is unavailable: Only 37 GB out of 80GB is accessible A part of the disk space is unavailable: Only 37 GB out of 80GB is accessible. I have a vmware instance of CentOS setup with 80GB of Hard Disk space ( Preallocated). When I login to the system I only see 35 GB.

[Code]...

View 1 Replies View Related

CentOS 5 :: Adding Disk Space On System Based On VM Ware?

Sep 30, 2010

I have install Cent OS 5.5 on VM Ware ESXi 4. I have added new hard disk of 100 GB Disk space to same VM Ware instance.

How do I initialize that volume so I can see it on Linux server and use it.

View 3 Replies View Related

General :: Add Another Host To Nagios?

Jun 15, 2011

I installed Nagios following the Quick Install method from the Nagios.org web site but now I would like to add and monitor another host.I don�t find a way , I have for example replaced the ip number of the localhost(127.0.0.1 localhost.cfg) for another ip number and I am able to monitor another computer that way. But then I no longer MONITOR the localhost unless I replace the ip number in the localhost.cfg file. what I would like to do is to monitor both or more computers.

View 4 Replies View Related

CentOS 5 Server :: How To Enlarge Space Of Disk Without Re-install Operative System

Dec 5, 2009

I have a server with centos 5, with two hd, i did a fresh installation with cenTOS using the 2 hard disk, now we need enlarge with other hard disk more, can some one explain how to enlarge the space of disk without re-install the operative system?.

View 1 Replies View Related

Server :: Nagios Web Access For A Particular Host Group?

Feb 15, 2010

We are using Nagios Server for different sites say India,US,Germany. All of them are in their respective groups. Now how do i create web access to 3 of them, so that they can monitor only their server? Say, India shouls be able to see and monitor only India group, US guys should able to monitor only US servers. And they not be anle to access other group.

View 1 Replies View Related

Software :: Nagios Reports Host As Down Services?

Apr 2, 2010

Since a week or 2 Nagios is constantly marking hosts (servers mainly but also a few Serial-over-IP converters) down for anything up to a few minutes. Typically, all services stay in OK status. Looking closer at a host in such state, it's status information is

CRITICAL - Packet Filtered (<IP address of host in question>)

in soft state. Sometimes services are in critical state with the host in OK status. Almost always the status information is "No route to host". Further checking shows no problems. Rarely this state lasts longer than one check interval. This started after a link was down, putting, correctly, all hosts and services on red for being unreachable. The link problems were solved within a few hours but Nagios only showed this after 2 reboots. Since then the problems has lessened in frequency gradually, from 5 to 10 of the 34 hosts being reported down at any given moment (the same for the 150-ish services monitored) to where I am now, 1 to 5 problem statuses (counting both hosts and services) and the occasional 'all green' screen. A week ago, when the problems were going a week already, Nagios updated from 3.2.0 to 3.2.1. This showed no apparent improvement.

Still, the Host Groups screen is not stable. A read or yellow status initially signified a problem to be looked at, right now it is likely a false alarm to will go away. Whenever the "packet filtered" or "no route to host" is followed up by a ping test, no problems, not even with the slightest delay or packt loss are found.

View 5 Replies View Related

Software :: Not Able To Monitor Linux Host Under Nagios

Nov 15, 2010

I have installed nagios successfully also able to monitor windows hosts. but not able to monitor linux hosts. i have follow below procedure, installation part and evertything was ok.but still i am not able to see linux host under nagios. i followed below url for monitor linux hosts on nagios.URL...

View 3 Replies View Related

General :: Why Is Used + Available Disk Space Always Less Than Total Disk Space

Feb 24, 2011

root@localhost:~ $ df /dev/sdb1
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 1922858352 23247088 1801935664 2% /mnt/external/sdb1

[code]....

View 1 Replies View Related

Software :: Monitoring Local Host MySQL In Nagios?

Jan 6, 2010

I am using nagios to monitor a local host and a remote host in a vmware, where both the machines working in CentOS. Now i need to monitor MySQL in my local host so that i should know whether MySQL is up and running. I came across some plugins like

check_MySQL_health
check_MySQL_status
check_MySQL_stat.

While i was trying to install check_MySQL_health, i cant get clear description about the installation and i got stuck with that.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved