Re: [Nagios-users] Nagios 3 RPMs for CentOS?

2009-01-31 Thread Andrea Gabellini
Kevin,

if you enable rpmforge (https://rpmrepo.org/RPMforge), you can find nagios 3.0.6

Andrea


Kevin Keane wrote:
> So far, I've been running Nagios on opensuse, but am moving to a CentOS 
> 5.2 (x86_64) server now. Unfortunately, I can't seem to find any recent 
> Nagios RPMs for that OS (and for various reasons, I can't compile from 
> source). I did find some 2.x RPMs, but really prefer to use the 3.x release.
> 
> Any ideas?
> 
> Thanks!
> 

-- 

---
Daddy, why doesn't this magnet pick up this floppy disk?
---
Ing. Andrea Gabellini
Email: andrea.gabell...@telecomitalia.sm
Skype: andreagabellini
Tel: (+378) 0549 886111
Fax: (+378) 0549 886188

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Republic of San Marino

http://www.telecomitalia.sm

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Support for snmp v2c with check_all_interfaces.pl

2009-01-17 Thread Andrea Gabellini
Matt,

the original code use snmp v2c as the default, and it works fine. Did you 
change the default?

Andrea

Matt Nelson wrote:
> I have been using check_all_interfaces.pl for a while on 32bit machines
> and it works great for checking the interfaces for errors.  I would like
> to use it on a 64bit machine, but it gives the error:
> 
> CRITICAL: Could not read table by SNMP: Counter length too long (5 bytes)
> 
> due to it trying to read a Counter64 with snmp v1.  It does not support
> v2c, or v3, which supports Counter64.
> 
> Does anyone know of a similar plugin that will work, or a way around this?
> 
> 
> 
> 
> --
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> 
> 
> 
> 
> ___
> 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

-- 

---
Monday is an awful way to spend 1/7th of your life.
---
Ing. Andrea Gabellini
Email: andrea.gabell...@telecomitalia.sm
Skype: andreagabellini
Tel: (+378) 0549 886111
Fax: (+378) 0549 886188

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Republic of San Marino

http://www.telecomitalia.sm

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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_mem plugin for solaris 9

2007-11-28 Thread Andrea Gabellini
Hi,

I wrote a little perl script. Do you want to try it?

Andrea

Sudhir Damle wrote:
> Hi All,
> 
>  
> 
> I am using Nagios to monitor many machines, some of them are Solaris 9.
> There is a requirement for memory monitoring.
> 
>  
> 
> Most of the plugins on NagiosExchange are perl scripts using ‘meminfo’
> or ‘free’ commands which are not available on Solaris box.
> 
>  
> 
> Any idea how to accomplish this check? Any idea, comments, suggestions
> appreciated.
> 
>  
> 
> Thanks,
> 
>  
> 
> **Sudhir Damle**
> 
> Systems & Operations
> 
> Stratogent
> 
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 
> Tel: (650) 577-2332
> 
> www.stratogent.com <http://www.stratogent.com/>
> 
>  
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
> 
> 
> 
> ___
> 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

-- 

-------
Politicians are people, who when they see the light at the end of the tunnel, 
go out and buy more
tunnel.
---
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Skype: andreagabellini
Tel: (+378) 0549 886111
Fax: (+378) 0549 886188

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Republic of San Marino

http://www.telecomitalia.sm

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] Solaris10 (Sparc)

2007-09-05 Thread Andrea Gabellini
David,

I'm ranning nagios 2.9 on a Sun Fire V240 and Solaris 10 11/06

Andrea

