Re: [Nagios-users] Nagios + memory usage + SNMP

2012-05-12 Thread leandro

Mattew,I could use some plugins snmp quite interesting. Now I'm looking for one 
that monitors the processes of mysql and apache remotely. I am monitoring Linux 
servers. Do you suggest any that work?ThanksLeandro Ferreira


Em 11/05/2012, Matthew Jurgens <nagiosus...@edcint.co.nz> escreveu:
> If you are checking Windows try check_wmi_plus (it is agentless)
> http://www.edcint.co.nz/checkwmiplus
> 
> It can do all of that and a lot more which means your monitoring of 
> Windows becomes a lot more consistent as you can use a single plugin for 
> everything
> 
> On 12/05/2012 4:16 AM, James Pratt wrote:

> > Ok here is how I check/monitor memory on windows systems using the 
check_snmp_storage script:
> >
> > Commands.cfg definition -
> >
> > ## check phys mem on a windows server or vm - note the server must 
have snmpd installed and running, as well as a RO user defined!
> > ##
> > define command{
> >          command_name check_snmp_phys_mem_win
> >          command_line $USER1$/check_snmp_storage -H 
$HOSTADDRESS$ $USER16$ -m "Physical Memory" -w $ARG1$ -c $ARG2$
> >          }
> >
> > (Where $USER16$ is the snmp user defined to be read-only on the 
server you are monitoring, in your resources.cfg file)
> >
> >
> >
> > ###
> > Here is actual service definition in my services.cfg file -
> >
> > ## Windows SNMP Mem Usage warn on 85%, crit on 90%
> > define service{
> >          use                  
           generic-service,srv-pnp         ; Name of service template to use
> >          host_name            
          Windows1,Windows2
> >          service_description      
       SNMP - Physical Memory Usage
> >          check_period          
          workhours
> >         check_interval15
> >          max_check_attempts        
      5
> >          notification_interval      
     60
> >          notification_options      
      w,u,c,r
> >          check_command          
         check_snmp_phys_mem_win!85!90
> >          }
> >
> > (If anything is missing from the above, it's being inherited from the 
hosts' definition to which it applies. HTH, have a good weekend.
> >
> > James
> > -Original Message-
> > From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info]
> > Sent: Friday, May 11, 2012 1:52 PM
> > To: nagios-users@lists.sourceforge.net
> > Cc: James Pratt
> > Subject: Re: [Nagios-users] Nagios + memory usage + SNMP
> >
> > James,
> >
> > Would post the command.cfg host.cfg and with the command checking 
memory for me based on them? I am new to Nagios, I still need to adjust the command 
line.
> >
> > thanks
> >
> > Leandro Ferreira
> >
> >
> > Em Sex, 2012-05-11 às 16:19 +, James Pratt escreveu:
> >> Hi -  I've used these snmp plugins for a long time, as I 
have too many to install nrpe/etc on...
> >>
> >> http://nagios.manubulon.com/
> >>
> >> cheers,
> >> James
> >>
> >> -Original Message-
> >> From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info]
> >> Sent: Friday, May 11, 2012 12:14 PM
> >> To: nagios-users@lists.sourceforge.net
> >> Subject: [Nagios-users] Nagios + memory usage + SNMP
> >>
> >> Dear,
> >>
> >> I'm using Nagios for a short time and I need to understand one 
thing about snmp + nagios. Before I was using Cacti and could monitor the memory usage on 
the hosts without having to install anything on it.
> >> Picked up the information via SNMP. In Nagios, so I'm looking to 
monitor memory usage and some other services I have to install the NRPE + xinetd hosts. 
There is another option to monitrar these services without having to install anything on 
remote hosts (being in the same network as the server)?
> >>
> >> thank you
> >>
> >> Leandro Ferreira
> >>
> >>
> >> 
--
> >> 
> >> 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-

Re: [Nagios-users] Nagios + memory usage + SNMP

2012-05-12 Thread leandro

Perfect. It seems to be really what I seek. Tomorrow I'll do some testing with it. 
Thank you for  help.

