[Nagios-users] Good SEC rules for Cisco devices (to submit passive service check results).

2006-08-03 Thread Stanley Hopcroft
Dear Folks

Could anyone point me at a list or archive of SEC (Simple Event
Correlator rules) for Cisco devices (partic switches and routers. Not
interested in IDS, PIX etc) ?

There are situations that one would like to monitor that depend on
sequences of events. It is not easy to see how a one-shot service
check could react to the state of the event sometime before the
current check.

SEC on the other hand lets one react to events that consist of for
example two log messages that occur within 5 minutes of each other.

SEC allows very flexible responses once an event is recognised. It is
easy for SEC to submit a passive service check result for example.

To give a flavour of the power of this approach,

Here are some syslog-ng messages showing an OSPF neighbour failure

156018 brurt200 syslog-notice 2006-08-02 02:16:45 134780:
%OSPF-5-ADJCHG: Process 1, Nbr 10.255.255.23 on Tunnel0 from LOADING
to FU
LL, Loading Done
156017 mtart200 syslog-notice 2006-08-02 02:16:43 234: Aug 1 16:16:42:
%OSPF-5-ADJCHG: Process 1, Nbr 10.255.255.23 on Tunnel0 from
LOADING to FULL, Loading Done

155796 mtart200 syslog-notice 2006-08-02 01:40:49 231: Aug 1 15:40:49:
%OSPF-5-ADJCHG: Process 1, Nbr 10.255.255.23 on Tunnel0 from
FULL to DOWN, Neighbor Down: Dead timer expired
155795 brurt200 syslog-notice 2006-08-02 01:40:49 134777:
%OSPF-5-ADJCHG: Process 1, Nbr 10.255.255.23 on Tunnel0 from FULL to
DOWN,
 Neighbor Down: Dead timer expired


It is quite clear that when in this case, both neighbours fail (the
second pair) that the end node 10.255.255.23 is really kaput.



Thank you,

Yours sincerely.

-
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] Potential bug with Nag 2.5 scheduled downtime.

2006-08-03 Thread Stanley Hopcroft
Dear Folks,

I am writing to note a potential bug in Nagios 2.5 (RHEL 3, built from
a SPEC hacked from Dag Wieers).

The bug is that downtime persists after the web interface shows it
should have expired.

For example here is what the extended information panel says about the
host NBASW201

[EMAIL PROTECTED] switches]$ lynx -nolist -dump -auth=foo:bar
'http://localhost/nagios/cgi-bin/extinfo.cgi?type=1&host=NBASW201'

  ...

  Host
  NBASW201
  Member of
  Bar-switches
  a.b.c.d

  Host State Information
  Host Status:
UP
  Status Information:PING OK - Packet loss = 0%, RTA = 3.68 ms
  Performance Data:
  Current Attempt:   0/10
  State Type:HARD
  Last Check Type:   ACTIVE
  Last Check Time:   03-08-2006 21:28:15
  Status Data Age:   0d 13h 40m 1s
  Next Scheduled Active Check:   N/A
  Latency:   0.000 seconds
  Check Duration:0.013 seconds
  Last State Change: 03-08-2006 21:28:15
  Current State Duration:0d 13h 40m 1s
  Last Host Notification:N/A
  Current Notification Number:   0
  Is This Host Flapping? N/A
  Percent State Change:  N/A
  In Scheduled Downtime?
YES
  Last Update:   04-08-2006 11:08:10
  Active Checks:
ENABLED
  Passive Checks:
ENABLED
  Obsessing:
ENABLED
  Notifications:
ENABLED
  Event Handler:
ENABLED
  Flap Detection:
ENABLED


But here is what the downtime.dat file reports (and for another host
that was also subject to scheduled downtime and remains in it).

hostdowntime {
   host_name=NBASW201
   downtime_id=2
   entry_time=1154600113
   start_time=1154600014
   end_time=115461
   triggered_by=1
   fixed=0
   duration=10800
   author=Peter Zafiris
   comment=Building Switch Move
   }

hostdowntime {
   host_name=NBASW202
   downtime_id=3
   entry_time=1154600113
   start_time=1154600014
   end_time=115461
   triggered_by=1
   fixed=0
   duration=10800
   author=Peter Zafiris
   comment=Building Switch Move
   }

The times are

