Re: [Nagios-users] Checking DHCP

2010-01-15 Thread Sho
The check_dhcp plugin should do the job. Though its lacks some 
monitoring functionality, it
can however tell if the DHCP server if up or not. Here's a snippet of my 
dhcp service config:

# dhcp server
define service{
use generic-service
host_name   dhcps.test.com
service_description DHCPv4
servicegroups   IPv4Services
check_command   check_dhcp! -i rl0
notifications_enabled   1
normal_check_interval   5
max_check_attempts  2
}

# 'check_dhcp' command definition
define command{
command_namecheck_dhcp
command_line$USER1$/check_dhcp $ARG1$
}

rl0 is the nagios's outgoing interface. If you know the IP address of 
the DHCP server, just specify
it like check_dhcp! -i rl0 -s 10.3.3.190 -u


Eduardo Barreto wrote:
> Hi All,
>
> Does anybody knows or have a clue on how to check a dhcp server, I've 
> tried direct no success and then I'm trying to monitor it through nrpe.
> I'll appreciate any help
>
> Thanks in advance
>
>
> Luiz Eduardo



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Warnings/errors with check_openmanage plugin

2010-01-15 Thread Gianluca Varenni
I updated it to 6.2, now I get this

r...@tinman:/home/nagios/plugins# ./check_openmanage -H homer -d
   System:  PowerEdge 750
   ServiceTag:  XXX  OMSA version:6.2.0
   BIOS/date:   A04 02/16/2005   Plugin version:  3.5.5-beta1
-
   Storage Components
=
  STATE  |ID|  MESSAGE TEXT
-+--+
 WARNING |0 | Controller 0 [CERC SATA 1.5/6ch]: Driver '4.1.0.7010' 
is out of date
 WARNING |0 | Controller 0 [CERC SATA 1.5/6ch]: Storport driver 
'5.2.3790.3959' is out of date
  OK |0 | Controller 0 [CERC SATA 1.5/6ch] is Degraded
  OK |0:0:0 | Physical Disk 0:0 [250GB] on ctrl -1 is Online
  OK |0:0:1 | Physical Disk 0:1 [250GB] on ctrl -1 is Online
  OK |  0:0 | Logical drive 0 'Windows Disk 0' [RAID-1, 232.80 GB] 
on ctrl 0 is Ready
  OK |  0:0 | Connector 0 [SATA] on controller 0 is Ready
-
   Chassis Components
=
  STATE  |  ID  |  MESSAGE TEXT
-+--+
  OK |1 | Memory module 1 [DIMM1_A, 512 MB] is Ok
  OK |2 | Memory module 2 [DIMM2_A, 512 MB] is Ok
  OK |3 | Memory module 3 [DIMM1_B, 512 MB] is Ok
  OK |4 | Memory module 4 [DIMM2_B, 512 MB] is Ok
  OK |1 | Chassis fan 1 [System Blower]: 3479
  OK |2 | Chassis fan 2 [System Memory Fan]: 8881
  OK |3 | Chassis fan 3 [System PCI Fan]: 6308
  OK |0 | Temperature Probe 0 [System Temp] reads 24 C (min=10/5, 
max=45/50)
  OK |1 | Temperature Probe 1 [CPU Temp] reads 35 C (min=10/5, 
max=80/85)
  OK |0 | Processor 0 [Intel Pentium 4 3.00GHz] is Enabled
  OK |0 | Voltage sensor 0 [CPU Voltage] is 1.345 V
  OK |1 | Voltage sensor 1 [Battery Voltage] is 3.136 V
  OK |2 | Voltage sensor 2 [2.6V MB] is 2.597 V
  OK |3 | Voltage sensor 3 [VTT Voltage] is 1.298 V
  OK |4 | Voltage sensor 4 [3.3V MB] is 3.356 V
  OK |5 | Voltage sensor 5 [3.3V AUX] is 3.373 V
  OK |6 | Voltage sensor 6 [5V MB] is 4.992 V
  OK |7 | Voltage sensor 7 [12V MB] is 12.250 V
  OK |8 | Voltage sensor 8 [5V AUX] is 5.031 V
  OK |9 | Voltage sensor 9 [2.5V VGA] is 2.503 V
  OK |   10 | Voltage sensor 10 [1.5V MB] is 1.485 V
  OK |   11 | Voltage sensor 11 [1.2V LAN1] is 1.225 V
  OK |   12 | Voltage sensor 12 [1.2V LAN2] is 1.216 V
  OK |0 | Chassis intrusion 0 detection: Ok (Not Breached)
-
   Other messages
=
  STATE  |  MESSAGE TEXT
-+---
  OK | ESM log health is Ok (less than 80% full)

INTERNAL ERROR: Use of uninitialized value in join or string at 
./check_openmanage line 1345.
INTERNAL ERROR: Use of uninitialized value in join or string at 
./check_openmanage line 1345.

Have a nice day
GV