Leandro Ferreira

Em 12/05/2012, James Pratt <jpr...@norwich.edu> escreveu: 
> If you are monitoring Linux, I would suggest this one, from the same page I directed you – 
> 
> define command{ 
>         command_name check_linux_snmp_proc 
>         command_line $USER1$/check_snmp_process -H $HOSTADDRESS$ -C $USER15$ -2 -n $ARG1$ -w $ARG2$ -c $ARG3$ 
> 
> } 
> 
> 
> (Run the command interactively for all the necessary arguments, or see the web page - it’s pretty straightforward). 
> 
> James 
> 
> From: lean...@guiadopc.info [mailto:lean...@guiadopc.info] 
> Sent: Saturday, May 12, 2012 3:29 PM 
> To: nagiosus...@edcint.co.nz; Nagios Users List 
> Subject: Re: [Nagios-users] Nagios + memory usage + SNMP 
> 
> 
> Mattew, 
> 
> I could use some plugins snmp quite interesting. Now I'm looking for one that monitors the processes of mysql and apache remotely. I am monitoring Linux servers. Do you suggest any that work? 
> 
> Thanks 
> 
> Leandro Ferreira 
> 
> 
> 
> Em 11/05/2012, Matthew Jurgens <nagiosus...@edcint.co.nz<mailto:nagiosus...@edcint.co.nz>>; escreveu: 
> > If you are checking Windows try check_wmi_plus (it is agentless) 
> > http://www.edcint.co.nz/checkwmiplus 
> > 
> > It can do all of that and a lot more which means your monitoring of 
> > Windows becomes a lot more consistent as you can use a single plugin for 
> > everything 
> > 
> > On 12/05/2012 4:16 AM, James Pratt wrote: 
> > > Ok here is how I check/monitor memory on windows systems using the check_snmp_storage script: 
> > > 
> > > Commands.cfg definition - 
> > > 
> > > ## check phys mem on a windows server or vm - note the server must have snmpd installed and running, as well as a RO user defined! 
> > > ## 
> > > define command{ 
> > >          command_name check_snmp_phys_mem_win 
> > >          command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ $USER16$ -m "Physical Memory" -w $ARG1$ -c $ARG2$ 
> > >          } 
> > > 
> > > (Where $USER16$ is the snmp user defined to be read-only on the server you are monitoring, in your resources.cfg file) 
> > > 
> > > 
> > > 
> > > ### 
> > > Here is actual service definition in my services.cfg file - 
> > > 
> > > ## Windows SNMP Mem Usage warn on 85%, crit on 90% 
> > > define service{ 
> > >          use                            generic-service,srv-pnp        ; Name of service template to use 
> > >          host_name                      Windows1,Windows2 
> > >          service_description            SNMP - Physical Memory Usage 
> > >          check_period                    workhours 
> > >        check_interval 15 
> > >          max_check_attempts              5 
> > >          notification_interval          60 
> > >          notification_options            w,u,c,r 
> > >          check_command                  check_snmp_phys_mem_win!85!90 
> > >          } 
> > > 
> > > (If anything is missing from the above, it's being inherited from the hosts' definition to which it applies. HTH, have a good weekend. 
> > > 
> > > James 
> > > -Original Message- 
> > > From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info]<mailto:[mailto:lean...@guiadopc.info]>; 
> > > Sent: Friday, May 11, 2012 1:52 PM 
> > > To: nagios-users@lists.sourceforge.net<mailto:nagios-users@lists.sourceforge.net>; 
> > > Cc: James Pratt 
> > > Subject: Re: [Nagios-users] Nagios + memory usage + SNMP 
> > > 
> > > James, 
> > > 
> > > Would post the command.cfg host.cfg and with the command checking memory for me based on them? I am new to Nagios, I still need to adjust the command line. 
> > > 
> > > thanks 
> > > 
> > > Leandro Ferreira 
> > > 
> > > 
> > > Em Sex, 2012-05-11 às 16:19 +, James Pratt escreveu: 
> > >> Hi -  I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on... 
> > >> 
> > >> http://nagios.manubulon.com/ 
> > >> 
> > >> cheers, 
> > >> James 
> > >> 
> > >> -Original Message- 
> > >> From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info]<mailto:[mailto:lean...@guiadopc.info]>; 
> > >> Sent: F

