[Nagios-users] refresh and stay on current page

2012-12-14 Thread Leonardo Bacha Abrantes
Hello guys!

I'm using nagios 3.4.1 and when I press F5 to refresh the page, nagios go
to home.
How can I configure to stay on the current page when F5 is pressed ?

many thanks!!
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
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] servicedependecy is not working

2012-11-30 Thread Leonardo Bacha Abrantes
Hi guys,

I use nrpe to monitor my machines and I configured servicedependency (see
below), however, nagios still sending alerts when nrpe is on critical state.

define servicedependency{
 dependent_host_name   srv1
 dependent_service_description  /var Partition
 host_name srv1
 service_descriptionNRPE plugin
 execution_failure_criteria c,u,p
 notification_failure_criteria  c,u,p
dependency_period   24x7
}

Can you help me please ?
--
Keep yourself connected to Go Parallel: 
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net___
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] execute nrpe and put result on another host....

2012-11-29 Thread Leonardo Bacha Abrantes
Hi guys,

I have a server called SRV1 that is connected on a router at other office.
The SRV1 has static routes to these networks.

My nagios has been monitoring SRV1, and I configured nrpe on it with:

command[check_router1]=/etc/check_ping -H xxx -w 3000.0,80% -c
5000.0,100% -p 4 -4
command[check_router2]=/etc/check_ping -H xxx -w 3000.0,80% -c
5000.0,100% -p 4 -4


-- | SRV1 | ---> | router1 | --> | router2 | --->


I also added in my nagios router1 and router2.


is possible to configure a command in nagios server to execute
check_router1 and check_router2 on SRV1 and put the result in routers
status ?


many thanks!!
--
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net___
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 dependecy not working

2012-11-12 Thread Leonardo Bacha Abrantes
Hi guys!

I'm trying to configure service dependency.



jboss_server run a jboss application that depends on oracle database that
is running in another server called DB_server.
So I created the dependency below but it's not working:


define servicedependency{

host_nameDB_server

service_descriptionOracle DB

dependent_host_namejboss_server

dependent_service_descriptionJboss int1,Jboss int2

execution_failure_criteriac

notification_failure_criteriaw,u,c

}

what I need is: when the oracle db is not OK, jboss will not working.
what I doing wrong ?

many thanks!!
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
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 windows print server

2012-10-26 Thread Leonardo Bacha Abrantes
Hi guys!

I have a windows server working as print server. How can I monitore
printers health, queue, etc.. ?
is possible to do it with the plugin check_nt ?

many thanks!
--
The Windows 8 Center 
In partnership with Sourceforge
Your idea - your app - 30 days. Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/___
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] Force host assume up when services are up

2012-10-22 Thread Leonardo Bacha Abrantes
Hello,

I know that is possible to use another plugin to check if host is up,
however, I never did it on old version of nagios.
now I'm using nmap, and it's working.

http://systhread.net/texts/2010q3nmap_ping.php

but I wold like that new nagios worked in this point as old versions.


many thanks  friends!


On Mon, Oct 22, 2012 at 10:34 AM, Jakob Curdes  wrote:

> Am 22.10.2012 14:08, schrieb Leonardo Bacha Abrantes:
> > Hello guys,
> >
> > I have machines that icmp is blocked, so, nagios show the host is down
> > and the services are up.
> > I know that I can configure another plugin like check_http instead of
> > check_host_alive (ping), however the problem is that if apache gong
> > down nagios will show that the host also is down, and it will not
> correct.
> >
> Well ich ICMP is blocked, the only thing that you can do is check a
> certain service and use that result as "host up" information.
>
> You could write a check using NMAP and use the reult of that, but for a
> host with only 1 service running it will be very difficult to decide
> whether the host or the service is down without using icmp (or having
> the host send ist own check results via NSCA)
>
>
> HTH,
> Jakob Curdes
>
>
>
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> ___
> 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
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
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] Force host assume up when services are up

2012-10-22 Thread Leonardo Bacha Abrantes
Hello guys,

I have machines that icmp is blocked, so, nagios show the host is down and
the services are up.
I know that I can configure another plugin like check_http instead of
check_host_alive (ping), however the problem is that if apache gong down
nagios will show that the host also is down, and it will not correct.

check dummy will show the result that I specify, so, image the machine
going down. Nagios will keep showing the host is up for example.




