Re: [Nagios-users] Problem starting Nagios

2009-11-10 Thread Marco Ramos

Hi!

On 2009/11/09, at 22:25, Morris, Patrick wrote:

> Hi John!
>
> On Mon, 09 Nov 2009, John Oliver wrote:
>
>> I installed Nagios from Dag Wieers' RPMForge site
>>
>>[joli...@mda-services4 ~]$ rpm -q nagios
>>nagios-3.2.0-1.el5.rf
>>
>>
>>
>> When I try to start it:
>>
>>[joli...@mda-services4 ~]$ sudo /etc/init.d/nagios start
>>Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios
>> configuration.
>>
>>
>>
>> But:
>>
>>[joli...@mda-services4 ~]$ ls -la /var/log/nagios/
>>total 24
>>drwxr-xr-x 3 nagios nagios 4096 Nov 9 12:49 .
>>drwxr-xr-x 12 root root 4096 Nov 9 12:49 ..
>>drwxr-xr-x 2 nagios nagios 4096 Aug 27 06:35 archives
>>
>>
>>
>> And:
>>
>>[joli...@mda-services4 ~]$ sudo /usr/bin/nagios -v
>> /etc/nagios/nagios.cfg
>>
> [snip]
>>Total Warnings: 0
>>Total Errors: 0
>>
>>Things look okay - No serious problems were detected during the
>> pre-flight check
>>
>>
>>
>> So, how do I find what it's unhappy about, with no logs and a manual
>> check that indicates no problems?
>
> It seems likely to me that either:
>
> a) The config you're checking and the one the init script is telling
> Nagios to load are not the same thing,
>
> or
>
> b) The Nagios you're running, and the one the init script is running,
> are not the same thing.

indeed. Have you tried to strace it?

HTH,
Marco Ramos

>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when  
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios with Cfengine/Puppet

2008-07-09 Thread Marco Ramos

Hi!

Does anyone have experience automating Nagios with Cfengine or Puppet?  
How do you accomplish that? Do you integrate Nagios with your System  
Inventory?

TIA,
Marco Ramos

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Soft critical state and sound alarms (Jim Avery)

2007-06-21 Thread Marco Ramos

Hi,

On Thu, 2007-06-21 at 12:20 +0200, Linuxale wrote:
> > If you are using the Firefox browser, I can recommend the
> > nagioschecker firefox extension which was mentioned here recently.  It
> > permits you to filter in various ways what states will be displayed
> > and when sounds will be played.
> > 
> > http://code.google.com/p/nagioschecker/
> 
> Hi Jim,
> thanks this could be a valid method.
> 
> I'm trying its. But I prefer something integrated in nagios that not
> need any browser plugins...
> I don't know if this exist...but I was thinking to modify the code of
> the cgi to avoid to play on SOFT STATE.

Yep, I think that's the only way if you want it to be something really
integrated in Nagios. I've also hacked the code to do that and a couple
of things more :) A couple of if statments should do it.

HTH,
Marco Ramos

> 
> Thankx
> Alex 
> 
> 
> 
> 
> ***Internet Email Confidentiality Footer***
> Le informazioni trasmesse sono destinate esclusivamente alla persona o
> alla societ in indirizzo e sono da intendersi confidenziali e riservate.
> Ogni trasmissione, inoltro, diffusione o altro uso di queste
> informazioni a persone o societ differenti dal destinatario  proibita.
> Se ricevete questa comunicazione per errore, contattate il mittente
> e cancellate le informazioni da ogni computer. 
> 
> Please note that the contents of this email and any attachments are
> confidential and for the eyes of the addressee(s) only. If you
> are not the intended recipient, you are hereby notified that any use or
> dissemination of this communication or any part of it is strictly
> prohibited. If you receive this transmission in error, please notify the 
> sender
> immediately using the contact details above and then delete this e-mail.
> ***Internet Email Confidentiality Footer***
> 
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___ Nagios-users mailing list 
> Nagios-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include 
> Nagios version, plugin version (-v) and OS when reporting any issue. ::: 
> Messages without supporting info will risk being sent to /dev/null


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] nagios Caught SIGSEGV, shutting down

2007-06-21 Thread Marco Ramos

Hi,

try to strace it when you start it and look for potential errors.

HTH,
Marco Ramos


On Wed, 2007-06-20 at 13:53 -0700, Kevin Zhang wrote:
>  
> 
>  
> 
> I am using nagios 2.2 and RedHat 9.0.
> It has been working fine until recently when sometimes I cann't start
> the Nagios.
> It says:
>  
>  
> nagios Caught SIGSEGV, shutting down
>  
> Could anyone help? Thanks
>  
> Kevin SZ
>  
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___ Nagios-users mailing list 
> Nagios-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include 
> Nagios version, plugin version (-v) and OS when reporting any issue. ::: 
> Messages without supporting info will risk being sent to /dev/null


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Excluding timeperiods

2007-06-19 Thread Marco Ramos

Hi,

if I'm not missing something, you want to be notified everytime except 
between 04:00 and 04:30, am I right?