--
From: "Trond Hasle Amundsen" 
Sent: Friday, January 15, 2010 2:10 AM
To: "Gianluca Varenni" 
Cc: 
Subject: Re: [Nagios-users] Warnings/errors with check_openmanage plugin

> "Gianluca Varenni"  writes:
>
>> I spoke too soon. The new build works ok on my T610 server, but it 
>> generates
>> an internal error on a 750 server
>>
>> r...@tinman:/home/nagios/plugins# ./check_openmanage -H homer -t 180 -d
>>System:  PowerEdge 750
>>ServiceTag:  XXX  OMSA version:5.0.0
>>BIOS/date:   XX   Plugin version:  3.5.5-beta1
>
> You're using OMSA 5.0.0 on that server, which is very old. The plugin is
> designed to work with OMSA 5.3 and later. Can you try upgrading OMSA to
> version 5.5.0?
>
> Cheers,
> -- 
> Trond H. Amundsen 
> Center for Information Technology Services, University of Oslo 


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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 w

Re: [Nagios-users] Cisco Aironet 1200 AccessPoints - SOLUTION

2010-01-15 Thread Richard Gliebe
On 1/7/10 3:04 PM Marc Powell wrote:

Hi all,

> Yes. You'll want to be cognizant of counter re-sets,
> counter roll-overs and the fact that the OID index for
> that specific interface may change on reboot so that
> you don't get strange results. You'll need to read current value
> compare with saved previous value/timestamp, save current
> value/timestamp, repeat at next run. You could also look
> for an existing plugin that suits your needs instead.
> You're not the first to want to do this. look for 

OK, I wrote my own scripts the check the In- and Output traffics from
the CISCO interfaces rad0 and fa0 and User connections to the Cisco 
Aironet 1200 APs.

Traffic crosschecks and graphs will be done by MRTG ;-)

If someone needs the scripts, just send an email to me.

Thanks for your hints.
Richard

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] NRPE - issue

2010-01-15 Thread Mr Gabriel

On 15/01/2010 16:42, akp geek wrote:

Dear all -
   I have installed nagios and also nrpe to monitor services 
on a different server. it is working fine. Some times I get emails that

CHECK_NRPE: Received 0 bytes from daemon.  Check the remote 
server logs for error messages. and  immediately after some time, I will get 
the recovery message also. Can you please help me why I am getting messages 
like this?
  
Regards


What type of load do you have on this server being monitored? And also, 
check your SSL options, make sure nrpe and nagios both are compiled with 
ssl.
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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

[Nagios-users] NRPE - issue

2010-01-15 Thread akp geek
Dear all -

   I have installed nagios and also nrpe to monitor services on a
different server. it is working fine. Some times I get emails that

   CHECK_NRPE: Received 0 bytes from daemon.  Check the
remote server logs for error messages. and  immediately after some
time, I will get the recovery message also. Can you please help me why
I am getting messages like this?



Regards
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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

[Nagios-users] How to define ATM circuit with PVCs

2010-01-15 Thread Christopher X. Candreva

I am using Nagios to monitor an ATM circuit that has multiple PVCs, some 
with a network behind them. 

Initially, I set up our router as a host, the ATM interface as a service, 
and the PVCs as services dependent on the ATM interface.

The problem with this is that there are hosts on the other end of those 
PVCs, and there is no way to make those 'hosts' dependent on a service -- in 
this case the ATM line itself.

What I ended up doing was making the ATM circuit it's own host, so that if 
that circuit is down, I don't get notified of everything on the other end of 
it that is down.

Is this "correct", or is there a better way to do it ?


==
Chris Candreva  -- ch...@westnet.com -- (914) 948-3162
WestNet Internet Services of Westchester
http://www.westnet.com/

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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


[Nagios-users] Squid SARG Reports Monitoring

2010-01-15 Thread Harald Böhmecke
Hi,

I need to monitor the Squid Reports that SARG creates. Basically, I need
to know if new reports were created each day.

I have no idea where I should start... any ideas?

Regards,

Harald
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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

[Nagios-users] send_nsca 64 bit problem

2010-01-15 Thread Ford, Andy
I'm trying to set up a collector and the nsca daemon on the central server is 
rejecting my packets:

nsca[10902]: Dropping packet with invalid CRC32 - possibly due to client using 
wrong password or crypto algorithm?

Obviously, I've triple-checked the password and algorithm settings, so that's 
not the problem.

I'm suspecting that since the collector is running a 64 bit version of SLES 
(10.2) and the central server is 32 bit SLES (10.2), that somehow the CRC is 
being generated differently between the two.

Another bit of evidence pointing to the suspected mismatch is that the 
collector in question can do send_nsca successfully to another 64 bit system.

Anyone else run into this or can think of a workaround to try?

Andy Ford
Network Security Compliance & Automation, Wells Fargo & Co.
Office: 314-955-6647
Cell (preferred): 314-600-7025
andrew.f...@wachovia.com

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] NRPE Parameter Problems

2010-01-15 Thread Marc Powell

