Re: [Nagios-users] Mail notification problem

2010-08-17 Thread Toonz IT
Hi Gerald, Got stuck at # postmap /etc/postfix/sasl_passwd error returned was postmap: fatal: config variable inet interfaces: host not found: localhost out host name is Nagios. we have edited in /etc/sysconfig/network file. please advice. regards Ananth. On Tue, Aug 17, 2010 at 7:09 PM,

[Nagios-users] Tuning for Passive Check latency

2010-08-17 Thread Yu Watanabe
Hello all. We would like to ask some tips with how to tune up fof the Passvie Check. Currently we are experiencing following latency in passive check, Passive Service Latency:0.586 / 101257.403 / 768.626 sec # nagios version is 3.0.6 I have read manual but I would like to get

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread Marcel
Are you sure you are trying to test plugin execution with the nagios user? Try that. On Tue, Aug 17, 2010 at 5:57 PM, wrote: > Hi Melissa, > if you disable the embedded perl interpreter in nagios.cfg, does the > script start to work? > Diego > Sent from my BlackBerry® wireless device > > -O

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread diego . roccia
Hi Melissa, if you disable the embedded perl interpreter in nagios.cfg, does the script start to work? Diego Sent from my BlackBerry® wireless device -Original Message- From: "Matthew J. Salerno" Date: Tue, 17 Aug 2010 12:45:29 To: Huber, Melissa; Nagios Users List Reply-To: "Matthew

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread Huber, Melissa
Ahh - I just realized something... I got the same response in Nagios when I uncommented "use strict;", but not at the command line. I get the following at the command line with it commented out: If I run: ./checkciscotemp.pl -C '' -H I get: OK Inlet Temp: 18 Outlet Temp: 22 Then if I do a:

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread Matthew J. Salerno
What is your command line? Are you calling the script directly or is it wrapped in a shell script? I took a quick look at the script, and it needs quite a bit of improvement. Not sure if it was a result of my copy and paste, but there is only so much I can blame on bad formatting. I would r

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread Huber, Melissa
Umm... Not sure. I just tried uncommenting and got the same results though. I'm taking over managing the nagios server that we have from another collegue who left the company. I've actually migrated everything over to another server that is now running the latest nagios. The previous server

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread Matthew J. Salerno
For starters, why is use strict commented out? From: "Huber, Melissa" To: nagios-users@lists.sourceforge.net Sent: Tue, August 17, 2010 2:41:23 PM Subject: [Nagios-users] nagios plugins return code issue  Hello all, I've googled around everywhere trying t

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread Huber, Melissa
Sorry - accidentally resent! Melissa A. Huber Linux-Unix Administrator ASCENTDATA Advanced, Secure, Data Centers www.ascentdata.com mhu...@ascentdata.com 412-968-4030 From: Huber, Melissa Sent: Tuesday, August 17, 2010

[Nagios-users] nagios plugins return code issue

2010-08-17 Thread Huber, Melissa
Hello all, I've googled around everywhere trying to find an answer here and came up unsuccessful, so if anyone has had experience in this situation, I'd appreciate help! Basically, the issue that I'm having is that I have a couple of temperature plugins that are reporting errors in Nagios

Re: [Nagios-users] Distributed Setup of Nagios

2010-08-17 Thread Tony Yarusso
On 8/17/2010 9:53 AM, Max wrote: > DNX might work for you: > > http://dnx.sourceforge.net/ > > - Max I would second this suggestion. I've been trying it out in the office here, and it seems WAY simpler than the traditional method for distributed setups. The one caution I'll give with that is

Re: [Nagios-users] Host Groups / Definitions

2010-08-17 Thread Assaf Flatto
removing the template is not necessary unless you with to use the hostgroup name yourself. if you don't assign hosts to the group it will have not impact ( except for an empty group in the cgi) . As for the file name - I use the same naming conventions for my nagios config - it is easy to under

Re: [Nagios-users] Host Groups / Definitions

2010-08-17 Thread Shane Killian
Thanks guys, So for example I have the windows.cfg file. I should define all windows servers here? That file contains the following portion: # Define a hostgroup for Windows machines # All hosts that use the windows-server template will automatically be a member of this group define hostgroup{