David Rivera wrote:
> Hi list
> 
> I see that Solaris10 on x86 works a a Nagios server, so does that mean that 
> sparc based servers will not work?
> 
> thanks
> David
> 
> 
> - David Rivera (
> 
> ---
> The mailing list archive is found here:
> http://www.nagiosexchange.org/nagios-users.34.0.html
>   
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> 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
> 

-- 

---
If you can't smile when things go wrong, you've something in mind to blame.
---
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Skype: andreagabellini
Tel: (+378) 0549 886111
Fax: (+378) 0549 886188

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Republic of San Marino

http://www.telecomitalia.sm

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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 SIGHUP problem

2007-08-31 Thread Andrea Gabellini
Hi,

this bug is fixed in CVS. Install from it or apply the attached patch to 2.9 
source.

Andrea

Rodney Ramos wrote:
> I´m having a problem when I try to reload Nagios 2.9. When I run "kill -HUP
> ", it ends up with SIGEXIT.
> 
> In the nagios.log we have "Caught SIGEXIT, shutting down...".
> 
> I´m running Nagios 2.9 in Solaris 9, gcc-3-4-6.
> 
> I´ve read that this a problema in the "char *sigs[]" definition on the
> nagios.c file.
> 
> Does anyone knows how to solve this problema?
> 
> Thanks.
> 
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> 
> 
> 
> 
> ___
> 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

-- 

-------
Smile: It's the second best thing you can do with your lips.
---
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Skype: andreagabellini
Tel: (+378) 0549 886111
Fax: (+378) 0549 886188

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Republic of San Marino

http://www.telecomitalia.sm
--- base/nagios.c.orig  2007-04-17 10:52:43.37039 +0200
+++ base/nagios.c   2007-04-17 10:56:46.452195000 +0200
@@ -142,7 +142,7 @@
 
 int sigshutdown=FALSE;
 int sigrestart=FALSE;
-char
*sigs[]={"EXIT","HUP","INT","QUIT","ILL","TRAP","ABRT","BUS","FPE","KILL","USR1","SEGV","USR2","PIPE","ALRM","TERM","STKFLT","CHLD","CONT","STOP","TSTP","TTIN","TTOU","URG","XCPU","XFSZ","VTALRM","PROF","WINCH","IO","PWR","UNUSED","ZERR","DEBUG",(char
 *)NULL};
+extern char **sigs;
 int caught_signal=FALSE;
 int sig_id=0;
 
--- base/utils.c.orig   2007-04-17 10:52:34.218343000 +0200
+++ base/utils.c2007-04-17 10:58:40.339805000 +0200
@@ -76,7 +76,7 @@
 
 extern int  sigshutdown;
 extern int  sigrestart;
-extern char **sigs;
+char
*sigs[]={"EXIT","HUP","INT","QUIT","ILL","TRAP","ABRT","BUS","FPE","KILL","USR1","SEGV","USR2","PIPE","ALRM","TERM","STKFLT","CHLD","CONT","STOP","TSTP","TTIN","TTOU","URG","XCPU","XFSZ","VTALRM","PROF","WINCH","IO","PWR","UNUSED","ZERR","DEBUG",(char
 *)NULL};
 extern int  caught_signal;
 extern int  sig_id;
 
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
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] SIGEXIT shutting down Nagios 2.9 on Solaris 10

2007-07-13 Thread Andrea Gabellini
Klaus,

this bug is fixed in CVS. Install from it or apply the attached patch to 2.9 
source.

Andrea

Bonaparte, Klaus wrote:
> We've been running Nagios 2.9 on Solaris 10 for a few weeks now and have
> noticed our Nagios server suddenly shutting down with the following in
> nagios.log:
> 
> [1184189631] Caught SIGEXIT, shutting down...
> 
>  
> 
> No one has been logged in at the time of these failures and nothing else
> is in the log files. Is there a known bug in Nagios 2.9? I've never seen
> this with the Nagios 2.4 we run on another Solaris 10 server and we are
> considering downgrading our Nagios 2.9 to Nagios 2.4 since it has been
> more stable.
> 
>  
> 
> Thanks,
> 
> Klaus
> 
>  
> 
> 
> 
> 
> 
> 
> -
> 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

-- 

---
Feed the homeless to the hungry
---
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Republic of San Marino