If this is what you want, simply dedine something like this in your 
timeperiod.cfg:

define timeperiod {
  timeperiod_name   foobar
  alias   Foo Bar
  sunday  00:00-04:00,04:30-24:00
  monday  00:00-04:00,04:30-24:00
  tuesday 00:00-04:00,04:30-24:00
  wednesday   00:00-04:00,04:30-24:00
  thursday00:00-04:00,04:30-24:00
  friday  00:00-04:00,04:30-24:00
  saturday00:00-04:00,04:30-24:00
}

And then you just have to apply this timeperiod to every object you want.

HTH,
Marco Ramos

- Original Message - 
From: "john" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, June 19, 2007 11:21 PM
Subject: [Nagios-users] Excluding timeperiods


> Hi,
> I'm using nagios 2.5 and I need to exclude a service from notifying within
> a certain time as it performs regular maintenance by itself.
>
> I set the time period to notify to be 04:30-04:00 and it doesn't seem to
> notify at all. I assume this doesn't understand it to be from 0430am to
> 0400am the next day?
>
> Is there a way around this (apart from upgrading to 3.0 which is on my
> list of thigns to look at)?
>
> Cheers,
>
> john
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when 
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
> 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Best Distro

2007-05-17 Thread Marco Ramos

Hi,

> Jeff Sullivan wrote:
> The only thing that I did not like was Debiens versioning.
> 
> I is hard to run the latest and greatest Nagios, etc when the distro 
> does not want to let you.
> 
> If sticking with Deb, would you suggest doing a manual install/compile 
> of apache, mysql, nagios, etc?

Usually, I only use apt-get  (or yum/rpm on RedHat) to install libraries and 
all that kind of stuff.. When it comes to install application like Apache or 
Nagios, I prefer to compile them myself so that I've the power to (de)select 
everything I want.

> 
> Thanks for the reply!!
> 
> 
> Marco Ramos wrote:
>>
>> Hi,
>>
>> well, according with the official stats 
>> (http://www.nagios.org/userprofiles/quickstats.php) RedHat is the most 
>> popular distro among Nagios users, with 30%. I must say I'm one of the 
>> 18% of Debian users :) I run a Nagios server on a Debian box  for 
>> almost 4 years and I'v never had a single problem regarding the distro.
>>
>> HTH,
>> Marco Ramos
>>
>>
>> - Original Message - From: "Jeff Sullivan" <[EMAIL PROTECTED]>
>> To: 
>> Sent: Thursday, May 17, 2007 10:07 PM
>> Subject: [Nagios-users] Best Distro
>>
>>
>>> Hello!!
>>>
>>> I have a Nagios box that croaked and I am in the process of building
>>> another.
>>>
>>> The dead critter was based on Debian; It worked well, but I was
>>> wondering what distro is Nagios the most @home with?
>>>
>>> Thanks
>>>
>>> Jeff
>>>
>>> - 
>>>
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______
>>> Nagios-users mailing list
>>> Nagios-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>> ::: Please include Nagios version, plugin version (-v) and OS when 
>>> reporting any issue.
>>> ::: Messages without supporting info will risk being sent to /dev/null
>>>
>>
> 
>

HTH,
Marco Ramos

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Best Distro

2007-05-17 Thread Marco Ramos

Hi,

well, according with the official stats 
(http://www.nagios.org/userprofiles/quickstats.php) RedHat is the most 
popular distro among Nagios users, with 30%. I must say I'm one of the 18% 
of Debian users :) I run a Nagios server on a Debian box  for almost 4 years 
and I'v never had a single problem regarding the distro.

HTH,
Marco Ramos


- Original Message - 
From: "Jeff Sullivan" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, May 17, 2007 10:07 PM
Subject: [Nagios-users] Best Distro


> Hello!!
>
> I have a Nagios box that croaked and I am in the process of building
> another.
>
> The dead critter was based on Debian; It worked well, but I was
> wondering what distro is Nagios the most @home with?
>
> Thanks
>
> Jeff
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when 
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
> 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] How to stop a scheduled download during running?

2007-05-07 Thread Marco Ramos

Hi,

yep, I suggest that you use external commands:
http://nagios.sourceforge.net/docs/1_0/extcommands.html

HTH,
Marco Ramos