Re: [Nagios-users] Mail notification problem

2010-08-17 Thread Kiran Kumar P
Hi, Smart host is a type of mail relay server which allows an SMTP server to route e-mail to an intermediate mail server rather than directly to the recipient's server. Often this smart host requires authentication from the sender to verify that the sender has privileges to have mail forwarded

Re: [Nagios-users] Host not defined

2010-08-17 Thread Nate Hausrath
That was it. Thank you. I copied some of the config options from another template, which included the register 0. I knew I was overlooking something! -Nate On Aug 17, 2010, at 11:23 AM, Breandan Dezendorf wrote: > On Tue, Aug 17, 2010 at 11:09 AM, Nate Hausrath > wrote: >> This should be si

Re: [Nagios-users] Mail notification problem

2010-08-17 Thread Toonz IT
Thanks Gerald for the link, we thought sendmail was being used in FAN. will check and update at the earliest. regards Ananth. On Tue, Aug 17, 2010 at 7:09 PM, Ortner, Gerald wrote: > Hi, > > > > http://fannagioscd.sourceforge.net/drupal/?q=node/10 ? > > > > gerald > > > > > > *Von:* Toonz IT

Re: [Nagios-users] Mail notification problem

2010-08-17 Thread Toonz IT
Hi Kiran, Thanks for writing, can you be more specific, we are complete newbie's here... Meanwhile we are checking other advices also. thanks ananth. On Tue, Aug 17, 2010 at 7:59 PM, Kiran Kumar P wrote: > Hi, > > > > Can you try with adding smart host in sendmail.cf (/etc/mail/sendmail.cf).

Re: [Nagios-users] Host not defined

2010-08-17 Thread Nate Hausrath
Thanks for the suggestion. I have the following: # This should give me generic-host cfg_file=/usr/local/nagios/etc/objects/templates.cfg # This is where the config I sent in my previous email is located cfg_dir=/usr/local/nagios/etc/servers So that should do it? The config I displayed below ar

Re: [Nagios-users] Host Groups / Definitions