http://www.omniway.sm  http://www.telecomitalia.sm
--- base/nagios.c.orig  2007-04-17 10:52:43.37039 +0200
+++ base/nagios.c   2007-04-17 10:56:46.452195000 +0200
@@ -142,7 +142,7 @@
 
 int sigshutdown=FALSE;
 int sigrestart=FALSE;
-char
*sigs[]={"EXIT","HUP","INT","QUIT","ILL","TRAP","ABRT","BUS","FPE","KILL","USR1","SEGV","USR2","PIPE","ALRM","TERM","STKFLT","CHLD","CONT","STOP","TSTP","TTIN","TTOU","URG","XCPU","XFSZ","VTALRM","PROF","WINCH","IO","PWR","UNUSED","ZERR","DEBUG",(char
 *)NULL};
+extern char **sigs;
 int caught_signal=FALSE;
 int sig_id=0;
 
--- base/utils.c.orig   2007-04-17 10:52:34.218343000 +0200
+++ base/utils.c2007-04-17 10:58:40.339805000 +0200
@@ -76,7 +76,7 @@
 
 extern int  sigshutdown;
 extern int  sigrestart;
-extern char **sigs;
+char
*sigs[]={"EXIT","HUP","INT","QUIT","ILL","TRAP","ABRT","BUS","FPE","KILL","USR1","SEGV","USR2","PIPE","ALRM","TERM","STKFLT","CHLD","CONT","STOP","TSTP","TTIN","TTOU","URG","XCPU","XFSZ","VTALRM","PROF","WINCH","IO","PWR","UNUSED","ZERR","DEBUG",(char
 *)NULL};
 extern int  caught_signal;
 extern int  sig_id;
 
-
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] Monitoring Cisco 3750 stack

2007-02-26 Thread Andrea Gabellini
Hi,

what I'm looking for is the state of all members of the stack. Something like 
the output of "sh switch".

I found the oid "1.3.6.1.4.1.9.9.500.1.2.1.1" that returns a table with the 
members and the states
of each member.

I wrote a little perl script that checks for it.

Thanks to all,
Andrea

Hugo van der Kooij wrote:
> On Sat, 24 Feb 2007, Andrea Gabellini wrote:
> 
>> I would like to monitor the status of a stack of Cisco Catalyst 3750.
>>
>> Do someone know the SNMP OIDs to query? Or can someone share info or scripts?
> 
> I guess a snmpwalk against the device will let it spill it's guts and you 
> pick whatever you want to know about it.
> 
> So the basic question is. What do you want to know about it?
> 
> For example:
> You can gather the amount of non-unicast packets for a port if you like 
> to. But is it usefull to you?
> 
> Hugo.
> 

-- 

---
Computer programmers don't byte, they nibble a bit.
---
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Republic of San Marino

http://www.omniway.sm  http://www.telecomitalia.sm

-
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


[Nagios-users] Monitoring Cisco 3750 stack

2007-02-24 Thread Andrea Gabellini
Hi,

I would like to monitor the status of a stack of Cisco Catalyst 3750.

Do someone know the SNMP OIDs to query? Or can someone share info or scripts?

Thanks,
Andrea


-- 

---
Computer analyst to programmer: "You start coding. I'll go find out what they 
want."
-------
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino

http://www.omniway.sm  http://www.telecomitalia.sm

-
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] Solaris 10 and the nrpe client

2007-01-11 Thread Andrea Gabellini
David,

I have had the same problem on some solaris installation (from 7 to 10) with 
SSL communications, so
disabling the SSL with the -n flag works for me. Obviously also the Nagios 
server have to do the
connection without using SSL.

Andrea

