Re: [Nagios-users] Nagios Core Log file

2011-08-09 Thread Enrico Zimol
On 9 August 2011 09:25,  m...@catsnest.co.uk wrote:
 On Mon, Aug 8, 2011 at 5:01 PM, Robert J Molerio rjm...@nyu.edu wrote:

 Can anyone point me in the right direction to make this happen?

 which user issued a command we look in the Apache log files.

... that you can find in /var/log/httpd/ on RedHat based distribution..

Example:
tail -f /var/log/httpd/access_log


Bye

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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] (no subject)

2010-11-17 Thread Enrico Zimol
On 17 November 2010 17:29, Paul Paul p6...@hotmail.com wrote:
 http://studioview.com.br/this.php


Malware, ban him please

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
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] hostgroup with no members - Enhancement

2010-11-01 Thread Enrico Zimol
On 1 November 2010 20:57, Daniel Wittenberg
daniel.wittenberg.r...@statefarm.com wrote:
  It would be nice if I could just put the hostgroups out there
 blank and then let the host definition completely populate what’s in there.
 Right now I have 1 fake host that is in every group, so I have one host with
 hundreds of service checks that will fail , just rather messy.

I've got the same problem.
To assign service check on host I create an hostgroup on every service
to check (example: host_raid, host_http), and to assign that service
check on an host I simply ad that host on corresponding hostgroup

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
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_asterisk plugin returning null

2010-10-06 Thread Enrico Zimol
On 6 October 2010 12:39, Athiqur Rahman s...@arahmantech.com wrote:

 The check_asteisk plugin uses sipsak, could this have anything to do
 with this? Any comments appreciated.

Probably there is bettere solution than this.
If the script needs priviledges try to add something like this on visudo

nagios  ALL=(ALL)   NOPASSWD:/usr/local/nagios/libexec/path_of_plugin

After that run the plugin with sudo

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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_asterisk plugin returning null

2010-10-06 Thread Enrico Zimol
On 6 October 2010 15:04, Athiqur Rahman s...@arahmantech.com wrote:

    }

o
 But I still get the same problem. I tried doing this check over nrpe as
 well, but still does not work.

If you do:
su - nagios

and after

sudo /path/to/plugin

?

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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_asterisk plugin returning null

2010-10-06 Thread Enrico Zimol
On 6 October 2010 17:03, Athiqur Rahman s...@arahmantech.com wrote:
 etting '(null)' status information

I've no idea, that was a stuff that resolved me a problem.
Sorry =/

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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] How long Nagios keep memorized status and change status informations?

2010-10-01 Thread Enrico Zimol
Hi at all!
Probably this question will be labeled as banal but I can't find
information about it on official documentation.
I need to keep an history of the change status event, and I know that
Nagios don't use database to do it.
I think nagios use a file to store information with which it create
reports, but I can't find exactly what file and of course how long
that informations will be stored.

Looking on official documentation I found only this:
http://nagios.sourceforge.net/docs/3_0/config.html
and looking on configuration I also found these line:

status_file=/usr/local/nagios/var/status.dat

But this status seems to be the current status, not the history.

Can you give me a link to documentation that explain this?

P.S. I can't use NDOUtils to do that

Thank's for your attention and sorry about this monstrous english :)

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] How long Nagios keep memorized status and change status informations?