On Jan 15, 2010, at 8:49 AM, NIgel Leach wrote:

> this was my first post to the list, so it was very encouraging to get such a
> quick, and useful, reply.

Thank *you* for taking the time to understand and work with such a vague-ish 
answer...

--
Marc



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Nagios Capacity

2010-01-15 Thread Marc Powell

On Jan 15, 2010, at 8:44 AM, Binbin Wang wrote:

> Thank you for your reply, I would like to give you some detail of our 
> monitoring environment. I configure nagnios on an Virtual Machine based on 
> 2x4Core CPU, 24G Memory physical machine, which runs 4 VMs. Service quantity 
> is 3814 and host quantity is 406. The service check latency is unstable, 
> always changed. Does any configuration error cause that problem? or Virtual 
> Machine capacity result it?
> Thanks a lot.

I can't speak to the problems that might occur in a virtual environment as I 
don't have any experience there but I expect that clock issues might lead to 
strange timing issues within nagios, especially if the host machine is heavily 
loaded Other than that, I'd suggest you look at Tips 2-7 of 
http://nagios.sourceforge.net/docs/3_0/tuning.html as a start.

--
Marc


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Nagios Alert emails -- Can we mod them?

2010-01-15 Thread Marc Powell

On Jan 15, 2010, at 8:32 AM, Mr Gabriel wrote:

> On my nagios alerts, can I include the web URL of the nagios instance 
> they came from? That way, from within the email notification, I can 
> click a link straight to either the nagios home page, or the nagios 
> acknowledgment page :)


The alerts are 100% customizable. Just look at the command{} definition for 
your notification commands. It should be fairly obvious what needs to be 
changed as they're just typical shell commands...

--
Marc
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] NRPE Parameter Problems

2010-01-15 Thread NIgel Leach
Marc Powell  ena.com> writes:

> 
> hmm. I don't see the original that Assaf is reponding to but comment
inline below for the OP --
> 
> > nigel.leach  uk.bnpparibas.com wrote:
> 
> >> Using variables, I can get the correct results from the command line;
> >> 
> >>command[check_adisk]=/usr/local/nagios/libexec/check_disk -w 
> >> $ARG1$ -c $ARG2$ -p $ARG3$
> 
> But is the check_nrpe command{} definition actually configured to pass the
$ARG2$, $ARG3$ and $ARG4$
> macros from the service definition above to the remote host? It doesn't look
like it is based on your
> results below. Post your check_nrpe command definition if you are unsure.
> 
> >> However, this does not work within Nagios GUI, all the parameters 
> >> passed are blank. I see this in syslog on the Client -
> 
> --
> Marc
> 

many thanks Marc, that was exactly my problem.

# diff commands.cfg commands.cfg.orig
23c23
< command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$...
---
> command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$

this was my first post to the list, so it was very encouraging to get such a
quick, and useful, reply.

cheers, Nigel



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Nagios Capacity

2010-01-15 Thread Binbin Wang

Thank you for your reply, I would like to give you some detail of our 
monitoring environment. I configure nagnios on an Virtual Machine based on 
2x4Core CPU, 24G Memory physical machine, which runs 4 VMs. Service quantity is 
3814 and host quantity is 406. The service check latency is unstable, always 
changed. Does any configuration error cause that problem? or Virtual Machine 
capacity result it?
Thanks a lot.
 
 




 Monitoring Performance









Service Check Execution Time:
0.03 / 71.65 / 0.582 sec

Service Check Latency:
0.00 / 7.60 / 1.140 sec

Host Check Execution Time:
0.00 / 0.00 / 0.000 sec

Host Check Latency:
0.00 / 0.00 / 0.000 sec

# Active Host / Service Checks:
406 / 3814

# Passive Host / Service Checks:
0 / 0

 









Monitoring Performance









Service Check Execution Time:
0.00 / 71.65 / 0.604 sec

Service Check Latency:
0.19 / 178.28 / 86.398 sec

Host Check Execution Time:
0.00 / 0.00 / 0.000 sec

Host Check Latency:
0.00 / 0.00 / 0.000 sec

# Active Host / Service Checks:
406 / 3814

# Passive Host / Service Checks:
0 / 0
 

 

 

 


 
> From: m...@ena.com
> Date: Fri, 15 Jan 2010 08:23:42 -0600
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Nagios Capacity
> 
> 
> On Jan 15, 2010, at 5:02 AM, Binbin Wang wrote:
> 
> > Hi all
> > 
> > I have one question about nagios capacity, According to my investigation, 
> > nagios server's capacity is about 3000 items. For example, 1000 hosts are 
> > defined on nagios servers, and every host offer 3 services monitoring, so 
> > total 3000 items are on one nagios server. If item quantity is beyond 3000, 
> > nagios performance will dramatically decline. Could someone give me the 
> > offical quantity about nagios capacity? thanks a lot.
> 
> 
> There's nothing official or even unofficial as there are too many variable 
> involved. Some of them are the type of hardware you're running it on, the 
> types of checks you are doing, the plugins you use and how frequently you 
> check. There's no formula for determining max capacity. It's an art more than 
> a science. The best you can expect is reports about what others have been 
> able to do. It's been discussed before here but it can be difficult to search 
> for...
> 
> 3000 is conservative and an easy number on modern hardware with mixed checks 
> running every 5 minutes. I have non-dedicated machines doing that easily on 
> older hardware. I expect that I can easily double, triple or more those 
> checks. There are people who have reported running 10,000+ checks on a single 
> machine (or even more than that).
> 
> --
> Marc
> 
> 
> --
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-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
  