On Mon, 2007-05-07 at 15:18 +0200, Marco Borsani wrote:
>  
> 
> Hi all
> 
>  
> 
> I am preparing an authomatic procedure to start scheduled download by
> “normal unix user” using a script.
> 
>  
> 
> I could need to stop it via command prompt too .. is there a correct
> way to follow?
> 
>  
> 
> Thanks
> 
> Marco Borsani
> Technical Operation
> 
> tel.:+390104310115
> e-fax: +390683175950
> *   [EMAIL PROTECTED]
> 
> ITnet S.r.l.
> Direzione e Coordinamento di Wind Telecomunicazioni S.p.A.
> Via Pacinotti, 39
> 16151 - Genova
> 
> 
> In ottemperanza al D. lgs 196/03 in materia di protezione dei dati
> personali, le informazioni contenute in questo messaggio sono
> strettamente riservate e sono esclusivamente indirizzate al
> destinatario indicato (oppure alla persona responsabile di rimetterlo
> al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo
> messaggio è vietata. Nel caso in cui aveste ricevuto questa mail per
> errore, Vi invitiamo ad avvertire il mittente al più presto a mezzo
> posta elettronica e distruggere il messaggio erroneamente ricevuto.
> 
> According to Italy’s new data protection code (Legislative Decree no.
> 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning
> privacy, the information contained in this e-mail is confidential and
> is intended for the addressee only. If you are not the correct
> recipient, please note that any use, dissemination or copy of this
> document/information is strictly prohibited.If you have received this
> message in error, you should destroy it and please notify us
> immediately by e-mail.
> 
>  
> 
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___ Nagios-users mailing list 
> Nagios-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include 
> Nagios version, plugin version (-v) and OS when reporting any issue. ::: 
> Messages without supporting info will risk being sent to /dev/null


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios, Zabbix, OpenNMS?

2007-05-03 Thread Marco Ramos

Hi,

On Mon, 2007-04-23 at 10:58 -0500, Russell Adams wrote:
> Oddly enough I'm a big advocate of using SNMP with Nagios. It
> leverages existing tools, and then plugins can suppliment the
> functionality. Also, managing NRPE etc in a large environment means
> additional software overhead. It is only suitable for LAN environments
> though.

I totaly agree with you. And using SNMP has other major advantage: you
can easily combine it with rrdtool. Btw, I use Cacti as a frontend to
rrdtool.

Best regards,
Marco Ramos

> 
> Just my $0.02.
> 
> 
> 
> On Mon, Apr 23, 2007 at 11:13:10AM -0400, Bill Jacqmein wrote:
> > The biggest problem I have with OpenNMS and Zabbix is the reliance on
> > SNMP. Most of the checks I do arent SNMP checks. What would be best is
> > if the plugins for Nagios could be used on OpenNMS or Zabbix or
> > another network monitor.
> > 
> > On 4/23/07, Carsten Philipp <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > i work at a german research institute.
> > > We are searching for a good monitoring tool, which can control many PCs
> > > with Debian Linux and some with Windows.
> > > We already have a Nagios with many selfmade scripts here, but my boss
> > > also wants statistics with nice graphs like rrdtool.  ;-)
> > > The nagiosgrapher isn`t running yet, because of some problems with cpan
> > > and perl.
> > >
> > > Does anybody have some experiences with Zabbix, OpenNMS or Cacti? I read
> > > something about nagios scripts support in the latest opennms version?
> > >
> > > We also need "special" scripts for swapping, cpu, printers (SNMP),
> > > bacula (backup), SMART, ...
> > > So what can you recommend?
> > >
> > >
> > > Regards,
> > > Carsten Philipp
> > >
> > >
> > > -
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > ___
> > > Nagios-users mailing list
> > > Nagios-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: Please include Nagios version, plugin version (-v) and OS when 
> > > reporting any issue.
> > > ::: Messages without supporting info will risk being sent to /dev/null
> > >
> > 
> > -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when 
> > reporting any issue. 
> > ::: Messages without supporting info will risk being sent to /dev/null
> --
> Russell Adams[EMAIL PROTECTED]
> 
> PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/
> 
> Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] NRPE vs NCSA

2006-09-13 Thread Marco Ramos

Hi,

On Wed, 2006-09-13 at 12:28 +0100, Hari Sekhon wrote:
> Marco Ramos wrote: 
> > Hi,
> > 
> > On Wed, 2006-09-13 at 12:14 +0100, Hari Sekhon wrote:
> >   
> > > I want to extend my nagios configuration to cover things like disk space 
> > > on servers etc so I need to evaluate which is better for this purpose: 
> > > NRPE or NCSA.
> > > 
> > 
> > IMHO, you should also consider SNMP. 
> > 
> > Best regards,
> > Marco Ramos
> > 
> >   
> > > I believe that looking at the (very) brief doc that comes with Nagios 
> > > that NRPE is a server side executor which tells the remote host "go run 
> > > this plug-in and pass the result back to me", whereas NCSA executes 
> > > itself on the host side and then sends the result to a listening NCSAd 
> > > on the monitoring server running Nagios.
> > > 
> > > So it comes down to active server initiated test or passive client 
> > > initiated test.
> > > 
> > > While NCSA would reduce load slightly (probably not noticeably though I 
> > > expect), NRPE would allow for a more centralised way of doing things, 
> > > especially since I keep my entire nagios config under svn and like to be 
> > > able to redeploy it centrally.
> > > 
> > > Does anybody have any advice as to which I should go with? What have you 
> > > used and what are your experiences of this?
> > > 
> > > -h
> > > 
> > > 

> >   
> seeing as I've never used snmp (it's on my todo list) I'd need a bit
> more of a guideline than that... How would you get check results, what
> would you run on the client, what would you run on the server?
> 

As I see it, SNMP has a major advantage: it's a industry standard. For
instance, if you also monitor routers or other network equipment, you
can't install nrpe or nsca on it.

There are also other advantages. There are many servers/applications
(jabber, squid, etc, etc) that have SNMP built-in support, so that you
can use that you can monitor a lot of things with SNMP.

Other advantage is the fact that you can use SNMP not only with Nagios,
but also with stats application (like Cacti or other rrdtool based
application ) which greatly reduces the ammount of software you'll have
to install on your servers.

It's really simple to start using SNMP. Take a look at Net-SNMP
(http://net-snmp.sourceforge.net). After understanding how it works, you
just have to identify the OIDs of the things you want to monitor and
make some simple scripts to monitor them. For instance, I use perl
scripts with the Net::SNMP module on my Nagios server to check disk
space, load average and all that kind of stuff on my monitored servers. 

HTH,
Marco Ramos

> -h
> 
> -- 
> Hari Sekhon
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___ Nagios-users mailing list 
> Nagios-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include 
> Nagios version, plugin version (-v) and OS when reporting any issue. ::: 
> Messages without supporting info will risk being sent to /dev/null


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] NRPE vs NCSA

2006-09-13 Thread Marco Ramos

Hi,

On Wed, 2006-09-13 at 12:14 +0100, Hari Sekhon wrote:
> I want to extend my nagios configuration to cover things like disk space 
> on servers etc so I need to evaluate which is better for this purpose: 
> NRPE or NCSA.

IMHO, you should also consider SNMP. 

Best regards,
Marco Ramos

> I believe that looking at the (very) brief doc that comes with Nagios 
> that NRPE is a server side executor which tells the remote host "go run 
> this plug-in and pass the result back to me", whereas NCSA executes 
> itself on the host side and then sends the result to a listening NCSAd 
> on the monitoring server running Nagios.
> 
> So it comes down to active server initiated test or passive client 
> initiated test.
> 
> While NCSA would reduce load slightly (probably not noticeably though I 
> expect), NRPE would allow for a more centralised way of doing things, 
> especially since I keep my entire nagios config under svn and like to be 
> able to redeploy it centrally.
> 
> Does anybody have any advice as to which I should go with? What have you 
> used and what are your experiences of this?
> 
> -h
> 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] How to Display Status Map???

2006-08-07 Thread Marco Ramos

Hi,

On Mon, 2006-08-07 at 01:19 -0700, Arief Iqbal wrote:
> Hi,
> 
> Can somebody tell me how to display CGI (status, status map, etc) in
> my nagios web interface? I've set all of things in cgi.cfg but there's
> no display appear at all in my nagios web interface. Hope u can help
> me to solve my problem.

try to do a ldd to your statusmap.cgi. I'm guessing that you haven't
installed libgd, libpng or libjpg.

HTH,
Marco Ramos

> thanks
> 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___ Nagios-users mailing list 
> Nagios-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include 
> Nagios version, plugin version (-v) and OS when reporting any issue. ::: 
> Messages without supporting info will risk being sent to /dev/null


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_ping is segfaulting

2006-06-20 Thread Marco Ramos

Hi,

On Tue, 2006-06-20 at 11:51 +0100, Alex Moore wrote:
> Hello,
> 
> Nagios mostly works just fine, but I have found that check_ping will
> always crash when it runs against a couple of particular hosts.
> 
> These hosts have IP addresses: 172.25.1.99 and 172.25.1.98. Check ping
> succeeds for all other hosts, but just not these two. If I use the
> hostnames of these machines instead of the IP addresses in the "address"
> field of the host definitions then it works fine as well. I can't see
> any logical reason why check_ping should crash on these two IP addresses
> but nothing else. This is an example of running check_ping from the
> command line:
> 
> # /usr/local/libexec/nagios/check_ping -H 172.25.1.98 -w 100.0,20% -c
> 500.0,60% -p 5
> Segmentation fault (core dumped)
> 
> But most other addresses work:
> 
> # /usr/local/libexec/nagios/check_ping -H 172.19.15.58 -w 100.0,20% -c
> 500.0,60% -p 5
> PING OK - Packet loss = 0%, RTA = 0.44 ms
> # /usr/local/libexec/nagios/check_ping -H 172.25.1.93 -w 100.0,20% -c
> 500.0,60% -p 5
> PING WARNING - Packet loss = 0%, RTA = 170.30 ms
> 
> Note that this is reproducible 100% of the time. And the segfault does
> not occur when using the hostname instead of the IP address.
> 
> I tried a tcpdump of check_ping when it succeeds and when it fails, and

try to strace check_ping (strace -f -o
strace.output /usr/local/libexec/nagios/check_ping -H 172.25.1.98 -w
100.0,20% -c 500.0,60% -p 5). Maybe this will give and idea of what's
happening. I'm guessing that's some kind of issue with libresolve.

HTH,
Marco Ramos

> comparing the two. In both cases it seems to try an  DNS lookup on
> the IP address (which fails, of course, since they are not IPv6
> addresses). In the working scenario, check_ping then sends out its ICMP
> packet direct to the IP address and receives a reply, etc. In the
> segfault scenario check_ping never even sends out an ICMP echo request
> at all. It just waits for a few seconds and then segfaults.
> 
> Anyone know why this might be happening? Obviously, using the hostname
> instead of IP address for these 2 machines is a reasonable workaround,
> but it seems very strange!
> 
> Note: I am using the OpenBSD 3.9 stable packages for nagios, which are
> version 2.0rc2. Was this a known bug in that version which has since
> been fixed?
> 
> 
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 



___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Service Groups

2006-05-31 Thread Marco Ramos

Hi,

On Wed, 2006-05-31 at 11:34 +0100, Oliver Marshall wrote:
> Does Nagios support service groups ? I want to create a group called

Nagios 2.x does, Nagios 1.x doesn't.

http://nagios.org/development/changelog.php

HTH,
Marco Ramos

> "Fil Print Servers" which contains all the servers that perform file and
> print duties. That service group would then have a group of commands
> associated with it, so that any server that's part of that group also
> inherits these services ?
> 
> I'm finding that most of my servers fall in to one of four groups, each
> group sharing similar services.
> 
> Olly
> 
> 
> ---
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Checks that compare previous values

2006-05-30 Thread Marco Ramos

Hi,

On Tue, 2006-05-30 at 15:55 +0100, Jee Kay wrote:
> Is there some way to make checks compare the value they've retrieved
> against the previous value of that service?
> 
> Specifically, I would like to be able to alert on excessive throughput
> on some switchports. The obvious way to do this is check the inOctets
> every minute and compare the value just retrieved against the last
> value; if that *8/60 is more than a certain amount then we need to
> alarm.
> 
> A rough timeline would be:
> 
> 000 seconds: Check; gets 150. No previous value - ignore completely.
> 060 seconds: Check; gets 300. Total bytes passed in the last minute = 150. OK.
> 120 seconds: Check; gets 300. Total bytes passed in the last
> minute = too many. WARNING.
> 
> 
> Is there any functionality in Nagios that would make this sort of
> thing easy, or do I need to write a wrapper of some description for
> this?

No. I think the easiest way is to write a wrapper that writes each
script iteration to disk so it can always compare each iteration with
the previous one. I'm using this approach in some scripts and it works
fine.

HTH,
Marco Ramos

> Thanks in advance,
> Ras
> 
> 
> ---
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Errors in my log since upgrade to 2.1

2006-04-04 Thread Marco Ramos

Hi,

try to tune your max_concurrent_checks and service_reaper_frequency.
Take a look at http://www.nagios.org/faqs/viewfaq.php?faq_id=115

HTH,
Marco Ramos

On Tue, 2006-04-04 at 08:08 -0500, Gabriel Matthews wrote:
> I've been 
> having some problems.  It runs fine during the day, handles 
> notifications fine, everything works great.  When I come in the next 
> day, the process has stopped, and the log file is full of thi



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Scheduled Host Downtime via commandline

2006-03-24 Thread Marco Ramos

Hi,

yes. Check this out:
http://nagios.sourceforge.net/docs/1_0/extcommands.html

HTH,
Marco Ramos

On Fri, 2006-03-24 at 09:12 +0100, Richard Gliebe wrote:
> Hi all,
> 
> is it possible to schedule a Host Downtime via command line, and delete
> this scheduled downtime also via command line ?
> 
> thanks in advance
> Richard
> 
> 
> 
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] Nagios 'Out Of Memory' Problems

2006-03-24 Thread Marco Ramos

Hi,

I had some out of memory and forking problems a while ago. After some
debugging I've tunned some parameters, namely service_reaper_frequency
and max_concurrent_checks.

Maybe this URL will help you: http://www.nagios.org/faqs/viewfaq.php?
faq_id=115

HTH,
Marco Ramos

On Thu, 2006-03-23 at 13:51 -0800, Armistead, Raffy wrote:
> I am not sure exactly what process is causing it to run out of memory.
> Since I have it as a dedicated Nagios system I would imagine it is
> Nagios that is causing a problem. This occurred when we had about 4000
> devices but very seldom and it wasn't much of an issue then. Now that we
> almost have 7000 devices that are being monitored it is happening more
> frequently. Since this was the case I had assumed it was Nagios but
> didn't know how to go about fixing the problem.
> 
> I do not know that much about Linux so I am not sure how to go about
> setting that up. How do I setup ulimits for memory utilization? What
> steps would I go about to monitor memory utilization for the Nagios
> server?
> 
> I had checked the nagios.cfg file and I do have that setting at -1:
> 
> command_check_interval=-1
> 
> 
> I appreciate any help. Thanks.
> 
> Raffy 
> 
> -Original Message-
> From: Marc Powell [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 23, 2006 11:12 AM
> To: nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] Nagios 'Out Of Memory' Problems
> 
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:nagios-users-
> > [EMAIL PROTECTED] On Behalf Of Armistead, Raffy
> > Sent: Thursday, March 23, 2006 12:23 PM
> > To: nagios-users@lists.sourceforge.net
> > Subject: [Nagios-users] Nagios 'Out Of Memory' Problems
> > 
> > I have a problem with my Nagios server constantly crashing. It keeps
> > outputting on the screen Out of Memory errors which causes loss of
> access
> > to the server. I can ping the box but I cannot SSH or web into it to
> view
> > any information. This has been happening increasingly more lately. Now
> it
> > is about every 2-3 days that this is occurring. We have been adding
> more
> > and more devices to the servers and this problem has been increasing
> as
> > this occurs. This is how I have it set up.
> > 
> > 
> > 
> > I have a Main Nagios server that is running the latest 2.0 (stable)
> Nagios
> > release. It is monitoring about 6800 devices but it is not actively
> > checking the devices. Its main role is to provide a web interface and
> > receive passive polls from three other servers which do the polling.
> The
> > main server also does email notifications when a device goes down. The
> > server sends about 30-40 emails a day. I am using NSCA 2.5 between the
> > server and the client Nagios servers. I am only monitoring one service
> for
> > each device which is either TCP or ping depending on the device.
> Mostly
> > all devices are monitored with TCP (roughly 6000). The rest are
> monitored
> > with ping. The individual servers are pretty evenly spread with the
> number
> > of devices. They are about 2000-2500 each. 
> > 
> > Can someone please help me in resolving this problem? Thanks
> 
> Have you determined what process is using the memory? One of the first
> steps you should take is to set appropriate ulimits for memory
> utilization for that user so that it doesn't bring down the server. I
> would configure nagios to monitor memory on that server then use top or
> ps to identify the process(es) using the allocated memory when memory
> utilization is high. That will provide better direction for
> troubleshooting rather than simply that the machine is crashing due to
> memory exhaustion. The nagios deamon itself isn't going to be using a
> lot of RAM (10M on my box with 3400 passive services).
> 
> My somewhat unfounded guess is that perhaps nagios isn't reaping the
> results from NSCA frequently enough so you're having a backlog of ncsa
> processes. Each process uses just a little memory but if you have
> thousands of them then it adds up. I've personally experienced this on a
> machine that was experiencing disk problems. If this is the case, beyond
> a hardware problem or capacity issue, I'd verify that your
> command_check_interval is set to -1 to make sure that nagios is checking
> the external command file as quickly as it can.
> 
> --
> Marc 
> 
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the 

Re: [Nagios-users] nagios starting problem

2005-12-19 Thread Marco Ramos
On Mon, 2005-12-19 at 19:32 +0500, Askar Ali wrote:

> >   
> however I still *sometime* (not every time) error when stopping
> nagios.
> 
> /etc/rc.d/rc.nagios stop
> Stopping network monitor: nagios
> Waiting for nagios to exit .head: cannot open
> `/usr/local/nagios/var/nagios.lock' for reading: No such file or
> directory

Does this directory have read/write permissions for the user nagios?

HTH,
Marco Ramos



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] nagios starting problem