David Rivera wrote:
> Hi,
> 
> I have recently built a new instance of a Nagios server, it is running on 
> Linux.
> The clients are Linux and Solaris. All clients are able to communicate with 
> the Nagios server via the nrpe client pkg, EXCEPT my 2 solaris 10 boxes. I 
> can not get it to run on these servers, it does not want to start up on the 
> client. I am wondering if this is a Solaris 10 in-compatible issue, or am I 
> doing something wrong. I am using the standalone version for the client
> 
> so when I do: ./nrpe -c /usr/local/nagios/etc/nrpe.cfg -d & 
> 
> it just will not start as all the other Solaris and linux server do.
> 
> Any help would be appreciated.
> 
> thanks
> DR
> 
> 
> 
> 
> 
> Money can't buy happiness, but neither can poverty.
> -Leo Rosten
> 
> 
> 
> 
> 
> -
> 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

-- 

---
A flashlight is a case for holding dead batteries.
---
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino

http://www.omniway.sm  http://www.telecomitalia.sm

-
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 Mirror Status

2006-11-06 Thread Andrea Gabellini
Hi,

I'm trying to monitor the raid 1 configured on my Sun x4100 (that use the same 
chip) servers but I
can't find any utility. The only information I can see is through ipmitool, but 
this can only
display the status of disks. This is different than the status of the mirror... 
I tried also the
lsiutil program that come with the driver for solaris from the LSI web site, 
but this utility didn't
find any MTP ports. I think because the different name of the kernel driver.

Somebody have any suggestion about any tool (from LSI or any third party) that 
can display the
status of the mirror?

Thanks in advance,
Andrea

Giles Coochey wrote:
>  
> 
>> -Original Message-
>> From: [EMAIL PROTECTED] 
>> [mailto:[EMAIL PROTECTED] On Behalf 
>> Of Andreas Fladischer
>> Sent: 06 November 2006 11:14
>> To: nagios-users@lists.sourceforge.net
>> Subject: [Nagios-users] check Mirror Status
>>
>> [EMAIL PROTECTED]
>>
>> I have an environment with several linux servers. Some of 
>> them use a hardware raid (LSI Logic 53c1030PCI). Now i'm 
>> searching for a plugin, where i can monitor the status of the 
>> raid. Can somebody tell me, how i can solve this problem or 
>> is such a plugin available?
>>
>> thanks an advance
>> greetz
>> Andreas
>>
>>
> Hi Andreas,
> 
> There was a thread about this some time back. Look for "Monitoring
> hardware RAID" thread.
> 
> Arrayprobe was suggested: http://www.strocamp.net/opensource/
> 
> Also there was a suggestion to use the diagnostic utility that is
> normally provided by the hardware integrator of the hardware raid
> adapter.
> 
> Thanks
> 
> Giles
> 
> __
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> __
> 
> -
> 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
> 
> 

-- 

---
Tourists: The only foreigners the French ever drove out.
---
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino

http://www.omniway.sm  http://www.telecomitalia.sm

-
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] SMS notifications to a cell phone

2006-10-05 Thread Andrea Gabellini
http://smstools.meinemullemaus.de/

Yogesh Hasabnis wrote:
> Hi All,
> 
> I am in the process of setting up nagios for monitoring key services in our
> network setup. I have already tested and used the email method of sending
> notifications using Sendmail as my relay host. I would be grateful if I get
> some pointers for sending notifications using SMS to a cell number, in case
> of service failures and recoveries. I went through the nagios docs. They
> have mentioned  quite a few options for using SMS as a notification method.
> But it seems that one needs to subscribe to the services of a service
> provider to use any of those options. And the service provider should be
> providing services in your country/location. Is it possible to use this
> notification without subscribing to any specific paid service ?
> 
> I am extremely sorry if this question has already been answered before.
> 
> Thanks In Advance
> 
> Yogesh
> 
> 
> 
> 
> -
> 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

-- 

---
The call came for light, and there was light. Then came the darkness, known as 
night. Man was
created free from all sin. And then it came... the happening! Welcome to your 
Death!
---
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino

http://www.omniway.sm  http://www.telecomitalia.sm

-
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] NRPE, SMF and Solaris 10

2006-07-07 Thread Andrea Gabellini
Hello,