_
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Parent /child issues

2010-01-15 Thread Assaf Flatto
Marc Powell wrote:
> On Jan 15, 2010, at 8:15 AM, Assaf Flatto wrote:
>
>   
>> Hello
>> I have come up with an issue I have not encountered in previous versions 
>> of nagios ( the issue is on 3.20 from source on SLES 10.2 64 bits ).
>>
>> I am trying to map a parent child relationships that match my physical 
>> network ( host connected to switch), and I am getting this error  SWITCH 
>> is not a valid parent for host 'HOST'!
>> 
>
> hm. The code bit that generates this error is --
>
> /* check all parent parent host */
> 
> for(temp_hostsmember=temp_host->parent_hosts;temp_hostsmember!=NULL;temp_hostsmember=temp_hostsmember->next){
>
> 
> if((temp_host2=find_host(temp_hostsmember->host_name))==NULL){
> logit(NSLOG_VERIFICATION_ERROR,TRUE,"Error: 
> '%s' is not a valid parent for host 
> '%s'!",temp_hostsmember->host_name,temp_host->name);
>
>
> I read this to indicate that the parents name you've specified (SWITCH) 
> doesn't have a valid host{} definition (i.e. doesn't exist). I could very 
> easily be reading this wrong though.
>
>   
>> Both HOST and SWITCH are on the same logical network ( 10.0.8.x ) , and 
>> from the manual it implies that since they are on the same subnet the 
>> definition i with to present is no longer valid in nagios (although it 
>> used to be in older versions).
>> 
>
> Not sure what you're reading here (reference?) but Nagios has no 
> understanding of addressing or subnets. It wouldn't know or care if they were 
> on the same subnet. It must be something else.
>
> --
> Marc
Sorry , I was an idiot . I move the directory that  contained my network 
objects to a new location and forgot to update the nagios.cfg .

Sorry for this .

Assaf


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Parent /child issues

2010-01-15 Thread Marc Powell

On Jan 15, 2010, at 8:15 AM, Assaf Flatto wrote:

> Hello
> I have come up with an issue I have not encountered in previous versions 
> of nagios ( the issue is on 3.20 from source on SLES 10.2 64 bits ).
> 
> I am trying to map a parent child relationships that match my physical 
> network ( host connected to switch), and I am getting this error  SWITCH 
> is not a valid parent for host 'HOST'!

hm. The code bit that generates this error is --

/* check all parent parent host */

for(temp_hostsmember=temp_host->parent_hosts;temp_hostsmember!=NULL;temp_hostsmember=temp_hostsmember->next){


if((temp_host2=find_host(temp_hostsmember->host_name))==NULL){
logit(NSLOG_VERIFICATION_ERROR,TRUE,"Error: 
'%s' is not a valid parent for host 
'%s'!",temp_hostsmember->host_name,temp_host->name);


I read this to indicate that the parents name you've specified (SWITCH) doesn't 
have a valid host{} definition (i.e. doesn't exist). I could very easily be 
reading this wrong though.

> Both HOST and SWITCH are on the same logical network ( 10.0.8.x ) , and 
> from the manual it implies that since they are on the same subnet the 
> definition i with to present is no longer valid in nagios (although it 
> used to be in older versions).

Not sure what you're reading here (reference?) but Nagios has no understanding 
of addressing or subnets. It wouldn't know or care if they were on the same 
subnet. It must be something else.

--
Marc


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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


[Nagios-users] Nagios Alert emails -- Can we mod them?

2010-01-15 Thread Mr Gabriel
On my nagios alerts, can I include the web URL of the nagios instance 
they came from? That way, from within the email notification, I can 
click a link straight to either the nagios home page, or the nagios 
acknowledgment page :)

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Nagios Capacity

2010-01-15 Thread Marc Powell

On Jan 15, 2010, at 5:02 AM, Binbin Wang wrote:

> Hi all
>  
> I have one question about nagios capacity, According to my investigation, 
> nagios server's capacity is about 3000 items. For example, 1000 hosts are 
> defined on nagios servers, and every host offer 3 services monitoring, so 
> total 3000 items are on one nagios server. If item quantity is beyond 3000, 
> nagios performance will dramatically decline. Could someone give me the 
> offical quantity about nagios capacity? thanks a lot.


There's nothing official or even unofficial as there are too many variable 
involved. Some of them are the type of hardware you're running it on, the types 
of checks you are doing, the plugins you use and how frequently you check. 
There's no formula for determining max capacity. It's an art more than a 
science. The best you can expect is reports about what others have been able to 
do. It's been discussed before here but it can be difficult to search for...

3000 is conservative and an easy number on modern hardware with mixed checks 
running every 5 minutes. I have non-dedicated machines doing that easily on 
older hardware. I expect that I can easily double, triple or more those checks. 
There are people who have reported running 10,000+ checks on a single machine 
(or even more than that).

--
Marc


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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


[Nagios-users] Parent /child issues

2010-01-15 Thread Assaf Flatto
Hello
I have come up with an issue I have not encountered in previous versions 
of nagios ( the issue is on 3.20 from source on SLES 10.2 64 bits ).

I am trying to map a parent child relationships that match my physical 
network ( host connected to switch), and I am getting this error  SWITCH 
is not a valid parent for host 'HOST'!

Both HOST and SWITCH are on the same logical network ( 10.0.8.x ) , and 
from the manual it implies that since they are on the same subnet the 
definition i with to present is no longer valid in nagios (although it 
used to be in older versions).

Is there a way for me to get the setting I need ?

Thanks

Assaf




--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] NRPE Parameter Problems

2010-01-15 Thread Marc Powell
hmm. I don't see the original that Assaf is reponding to but comment inline 
below for the OP --

> nigel.le...@uk.bnpparibas.com wrote:

>> Using variables, I can get the correct results from the command line;
>> 
>> Service definition on Header Node -
>> 
>>check_nrpe!check_adisk!20%!10%!/opt
>> 
>> Relates to the following in nrpe.cfg on the Client -
>> 
>>command[check_adisk]=/usr/local/nagios/libexec/check_disk -w 
>> $ARG1$ -c $ARG2$ -p $ARG3$

But is the check_nrpe command{} definition actually configured to pass the 
$ARG2$, $ARG3$ and $ARG4$ macros from the service definition above to the 
remote host? It doesn't look like it is based on your results below. Post your 
check_nrpe command definition if you are unsure.

>> However, this does not work within Nagios GUI, all the parameters 
>> passed are blank. I see this in syslog on the Client -
>> 
>>Added 
>> command[check_adisk]=/usr/local/nagios/libexec/check_disk-w $ARG1$ -c 
>> $ARG2$ -p $ARG3$
>>Handling the connection...
>>Host is asking for command \'check_adisk\' to be run...
>>> Running command: /usr/local/nagios/libexec/check_disk -w 
>> -c  -p
>>Command completed with return code 3 and output: Unknown 
>> argument Usage: check_disk -w limit -c limit [-W limit] [-K limit] {-p 
>> path | -x device} [-C] [-E] [-e] [-g group ] [-k] [-l] [-M] [-m] [-R 
>> path ] [-r path ] [-t timeout] [-u unit] [-v] [-X type]
>>Return Code: 3, Output: Unknown argument Usage: check_disk -w 
>> limit -c limit [-W limit] [-K limit] {-p path | -x device} [-C] [-E] 
>> [-e] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ] [-t 
>> timeout] [-u unit] [-v] [-X type]


--
Marc


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Beginer questions about check_http

2010-01-15 Thread Cosmin Neagu

Thanks allot, it make sens that way :)

Cosmin Neagu
NOC Team Leader
Str. I. G. Duca nr 36
Otopeni, Judetul Ilfov, 075100 Romania
Tel: 021 303 3159 / 0732 669 193
www.omnilogic.ro



Assaf Flatto wrote:

Cosmin Neagu wrote:
  

Hello everybody,

I'm using check_http to monitor a wab server where we have more than 3 
web address. Like:

www.example1.com
www.example2.com
www.example3.com...are all on the same server.


Is there a way to check the status for each site? I'm a little 
confused from reding the help of check_http, i have tried like:

libexec/check_http -H 194.81.149.12 -p 80 --url=/www.example1.com
libexec/check_http -H 194.81.149.12 -p 80 -P www.example1.com
libexec/check_http -H 194.81.149.12 -p 80 -s www.example1.com
But the output is not what i'm expecting.

Can someone tell me if this is even posible?

I think it should be something like this:
cos...@cacti-1:/usr/local/nagios> libexec/check_http -H 194.81.149.12 
-p 80 *-u www.example1.com*

HTTP WARNING: HTTP/1.1 400 Bad Request

But it gives me bad request, and i don't know why.
PS: of course that all the testing is done with the real web site and 
the correct ip address, not exemple1.com.



The best way to do that is to query the websites with the FQDN in the 
host address :


libexec/check_http -H www.example.com -p 80

that will resolve and send the query to the server with the URL and will 
trigger the vhost reply on the target host .


Assaf




--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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
  
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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

[Nagios-users] Nagios Capacity

2010-01-15 Thread Binbin Wang

Hi all

 

I have one question about nagios capacity, According to my investigation, 
nagios server's capacity is about 3000 items. For example, 1000 hosts are 
defined on nagios servers, and every host offer 3 services monitoring, so total 
3000 items are on one nagios server. If item quantity is beyond 3000, nagios 
performance will dramatically decline. Could someone give me the offical 
quantity about nagios capacity? thanks a lot.



 

Wang Binbin


 
  
_
Windows Live: Make it easier for your friends to see what you’re up to on 
Facebook.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Checking the time taken by a webpage to load

2010-01-15 Thread Assaf Flatto
shacky wrote:
> Hi.
>
> I'm thinking about a way to monitor the loading time of a webpage with Nagios.
>
> Do you have any idea or any hint?
>
> Thank you very much!
> Bye.
>
>   

Do you mean the amount of time the http test is getting when requesting 
a page ?
 ./check_http -H www.google.com
HTTP OK: HTTP/1.1 302 Found - 832 bytes in* 0.069 second response time 
|*time=0.069112s;;;0.00 size=832B;;;0

i think this is covered in the check_http plugin

-w, --warning=DOUBLE
Response time to result in warning status (seconds)
 -c, --critical=DOUBLE
Response time to result in critical status (seconds)
 -t, --timeout=INTEGER
Seconds before connection times out (default: 10)

Assaf

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] NRPE Parameter Problems

2010-01-15 Thread Assaf Flatto
nigel.le...@uk.bnpparibas.com wrote:
>
>
> I'm having problem with NRPE parameters while testing a new Nagios 
> installation.
>
> Header Node is running RHEL AS4 U6, and Nagios v3.2.0
>
> Client is running RHEL AS4 U4, and NRPE v2.12 (compiled with command 
> arguments, and with dont_blame_nrpe=1)
>
> Standard hardcoded nrpe disk checks work fine, for example;
>
> Service definition on Header Node -
>
> check_nrpe!check_home
>
> Relates to the following in nrpe.cfg on the Client -
>
> command[check_home]=/usr/local/nagios/libexec/check_disk -w 
> 20% -c 10% -p /home
>
> and returns -
>
> DISK OK - free space: /home 1878 MB (98% inode=99%);| 
> /home=34MB;1612;1813;0;2015
>
> Using variables, I can get the correct results from the command line;
>
> Service definition on Header Node -
>
> check_nrpe!check_adisk!20%!10%!/opt
>
> Relates to the following in nrpe.cfg on the Client -
>
> command[check_adisk]=/usr/local/nagios/libexec/check_disk -w 
> $ARG1$ -c $ARG2$ -p $ARG3$
>
> and I can enter this on the Header Node -
>
> #../../libexec/check_nrpe -H  -c check_adisk -a 20 10 
> /opt
> DISK OK - free space: /opt 432 MB (45% inode=97%);| 
> /opt=524MB;987;997;0;1007
>
> However, this does not work within Nagios GUI, all the parameters 
> passed are blank. I see this in syslog on the Client -
>
> Added 
> command[check_adisk]=/usr/local/nagios/libexec/check_disk-w $ARG1$ -c 
> $ARG2$ -p $ARG3$
> Handling the connection...
> Host is asking for command \'check_adisk\' to be run...
> >Running command: /usr/local/nagios/libexec/check_disk -w 
>  -c  -p
> Command completed with return code 3 and output: Unknown 
> argument Usage: check_disk -w limit -c limit [-W limit] [-K limit] {-p 
> path | -x device} [-C] [-E] [-e] [-g group ] [-k] [-l] [-M] [-m] [-R 
> path ] [-r path ] [-t timeout] [-u unit] [-v] [-X type]
> Return Code: 3, Output: Unknown argument Usage: check_disk -w 
> limit -c limit [-W limit] [-K limit] {-p path | -x device} [-C] [-E] 
> [-e] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ] [-t 
> timeout] [-u unit] [-v] [-X type]
>
> I'm conscious that I'm probably doing something very trivial wrong, 
> but can't get my head around why this should work on the command line, 
> and not via the GUI.
>
> Any help much appreciated.
>
> Regards
> Nigel
>
> Nigel Leach
> Grid Engineer | Front Office Risk Systems | BNP Paribas
> __
>   
I'd recommend to enable the nagios debug log and see how nagios is 
extrapolating the command for execution .