[Nagios-users] check_http finding string

2007-11-14 Thread Leandro Silva
Hi

I´m using nagios version 2.10 and trying to determine de disponibility of my 
website using check_http to find a string in a url.
If i execute this command in the prompt:
 /usr/local/nagios/libexec/check_http -H www.mywebsite.com.br -u 
/internet/principal.jsp -s "String to find"
i get:
HTTP OK HTTP/1.1 200 OK - 1.805 second response time 
|time=1.804832s;;;0.00 size=20593B;;;0

and if i change the string i get:
HTTP CRITICAL - string not found|time=1.835345s;;;0.00 
size=20593B;;;0


So I put in the service.cfg:

define service{
use website-service
host_name internet
service_description HTTP
check_command check_http!-u /internet/principal.jsp -s "String to find"
}

and I have in the nagios page the service status, having the string in the page 
or not:

Status Information:HTTP OK HTTP/1.1 200 OK - 369 bytes in 0.005 seconds 
Performance Data:time=0.005401s;;;0.00 size=369B;;;0

In the command.cfg I have:
define command{
command_name check_http
command_line $USER1$/check_http -H $HOSTADDRESS$
}

Someone can help me?

Leandro-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Notification by email

2007-11-20 Thread Leandro Silva
Hi
I'm using nagios 2.10 and every time i have a email with notification it is 
send two times the same email.
How can i resolve it?-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Monitoring Oracle

2007-12-05 Thread Leandro Silva
Hi

I'm trying to monitoring oracle database and i need to know when the 
tablespaces is near of the limite determined in the database. I use 
oraDbTablespaceSizeAllocated and oraDbTablespaceSizeUsed to check this.
Anyone knows how to use the value in oraDbTablespaceSizeAllocated to set the 
critical limit in the check_snmp plugin.-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Monitoring a daemon

2007-12-18 Thread Leandro Silva
Hi
Anyone know how to monitoring a daemon in a unix system, like postifx, 
apache2, dns, ...

Leandro-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
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] Status storage

2007-12-18 Thread Leandro Silva
Hi
What is the file where nagios stores the Service Availability ?
Is possible to use oracle with NDO, and NDO 1.4b7 is compatible whit nagios 
3.0rc1?

Leandro-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
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] Nagvis without DB

2008-01-15 Thread Leandro Silva
Anyone knows a way to use nagvis without a database using only the files of 
nagios where store the status of the host and services?

Leandro
Brazil-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Host details

2008-01-30 Thread Leandro Silva
Hi

Any one know how to put informations in the hosts like memory, hd, installed 
softwares, etc.

Leandro-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Complicate Hosts Configue

2005-12-26 Thread Leandro Borges
 Hi, I have a complicated architeture here, and need some help for hosts configuraton whis multiple interfaces.                                  router= x.x.5.1              /                        \ x.x.5.50                           x.x.5.30 host_1                              host_2 x.x.6.50                           x.x.6.30              \             &nb
 sp;
         /                     switch= no ip                                |                         x.x.6.10     host_3    Host_1 and host_2 run apache, whith Linux virtual server load balancer  distribuition, than the request come in a Virtual IP x.x.x.55 and the director runing  in one of the machines redirect to the host with less connections. The host_3 is a PostgreSQL Data Base.   How is the best configure for this scenario? Can I define 2 IP adress for host_1  and host_2, if yes, may the router be a parent? I think to run the Nagios in  host_1. 
		 
Yahoo! doce lar. Faça do Yahoo! sua homepage.

[Nagios-users] Nagios + memory usage + SNMP

2012-05-11 Thread Leandro @GuiadoPC
Dear,