On Fri, Oct 19, 2012 at 4:25 PM,  wrote:

> It is actually a feature. Active checks of the host were expensive in
> older versions of Nagios, so Nagios would correctly assume a host was up if
> it was able to succesfully check a sercice associated with it. That code
> changed and active checks are now part of the scheduling logic.
>
> Why don't you want Nagios to check if the host is up?
>
> You can use the check dummy plugin as the host check command and never
> check the host but then you will defeat the logic that Nagios uses when a
> service goes down to force check the host and supress the service
> notifications till it comes back up and everything gets rechecked.
> Sent on the Sprint® Now Network from my BlackBerry®
>
> -----Original Message-
> From: Leonardo Bacha Abrantes 
> Date: Fri, 19 Oct 2012 10:06:27
> To: Nagios Users List
> Reply-To: Nagios Users List 
> Subject: Re: [Nagios-users] Force host assume up when services are up
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> ___
> 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
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
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] Force host assume up when services are up

2012-10-19 Thread Leonardo Bacha Abrantes
Hi Assaf,

it's possible to use another command to check host alive like check_http.
It works, however, why in old nagios it was not necessary and I didn't
nothing different.
if just one service is up, nagios have to assume the machine is up.
I could'nt make it works yet :(

I fount a topic in nagios manual that reported the nagios do it without
extra configurations.



On Fri, Oct 19, 2012 at 8:05 AM, Assaf Flatto  wrote:

> **
> You can use the same command defined for the service to be the
> check_command for the server.
>
> version 3 has changes significlly from version 3 and also has some of the
> configuration directives.
>
> you should read the updated docs on the changes and on the new
> configuration.
>
>
>
>
> On 18/10/12 20:42, Leonardo Bacha Abrantes wrote:
>
> Hey guys!
>
> I'm monitoring my external dns server with these configuration in nagios
> with these configuration:
>
> define host{
> host_name   myserver
> notes   External primary DNS
> notifications_enabled   0
> notification_interval   0
> max_check_attempts  5
> *    initial_state   o => It doesn't worked*
> contact_groups  x
> }
>
>
> define service{
> use generic-service
> service_description Response Test
> max_check_attempts  3
> normal_check_interval   7
> retry_check_interval2
> contact_groups  xx
> check_command   check_external_dns!www.mysite.com
> !xxx.xxx.xxx.xxx!yyy.yyy.yyy.yyy
> host_name   myserver
> }
>
>
> it's working, however, nagios is not assuming the host is up. How can I
> configure nagios to assume an host is up when the services of it are up ?
> PS: The same configuration worked on nagios versions 2.9 and 1.4.
>
> nagios: 3.4.1
>
> can anyone help me please ?
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:http://p.sf.net/sfu/appdyn_sfd2d_oct
>
>
> ___
> Nagios-users mailing 
> listNagios-users@lists.sourceforge.nethttps://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
>
>
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> ___
> 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
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
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] Force host assume up when services are up

2012-10-18 Thread Leonardo Bacha Abrantes
Hey guys!

I'm monitoring my external dns server with these configuration in nagios
with these configuration:

define host{
host_name   myserver
notes   External primary DNS
notifications_enabled   0
notification_interval   0
max_check_attempts  5
*    initial_state   o => It doesn't worked*
contact_groups  x
}


define service{
use generic-service
service_description Response Test
max_check_attempts  3
normal_check_interval   7
retry_check_interval2
contact_groups  xx
check_command   check_external_dns!www.mysite.com
!xxx.xxx.xxx.xxx!yyy.yyy.yyy.yyy
host_name   myserver
}


it's working, however, nagios is not assuming the host is up. How can I
configure nagios to assume an host is up when the services of it are up ?
PS: The same configuration worked on nagios versions 2.9 and 1.4.

nagios: 3.4.1

can anyone help me please ?
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
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] Host exclusion fail more 4 hosts

2012-10-18 Thread Leonardo Bacha Abrantes
Hey!!


I'm configuring my nagios yet and the router group had 5 routers that I
needed to make an exclusion. when I add more hosts in router group, the
exclusion of my 5 hosts worked.!!

many thanks!!

On Wed, Oct 17, 2012 at 7:40 PM,  wrote:

> Did you try making a group of the router you want to exclude and then
> exclude that on the hostgroup_name line instead? That may solve it although
> I agree it is weird that the host exclusion seems limited to 5 exclusions.
> The only other thing I can think of is that the Routers group only contains
> the 5 in question thus making the exclusion complete. But then why define
> the service in the first place?
> Sent on the Sprint® Now Network from my BlackBerry®
>
> -----Original Message-
> From: Leonardo Bacha Abrantes 
> Date: Wed, 17 Oct 2012 17:03:09
> To: Nagios Users List
> Reply-To: Nagios Users List 
> Subject: Re: [Nagios-users] Host exclusion fail more 4 hosts
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> ___
> 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
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
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] Host exclusion fail more 4 hosts

2012-10-17 Thread Leonardo Bacha Abrantes
Hi Jacob,

sorry, but I don't understand very well...Router is a hostgroup with all my
routers.

did you mean remove the hostname ? It will work, however, all routers will
monitoring uptime and I need to exclude five.
The strange is that it worked up to 4 hosts very well, when I put more one:
fail!  totally crazy!!

I'm lost...





On Wed, Oct 17, 2012 at 4:50 PM, Jacob Seeley <
jacob.see...@radispheregroup.com> wrote:

> My guess is you don’t have a host definition for the host (router) you’ve
> removed – once the undefined hostname was removed from the service
> definition, it works.
>
> ** **
>
> --
>
> *Jacob***
>
> ** **
>
> *From:* Leonardo Bacha Abrantes [mailto:leona...@lbasolutions.com]
> *Sent:* Wednesday, October 17, 2012 3:39 PM
> *To:* nagios-users@lists.sourceforge.net
> *Subject:* [Nagios-users] Host exclusion fail more 4 hosts
>
> ** **
>
> Hey people,
>
>
> I created an group called Routers and I inserted my routers on.
> I don't want to check uptime of five routers, so, I created the exclusion
> as: host_name  !R1,!R2,!R3,!R4,!R5.
>
> The problem is: *nagios only work up to four host*, because when I add
> more one host, I received the error below:
>
> Error: Could not expand hostgroups and/or hosts specified in service
> (config file '/etc/nagios/objects/router.cfg', starting on line 13)
>Error processing object config files!*
>
> *if I remove just one host, it worked. I didn't find anything on manual
> about limitations.*
> *
>
> define service{
> use generic-service
>* hostgroup_name Routers*
> service_description Uptime
> max_check_attempts  5
> normal_check_interval 10
> retry_check_interval3
> contact_groups  G-Prod
> check_command   check_snmp!-C Mycommunity -o
> sysUpTime.0
> notifications_enabled   0
> *host_name   !R1,!R2,!R3,!R4,!R5*
> }
>
>
> Can someone help me please ?
>
> many thanks!
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> ___
> 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
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
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] Host exclusion fail more 4 hosts

2012-10-17 Thread Leonardo Bacha Abrantes
Hey people,


I created an group called Routers and I inserted my routers on.
I don't want to check uptime of five routers, so, I created the exclusion
as: host_name  !R1,!R2,!R3,!R4,!R5.

The problem is: *nagios only work up to four host*, because when I add more
one host, I received the error below:

Error: Could not expand hostgroups and/or hosts specified in service
(config file '/etc/nagios/objects/router.cfg', starting on line 13)
   Error processing object config files!*

*if I remove just one host, it worked. I didn't find anything on manual
about limitations.*
*

define service{
use generic-service
   * hostgroup_name Routers*
service_description Uptime
max_check_attempts  5
normal_check_interval 10
retry_check_interval3
contact_groups  G-Prod
check_command   check_snmp!-C Mycommunity -o
sysUpTime.0
notifications_enabled   0
*host_name   !R1,!R2,!R3,!R4,!R5*
}


Can someone help me please ?

many thanks!
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
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_jboss_status errors off

2012-10-08 Thread Leonardo Bacha Abrantes
If you don't specify the port, it will use 8080 as default. is it
correct in your case ?


regards,


On Sun, Oct 7, 2012 at 3:23 PM, Marek Grinberg  wrote:
> Hello,
>
> After copying check_jboss_status.pl into /usr/local/nagios/libexec, I
> tried it:
>
> # ./check_jboss_status.pl -H tpstest.domain.com
>
> Unable to load status: Connection refused
>
>
> What have I missed ?
>
>
> Marek
>
> --
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-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

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-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] two timeperiods per host/service

