Networking :: Auto Detect Hosts With Nagios

Feb 17, 2011

Is it possible to configure nagios to auto detect all the hosts that belong to a network and place them in the cfg files?

View 1 Replies


ADVERTISEMENT

Networking :: DHCP Server Auto-detect

Apr 1, 2010

I have a scenario where a Debian (in this case) device will be connected to an existing LAN.What I then want said box to do, is to query the LAN to see if there is an existing DHCP server present. If there isn't one - then simply use the Debian box as the DHCP server (which works fine atm).If there is an existing one - I need the Debian box to be able to turn off it's own internal one and get it's details from the existing server (ie. change from server to client).

These action will need to be sat in the background as well - just in case another DHCP server appears on the LAN after this box does. Don't shoot me for saying it - but I know Windoze server does this. Is there a 'script/util' that anyone knows of (I am trying to do this auto-magically)?

View 2 Replies View Related

Debian Multimedia :: XOrg Auto-detect Failing To Detect Max Screen Resolution

May 29, 2011

I've installed Squeeze 2.6.32-5-amd64 on my laptop (Alienware M17X R3, Intel i7 Sandybridge, ATI Technologies Inc Broadway [ATI Mobility Radeon HD 6800 Series])The screen is 17", with maximum resolution of 1920 x 1080. After a default install of the operating system, the maximum resolution I can select is 1280 x 1024.My research so far has suggested that I need to edit the /etc/X11/xorg.conf file and provide xorg with the necessary resolution.

Again, by default, the xorg.conf file is not created. This leads me to believe that xorg is scanning my hardware at startup and providing me with whatever it thinks is appropriate. I tried following these instructions to generate an xorg.conf file. This process created an xorg.conf file under /root/.

When I copy this xorg.conf file to /etc/X11, I get a blank (i.e. black) screen. Deleting this file restores the default resolution 1280 x 1024.This system is dual booting with Windows 7. Under windows I am able to get a 1920 x 1080 resolution, so I know my hardware is up to it.At this stage I have yet to install the drivers for the Radeon graphics card.What are my options regarding configuring xorg to give me a higher screen resolution?

View 6 Replies View Related

General :: Nagios Don't Send Mail For Individual Hosts?

Jun 3, 2010

It does not send mail if I only add contact_groups in host definition.

Code:

define host{
use generic-host ; Inherit default values from a template
host_name NAME1 ; The name we're giving to this switch
address XX.X.X.X ; IP address of the switch

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Add Hosts In Nagios - Monitor Network Properly?

Jun 3, 2011

I have installed ubuntu on Vmware.I work in Lan environment and I have 2 local linux servers in my office.I have installed nagios on ubuntu.but nagios doesnt show other hosts in office.How to do I add other hosts in the office in nagios so that I can monitor network properly?

View 1 Replies View Related

Software :: Unable To View Remote Hosts Details In Nagios Browser Page?

Sep 4, 2010

I have configured Nagios Server and Client on my RHEL 5.4 machines using these links and help html files in tar balls.

url
url

I have this scenario.

Nagios Server - 192.168.1.200
Nagios Client - 192.168.1.201 (This is the remote-host I am trying to monitor)

I firmly believe I have at least configured it right as this command on Nagios Server does not show any errors.

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
code....

View 8 Replies View Related

Ubuntu Networking :: Proxy Settings: Allowed Hosts Instead Of Ignored Hosts

Aug 17, 2011

Well, as many proxy applications, GNOME Network Proxy Preferences only allow to ignore hosts. What I want to do is exactly the opposite. I only want to use the proxy for few sites. Is it possible to define only the allowed hosts in any way?

PS: I know FoxyProxy add-on for Firefox does this, but 1)I don't use Firefox and 2)I want the proxy settings system wide not only for browser.

View 9 Replies View Related

Software :: Nagios - Auto Acknowledging Alerts After Many Tries/sends Notification

Mar 17, 2011

Is there a way to trigger Nagios to "Auto Acknowledge" any host alerts after x amount of times? Sometimes system has been down in the mid of the night but no one really has responded to the notification which might mean bunch of emails flown through in each inbox within the department coming from these alerts.

View 3 Replies View Related

CentOS 5 :: Bash Script Command For Auto Login On Several Hosts

Nov 2, 2010

I am trying to make a bash-script for auto-logins on several hosts, seems there is a problem with the quotes and I can't figure it out. I've experimented with singles and doubles but no luck yet. Below are two variants with respective outputs. In both cases the output of echo works fine if I copy and paste it to a prompt, but when executed from the script it falls down.

* Only one case-clause for testing...
* Not possible to use passwordless key-login

#!/bin/bash
PASSWORD="my_password"
case "$1" in
"example1" ) HOST="example-host-1"
echo $HOST;;
esac
if [ $HOST ]
then
COMMAND="expect -c 'spawn ssh $HOST ; expect assword ; send $PASSWORD
; interact'"
echo $COMMAND
exec $COMMAND
else
echo "No host argument"
fi

View 7 Replies View Related

Ubuntu :: Wirelesse Auto-detect Is Failing