[EMAIL PROTECTED] nagios]# perl -ne 'next unless /(\w+_time)=(\d+)/;
print $1, "\t", localtime($2) . "\n"' downtime.dat
entry_time  Thu Aug  3 20:15:13 2006
start_time  Thu Aug  3 20:13:34 2006
end_timeThu Aug  3 23:00:00 2006
entry_time  Thu Aug  3 20:15:13 2006
start_time  Thu Aug  3 20:13:34 2006
end_timeThu Aug  3 23:00:00 2006
entry_time  Thu Aug  3 20:15:13 2006
start_time  Thu Aug  3 20:13:34 2006
end_timeThu Aug  3 23:00:00 2006
entry_time  Thu Aug  3 20:15:13 2006
start_time  Thu Aug  3 20:13:34 2006
end_timeThu Aug  3 23:00:00 2006
entry_time  Thu Aug  3 20:15:13 2006
start_time  Thu Aug  3 20:13:34 2006
end_timeThu Aug  3 23:00:00 2006
[EMAIL PROTECTED] nagios]#

[EMAIL PROTECTED] nagios]# date
Fri Aug  4 11:05:04 EST 2006
[EMAIL PROTECTED] nagios]#

So all the end_times should have expired but the web interface in all
the status screens is still reporting the hosts in scheduled downtime

Yours sincerely,

-
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] NDO Services

2006-08-03 Thread Mike Koponick
Patrick,

Sorry, it's been a long week. No hijacking here.
Using SEC is already on my list, I suppose since Nagios would have a
service configured to report (notification/status, etc) my question is
regarding the data that will be sent to the NDO database. 

Once the database is populated, reporting historical records becomes an
issue. My *REAL* question is which table would be best suited for
reporting? It appears to me that using the ndo_servicestatus table gets
updated, rather than appended, which makes sense. I suppose using the
ndo_logentries table would work best.

Maybe it's time for a beer.. maybe two.

Mike

-Original Message-
From: Patrick Morris [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 03, 2006 3:54 PM
To: Mike Koponick
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NDO Services

On Thu, 03 Aug 2006, Mike Koponick wrote:

> Hello,
> 
> I'm looking at implementing syslog via Nagios in a distributed
> environment. I want to report historical information for network
devices
> that output syslog information. Of course, I will be parsing out
syslog
> information so I don't have a flood of traffic. I see how I can get
the
> data to the Nagios central server, by using something like sec.pl,
which
> will use the Nagios services, but when it goes to the NDO MySQL
> database, I think the ndo_servicestatus table gets updated, rather
than
> appended to. 
> 
> Is there another way to send this type of data, and still keep a
> historical data via Nagios/NDO? I suppose I could use the
ndo_logentries
> table, although it is very large.

It sounds to me (and I could be wrong here) like you're trying to get
Nagios to do something it's really not designed, or even fit, to do.
Nagios is definitely *not* a syslog server.  It's really good at
notifying based on triggers in a log, but to actually *be* the log
server?  

I have to wonder why you'd even try to do that when there are real
logservers out there that support storing logs in databases (syslog-ng
scomes to mind).

You could then use sec to send status information to Nagios, and let it
do what it's good at (tracking and notifying based on service states,
and it would automatically save the Critical/Warning/Recovery states you
sent it via NDO if you have it set up). You'd also have a real syslog 
server with a database back end, doing what it's good at.

Trying to hijack nagios databases so you can force them to hold data
they're not meant to hold just seems like a disaster in the making.

-
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] NDO Services

2006-08-03 Thread Patrick Morris
On Thu, 03 Aug 2006, Mike Koponick wrote:

> Hello,
> 
> I'm looking at implementing syslog via Nagios in a distributed
> environment. I want to report historical information for network devices
> that output syslog information. Of course, I will be parsing out syslog
> information so I don't have a flood of traffic. I see how I can get the
> data to the Nagios central server, by using something like sec.pl, which
> will use the Nagios services, but when it goes to the NDO MySQL
> database, I think the ndo_servicestatus table gets updated, rather than
> appended to. 
> 
> Is there another way to send this type of data, and still keep a
> historical data via Nagios/NDO? I suppose I could use the ndo_logentries
> table, although it is very large.

It sounds to me (and I could be wrong here) like you're trying to get
Nagios to do something it's really not designed, or even fit, to do.
Nagios is definitely *not* a syslog server.  It's really good at
notifying based on triggers in a log, but to actually *be* the log
server?  

I have to wonder why you'd even try to do that when there are real
logservers out there that support storing logs in databases (syslog-ng
scomes to mind).

You could then use sec to send status information to Nagios, and let it
do what it's good at (tracking and notifying based on service states,
and it would automatically save the Critical/Warning/Recovery states you
sent it via NDO if you have it set up). You'd also have a real syslog 
server with a database back end, doing what it's good at.

Trying to hijack nagios databases so you can force them to hold data
they're not meant to hold just seems like a disaster in the making.

-
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] NDO Services

2006-08-03 Thread Mike Koponick
Title: NDO Services






Hello,