I'm using nrpe successfully on Solaris 10, but I run it as standalone daemon 
under smf. Can you 
submit the cfg file? If you are interested I can supply my manifest and method 
file.

Andrea

Alloo, Vincent wrote:
> Hello,
> 
> I have a full Nagios infrastructure running fine on multiple OS (Solaris 
> 8, RH).
> 
> I’m trying now to add another client running Solaris 10 06/06 (Sparc).
> 
> I have converted my inetd.conf using inetconv utility to create the SMF 
> service for NRPE.
> 
> Unfortunately, it is not working. Can you help me to correct the 
> problem? SSL enabled.
> 
>  
> 
> Here is my SMF config:
> 
>  
> 
> # inetadm | grep nrpe
> 
> enabled   online svc:/network/nrpe/tcp:default
> 
>  
> 
> # svcs \*nrpe\*
> 
> STATE  STIMEFMRI
> 
> online 13:26:45 svc:/network/nrpe/tcp:default
> 
>  
> 
> # inetadm -l svc:/network/nrpe/tcp:default
> 
> SCOPENAME=VALUE
> 
>  name="nrpe"
> 
>  endpoint_type="stream"
> 
>  proto="tcp"
> 
>  isrpc=FALSE
> 
>  wait=FALSE
> 
>  exec="/apps/nagios/nrpe/nrpe -c 
> /db/sysadmin/nagios/nrpe_debug.cfg -i"
> 
>  arg0="/apps/nagios/nrpe/nrpe"
> 
>  user="nagios"
> 
> default  bind_addr=""
> 
> default  bind_fail_max=-1
> 
> default  bind_fail_interval=-1
> 
> default  max_con_rate=-1
> 
> default  max_copies=-1
> 
> default  con_rate_offline=-1
> 
> default  failrate_cnt=40
> 
> default  failrate_interval=60
> 
> default  inherit_env=TRUE
> 
>  tcp_trace=FALSE
> 
> default  tcp_wrappers=FALSE
> 
>  
> 
> and the error message in the syslog after a “check_nrpe -H svrsaseng01 
> -c uname”:
> 
>  
> 
> Jul  7 13:26:54 svrsaseng01 nrpe[11278]: [ID 306117 daemon.error] Error: 
> NRPE daemon cannot be run as user/group root!
> 
>  
> 
> Thanks.
> 
>  
> 
> **Vincent Alloo**
> 
> TI France Design Systems Operations Manager
> 
> Europe, Middle East and Africa IT Services
> 
> Texas Instruments France
> 
>  
> 
> E-Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 
> Phone: +33 4 93 22 26 97
> 
> Mobile: +33 6 82 13 00 80
> 
>  
> 
> 
> 
> 
> 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

-- 

---
If you smoke after sex, you're doing it too fast
---
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino

http://www.omniway.sm  http://www.telecomitalia.sm

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] compiling nagios-2.3.1 on solaris

2006-05-19 Thread Andrea Gabellini

Dave,

the CVS contain the patch.

Andrea

Dave Stern wrote:


I've downloaded nagios 2-3.1 for a number of architectures after the
cgi buffer overflow exploit described in
 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2162
The compile for our server (Rhel3) went fine. But To keep things clean, 
I want to replace the structure on other OS's including Solaris8. Here's 
what I'm getting. The line indicated appears to be new code to check for 
the buffer overflow. Has anyone had any probs building this on solaris?



gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o 
../xdata/xpddefault.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o 
../common/downtime.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o 
../xdata/xdddefault.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o 
nebmods.o checks.o config.o commands.o events.o flapping.o logging.o 
notifications.o sehandlers.o utils.o retention-base.o xretention-base.o 
comments-base.o xcomments-base.o objects-base.o xobjects-base.o 
statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o 
downtime-base.o xdowntime-base.o-Wl,-export-dynamic-lm  
-lpthread -lltdl -lrt gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagiostats 
nagiostats.c  -lm -lrt make[1]: Leaving directory `/tmp/nagios-2.3.1/base'

cd ./cgi && make
make[1]: Entering directory `/tmp/nagios-2.3.1/cgi'
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o getcgi.o getcgi.c
getcgi.c: In function `getcgivars':
getcgi.c:174: `INT_MAX' undeclared (first use in this function)
getcgi.c:174: (Each undeclared identifier is reported only once
getcgi.c:174: for each function it appears in.)
make[1]: *** [getcgi.o] Error 1
make[1]: Leaving directory `/tmp/nagios-2.3.1/cgi'
make: *** [all] Error 2


Here's the line numbers for getcgi.c

173  /* suspicious content length */
174  if((content_length<0) || (content_length>=INT_MAX-1)){
175  printf("getcgivars(): Suspicious 
Content-Length was sent with the POST request.\n");

176  exit(1);
177  }



 Fortunately, we only use the plugins on Solaris but I'd like to get the
whole structure built anyhow.

TIA


 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies


---
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





--

---
The truth is out there? Anyone knows the URL?
---
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino

http://www.omniway.sm  http://www.telecomitalia.sm


---
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


[Nagios-users] Service flapping/recovery

2006-01-27 Thread Andrea Gabellini

Hi,

I noticed a strange behavior of a service. Nagios send regularly the notification on critical state. 
After that the service start flapping and then recover from flapping and critical state. But Nagios 
doesn't send the recovery notifiocation. The notification_options for this service is setup as 'c,r'.


This is a bug or a feature?

Attached a recent alarm history.



January 27, 2006 10:00  
Service stopped flapping[27-01-2006 10:16:38] SERVICE FLAPPING ALERT: rt_backend;CPU_CISCO;STOPPED; 
Service appears to have stopped flapping (3.8% change < 5.0% threshold)


January 27, 2006 09:00  
Service Ok[27-01-2006 09:38:29] SERVICE ALERT: 
rt_backend;CPU_CISCO;OK;HARD;3;CPU Load: 47% (1 min) - OK
Service Warning[27-01-2006 09:36:29] SERVICE ALERT: rt_backend;CPU_CISCO;WARNING;HARD;3;CPU Load: 
63% (1 min) > 50 - WARNING
Service started flapping[27-01-2006 09:34:30] SERVICE FLAPPING ALERT: rt_backend;CPU_CISCO;STARTED; 
Service appears to have started flapping (22.6% change >= 20.0% threshold)
Service Critical[27-01-2006 09:34:29] SERVICE ALERT: rt_backend;CPU_CISCO;CRITICAL;HARD;3;CPU Load: 
80% (1 min) > 75 - CRITICAL
Service Warning[27-01-2006 09:32:29] SERVICE ALERT: rt_backend;CPU_CISCO;WARNING;HARD;3;CPU Load: 
68% (1 min) > 50 - WARNING
Service Critical[27-01-2006 09:26:29] SERVICE ALERT: rt_backend;CPU_CISCO;CRITICAL;HARD;3;CPU Load: 
80% (1 min) > 75 - CRITICAL
Service Warning[27-01-2006 09:08:29] SERVICE ALERT: rt_backend;CPU_CISCO;WARNING;HARD;3;CPU Load: 
61% (1 min) > 50 - WARNING
Service Warning[27-01-2006 09:07:29] SERVICE ALERT: rt_backend;CPU_CISCO;WARNING;SOFT;2;CPU Load: 
54% (1 min) > 50 - WARNING
Service Warning[27-01-2006 09:06:29] SERVICE ALERT: rt_backend;CPU_CISCO;WARNING;SOFT;1;CPU Load: 
56% (1 min) > 50 - WARNING

Service Ok[27-01-2006 09:02:29] SERVICE ALERT: 
rt_backend;CPU_CISCO;OK;SOFT;2;CPU Load: 42% (1 min) - OK
Service Warning[27-01-2006 09:01:29] SERVICE ALERT: rt_backend;CPU_CISCO;WARNING;SOFT;1;CPU Load: 
53% (1 min) > 50 - WARNING

--

---
Pt! Hey you! Look out! Behind you!
-------
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino

http://www.omniway.sm  http://www.telecomitalia.sm


---
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] Send SMS alert via mobile

2005-12-03 Thread Andrea Gabellini

http://smstools.meinemullemaus.de/

Vladimir Potapov wrote:

Hello everyone!

I'm using nagios for monitoring some servers and want to receive
nagios notifications via SMS. I know that some software can send SMS
via internet, but sometimes SMS comes with delay or never comes
because internet channel in down. It's not a good solution for me.
A more good solution - send SMS via mobile phone connected to
monitoring server. This can do by SCMxx, but it support very old phone
models, which are removed from manufacture.

Can anyone recommend command line tool for Linux/*BSD, which can send
SMS from mobile phone and support more newer mobile phones?



---
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





--

---
Hard work has a future payoff. Laziness pays off now.
-------
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino

http://www.omniway.sm  http://www.telecomitalia.sm


---
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


[Nagios-users] statuswml

2005-12-01 Thread Andrea Gabellini

Hi,

I'm using nagios tray, that use the statuswml cgi to get status information. This cgi doesn't report 
problems on services which are passive check. The normal status cgi instead report this problem. I 
don't know if this is a bug or a feature. I wrote this little patch that report passive check 
problems also.


Andrea




--- cgi/statuswml.c.orig2005-08-28 16:01:22.417798000 +0200
+++ cgi/statuswml.c 2005-08-28 16:27:02.270983000 +0200
@@ -1397,8 +1397,8 @@
if(display_type==DISPLAY_UNHANDLED_PROBLEMS){
if(temp_hoststatus->problem_has_been_acknowledged==TRUE)
continue;
-   if(temp_hoststatus->checks_enabled==FALSE)
-   continue;
+// if(temp_hoststatus->checks_enabled==FALSE)
+// continue;
if(temp_hoststatus->notifications_enabled==FALSE)
continue;
if(temp_hoststatus->scheduled_downtime_depth>0)
@@ -1446,8 +1446,8 @@
if(display_type==DISPLAY_UNHANDLED_PROBLEMS){

if(temp_servicestatus->problem_has_been_acknowledged==TRUE)
continue;
-   if(temp_servicestatus->checks_enabled==FALSE)
-   continue;
+// if(temp_servicestatus->checks_enabled==FALSE)
+// continue;
if(temp_servicestatus->notifications_enabled==FALSE)
continue;
if(temp_servicestatus->scheduled_downtime_depth>0)

--

---
If you and your partner always agree, one of you is unnecessary.
---
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino

http://www.omniway.sm  http://www.telecomitalia.sm


---
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


[Nagios-users] Patch for daemon-init

2005-12-01 Thread Andrea Gabellini

Hi,

I've some problems starting nagios with daemon-init. The problem is the su command on it. Looking in 
the man, I think the correct sintax is the one in the following patch. With this change I have no 
problem.


Andrea



--- daemon-init.orig2005-12-01 16:31:17.629258000 +0100
+++ daemon-init 2005-12-01 16:31:56.815603000 +0100
@@ -114,7 +114,7 @@
echo "Starting network monitor: nagios"
$NagiosBin -v $NagiosCfgFile > /dev/null 2>&1;
if [ $? -eq 0 ]; then
-   su - $NagiosUser -c "touch $NagiosVarDir/nagios.log 
$NagiosRetentionFile"
+   su -c "touch $NagiosVarDir/nagios.log 
$NagiosRetentionFile" $NagiosUser
rm -f $NagiosCommandFile
touch $NagiosRunFile
chown $NagiosUser:$NagiosGroup $NagiosRunFile






--

---
Have a nice day and so have I.
-------
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino

http://www.omniway.sm  http://www.telecomitalia.sm


---
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