Apr 9, 2011

The first time I started ubuntu, it auto-conected to my personal wireless network. Now, when I try to connect to another wireless network, it doesn't auto-detect. Does anyone know why this happens?

View 1 Replies View Related

OpenSUSE Install :: Way To Turn The Terminal Auto-detect Off?

Jun 14, 2011

SuSE 11.4 is a wonderful release, but two chronic problems remain. The most serious is the inability to get Gnome to recognize an intel driver parameter specification in xorg.conf or 50-screen.conf with a predetermined, working screen specification. With the latest update that includes: [url]

Gnome will boot up in a strange resolution with a display of a pink screen and fragments of icons split and duplicated over the display. Teasing open the terminal parameter screen, terminal parameters (resolution, horizontal rate) appear to be correct. The terminal type is 'undefined', whether the screen is operating correctly or not, and any attempt to set defaults are refused. Perhaps the intel driver has not been selected by the operating system. Is there a way to specify a default screen driver?

This has been a chronic problem, now aggravated with the latest update to the point where the computer is now rendered inoperative.

Ironically, the other problem, that of the difficulty in downloading certain update files also remains. Had an elaborate update workaround procedure not been followed, the system would still be usable.

View 9 Replies View Related

General :: Auto Detect Text File Encoding ?

Jun 24, 2011

There are many plain text files which were encoded in variant charsets.

I want to convert them all to UTF-8, but before running iconv, I need to know its original encoding. Most browsers have an Auto Detect option in encodings, however, I can't check those text files one by one because there are too many.

Only having known the original encoding, I then can convert the texts by iconv -f DETECTED_CHARSET -t utf-8.

Is there any utility to detect the encoding of plain text files? It DOES NOT have to be 100% perfect, I don't mind if there're 100 files misconverted in 1,000,000 files.

View 3 Replies View Related

Ubuntu :: Auto Detect Hard Drive Errors?

Jan 22, 2010

Someone explain this to me. I often thought in the back of my head, how do I check if my drive is bad in Linux? I always excused it thinking well I guess besides gaming that's another reason to keep a windows partition around. I boot up yesterday and Gnome was acting weird. Then, it happened. "We have detected bad sectors in your hard drive." I thought, no, you're stupid, this hard drive is less than a year old (however it was a replacement for another one that died). So I reboot.

Boot back up - Different error message. But instead of getting it a few minutes after log in, I got it right away. "We have detected potential hard drive failure." Okay, Linux. Want to play this game? Booted to Vista, downloaded Seatools to test my Seagate drive. It failed... Swapped SATA cables... it failed... So I ask - how does Linux have this auto detect capability like that? As much as I love Ubuntu, I was like there's no way it could just magically tell like that without running the Seagate program. But alas, Ubuntu was dead on target.

View 9 Replies View Related

Ubuntu :: HIPOINT Does Not Detect Wireless Devices Auto

Jul 18, 2010

I am running UBUNTU 10.04 on an X86 system 64bit. I am trying install a wireless keyboard and am not having much luck.

-My non wirelessUSB keyboard and mouse work fine.
-My wireless logictech mouse works fine without adding any special drivers/packages
-Wireless Keyboard (LX500, uses same receiver as mouse) does not work with standard config
-Adding HIDPOINT and selecting my wireless mouse and keyboard (LX500) - wireless key board does not work. Mouse still works.Since my wireless mouse worked before HIPOINT installation (64 bit), I believe HIDPOINT is not working.

HIPOINT Does not detect my wireless devices auto, must manually select them. So I believe that there is some conflict with other drivers.Can anyone point be in a direction to look? What are the typical configuation files and drivers used to configure standard USB mouse and keyboards? What are some other software that might be installed that is conflicting with HIDPOINT?

View 1 Replies View Related

Ubuntu Multimedia :: Auto Detect VGA And Switch Monitors?

Jul 31, 2010

I've HP DV 2000 laptop.
I'm trying to find out how to make my ubuntu to auto switch monitors when I connect my lcd into the vga plug and also switch the desktop bars into the new monitor and also use the laptop screen as a side screen.
In setting I can turn off my laptop screen and i'll see only on the lcd screen, but I need to configure it first, I want it to be automatically and when i plugged out the lcd it's back to normal.

View 2 Replies View Related

Ubuntu Multimedia :: Auto-detect External Monitor And Enable?

Apr 13, 2011

My netbook DOES seem to know when I plug in or remove an external monitor. Can I get it to simply auto-switch?

View 4 Replies View Related

Ubuntu :: Set Synaptic Package Manager To Auto Detect Proxy Settings For A Network?

May 24, 2010

SPM has just two options 1. Direct connection(no proxy) to internet and 2.manual proxybut my firefox cannot connect to internet with no proxy, It can connect to internet only on auto-detect proxy settings option.Right now my SPM is not working. I can ping the SPM server from my console but apt-get is not working

View 3 Replies View Related

Networking :: Ethernet Auto-connect / Auto-sense Doesn't Work

Feb 3, 2011

