Re: [Nagios-users] where can i found process-host-perfdata-file?

2006-08-03 Thread Hugo van der Kooij
On Wed, 2 Aug 2006, Arief Iqbal wrote:

 when i starting nagios, there's a warning:

  Nagios 2.5 starting... (PID=14518)
  Warning: Host performance file processing command 
 'process-host-perfdata-file' was not found - host performance data file will 
 not be processed!
  Warning: Service performance file processing command 
 'process-service-perfdata-file' was not found - service performance data file 
 will not be processed!

These are WARNINGS and not ERRORS.

What is it that is not working as planned?

And remomber. Untill you tell us anything we know nothing about your
setup or config or network.

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.

-
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.phpp=sourceforgeCID=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] ePN - Strange Problem

2006-08-03 Thread [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,. 

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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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 nagios_source/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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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]
mailto:nagios-
 [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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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] mailto:[EMAIL PROTECTED] :
 
 
 
-Original Message-
From: [EMAIL PROTECTED]
mailto:nagios-
 [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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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,

Im 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 dont 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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