Once you do that and see how it is sent you can make sure to fix the 
command/service to provide the required results.

the debug  file definitions are at the bottom of the nagios.cfg file.

Assaf

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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


[Nagios-users] Checking the time taken by a webpage to load

2010-01-15 Thread shacky
Hi.

I'm thinking about a way to monitor the loading time of a webpage with Nagios.

Do you have any idea or any hint?

Thank you very much!
Bye.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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


[Nagios-users] NRPE Parameter Problems

2010-01-15 Thread nigel . leach
I'm having problem with NRPE parameters while testing a new Nagios 
installation.

Header Node is running RHEL AS4 U6, and Nagios v3.2.0

Client is running RHEL AS4 U4, and NRPE v2.12 (compiled with command 
arguments, and with dont_blame_nrpe=1)

Standard hardcoded nrpe disk checks work fine, for example;

Service definition on Header Node - 

check_nrpe!check_home

Relates to the following in nrpe.cfg on the Client -

command[check_home]=/usr/local/nagios/libexec/check_disk -w 20% -c 
10% -p /home

and returns -

DISK OK - free space: /home 1878 MB (98% inode=99%);| 
/home=34MB;1612;1813;0;2015

Using variables, I can get the correct results from the command line;

Service definition on Header Node - 

check_nrpe!check_adisk!20%!10%!/opt