I'm using Nagios for a short time and I need to understand one thing
about snmp + nagios. Before I was using Cacti and could monitor the
memory usage on the hosts without having to install anything on it.
Picked up the information via SNMP. In Nagios, so I'm looking to monitor
memory usage and some other services I have to install the NRPE + xinetd
hosts. There is another option to monitrar these services without having
to install anything on remote hosts (being in the same network as the
server)?

thank you

Leandro Ferreira


--
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] Nagios + memory usage + SNMP

2012-05-11 Thread Leandro @GuiadoPC
James,

Would post the command.cfg host.cfg and with the command checking memory
for me based on them? I am new to Nagios, I still need to adjust the
command line.

thanks

Leandro Ferreira


Em Sex, 2012-05-11 às 16:19 +, James Pratt escreveu:
> Hi -  I've used these snmp plugins for a long time, as I have too many to 
> install nrpe/etc on...
> 
> http://nagios.manubulon.com/
> 
> cheers,
> James
> 
> -----Original Message-
> From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info] 
> Sent: Friday, May 11, 2012 12:14 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Nagios + memory usage + SNMP
> 
> Dear,
> 
> I'm using Nagios for a short time and I need to understand one thing about 
> snmp + nagios. Before I was using Cacti and could monitor the memory usage on 
> the hosts without having to install anything on it.
> Picked up the information via SNMP. In Nagios, so I'm looking to monitor 
> memory usage and some other services I have to install the NRPE + xinetd 
> hosts. There is another option to monitrar these services without having to 
> install anything on remote hosts (being in the same network as the server)?
> 
> thank you
> 
> Leandro Ferreira
> 
> 
> --
> 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] Upgrade problem

2008-08-04 Thread Leandro de Oliveira
Hi
I upgrade de nagios installation to version  3.0.3 and after this the sound 
notifications stop to play.
Anyone can helpme?

Leandro-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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] Customise Report

2008-08-06 Thread Leandro de Oliveira
Is there a way to remove the Time Unknown from a Availability report statics?

Leandro-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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] ndomod: Still unable to connect to data sink

2008-09-17 Thread Leandro de Oliveira
you have to execute /xxx/ndo2db -c /xxx/ndo2db.cfg again
  - Original Message - 
  From: Jorge Peña 
  To: nagios-users@lists.sourceforge.net 
  Sent: Wednesday, September 17, 2008 12:19 PM
  Subject: [Nagios-users] ndomod: Still unable to connect to data sink


  Hello list,

  Since a restart, I am having this problem, when I look at the syslog: it 
appears

  Sep 17 16:50:15 test2 nagios: ndomod: Still unable to connect to data sink.  
856 items lost, 5000 queued items to flush.
  Sep 17 16:50:31 test2 nagios: ndomod: Still unable to connect to data sink.  
959 items lost, 5000 queued items to flush.
  Sep 17 16:50:47 test2 nagios: ndomod: Still unable to connect to data sink.  
1080 items lost, 5000 queued items to flush.
  Sep 17 16:51:03 test2 nagios: ndomod: Still unable to connect to data sink.  
1196 items lost, 5000 queued items to flush.
  Sep 17 16:51:19 test2 nagios: ndomod: Still unable to connect to data sink.  
1308 items lost, 5000 queued items to flush.

  As a result, the database is not updating correctly the values, and therefore 
my "nagios semaphore" is not working properly. I have tried to restart the 
machine without much luck.

  Any hint?

  Regards,
  Jorge


--
  ¡Trónchate de risa con los mejores capítulos de South Park en MSN Vídeo! 


--


  -
  This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
  Build the coolest Linux based applications with Moblin SDK & win great prizes
  Grand prize is a trip for two to an Open Source event anywhere in the world
  http://moblin-contest.org/redirect.php?banner_id=100&url=/


--


  ___
  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 SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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] Place the same service

2008-10-04 Thread Leandro de Oliveira
Hi 

Is there a way to place the same service for multiple hosts ?-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Monitoring a HP-UX system

2009-04-28 Thread Leandro de Oliveira
Hi