2010-10-01 Thread Enrico Zimol
On 1 October 2010 15:10, Marc Powell li...@xodus.org wrote:

 It uses several files.

 /usr/local/nagios/var/nagios.log is the 'current' data for this log rotation 
 period.
 /usr/local/nagios/var/archives/* are the historical logs, one for each 
 previous log rotation period.

 Nagios does not remove these files. They're kept indefinitely until you 
 remove them.* Nagios uses them to generate all the historical reports.


Thank you so much!
I've another question: I see that on that files the time use a sintax
like [1274071697] at the begin of each line.
How can I decode that value?
In qmail I used tai64nlocal, is there a tool to do that on this format?

Thank's!


-- 
Enrico lomiz Zimol
http://www.lomiz.it

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] How long Nagios keep memorized status and change status informations?

2010-10-01 Thread Enrico Zimol
On 1 October 2010 15:34, Enrico Zimol lomiz.m...@gmail.com wrote:
 Thank you so much!
 I've another question: I see that on that files the time use a sintax
 like [1274071697] at the begin of each line.
 How can I decode that value?
 In qmail I used tai64nlocal, is there a tool to do that on this format?

Solved :)

perl -pe 's/(\d+)/localtime($1)/e' logfile.log

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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 CGI, files deleted?

2010-08-24 Thread Enrico Zimol
Hello,
I'm new user and I installed nagios months ago, and all function
worked properly.
Today I opened the web cgi on http://host/nagios and he can't find
CGIs, but all alert function work well.

This is the /var/log/httpd/error_log during main page connection
http://pastebin.com/ZnsBb9iP

Those files seem missing, how can I recover without rewriting nagios
/usr/local/nagios/etc directory in wich I wrote all configurations?

I installed nagios using the quickstart howto, and the selinux is disabled.

Thank's for you help!

Sorry for my bad english

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
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] new in nagios

2010-06-08 Thread Enrico Zimol
On 8 June 2010 13:27, felix farcas fe...@itim-cj.ro wrote:
 Hello

 I'm new in Nagios. I'm looking for a documentation for configuring and
 starting nagios 3.2.1 on freebsd.

 As I saw on the Internet there are a lot of installation and
 configuration methods.

 Would you be so kind and give me the best direction.


The best direction is to know what is your situation.
What kind of machine do you have to monitor? What OS? Printer?
Do you need to monitor only on your lan or do you have to monitor
Distributed/Redundant?
Aswering to theese questions you'll find how to do on official
documentation (I'm newbie too, and I found all what I need).


If you'll have some problems reading that, ask on this ML :)

Bye

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
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 with command arguments

2010-05-19 Thread Enrico Zimol
after that - change the testing to work the way you want it

Hello, i'm testing that but I can't understand what is wrong on my
configurations.
(blame_nrpe e ricompiling it's ok)
On nrpe.cfg I defined this command:
command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$


And on nagios server I've this definitions:
http://pastebin.com/7uZRcMk9

Also enabling debug on nrpe deamon I see nothing during the command on messages:
May 19 08:21:54 blabla xinetd[24320]: START: nrpe pid=24336 from=192.168.234.234
May 19 08:21:54 blabla nrpe[24336]: INFO: SSL/TLS initialized. All
network traffic will be encrypted.
May 19 08:21:54 blabla xinetd[24320]: EXIT: nrpe status=0 pid=24336
duration=0(sec)


Any suggest or documentation?

Thank's!

--

___
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 with command arguments

2010-05-19 Thread Enrico Zimol
On 19 May 2010 11:13, Ludse Verhoeven ludse.verhoe...@vopak.com wrote:

 Not sure if this works like it is supposed to (haven't tested it myself),
 but qua syntax this seems more correct.


That worked fine :)
Other question, where exactly I've to insert quotes on nrpe.cfg commands to
prevent code injection?
I think like this:
[nrpe.cfg]
[...]
command[check_disk]=/usr/local/nagios/libexec/check_disk -w **$ARG1$** -c
**$ARG2$**
[...]

Is it right?

Thank's!

-- 
Enrico lomiz Zimol
--

___
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] Distributed Monitoring best practices

2010-05-18 Thread Enrico Zimol
On 18 May 2010 15:21, Christoph Kluenter c...@iphh.net wrote:

 I am thinking about testing DNX ( dnx.sf.net )
 But since one can't  define which check will run on which
 node, we would have to reconfigure a lot of firewalls.
 Would dnx be worth this hassle ? Any experiences ?

I'm interested too about it.
Any suggest to completly centrilized monitoring?

Thank's

--

___
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] NRPE with command arguments

2010-05-17 Thread Enrico Zimol
Hello at all,
I'm looking to pass argument to nrpe, so I read that I've to set
dont_blame_nrpe to 1 and recompile with --enable-command-args.
My question is about if this recompiling will do effect on NRPE or on
check_nrpe plugin. I think first one, but I want confirm on that.
Is there some specifics documentation about it? because on officials
there aren't informations.
(for example I don't know what make install-* I've to do after recompiling)


Thank's so much

sorry for my bad english

--

___
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 newbie looking for guidance

2010-05-11 Thread Enrico Zimol
On 11 May 2010 00:48, Giorgio Zarrelli zarre...@linux.it wrote:
 Start with the online docs, they are really helpful

I agree.
I'm newbie too and I'm finding too helpful


-- 
Enrico Zimol

--

___
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] Odd long URL

2010-05-11 Thread Enrico Zimol
On 11 May 2010 01:45,  ward.p.fonte...@wellsfargo.com wrote:
 Hello,
 “How can I monitor the following URL with Nagios?”
 http://server.domain.com/crltest/http?server=server-m3.domain.compath=/CRL/crl=test.crl

What do you mean with check?
Check the result of your http request (202, 403 etc) or check the page
to find an expression?

-- 
Enrico Zimol

--

___
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 for the IBM ds4000 series totalstorage cabinett - FIX

2010-05-06 Thread Enrico Zimol
Hi at all,
I'm newbie on nagios and I'm writing here to ask you for suggestions
abut how to structure my monitoring situation.
I've to monitor linux servers for about 15/20 customers, from 1 to 5
server for each customer.
We aren't on vpn with customers, so this servers are all behind NAT.
That isn't a problem because we are the administrator of the firewall
(other linux server) so we can manage any kind of DNAT and filter
rule.

I read on official documentation that suggest to use NCSA addon for
distributed monitoring, but we choose to use NRPE addon for different
motivations like:
-customer force us to do that
-the number of monitored servers for each customer will never grow up
-the services to monitor for each server are the same (raid hw/sw,
disk usage etc)
-we need a completly centralized monitoring structure

For last sentence I thought to use the arguments option on NRPE (yes,
I read the SECURITY document).
Besides, to solve the problem of NAT with NRPE I'll do DNAT on
firewall and the port parameter on check_nrpe plugin (is there
problems to do that? I did little tests but I prefear a confirm)


To manage this structure I need to organized a well-formed config file
structure on nagios server.

I thinked to structure it like this

obj--|
|--templatelinuxserversgeneral.cfg
|
|--customer_1_directory|-templateserver.cfg
|   |-server1.cfg
|   |-server2.cfg
|   |-servern.cfg
|
|--customer_2_directory|-templateserver.cfg
|-server1.cfg
|-servern.cfg


Where:
-templatelinuxserversgeneral.cfg is a very basic template for server
-customer_1_directory in wich there is 1 file for each customer's server
-templateserver.cfg will use templatelinuxserversgeneral and will add
more specific common variabiles for that customer's server like the
public IPAddress that will be the same for each customer's server.
-servern.cfg in wich there will be some very specific server variables
like nrpe port (read up).

What do you think?
How can I organize that service-server combination?


Thank's so much

P.S. sorry for my bad english

-- 
Enrico Zimol

--
___
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] Distributed monitoring

2010-05-06 Thread Enrico Zimol
wrong 3d before, sorry

On 6 May 2010 11:55, Enrico Zimol lomiz.m...@gmail.com wrote:
 Hi at all,
 I'm newbie on nagios and I'm writing here to ask you for suggestions
 abut how to structure my monitoring situation.
 I've to monitor linux servers for about 15/20 customers, from 1 to 5
 server for each customer.
 We aren't on vpn with customers, so this servers are all behind NAT.
 That isn't a problem because we are the administrator of the firewall
 (other linux server) so we can manage any kind of DNAT and filter
 rule.

 I read on official documentation that suggest to use NCSA addon for
 distributed monitoring, but we choose to use NRPE addon for different
 motivations like:
 -customer force us to do that
 -the number of monitored servers for each customer will never grow up
 -the services to monitor for each server are the same (raid hw/sw,
 disk usage etc)
 -we need a completly centralized monitoring structure

 For last sentence I thought to use the arguments option on NRPE (yes,
 I read the SECURITY document).
 Besides, to solve the problem of NAT with NRPE I'll do DNAT on
 firewall and the port parameter on check_nrpe plugin (is there
 problems to do that? I did little tests but I prefear a confirm)


 To manage this structure I need to organized a well-formed config file
 structure on nagios server.

 I thinked to structure it like this

 obj--|
        |--templatelinuxserversgeneral.cfg
        |
        |--customer_1_directory|-templateserver.cfg
        |                       |-server1.cfg
        |                       |-server2.cfg
        |                       |-servern.cfg
        |
        |--customer_2_directory|-templateserver.cfg
                                |-server1.cfg
                                |-servern.cfg


 Where:
 -templatelinuxserversgeneral.cfg is a very basic template for server
 -customer_1_directory in wich there is 1 file for each customer's server
 -templateserver.cfg will use templatelinuxserversgeneral and will add
 more specific common variabiles for that customer's server like the
 public IPAddress that will be the same for each customer's server.
 -servern.cfg in wich there will be some very specific server variables
 like nrpe port (read up).

 What do you think?
 How can I organize that service-server combination?


 Thank's so much

 P.S. sorry for my bad english

 --
 Enrico Zimol


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