Relates to the following in nrpe.cfg on the Client -

command[check_adisk]=/usr/local/nagios/libexec/check_disk -w 
$ARG1$ -c $ARG2$ -p $ARG3$

and I can enter this on the Header Node -

#../../libexec/check_nrpe -H  -c check_adisk -a 20 10 /opt
DISK OK - free space: /opt 432 MB (45% inode=97%);| 
/opt=524MB;987;997;0;1007

However, this does not work within Nagios GUI, all the parameters passed 
are blank. I see this in syslog on the Client -

Added command[check_adisk]=/usr/local/nagios/libexec/check_disk-w 
$ARG1$ -c $ARG2$ -p $ARG3$
Handling the connection...
Host is asking for command \'check_adisk\' to be run...
>Running command: /usr/local/nagios/libexec/check_disk -w  -c 
-p
Command completed with return code 3 and output: Unknown argument 
Usage: check_disk -w limit -c limit [-W limit] [-K limit] {-p path | -x 
device} [-C] [-E] [-e] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path 
] [-t timeout] [-u unit] [-v] [-X type]
Return Code: 3, Output: Unknown argument Usage: check_disk -w 
limit -c limit [-W limit] [-K limit] {-p path | -x device} [-C] [-E] [-e] 
[-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ] [-t timeout] [-u 
unit] [-v] [-X type]