2005-12-19 Thread Marco Ramos

What's the homedir of the user nagios? Is this the directory under which
Nagios is installed?

HTH,
Marco Ramos

On Mon, 2005-12-19 at 19:12 +0500, Askar Ali wrote:
> I have installed nagios 2.0b6 on OS slackware, when I starts it, it 
> gives error...
> (actaully migrated from one machine to another which were running 2.0b2)
> 
> /etc/rc.d/rc.nagios start
> Starting network monitor: nagios
> No directory, logging in with HOME=/
> 
> 
> however its working, secondly *sometime* when I stop nagios by 
> /etc/rc.d/rc.nagios stop it gives error no nagios.lock file find and 
> show me the long listing of Usage.
> 
> 
> I even replaced the init script of 2.0b6 with 2.0b2 but still the same 
> error.
> 
> any idea where i'm making some mistake?
> 
> regards
> 
> Askar Ali
> 
> 
> 
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] Nagios HANGS scheduling info

2005-12-12 Thread Marco Ramos

The problem should be your max_concurrent_checks set to 0. Run "nagios -
s nagios.cfg" and set the max_concurrent_check to the value suggested.
This should fix it.

Best regards,
Marco Ramos 

On Mon, 2005-12-12 at 10:54 -0300, Fernando Shayani wrote:
> Well, it's STILL hangs... Here is my configuration:
> 
> log_file=/usr/local/nagios/var/nagios.log
> temp_file=/usr/local/nagios/var/nagios.tmp
> status_file=/usr/local/nagios/var/status.dat
> aggregate_status_updates=1
> status_update_interval=3
> nagios_user=nagios
> nagios_group=nagios
> enable_notifications=1
> execute_service_checks=1
> accept_passive_service_checks=1
> enable_event_handlers=1
> log_rotation_method=d
> log_archive_path=/usr/local/nagios/var/archives
> check_external_commands=1
> command_check_interval=-1
> command_file=/usr/local/nagios/var/rw/nagios.cmd
> downtime_file=/usr/local/nagios/var/downtime.dat
> comment_file=/usr/local/nagios/var/comments.dat
> lock_file=/usr/local/nagios/var/nagios.lock
> retain_state_information=1
> state_retention_file=/usr/local/nagios/var/retention.dat
> retention_update_interval=360
> use_retained_program_state=1
> use_syslog=1
> log_notifications=1
> log_service_retries=0
> log_host_retries=0
> log_event_handlers=1
> log_initial_states=0
> log_external_commands=0
> log_passive_checks=0
> sleep_time=1
> service_interleave_factor=s
> max_concurrent_checks=0
> service_reaper_frequency=2
> interval_length=60
> use_aggressive_host_checking=0
> enable_flap_detection=1
> low_service_flap_threshold=20
> high_service_flap_threshold=80
> low_host_flap_threshold=20
> high_host_flap_threshold=80
> soft_state_dependencies=0
> service_check_timeout=25
> host_check_timeout=10
> event_handler_timeout=30
> notification_timeout=15
> ocsp_timeout=60
> perfdata_timeout=60
> obsess_over_services=0
> process_performance_data=0
> check_for_orphaned_services=1
> check_service_freshness=0
> freshness_check_interval=60
> date_format=euro
> illegal_object_name_chars=`~!$%&*|\\\'\\\"<>?,()=
> illegal_macro_output_chars=`~$&|\\\'\\\"<>
> [EMAIL PROTECTED]
> service_inter_check_delay_method=s
> max_service_check_spread=15
> host_inter_check_delay_method=s
> max_host_check_spread=15
> auto_reschedule_checks=1
> auto_rescheduling_interval=30
> auto_rescheduling_window=180
> 
> 
> And here is my STATS:
> 
> CURRENT STATUS DATA
> 
> Status File:  /usr/local/nagios/var/status.dat
> Status File Age:  0d 0h 0m 3s
> Status File Version:  2.0b6
> 
> Program Running Time: 0d 2h 47m 39s
> 
> Total Services:   314
> Services Checked: 314
> Services Scheduled:   313
> Active Service Checks:314
> Passive Service Checks:   0
> Total Service State Change:   0.000 / 12.110 / 0.299 %
> Active Service Latency:   0.003 / 358.274 / 16.984 %
> Active Service Execution Time:0.036 / 25.014 / 2.207 sec
> Active Service State Change:  0.000 / 12.110 / 0.299 %
> Active Services Last 1/5/15/60 min:   48 / 182 / 267 / 277
> Passive Service State Change: 0.000 / 0.000 / 0.000 %
> Passive Services Last 1/5/15/60 min:  0 / 0 / 0 / 0
> Services Ok/Warn/Unk/Crit:304 / 3 / 4 / 3
> Services Flapping:0
> Services In Downtime: 0
> 
> Total Hosts:  129
> Hosts Checked:129
> Hosts Scheduled:  1
> Active Host Checks:   129
> Passive Host Checks:  0
> Total Host State Change:  0.000 / 10.260 / 0.291 %
> Active Host Latency:  0.000 / 0.176 / 0.001 %
> Active Host Execution Time:   0.000 / 5.973 / 2.012 sec
> Active Host State Change: 0.000 / 10.260 / 0.291 %
> Active Hosts Last 1/5/15/60 min:  1 / 2 / 3 / 6
> Passive Host State Change:0.000 / 0.000 / 0.000 %
> Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0
> Hosts Up/Down/Unreach:128 / 1 / 0
> Hosts Flapping:   0
> Hosts In Downtime:0
> 
> 
> Please... Help... 
> 
> 
> Fernando Shayani
> [EMAIL PROTECTED]
> (61) 3038-6951
> POLITEC - Brasília - DF
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fernando 
> Shayani
> Sent: quinta-feira, 8 de dezembro de 2005 07:45
> To: Marco Ramos
> Cc: nagios-users@lists.sourceforge.net
> 