I have noticed that a common issue to several distros is the fact that the networking subsystem doesn't automatically detect the link if an ethernet connection is disconnected and then re-connected to the NIC after boot. If the ethernet cable is connected after the system is up and running, nothing happens - ethtool eth0 shows link detected: no, and you have to restart the network service to let the NIC know that there is in fact a link, and actually connect. I have a Fedora14 (KDE) box with a brand new Asus motherboard with embedded NIC. Everything works great except the auto-detect of a freshly connected ethernet connection if the link is down to begin with.

Am I missing a ethernet link sentinel utility or something, or is this just the way linux works? I have done plenty of research on plenty of posts, and it seems this is a common problem, with no solution other than manually or programatically restarting the network service in a script to detect the link after a disconnect.

View 3 Replies View Related

Server :: Error: Cannot Open Log File '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' For Reading?

Jul 9, 2011

Error: Cannot open log file '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' for reading!

View 2 Replies View Related

Security :: Use Current /etc/hosts File To Do An Ssh-keyscan Instead Of Making A Special List Of Hosts?

May 2, 2011

I'm trying to use ssh-keyscan to get some known_host file population going on, but I have a ton of hosts I want to scan, all with multiple aliases in /etc/hosts. Is there a way to use my current /etc/hosts file to do an ssh-keyscan instead of making a special list of hosts that (from what I've read) ssh-keyscan needs?

View 2 Replies View Related

General :: How To See The Code Behind The Nagios Plugin: Nagios Checker

Aug 4, 2010

How to see the code behind the nagios plugin: Nagios Checker? I opened the folder which i have downloaded. After that where do i have to go to see the codes? Is it in App_Codes?

View 14 Replies View Related

Ubuntu :: Secondary Hard Drives "auto-detect"?

Jun 29, 2010

This is probably a stupid questions but it's a pet peeve of mine. I have three hard drives you have to actually open them before they show up in other areas/on the desktop.Is there a way that when ubuntu starts they just automatically are detected?

View 3 Replies View Related

Ubuntu :: No Hosts File - Just Hosts.allow And .deny?

Jan 26, 2011

Probably an easy (which means stoopid) question...I am trying to reroute a website using my hosts file so that it matches my servers certificate file for testing without effect dns and the live site.When I went to edit my /etc/hosts file it is non-existent. I have, I am assuming in it's place, hosts.allow and hosts.deny. Can anyone explain why I do not have a hosts file?

View 1 Replies View Related

General :: Nagios - Can I Configure Nagios To Do This

Jul 15, 2011

So we monitor all of our disk space, but only get pages for critical. What we would like to do is have one email sent to our team every month with all the "Warnings" for our disk. I have been searching and haven't found a way to do this. Any suggestions?

View 1 Replies View Related

Networking :: What Is Best Nagios Web Frontend Available?

Apr 5, 2011

What is the best nagios web frontend available? I want one that allows to add hosts, remove them, configure them, etc. If possible, with a good documentation.

View 3 Replies View Related

Networking :: How To Monitor Asterisk Using Nagios

Mar 31, 2011

What are the standard procedures to monitor asterisk with nagios? I downloaded check_asterisk from URL...

View 1 Replies View Related

Networking :: Nagios Configuration With The NRPE?

May 17, 2011

I've followed all the instructions in nagios documentation to install the nrpe agent in a remote host, but the daemon nrpe is not listening on port.. that means I can't even test it localhost!

netstat -at | grep nrpe
returns nothing.
You added the nrpe entry to your /etc/services file - done
The only_from directive in the /etc/xinetd.d/nrpe file contains an entry for "127.0.0.1" - done
xinetd is installed and started - done

Check the system log files for references about xinetd or nrpe and fix any problems that are reported - syslog empty..

Installed lsof and lsof +M -i4:

xinetd 25680 root 5u IPv4 75987 TCP *:nrpe (LISTEN)

Is there anything else I can do to correct this? I configured this yesterday and it was working ok.. but today when got into computer it stopped working

View 2 Replies View Related

Networking :: NConf Installation To Use With Nagios

Apr 8, 2011

Been following the steps to do the manual installation from [URL]:installation, but when I finish I cannot access http://192.168.100.110/nconf -> 192.168.100.110 is the ip address where nconf is installed.
Error:
Forbidden
You don't have permission to access /nconf on this server. Where is the problem? I did everything exactly as they said and got no kind of errors.

View 1 Replies View Related

CentOS 5 Networking :: How To Yum Install Nagios

Sep 4, 2011

I want to monitor network bandwidth/usage/stats on an interface dedicated to iSCSI traffic.I've read nagios is one of the better solutions available, and I've found a How-To here: Installing Nagios on CentOS 4.x/5.x.But it seems yum won't install it. Am I missing something? Is it no longer possible to install nagios with yum? Should I use a different mirror?

View 6 Replies View Related

Ubuntu Servers :: Apache2: SNI & Virtual Hosts - Multiple Virtual Hosts With Ssl And Only 1 Ip Address

Jan 17, 2011

[Code]....

What I want: multiple virtual hosts with ssl and only 1 ip address: In my example: server = 192.168.227.129

[Code]....

View 9 Replies View Related







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