You can check_by_ssh and execute a shell script on server side to get the 
informations you want.

- Original Message - 
From: "Palle L Jensen" 
To: "'Marc Powell'" ; "'nagios-users Mailinglist'" 

Sent: Tuesday, April 28, 2009 4:06 PM
Subject: Re: [Nagios-users] Monitoring a HP-UX system


> Unfortunately, SNMP is disabled and can not be enabled.
> I will look at the check_ssh plugin.
>
> Thanks
>
>
>> -Original Message-
>> From: Marc Powell [mailto:m...@ena.com]
>> Sent: Tuesday, April 28, 2009 2:50 PM
>> To: nagios-users Mailinglist
>> Subject: Re: [Nagios-users] Monitoring a HP-UX system
>>
>>
>> On Apr 28, 2009, at 12:52 PM, Palle L Jensen wrote:
>>
>> > Hey List,
>> >
>> > I was wondering if anyone would know if it is possible to monitor a
>> > few things on a HP-UX system without installing anything on the
>> > server? We are unable to install anything, plugins, apps etc on the
>> > server, it's a production server. Below is a description of the
>> > general requirements.
>> >
>> > The general requirements:
>> > - Cannot install anything on the system - it's a validated
>> > production system.
>> > - It runs a SSH server daemon that we'd like to monitor.
>> > - What I'd like to see is some way to have it connect to the
>> > specified port, read the banner and then just abort the connection.
>> > The purpose of this is that perhaps the Nagios system could read the
>> > banner response it gets, and if it is not what it's expected, or
>> > fails to receive a banner/login prompt, send an alert.
>>
>> check_ssh does exactly this.
>>
>> > I know that monitoring the ping is workable, but how about anything
>> > else, see above. Any help is much appreciated.
>>
>> There are plugins to check just about every kind of externally exposed
>> service, both in the standard plugins and on nagiosexchange.org. This
>> is perhaps the most straightforward kind of monitoring that can be
>> done outside of check_ping, and isn't really any different. Just
>> identify the external services exposed (ssh, http, etc), and use the
>> plugins designed to check them.
>>
>> SNMP, if enabled on the system, can be used to check things that
>> wouldn't normally be exposed externally, but I don't know if your
>> company considers an snmp daemon to be something 'installed'.
>>
>> --
>> Marc
>>
>>
>> --
>> 
>> Register Now & Save for Velocity, the Web Performance & Operations
>> Conference from O'Reilly Media. Velocity features a full day of
>> expert-led, hands-on workshops and two days of sessions from industry
>> leaders in dedicated Performance & Operations tracks. Use code vel09scf
>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
>> ___
>> 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
>
>
> --
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> ___
> 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 


--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Monitoring Unix machine from a windows machine

2009-09-01 Thread Leandro Quibem Magnabosco
Title: Untitled Document




Steven Battaille escreveu:

  
  
  

  
  Hi all
   
  Is there somebody who got
experience in
monitoring Unix machines from a windows machine?
   
  I’m not able to install the
nagios
plugins on the Unix machine. So it is the windows machine that will
launch the
scripts on the Unix machine.
   
  Would this be done by SSH or
any other
manner?
   
  Thx
   
  Steven Battaille
  Advanced Projects &
Products
  Belgium
  
  


Hi Steven,

You could use ssh -T to run a single command and quit.
The command would gather results for you and give those results to
Nagios in the Windows machine.

Let's say you want to know how much space you got left on you
partitions.
You can build up a single line of command to use "df" and sed/grep/awk
your way to receive how much space is left for each partition.
You could also gather all the df output and use windows
executables/scripts to check it out and tell nagios if everything is OK
or if some Warning or Critical message is needed.

Got the idea?

Besides that, you could use external checks, like check_dns.
check_dns will try to resolv hosts using nslookup thru your server and
tell you if it worked, so you can implement those kinds of checks
also...

For now I can't think of anything else, if I do I will let you know.

Good luck!





  

  
  
  
   
  
  Leandro