2010-08-17 Thread steve f
Gonna take a stab at this for you. Newer Nagios guy here as well. Here is a basic start You use a hostgroup.cfg file to create a group i.e define hostgroup{ hostgroup_name Remote_Hosts alias Remote Hosts members

Re: [Nagios-users] Host Groups / Definitions

2010-08-17 Thread Assaf Flatto
Shane In the definitions of each host ( or template ) you have an option of defining the "hostgroup" this will group several host in to a group and will display them as a logical group . A host can be part of many host groups - there is not restriction on a host belonging to one hostgroup. To

Re: [Nagios-users] Host not defined

2010-08-17 Thread Breandan Dezendorf
On Tue, Aug 17, 2010 at 11:09 AM, Nate Hausrath wrote: > This should be simple, but for some reason I can't get my nagios config to > validate with a new server I want to monitor.  I am monitoring plenty of > hosts, but this is the first one I've used the "check_http" command for.  I > am follo

Re: [Nagios-users] Host not defined

2010-08-17 Thread Assaf Flatto
Nate Hausrath wrote: > Hello, > > This should be simple, but for some reason I can't get my nagios config to > validate with a new server I want to monitor. I am monitoring plenty of > hosts, but this is the first one I've used the "check_http" command for. I > am following the examples found

[Nagios-users] Host Groups / Definitions

2010-08-17 Thread Shane Killian
Hi guys, I'm monitoring a number of Windows servers and so far I am using only the templates provided. I would like to split my servers up using host groups so I will have each site and then the datacentre. I'm not sure how to go about this... although I have read the documentation I'm not und

[Nagios-users] Host not defined

2010-08-17 Thread Nate Hausrath
Hello, This should be simple, but for some reason I can't get my nagios config to validate with a new server I want to monitor. I am monitoring plenty of hosts, but this is the first one I've used the "check_http" command for. I am following the examples found here: http://nagios.sourceforge

Re: [Nagios-users] Bonding/Teaming Monitoring

2010-08-17 Thread Scott Voll
might look at simple event correlator and do it via syslog traps. don't ask me how to do it. as it's on my list of things to do myself. Scott On Mon, Aug 16, 2010 at 10:55 PM, Robert Jackson wrote: > My current situation is that I have 2 core switches (Cisco 2960G’s) in a > failover capabilit

Re: [Nagios-users] Distributed Setup of Nagios

2010-08-17 Thread Max
On Tue, Aug 17, 2010 at 10:26 AM, Bradley Radjoo wrote: > Hello All, > Please can you assist me as I a 1st timer to Nagios itself as I need > assistance on a Distributed Monitoring Setup of Nagios. > Where one server manages other instances of Nagios Servers in differant > locations. > Any help or

[Nagios-users] Distributed Setup of Nagios

2010-08-17 Thread Bradley Radjoo
Hello All, Please can you assist me as I a 1st timer to Nagios itself as I need assistance on a Distributed Monitoring Setup of Nagios. Where one server manages other instances of Nagios Servers in differant locations. Any help or documentation on installation and configuration would be of grea

Re: [Nagios-users] Mail notification problem

2010-08-17 Thread Kiran Kumar P
Hi, Can you try with adding smart host in sendmail.cf (/etc/mail/sendmail.cf). Regards, Kiran _ From: Toonz IT [mailto:it.to...@gmail.com] Sent: Tuesday, August 17, 2010 1:13 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Mail notification problem Hi all,

Re: [Nagios-users] Mail notification problem

2010-08-17 Thread Ortner, Gerald
Hi, http://fannagioscd.sourceforge.net/drupal/?q=node/10 ? gerald Von: Toonz IT [mailto:it.to...@gmail.com] Gesendet: Dienstag, 17. August 2010 15:22 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] Mail notification problem Hi Allan, Thanks for writing... our test environment

[Nagios-users] Mail notification problem

2010-08-17 Thread Toonz IT
Hi Allan, Thanks for writing... our test environment is as follows. Server is Windows 2003 Server with 2GB RAM, we downloaded Fully Automated Nagios from http://fannagioscd.sourceforge.net/drupal/ Using VMPlayer we created a new virtual machine and installed using the fan iso image. Nagios vers

Re: [Nagios-users] r...@walkermartyn.co.uk - Email found in subject - Re: Bonding/Teaming Monitoring

2010-08-17 Thread Matthew J. Salerno
If you want to monitor ports you could probably check the port status from the switch via snmp and add that as a dependency to the server. You could also check the port status of the bonded nics via snmp on the server itself. No need to duplicate anything. "Robert Jackson" wrote: >Thanks fo

[Nagios-users] Possibility of service check rescheduling problem

2010-08-17 Thread Yu Watanabe
Hello all. I would like to confirm if there is such possibility that , whenever program restart occurs, service check resume properly as it is stored in the state retention file. In this condition , following options are activated in nagios.cfg: State retention option State retention file Rete

Re: [Nagios-users] r...@walkermartyn.co.uk - Email found in subject - Re: Bonding/Teaming Monitoring

2010-08-17 Thread Jim Avery
On 17 August 2010 09:50, Robert Jackson wrote: > Thanks for the reply Jim, > > I take it I'm looking at duplicating hosts and services if I choose not > to go down the route of the switches sending traps (just seems like more > work I can do without)? I was kind of thinking the switches would be >

Re: [Nagios-users] r...@walkermartyn.co.uk - Email found in subject - Re: Bonding/Teaming Monitoring

2010-08-17 Thread Robert Jackson
Thanks for the reply Jim, I take it I'm looking at duplicating hosts and services if I choose not to go down the route of the switches sending traps (just seems like more work I can do without)? I was kind of thinking the switches would be parents of the ports which in turn would be parents of the

Re: [Nagios-users] Bonding/Teaming Monitoring

2010-08-17 Thread Jim Avery
On 17 August 2010 06:55, Robert Jackson wrote: > My current situation is that I have 2 core switches (Cisco 2960G’s) in a > failover capability. Every one of our servers (Windows, RHEL & Solaris) has > NIC bonding/teaming enabled and obviously one switch serves network access > to NIC #0, the othe