RE: [Nagios-users] Nagios HANGS scheduling info

2005-12-06 Thread Marco Ramos

Try to tune your service_reaper_frequency and max_concurrent_checks
values. Take a look at http://nagios.org/faqs/viewfaq.php?faq_id=115.

Had the same problem a while ago and managed to solve it tunning this
two options.

regards,
Marco Ramos

On Tue, 2005-12-06 at 14:53 -0300, Fernando Shayani wrote:
> Well, my configuration is:
> 
> Inter-check sleep time (sleep_time=0.25)
> Service inter-check delay method (service_inter_check_delay_method=s)
> Maximum service check spread (max_service_check_spread=2)
> Service interleave factor (service_interleave_factor=s)
> Maximum concurrent service checks (max_concurrent_checks=0)
> Service reaper frequency (service_reaper_frequency=5)
> Host inter-check delay method (host_inter_check_delay_method=s)
> Maximum host check spread (max_host_check_spread=2)
> Timing interval length (interval_length=60)
> Agressive host checking option (use_aggressive_host_checking=0)
> 
> The following options are not set.
> Auto-rescheduling option 
> Auto-rescheduling interval
> Auto-rescheduling window
> 
> 
> I will read the configuration and recheck it all.
> 
> I also got the SYSLOG line right after que problem. I hope this could help 
> you help me.
> 
> Dec  6 06:33:24 bsbserv007 nagios: Warning: The check of service 'CPU LOAD' 
> on host 'BSBSERV017' could not be performed due to a fork() error.  The check 
> will be rescheduled.
> 
> 
> Thanks for the help.
> 
> 
> Fernando Shayani
> [EMAIL PROTECTED]
> (61) 3038-6951
> POLITEC - Brasília - DF
> 
> -Original Message-
> From: Marcel Mitsuto Fucatu Sugano [mailto:[EMAIL PROTECTED] 
> Sent: segunda-feira, 5 de dezembro de 2005 15:33
> To: Fernando Shayani
> Cc: Eli Stair; nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] Nagios HANGS scheduling info
> 
> On Mon, 2005-12-05 at 09:01 -0300, Fernando Shayani wrote:
> > Well, I upgraded to b6, enabled the Orphaned Service and still 
> > hangs...
> >  
> > Is there any other clue?
> >  
> > Fernando Shayani
> > [EMAIL PROTECTED]
> > (61) 3038-6951
> > POLITEC - Brasília - DF
> 
> Have you followed the instructions available at:
> http://nagios.sourceforge.net/docs/2_0/configmain.html ?
> 
> Read that and check the following configs:
> Inter-check sleep time
> Service inter-check delay method
> Maximum service check spread
> Service interleave factor
> Maximum concurrent service checks
> Service reaper frequency
> Host inter-check delay method
> Maximum host check spread
> Timing interval length
> Auto-rescheduling option
> Auto-rescheduling interval
> Auto-rescheduling window
> 
> Agressive host checking option
> 
> Which are related to the scheduling options, and might be the source of your 
> problem. Have you messed up those variables? Whatever the case, post the 
> values of this configuration variables.
> 
> HTH,
> --
> Marcel Mitsuto Fucatu Sugano <[EMAIL PROTECTED]> Universo Online S.A. -- 
> http://www.uol.com.br
> 
> 
> 
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Possible BUG: No Service Notifications - HELP!!!