Quibem Magnabosco
Consultor de TI
(48) 3251-5323
  leandro.magnabo...@fcdl-sc.org.br
  www.fcdl-sc.org.br
  Rua: Rafael Bandeira, 41
CEP. 88015-450  Florianópolis - SC
  
  

  

"Este
é um e-mail oriundo da Federação das Câmaras de Dirigentes Lojistas de
Santa Catarina, e seu conteúdo é confidencial e destinado
exclusivamente a seu(s) destinatário(s), não podendo ser copiado ou
repassado,no todo ou em parte, a terceiros. Se esta mensagem foi-lhe
enviada por engano, pedimos o obséquio de entrar em contato conosco.
This is an e-mail from the Federação das Câmaras de Dirigentes Lojistas
de Santa Catarina and its contents are privileged and confidential to
the ordinary user(s) of the e-mail address(es) to which it was
addressed, and no one else may copy or forward all or any of it in any
form. If this e-mail was sent to you in error, please contact us."






--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] can nagios take some pro-active actions?

2009-09-03 Thread Leandro Quibem Magnabosco
Title: Untitled Document




"Olá" Leonardo,

Please note that Nagios uses mostly scripts to check services/disk/etc.
and that those scripts that 'tell' nagios the status of the
service/daemon/disk/etc.
That said, I think you should not focus on Nagios to be proactive hence
that it's scripts could be used for that.

Let's say you have check_http configured to check www.example.com.
It would connect to www.example.com on port 80 and report if it suceeds
on sending a cmd or not .
If something goes wrong, it would send a critical message back.
This does not mean that the script is necessarily alerting nagios about
the problem, it is alerting whatever called it in the first place.

What I mean is, you don't *need* nagios to be in the middle of it and
(IMO) you should not try to integrate it into this kind of solution
because it would just make things more complicated.

One simple way to implement that would be improving the scripts that
comes with nagios-plugins.
A "simple" if statement and some coding after it would do the trick.
If the script already has the capability to check the status of
something and be aware of the present status and take active measures .

Interfere with the  "function" that prints the message "CRITICAL" to
make it, for eg., "ssh -T host /etc/init.d/apache2 restart".

This email might be a little confusing cause I'm not thinking proper
english this morning, but I would be happy to help you in our both
mother language (portuguese) if you prefer.

Good luck for now,




  

  
  
  
   
  
  Leandro
Quibem Magnabosco
Consultor de TI
(48) 3251-5323
  leandro.magnabo...@fcdl-sc.org.br
  www.fcdl-sc.org.br
  Rua: Rafael Bandeira, 41
CEP. 88015-450  Florianópolis - SC
  
  

  

"Este é um e-mail oriundo da Federação das Câmaras de
Dirigentes Lojistas de Santa Catarina, e seu conteúdo é confidencial e
destinado exclusivamente a seu(s) destinatário(s), não podendo ser
copiado ou repassado,no todo ou em parte, a terceiros. Se esta mensagem
foi-lhe enviada por engano, pedimos o obséquio de entrar em contato
conosco.
This is an e-mail from the Federação das Câmaras de Dirigentes Lojistas
de Santa Catarina and its contents are privileged and confidential to
the ordinary user(s) of the e-mail address(es) to which it was
addressed, and no one else may copy or forward all or any of it in any
form. If this e-mail was sent to you in error, please contact us."



Leonardo Carneiro escreveu:

  hello everyone.

Started to play with Nagios a few days ago and i'm very excited with it. 
I have a very small setup (2 linux server being monitored via npre by a 
third linux server) and i'd wrote some bash scripts to monitor some of 
the services that we run on those services (proprietary services, 
non-standard ones like ssh, apache and that stuff).

I know Nagios can send sms, email and other things to warn 
administrators about problems, but can Nagios take any action to fix the 
problem, like restart the service if reach critical state, or restart 
the service if the service stays critical for more than 5 minutes?

If yes, can someone just point me to the direction i should go? :)