I'm conscious that I'm probably doing something very trivial wrong, but 
can't get my head around why this should work on the command line, and not 
via the GUI.

Any help much appreciated.

Regards
Nigel

Nigel Leach
Grid Engineer | Front Office Risk Systems | BNP Paribas 
___
This communication is confidential, may be privileged and is meant only for the 
intended recipient. If you are not the intended recipient, please notify the 
sender by reply and delete the message from your system. Any unauthorised 
dissemination, distribution or copying hereof is prohibited.

BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, BNP Paribas 
Commodity Futures Limited, BNP Paribas Asset Management UK Limited and 
Investment Fund Services Limited are authorised and regulated by the Financial 
Services Authority.

BNP Paribas London Branch and BNP Paribas Wealth Management London Branch are 
authorised by the CECEI and supervised by the Commission Bancaire.  

BNP Paribas London Branch is authorised and subject to limited regulation by 
the Financial Services Authority. Details about the extent of our authorisation 
and regulation by the Financial Services Authority are available from us on 
request. BNP Paribas is also a member of the London Stock Exchange.

BNP Paribas Wealth Management London Branch is subject to limited regulation by 
the Financial Services Authority.  Details about the extent of our 
authorisation and regulation by the Financial Services Authority are available 
from us on request.  

BNP Paribas Securities Services London Branch is authorised by the CECEI and 
supervised by the AMF, and subject to limited regulation by the Financial 
Services Authority. Details on the extent of our regulation by the Financial 
Services Authority are available from us on request. BNP Paribas Securities 
Services is also a member of the London Stock Exchange.

BNP Paribas Trust Corporation UK Limited is registered in England and Wales 
(registered no. 4042668) at registered office 55 Moorgate, London EC2R 6PA.

BNP Paribas UK Limited is registered in England and Wales (registered no. 
1488108) at registered office 10 Harewood Avenue, London NW1 6AA.

BNP Paribas Commodity Futures Limited is registered in England and Wales 
(registered no. 2391477) at registered office 10 Harewood Avenue, London NW1 
6AA.

BNP Paribas Asset Management UK Limited is registered in England and Wales 
(registered no. 2474627) at registered office 10 Harewood Avenue, London NW1 
6AA.

Investment Fund Services Limited is registered in England and Wales (registered 
no. 6110770) at registered office 55 Moorgate, London EC2R 6PA.

BNP Paribas London Branch is registered in England and Wales (registered no. 
FC13447) at registered office 10 Harewood Avenue, London NW1 6AA.