2005-12-06 Thread Marco Ramos


Do you have service escalations defined in your escalations.cfg? Do you
have notifications_enabled set to 1 in the services you want? How does
your services.cfg look like for the services you want to be notified?

regards,
Marco Ramos

On Tue, 2005-12-06 at 09:51 -0500, Ron Gage wrote:
> Hi:
> 
>  
> 
> I have a fairly small Nagios installation (25 hosts, 50 services).
> 
>  
> 
> I can not get any service notifications to fire at all.  None.
> 
>  
> 
> I get host notifications without any problems, but absolutely no
> service notifications.  Nothing in the notification logs either.  The
> service outage is being properly recorded in the logs, but no
> notification is firing.
> 
>  
> 
> I have verified that service notifications are turned on in the config
> files and that the mail command is properly defined.
> 
>  
> 
> I have also tried (via the CGI interface) turning notifications off
> and on for various services and hosts – no difference.
> 
>  
> 
> The part that really bugs me is that there is nothing in the
> notification logs when a service problem occurs.
> 
>  
> 
> Can anyone offer me some guidance on where to look for this?
> 
>  
> 
> RON GAGE
> Network Administrator
> Wise Solutions, Inc.
> T >  +1 734 456 2202
> M >  +1 248 343 2431
> www.altiris.com
> 
> Security. Compliance. Patch management. IT service management.
> Altiris solves your most pressing IT issues.
> www.altiris.com 
> 
> 
>  
> 
> 



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] plugin check_load