I’m looking at implementing syslog via Nagios in a distributed environment. I want to report historical information for network devices that output syslog information. Of course, I will be parsing out syslog information so I don’t have a flood of traffic. I see how I can get the data to the Nagios central server, by using something like sec.pl, which will use the Nagios services, but when it goes to the NDO MySQL database, I think the ndo_servicestatus table gets updated, rather than appended to. 

Is there another way to send this type of data, and still keep a historical data via Nagios/NDO? I suppose I could use the ndo_logentries table, although it is very large.

Thanks in advance,

Mike


-
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] nagios and snmptraps

2006-08-03 Thread Jim Perrin
For those who are interested -> http://www.samag.com/documents/s=9559/sam0503g/

It seems to be a decent article.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

-
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] Problems with check_ping

2006-08-03 Thread Marc Powell
Please always respond on list so that others may benefit from your
experience.

Most likely /bin/ping isn't executable by your nagios user. Can you ping
something as nagios?

Why that's the case depends on your OS. Most likely problem is that
/bin/ping isn't suid root. Permissions should look similar to --

-rwsr-xr-x1 root root27860 Sep 29  2005 /bin/ping

If not, try 'chmod u+s /bin/ping' then try to ping again.

If you have SELinux enabled, that may be preventing the execution of
ping by nagios. Check /var/log/messages for errors/warnings and or run
audit2allow to check for matches and possible resolutions (audit2allow
-l -i /var/log/messages).

--
Marc

> -Original Message-
> From: Rodrigo Maceno [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 03, 2006 11:44 AM
> To: Marc Powell
> Subject: Re: [Nagios-users] Problems with check_ping 
> 
> Hello Marc,
> I'm already solved this problem, but now I have the follow problem:
> /bin/ping -n -U -w 10 -c 5 10.2.20.59
> Did you know to say me what is happening??
> 
> Thanks...
> 
> 
> 
> 
> 2006/8/3, Marc Powell < [EMAIL PROTECTED]  >:
> 
> 
> 
>   > -Original Message-
>   > From: [EMAIL PROTECTED]
 [EMAIL PROTECTED]>  [mailto:nagios-users-
>   > [EMAIL PROTECTED] On Behalf Of Rodrigo Maceno
>   > Sent: Thursday, August 03, 2006 8:37 AM
>   > To: nagios-users@lists.sourceforge.net
>   > Subject: [Nagios-users] Problems with check_ping
>   >
>   > Hello,
>   > Can anyone help me about this??
>   >
>   >
>   > check_ping: Invalid hostname/address - $
>   >
>   >
>   > I am running the check_ping over NRPE... Anyone have any idea
> about
>   it??
> 
>   Magic 8 ball says you have a configuration problem.
> 
>   Verify that you're using the correct $macros$ and that they're
> spelled
>   correctly.
> 
>   Post specific configuration information for specific answers.
> 
>   --
>   Marc
> 


-
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] Warning threshold must be float or float

2006-08-03 Thread Marc Powell


> -Original Message-
> From: Miles O'Neal [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 03, 2006 10:29 AM
> To: Justin Craig
> Cc: Marc Powell; Nagios Users Mailinglist
> Subject: Re: [Nagios-users] Warning threshold must be float or float
> 
> Justin,
> 
> |sorry, where is my /tmp/nagios directory.  I do a find / -name
> */tmp/nagios*
> |I don't see anything.
> 
> All pertinent path names should be specified
> in your nagios.cfg file.

Please try to follow the conversation before replying. This response is
confusing and irrelevant to his question.

--
Marc

-
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] Warning threshold must be float or float

2006-08-03 Thread Miles O'Neal
Justin,

|sorry, where is my /tmp/nagios directory.  I do a find / -name */tmp/nagios*
|I don't see anything.

All pertinent path names should be specified
in your nagios.cfg file.

-
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] Problems with check_ping

2006-08-03 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Rodrigo Maceno
> Sent: Thursday, August 03, 2006 8:37 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Problems with check_ping
> 
> Hello,
> Can anyone help me about this??
> 
> 
> check_ping: Invalid hostname/address - $
> 
> 
> I am running the check_ping over NRPE... Anyone have any idea about
it??

Magic 8 ball says you have a configuration problem.

Verify that you're using the correct $macros$ and that they're spelled
correctly.

Post specific configuration information for specific answers.

--
Marc

-
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] Warning threshold must be float or float triplet! {Disarmed} {Fraud?}

2006-08-03 Thread Marc Powell
'nagios' is a file in '/tmp'. It's contents are modified every time
check_local_load is executed if you've followed my directions.

cd /tmp
cat nagios

--
Marc