2012-07-08 Thread Leonardo Bacha Abrantes
Hello people,

The team's SLA is measured with the nagios' reports of 11x5 (monday until
friday on 08:00 until 19:00). And I need to monitoring all services and
hosts 24x7.
Because of that, I have two nagios running.


I don't understand very weel: example: if my host/service is being
monitored on 24x7, can I build a report of the 11x5 ??

thanks a lot


On Sun, Jul 8, 2012 at 11:59 AM, Nair  wrote:

> As 24X7 is inclusive of 11x5, why do you need duplicate service
> check.Instead why cant you
> tune your reporting tool to pick data for 11X5?
>
> Thank you
> Nair
>
> On Sun, 08 Jul 2012 19:28:23 +0530 wrote
>
> >you can not add more than one check period against a host. what you can
> do is to create
> duplicate services and use the 11x5 check period against them and do
> reporting based upon this
> and modify the original services with a complementary check period
> (24x7except11x5).
> regardsranjib
>
> On Sun, Jul 8, 2012 at 6:40 PM, Leonardo Bacha Abrantes ** wrote:
>
> Hey People,
>
> Currently in my company there are two nagios running in two different
> servers because on
> monitoring the hosts/services 24x7 and the other 11x5.
>
> PS: The 11x5 is necessary to generate reports.
>
> I would like to configure just one nagios.
>
>
> Is possible to monitore the hosts/services with more than just one
> timeperiod ?
>
> Many thanks!
>
>
>
> --
>
> Live Security Virtual Conference
>
> Exclusive live event will cover all the ways today's security and
>
> threat landscape has changed and how IT managers can respond. Discussions
>
> will include endpoint security, mobile security and the latest in malware
>
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
>
> 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
>
>
>
> --
>
> Live Security Virtual Conference
>
> Exclusive live event will cover all the ways today's security and
>
> threat landscape has changed and how IT managers can respond. Discussions
>
> will include endpoint security, mobile security and the latest in malware
>
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
>
> 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
> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>
> Follow *Rediff Deal ho 
> jaye!<http://track.rediff.com/click?url=___http://dealhojaye.rediff.com?sc_cid=rediffmailsignature___&cmp=signature&lnk=rediffmailsignature&newservice=deals>
> * to get exciting offers in your city everyday.
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> 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
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] two timeperiods per host/service

2012-07-08 Thread Leonardo Bacha Abrantes
Hey People,

Currently in my company there are two nagios running in two different
servers because on monitoring the hosts/services 24x7 and the other 11x5.
PS: The 11x5 is necessary to generate reports.

I would like to configure just one nagios.
Is possible to monitore the hosts/services with more than just one
timeperiod ?

Many thanks!
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] help

2012-06-27 Thread Leonardo Bacha Abrantes
Hello!

I had this trouble some time ago.
use: nagios -v nagios.cfg

use it to check if there are erros on the config files.



On Wed, Jun 27, 2012 at 1:47 PM, Jacques FAN  wrote:

> windows client or linux?
>
> 2012/6/27 Léandre Mweze 
>
>> Hello everyone
>>
>> I have installed Nagios3.4.3 on my Fedora16,after creating the main
>> configuration file nagios.cfg and others objects like
>> hosts.cfg,contacts.cfg services.cfg etc my nagios can not recognize all
>> hosts I've added do not know why.Need some help because only the localhost
>> can be found as hosts
>>
>>
>> --
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> ___
>> 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
>>
>
>
>
> --
> JFK
> "In God we trust, the rest we monitor"
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> 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
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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_http

2012-06-15 Thread Leonardo Bacha Abrantes
Hey Travis!

thank you so much my friend!
it worked!!

On Thu, Jun 14, 2012 at 7:28 PM, Travis Runyard wrote:

> You can monitor the path of a website with the -u option. Here is an
> example:
> check_http -H mysite.com -u "/tux" -f follow
>
> You will probably want to use the "-f follow" option if your website uses
> any kind of redirection method.
>
> ;-)
> Travis Runyard
>
> On Wed, Jun 13, 2012 at 6:16 AM, Leonardo Bacha Abrantes <
> leona...@lbasolutions.com> wrote:
>
>> Hey people,
>>
>> I'm monitoring my site using the command line
>> /usr/local/nagios/libexec/check_http -w 4 -c 8 -H mysite.com. It's work
>> fine, however, I have some sites that has not a host added in my dns, and
>> to access it and use mysite.com/tux.
>>
>> and when I use heck_http -w 4 -c 8 -H mysite.com/tux, it fail.
>> How can I monitory it ?
>>
>> many thanks!
>>
>>
>>
>>
>> --
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> ___
>> 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
>>
>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> 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
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] check_http