Tks in advance, and sorry about my poor english. I'm from Brazil.
  



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] can nagios take some pro-active actions?

2009-09-04 Thread Leandro Quibem Magnabosco
Title: Untitled Document




Very interesting idea, Allan.

I might implement something similar.
If you don't mind, could you share more about this implementation?

Cheers,




  

  
  
  
   
  
  Leandro
Quibem Magnabosco
Consultor de TI
(48) 3251-5323
  leandro.magnabo...@fcdl-sc.org.br
  www.fcdl-sc.org.br
  Rua: Rafael Bandeira, 41
CEP. 88015-450  Florianópolis - SC
  
  

  

"Este é um e-mail oriundo da Federação das Câmaras de
Dirigentes Lojistas de Santa Catarina, e seu conteúdo é confidencial e
destinado exclusivamente a seu(s) destinatário(s), não podendo ser
copiado ou repassado,no todo ou em parte, a terceiros. Se esta mensagem
foi-lhe enviada por engano, pedimos o obséquio de entrar em contato
conosco.
This is an e-mail from the Federação das Câmaras de Dirigentes Lojistas
de Santa Catarina and its contents are privileged and confidential to
the ordinary user(s) of the e-mail address(es) to which it was
addressed, and no one else may copy or forward all or any of it in any
form. If this e-mail was sent to you in error, please contact us."



Allan Clark escreveu:

  
  
  On Sep 3, 2009, at 13:18, Leandro Quibem Magnabosco <leandro.magnabo...@fcdl-sc.org.br>
wrote:
  
  
  
"Olá" Leonardo,

Please note that Nagios uses mostly scripts to check services/disk/etc.
and that those scripts that 'tell' nagios the status of the
service/daemon/disk/etc.
That said, I think you should not focus on Nagios to be proactive hence
that it's scripts could be used for that.

Let's say you have check_http configured to check www.example.com.
It would connect to www.example.com on port 80 and
report if it suceeds
on sending a cmd or not .
If something goes wrong, it would send a critical message back.
This does not mean that the script is necessarily alerting nagios about
the problem, it is alerting whatever called it in the first place.

What I mean is, you don't *need* nagios to be in the middle of it and
(IMO) you should not try to integrate it into this kind of solution
because it would just make things more complicated.

One simple way to implement that would be improving the scripts that
comes with nagios-plugins.
A "simple" if statement and some coding after it would do the trick.
If the script already has the capability to check the status of
something and be aware of the present status and take active measures .

Interfere with the  "function" that prints the message "CRITICAL" to
make it, for eg., "ssh -T host /etc/init.d/apache2 restart".

  
  
  
  I
have used the scripts from Nagios in a similar way: a project
("extotest") using Nagios plugins and autotools' autotest to check all
critical services before and after complex firewall ACL changes. It's
similar in that it leverages the good work of many contributors but
doesn't use the Nagios Core as an engine.
  
  
  In
your case, a cronjob might suffice:
  
  
  #!bash
  
  
  case
$(check_http -opt -opt) in
  OK*)
    
exit 0
    
;;
  *)
    
exec /etc/init.d/httpd restart
    
;;
  esac
  
  
  Allan
  --
  http://tech.chickenandporn.com/tags/nagios
  
  



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] NSCA - Distributed Configuracion

2007-04-11 Thread Leandro Rache Sanchez
Hello Nagios Community, it is my first mail, maybe this topic was responsed by 
you before, but i find that the documentation available for to configure 
nagios-nsca is not enought for me, I have 2 pcs with Centos 4.4, nagios 2.8, 
nsca and plugins, I need to configure one distributed monitoring with nagios, 
but i dont have specific documentation about each step required by this 
request, please help me with each step ( for client and server), some thinks 
are no easy for understand for me, but i have many experience with linux, 

Best regards, 

Leandro Rache Sanchez 
Director de Tecnología 
Hipertek Ltda 
011 - 57 1 - 520 1644 
011 - 57 1 - 213 1295 
Bogota, Colombia 
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
[EMAIL PROTECTED]
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