> -Original Message-
> From: Justin Craig [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 03, 2006 8:57 AM
> To: Marc Powell
> Cc: Nagios Users Mailinglist
> Subject: Re: [Nagios-users] Warning threshold must be float or float
> triplet! {Disarmed} {Fraud?}
> 
> sorry, where is my /tmp/nagios directory.  I do a find / -name
> */tmp/nagios* I don't see anything.
> 
> 
> On 8/2/06, Marc Powell <[EMAIL PROTECTED]> wrote:
> 
> 
> 
>   > -Original Message-
>   > From: [EMAIL PROTECTED]
 [EMAIL PROTECTED]>  [mailto:nagios-users-
>   > [EMAIL PROTECTED] On Behalf Of Justin Craig
>   > Sent: Wednesday, August 02, 2006 3:36 PM
>   > To: Marc Powell
>   > Cc: Nagios Users Mailinglist
>   > Subject: Re: [Nagios-users] Warning threshold must be float or
> float
>   > triplet! {Disarmed} {Fraud?}
>   >
>   > I sent the reload command and basically nagios is now telling
me
> 30
>   hosts
>   > are down and that number is increasing?  This is a problem.
why
> does
>   this
> 
>   What does the status information for the down hosts/services
say.
>   That'll be a primary indicator of why it's happening. I can't
begin
> to
>   guess.
> 
>   > happen?  And back to my original issue, nagios itself is still
> showing
>   > down.  I modified the command as you suggested, how do I
verify
> that?
> 
>   Look at the contents of /tmp/nagios. It should contain the
command
> line
>   that nagios would have executed for the check_local_load
service.
> Can
>   you successfully run that from the command line as the nagios
user?
> 

-
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] Problems with check_ping

2006-08-03 Thread Rodrigo Maceno
Hello,Can anyone help me about this??
check_ping: Invalid hostname/address - $ I am running the check_ping over NRPE... Anyone have any idea about it??Thanks
-
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] Warning threshold must be float or float triplet! {Disarmed} {Fraud?}

2006-08-03 Thread Justin Craig
sorry, where is my /tmp/nagios directory.  I do a find / -name */tmp/nagios* I don't see anything.
On 8/2/06, Marc Powell <[EMAIL PROTECTED]> wrote:
> -Original Message-> From: 
[EMAIL PROTECTED] [mailto:nagios-users-> [EMAIL PROTECTED]] On Behalf Of Justin Craig
> Sent: Wednesday, August 02, 2006 3:36 PM> To: Marc Powell> Cc: Nagios Users Mailinglist> Subject: Re: [Nagios-users] Warning threshold must be float or float> triplet! {Disarmed} {Fraud?}
>> I sent the reload command and basically nagios is now telling me 30hosts> are down and that number is increasing?  This is a problem.  why doesthisWhat does the status information for the down hosts/services say.
That'll be a primary indicator of why it's happening. I can't begin toguess.> happen?  And back to my original issue, nagios itself is still showing> down.  I modified the command as you suggested, how do I verify that?
Look at the contents of /tmp/nagios. It should contain the command linethat nagios would have executed for the check_local_load service. Canyou successfully run that from the command line as the nagios user?
--Marc-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___Nagios-users mailing listNagios-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
-- - Justin 
-
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] ePN - Strange Problem

2006-08-03 Thread Joerg Linge
Am Donnerstag, 3. August 2006 08:48 schrieb [EMAIL PROTECTED]:
> HI All
> 
> I wrote the SNMP plugin in Perl Script and I tested the script from command 
> line and 'mini_epn' with success.
> When I use the script into NAGIOS Enviroment the script don't function and 
> return the follow error:
> 
> **ePN /usr/lib/nagios/plugins/check_prova.pl: "Argument "" isn't numeric in 
> division (/) at (eval 6) line 156,". 

Please have a look on /contrib

There is a mini_epn Debugger. Just compile mini_epn by calling "make" in the 
contrib Directory.

Jörg

-
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] ePN - Strange Problem

2006-08-03 Thread rob . moss
Looks like a problem with your perl script runing under the embedded Perl
interpreter.

Perhaps one side of the division is a variable which is empty.





Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 03/08/2006 07:48


Sent by:[EMAIL PROTECTED]



To:nagios-users

cc:


Subject:[Nagios-users] ePN - Strange Problem

HI All

I wrote the SNMP plugin in Perl Script and I tested the script from command
line and 'mini_epn' with success.
When I use the script into NAGIOS Enviroment the script don't function and
return the follow error:

**ePN /usr/lib/nagios/plugins/check_prova.pl: "Argument "" isn't numeric in
division (/) at (eval 6) line 156,".

In line 156 there is the easy division operation.

Can you help Me?

My system is

Fedora Core 4
Nagios 2.5

Thank you

Riccardo RAGGI
IT Consultant


___
Mutui a tassi scontati da 30 banche. Richiedi online e risparmia. Servizio
gratuito.
http://click.libero.it/mutuionline



-
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



This message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


-
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