2012-06-14 Thread Leonardo Bacha Abrantes
Hey people,

I'm monitoring my site using the command line
/usr/local/nagios/libexec/check_http -w 4 -c 8 -H mysite.com. It's work
fine, however, I have some sites that has not a host added in my dns, and
to access it and use mysite.com/tux.

and when I use heck_http -w 4 -c 8 -H mysite.com/tux, it fail.
How can I monitory it ?

many thanks!
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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 jboss

2012-05-11 Thread Leonardo Bacha Abrantes
Hi Paul,

I didn't know that is possible to use check_http to check the return of the
page.
I'll check it...

many thanks!


On Thu, May 10, 2012 at 10:44 AM, Paul Weaver  wrote:

> > There was a guy that configured to monitory it by the tcp port,
> however, rarely the jboss came very slow and nagios does not report
> anything
> > because the port is listening.
> > Does anyone know a plugin to check a specific instance of jboss and
> the port or other things together?
>
> What part of jboss came slow? You can use check_http to pull the jmx
> console from the port (8082?) and ensure that
> 1) The page returns in a given timeout
> 2) The page returns a 200 OK message
> 3) The page is long enough
>
> Personally I couldn't care less if my jboss server is working, I'm much
> more concerned the application and websites deployed on it are working,
> so I check them instead (including using check_http to pull a static
> .gif, and using check_http to pull a database-generated page, which
> tells me if it's the webserver that's down, or if it's the database
> pool)
>
>
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain personal
> views which are not the views of the BBC unless specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in
> reliance on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> 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
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] check jboss

2012-05-10 Thread Leonardo Bacha Abrantes
Hi people,
good morning!


There was a guy that configured to monitory it by the tcp port, however,
rarely the jboss came very slow and nagios does not report anything because
the port is listening.
Does anyone know a plugin to check a specific instance of jboss and the
port or other things together?

many thanks!
have all you a great day
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Exclude monitoring in holidays

2012-05-03 Thread Leonardo Bacha Abrantes
Many thanks friends!

:p

On Thu, May 3, 2012 at 9:45 AM, Claudio Kuenzler 
wrote:

> First you create a timeperiod which contains all the holidays you want to
> specify. I guess you already did that.
>
> Let's assume you called this timeperiod "*myholidays*".
> Now you need to exclude this from your usual check timeperiod (24x7 by
> default):
>
> # This defines a timeperiod where all times are valid for checks,
> # notifications, etc.  The classic "24x7" support nightmare. :-)
> define timeperiod{
> timeperiod_name 24x7
> alias   24 Hours A Day, 7 Days A Week
> exclude myholidays
> sunday  00:00-24:00
> monday  00:00-24:00
> tuesday 00:00-24:00
> wednesday   00:00-24:00
> thursday00:00-24:00
> friday  00:00-24:00
> saturday00:00-24:00
> }
>
> As you see, the important configuration here is the "exclude" line. It's
> actually pretty easy and you can combine many exclusions like this.
>
>
>
> On Thu, May 3, 2012 at 2:03 PM, Leonardo Bacha Abrantes <
> leona...@lbasolutions.com> wrote:
>
>> Hey people!
>>
>> I don't want that nagios monitoring hosts/services in holidays that I
>> specified.
>> Does anyone know if is it possible, if so, how can I do that ?
>>
>> Many thanks!
>>
>>
>> --
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> ___
>> 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
>>
>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> 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
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Exclude monitoring in holidays

2012-05-03 Thread Leonardo Bacha Abrantes
Hey friends,

many thanks!


On Thu, May 3, 2012 at 10:18 AM, steve f  wrote:

>  You could probably set up a time period object with a series of exclusion
> dates.  Have the check(s) run every day except the days you dont want to
> run.  Or you could, just before the holiday in question, put the check into
> scheduled down time.  That could be time consumong depending on how many
> hosts / checks you have
>
> Here is info on doing the time period set up
>
> http://nagios.sourceforge.net/docs/3_0/timeperiods.html
> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod
>
> Good Luck,
> Steve
>
> --
> From: leona...@lbasolutions.com
> Date: Thu, 3 May 2012 09:03:19 -0300
>
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Exclude monitoring in holidays
>
> Hey people!
>
> I don't want that nagios monitoring hosts/services in holidays that I
> specified.
> Does anyone know if is it possible, if so, how can I do that ?
>
> Many thanks!
>
> --
> Live Security Virtual Conference Exclusive live event will cover all the
> ways today's security and threat landscape has changed and how IT managers
> can respond. Discussions will include endpoint security, mobile security
> and the latest in malware threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___ 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
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> 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
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Exclude monitoring in holidays

2012-05-03 Thread Leonardo Bacha Abrantes
Hey people!

I don't want that nagios monitoring hosts/services in holidays that I
specified.
Does anyone know if is it possible, if so, how can I do that ?

Many thanks!
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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 alert isn't working

2012-04-16 Thread Leonardo Bacha Abrantes
Hi Trond,

Thank you so much! it worked very well.


On Fri, Apr 13, 2012 at 20:37, Trond Hasle Amundsen <
t.h.amund...@usit.uio.no> wrote:

> Leonardo Bacha Abrantes  writes:
>
> > Hi everybody!
> >
> > I'm using check_openmanage plugin in nagios to monitoring the
> temperature of my
> > dell servers.
> > It's working, however, the warning and critical alerts that I configure
> are not
> > working.
> >
> > [root@monitor:/etc/openmanage]#
> /usr/lib/nagios/plugins/check_openmanage -w 25
> > -c 30 -H 10.11.12.1 -C Test--only temp
> > TEMPERATURES OK - 1 temperature probes checked:Temperature Probe 0
> [System
> > Board Ambient Temp] reads 30 C (min=8/3, max=42/47)
> >
> > The temperature is 30 and the check should appear WARNING because I used
> -w 25.
>
> Hello Leonardo,
>
> The syntax you're using with the '-w' and '-c' options is wrong. From
> the manual page:
>
>   -w, --warning STRING or FILE
>   Override the machine-default temperature warning
>   thresholds. Syntax is "id1=max[/min],id2=max[/min],...". The
>   following example sets warning limits to max 50C for probe 0,
>   and max 45C and min 10C for probe 1:
>
>   check_openmanage -w 0=50,1=45/10
>
>   The minimum limit can be omitted, if desired. Most often, you
>   are only interested in setting the maximum thresholds.
>
>   This parameter can be either a string with the limits, or a
>   file containing the limits string. The option can be
>   specified multiple times.
>
>   NOTE: This option should only be used to narrow the field of
>   OK temperatures wrt. the OMSA defaults. To expand the field
>   of OK temperatures, increase the OMSA thresholds. See the
>   plugin web page for more information.
>
>   -c, --critical STRING or FILE
>   Override the machine-default temperature critical
>   thresholds. Syntax and behaviour is the same as for warning
>   thresholds described above.
>
> The reason that you need to specify the ID of the temperature probes is
> that there may be more than one, each with its own thresholds. In your
> case there is only one probe and its ID is 0, so replace your command
> above with:
>
>  check_openmanage -w 0=25 -c 0=30 -H 10.11.12.1 -C Test --only temp
>
> That should do the trick.
>
> Regards,
> --
> Trond H. Amundsen 
> Center for Information Technology Services, University of Oslo
>
>
> --
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> ___
> 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
>
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
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] Warning alert isn't working

2012-04-13 Thread Leonardo Bacha Abrantes
Hi everybody!

I'm using check_openmanage plugin in nagios to monitoring the temperature
of my dell servers.
It's working, however, the warning and critical alerts that I configure are
not working.

[root@monitor:/etc/openmanage]# /usr/lib/nagios/plugins/check_openmanage -w
25 -c 30 -H 10.11.12.1 -C Test--only temp
TEMPERATURES OK - 1 temperature probes checked:Temperature Probe 0
[System Board Ambient Temp] reads 30 C (min=8/3, max=42/47)

The temperature is 30 and the check should appear WARNING because I used -w
25.


Can you help me, please ?


many thanks!
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
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