2005-11-24 Thread Marco Ramos

Hi,

you should use integers instead of floats.

$ ./check_load -w 10,10,10 -c 15,15,15
OK - load average: 1.51, 0.94, 1.04

This works but I suggest that you use SNMP for system metrics (load,
cpu, disk space, etc). It's easy to work with and it's platform
independent.

Regards,
Marco Ramos

On Thu, 2005-11-24 at 16:06 +0100, Heinz Andernach wrote:
> Hi, I'm a new user of nagios and have the job to get things running
>  
> testing the plugin check_load  
> for example with
>  
> ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 
>  
> I get  the response: Warning threshold must be float or
> float triplet
> i tried other (or no) delimiter with no effect
>  
> Heinz



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check disks by remote

2005-11-16 Thread Marco Ramos

Hi,

I'd recommend that you use SNMP. We use net-snmp agents to check disk
space, load average, cpu usage, etc, and works great.

regards,
Marco Ramos

On Wed, 2005-11-16 at 13:38 +, Miguel Faria wrote:
> Hi,
> 
> I am wondering if you could give me a clue to which plugin I need to check
> disk free space on another UNIX servers. Your help is much appreciated.
> 
> Thanks,
> 
> Miguel
> 
> 
> 
> 
> ---
> This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> Register for a JBoss Training Course.  Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 



---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null