BNP Paribas Wealth Management London Branch is registered in England and Wales 
(registered no. FC023

Re: [Nagios-users] Warnings/errors with check_openmanage plugin

2010-01-15 Thread Trond Hasle Amundsen
"Gianluca Varenni"  writes:

> I spoke too soon. The new build works ok on my T610 server, but it generates 
> an internal error on a 750 server
>
> r...@tinman:/home/nagios/plugins# ./check_openmanage -H homer -t 180 -d
>System:  PowerEdge 750
>ServiceTag:  XXX  OMSA version:5.0.0
>BIOS/date:   XX   Plugin version:  3.5.5-beta1

You're using OMSA 5.0.0 on that server, which is very old. The plugin is
designed to work with OMSA 5.3 and later. Can you try upgrading OMSA to
version 5.5.0?

Cheers,
-- 
Trond H. Amundsen 
Center for Information Technology Services, University of Oslo

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Monitor Axis Cameras -- Howto?

2010-01-15 Thread Mr Gabriel

> On 2010-01-14 15:36, Charles Breite wrote:
>
>> We have hundreds deployed and we only use ping to monitor them.
>>
>> -Original Message-
>> From: Marc Powell [mailto:m...@ena.com]
>> Sent: Thursday, January 14, 2010 8:03 AM
>> To: Nagios Mailinglist
>> Subject: Re: [Nagios-users] Monitor Axis Cameras -- Howto?
>>
>>
>> On Jan 14, 2010, at 3:41 AM, Mr Gabriel wrote:
>>
>>
>>  
>>> Dear All,
>>>
>>> I would like to know if it is possible to monitor Axis based security
>>> cameras via Nagios?
>>>
>>>
>> On 14/01/2010 15:25, Johannes Dagemark wrote:
>>> Some cameras has the possibility to detect motion and upload a snapshot
>>> over ftp. I once configured a camera to do this and then checked for
>>> newly uploaded files. Fairly simple and also pretty cool.
>>>
>>> With a custom plugin or by using urlize you could even get a link to a
>>> mugshot of the intruder attached to your email alert :)
> Cheers
> Johannes Dagemark


This is very similar to what I would like to achieve. The cameras have 
that feature built in already, they can FTP in the case of motion 
detected after certain hours, but I only wish to react if there are more 
than two cameras active within a short time period. It seems a custom 
plugin is the way to go here

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Warnings/errors with check_openmanage plugin

2010-01-15 Thread Trond Hasle Amundsen
"Gianluca Varenni"  writes:

>> The results from snmpwalk also looks OK, except for the fact that the
>> last number jumps from 1 to 4. Where is 2 and 3? The plugin assumes that
>> these indexes in the OIDs are sequential, which is clearly wrong. Though
>> this situation is rare (never seen it before) the plugin should deal and
>> the fact that it doesn't is a bug.
>>
>> I have a modified version of the plugin available here:
>>
>>  http://folk.uio.no/trondham/tmp/
>>
>> Can you give it a try to see if this one performs better?
>
> This new version works ok. Thanks!

Great :) Thanks for testing and for the bug report.

>> I'm curious about the cause of this problem. Have you perhaps created a
>> couple of virtual disks that were later deleted?
>
> Yes, definitely. I'm still playing with the configuration and testing of 
> this server, and I've deleted and recreated some virtual disks directly from 
> OMSA.
>
>> It would be interesting
>> to see if a restart of OMSA, reboot or powercycle resets the indexes,
>> but please help debug the plugin before attempting this :)
>
> I tried restarting the SNMP service on the server, and now I get a more 
> usual output from snmpwalk
>
> SNMPv2-SMI::enterprises.674.10893.1.20.140.1.1.1.1 = INTEGER: 1
> SNMPv2-SMI::enterprises.674.10893.1.20.140.1.1.1.2 = INTEGER: 2
> SNMPv2-SMI::enterprises.674.10893.1.20.140.1.1.2.1 = STRING: "Virtual Disk 
> 0"
> SNMPv2-SMI::enterprises.674.10893.1.20.140.1.1.2.2 = STRING: "DATA"
> SNMPv2-SMI::enterprises.674.10893.1.20.140.1.1.3.1 = STRING: "Windows Disk 
> 0"
> SNMPv2-SMI::enterprises.674.10893.1.20.140.1.1.3.2 = STRING: "Windows Disk 
> 1"

Rather surprising that all it took was an SNMP restart. But good to know
anyway :)

Cheers,
-- 
Trond Hasle Amundsen 
Gruppe for basis systemdrift (BSD), SAPP, USIT
Tel. +47 22840058 (office)

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Monitor Axis Cameras -- Howto?

2010-01-15 Thread Mr Gabriel
On 14/01/2010 14:02, Marc Powell wrote:
> On Jan 14, 2010, at 3:41 AM, Mr Gabriel wrote:
>
>
>> Dear All,
>>
>> I would like to know if it is possible to monitor Axis based security
>> cameras via Nagios?
>>  
> What are you wanting to monitor on them? It's been a long time since I've 
> used one but the ones I'm familiar with (similar to the current Axis 210 
> network camera) had an IP, so you could use check_ping to ping it and it had 
> a web server so you could use check_http to make sure that was answering. You 
> could probably come up with more sophisticated monitoring of the web 
> interface with webinject but I'm not sure what additional value would be 
> gained.
>
> --
> Marc
>
Thank you for your reply. I would like to monitor if they have detected 
any motion. For example, if two have detected motion in the last 5 
minutes after hours, we would like to receive an alert to this effect.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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