Re: [Nagios-users] New XIV plugin

2013-04-01 Thread Esteban Monge
>> Hello:
>>
>> I am writing one plugin for check XIV API, at the moment I can check:
>> CF
>> DIMM
>> Ethernet Cable
>> FAN
>> MODULES
>> PSU
>> UPS
>>
>> I am using Perl with Nagios::Plugins, also I am using IBM::XCLI(1)
>>
>> I add to original IBM::XCLI module the possibility of obtain only
>> modules
>> in raw format. But you can try with other checks.
>>
>> But I have problems with output, when I run the plugin in bash I get OK,
>> CRITICAL and UNKNOW results, but when Nagios run the check I get "Return
>> code of 9 is out of bounds."
>>
>>
>> I am not a Perl writers, it's my first plugin, I paste the code:
>>
>> #!/usr/bin/perl
>> # Copyright: Ton Voon, 2006
>> # Modified by Esteban Monge, 2013
>> #
>> # This is the script used in the Nagios Plugin lightning talk
>> # given by Ton Voon at FOSDEM 2007.
>> # See http://www.nagioscommunity.org for more details
>> #
>> # This script is available under GPLv2, though the ideas are
>> # public domain :)
>> #
>> # You will need to set the permissions of the script so it is executable
>>
>> # Get these plugins from CPAN
>> use Nagios::Plugin;
>> use Nagios::Plugin::Functions;
>> use IBM::XCLI;
>> use warnings;
>> use Switch;
>>
>> #Function for evaluate if any component isn't OK
>> sub print_array {
>> $end_code = 0;
>> local (@array) = @_;
>> foreach (@array) {
>> s/^"\|"$//g;
>> my(@array) = split /","/;
>> substr($array[0], 0, 1, '');
>> if ( $array[1] ne "Status" ) {
>> print
>> "Component:\t$array[0]\tStatus:\t$array[1]\n";
>> if ($array[1] ne "OK" ) {
>> $end_code = 2;
>> }
>> }
>> }
>> if ( $end_code eq 0 ) {
>> nagios_exit( 'OK', 'Full, full, perfect' );
>> }
>> if ( $end_code eq 2 ) {
>> nagios_exit( 'CRITICAL', 'Something is Wrong' );
>> }
>> }
>>
>> #Define xcli path usually /opt/XIVGUI/xcli
>> $xcli_path = "/opt/XIVGUI/xcli";
>> $np = Nagios::Plugin->new(
>> shortname => "Check_XIV.pl",
>> usage => "Usage: %s [-m] [-u] [-p] [-c]",
>>  );
>>
>> $np->add_arg(
>> spec => "machine|m=s",
>> help => "-m, --machine=IP. IP of XIV machine",
>> required => 1,
>> );
>>
>> $np->add_arg(
>> spec => "username|u=s",
>> help => "-u, --username=someuser. User account with read
>> permissions in XIVGUI",
>> required => 1,
>> );
>>
>> $np->add_arg(
>> spec => "password|p=s",
>> help => "-p, --password=somepassword. Valid password for the
>> user
>> of XIVGUI",
>> required => 1,
>> );
>>
>> $np->add_arg(
>> spec => "command|c=s",
>> help => "-c, --command=somecommand. One command from list_dimm",
>> required => 1,
>> );
>>
>> $np->getopts;
>>
>> my $xiv = IBM::XCLI->new(
>>   ip_address  =>  $np->opts->machine,
>>   username=>  $np->opts->username,
>>   password=>  $np->opts->password,
>>   xcli=>  $xcli_path,
>> );
>>
>> switch ($np->opts->command) {
>> case cf_list {
>> my @cf = $xiv->cf_list_raw();
>> print_array(@cf);
>> }
>> case dimm_list {
>> my @dimms = $xiv->dimm_list_raw();
>> print_array(@dimms);
>> }
>> case ethernet_cable_list {
>> my @ethernet_cable =
>> $xiv->ethernet_cable_list_raw();
>> print_array(@ethernet_cable);
>>

Re: [Nagios-users] New XIV plugin

2013-03-21 Thread Esteban Monge
> Hello:
>
> I am writing one plugin for check XIV API, at the moment I can check:
> CF
> DIMM
> Ethernet Cable
> FAN
> MODULES
> PSU
> UPS
>
> I am using Perl with Nagios::Plugins, also I am using IBM::XCLI(1)
>
> I add to original IBM::XCLI module the possibility of obtain only modules
> in raw format. But you can try with other checks.
>
> But I have problems with output, when I run the plugin in bash I get OK,
> CRITICAL and UNKNOW results, but when Nagios run the check I get "Return
> code of 9 is out of bounds."
>
>
> I am not a Perl writers, it's my first plugin, I paste the code:
>
> #!/usr/bin/perl
> # Copyright: Ton Voon, 2006
> # Modified by Esteban Monge, 2013
> #
> # This is the script used in the Nagios Plugin lightning talk
> # given by Ton Voon at FOSDEM 2007.
> # See http://www.nagioscommunity.org for more details
> #
> # This script is available under GPLv2, though the ideas are
> # public domain :)
> #
> # You will need to set the permissions of the script so it is executable
>
> # Get these plugins from CPAN
> use Nagios::Plugin;
> use Nagios::Plugin::Functions;
> use IBM::XCLI;
> use warnings;
> use Switch;
>
> #Function for evaluate if any component isn't OK
> sub print_array {
> $end_code = 0;
> local (@array) = @_;
> foreach (@array) {
> s/^"\|"$//g;
> my(@array) = split /","/;
> substr($array[0], 0, 1, '');
> if ( $array[1] ne "Status" ) {
> print
> "Component:\t$array[0]\tStatus:\t$array[1]\n";
> if ($array[1] ne "OK" ) {
> $end_code = 2;
> }
> }
> }
> if ( $end_code eq 0 ) {
> nagios_exit( 'OK', 'Full, full, perfect' );
> }
> if ( $end_code eq 2 ) {
> nagios_exit( 'CRITICAL', 'Something is Wrong' );
> }
> }
>
> #Define xcli path usually /opt/XIVGUI/xcli
> $xcli_path = "/opt/XIVGUI/xcli";
> $np = Nagios::Plugin->new(
> shortname => "Check_XIV.pl",
> usage => "Usage: %s [-m] [-u] [-p] [-c]",
>  );
>
> $np->add_arg(
> spec => "machine|m=s",
> help => "-m, --machine=IP. IP of XIV machine",
> required => 1,
> );
>
> $np->add_arg(
> spec => "username|u=s",
> help => "-u, --username=someuser. User account with read
> permissions in XIVGUI",
> required => 1,
> );
>
> $np->add_arg(
> spec => "password|p=s",
> help => "-p, --password=somepassword. Valid password for the user
> of XIVGUI",
> required => 1,
> );
>
> $np->add_arg(
> spec => "command|c=s",
> help => "-c, --command=somecommand. One command from list_dimm",
> required => 1,
> );
>
> $np->getopts;
>
> my $xiv = IBM::XCLI->new(
>   ip_address  =>  $np->opts->machine,
>   username=>  $np->opts->username,
>   password=>  $np->opts->password,
>   xcli=>  $xcli_path,
> );
>
> switch ($np->opts->command) {
> case cf_list {
> my @cf = $xiv->cf_list_raw();
> print_array(@cf);
> }
> case dimm_list {
> my @dimms = $xiv->dimm_list_raw();
> print_array(@dimms);
> }
> case ethernet_cable_list {
> my @ethernet_cable = $xiv->ethernet_cable_list_raw();
> print_array(@ethernet_cable);
> }
> case fan_list {
> my @fan = $xiv->fan_list_raw();
> print_array(@fan);
> }
> case module_list {
> my @module = $xiv->module_list_raw();
> print_array(@module);
> }
> case psu_list {
> my @psu = $xiv->psu_list_raw();
> print_array(@psu);
> }
> case ups_list {
> my @ups

Re: [Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-03-15 Thread Esteban Monge
>> * Esteban Monge  [2013-02-16 15:00]:
>>
>>> > This looks like you're using a send_nsca version < 2.9, where
>>> multiple
>>> > check results were seperated using newlines.  In that case, you'll
>>> have
>>> > to replace each newline character within multi-line output with the
>>> > literal string '\n'.
>>> >
>>> > With NSCA >= 2.9, multiple check results are seperated using ASCII
>>> ETB
>>> > characters (octal value: 27) instead of newlines, and multi-line
>>> output
>>> > can be piped into send_nsca as-is.  (Actually, converting the newline
>>> > characters into '\n' will no longer work with NSCA >= 2.9.)
>>>
>>> I have one situation with both versions:
>>> NSCA < 2.9 in clients and NSCA > 2.9 in server.
>>>
>>> Can send passive checks with "\n" for newline?
>>
>> Yes, replacing newline characters with the literal string '\n' should do
>> the trick in your case.
>>
>> Holger
>>
>>
> Thanks, I will work on that
>
>
I worked on that.

I have a text file with next data:
Nagios.DCCorpSSH 0   SSH OK - OpenSSH_5.5p1
Debian-6+squeeze2 (protocol 2.0)|time=0.420720s;;;0.00;10.00
Nagios.DCCorpProcess MySQL   0   PROCS OK: 1 process with
command name mysqld|
Nagios.DCCorpProcess NPCD0   PROCS OK: 1 process with
command name npcd|
Nagios.DCCorpProcess NSCA0   PROCS OK: 1 process with
command name nsca|
Nagios.DCCorpNTP Time0   NTP OK: Offset -0.01471853256
secs|offset=-0.014719s;60.00;120.00;

And send it with to central Nagios with:
cat results.sending |  /usr/local/nagios/bin/send_nsca -H HappyCentralHost
-c /usr/local/nagios/etc/send_nsca.cfg

But in central Nagios receive:
[1363376971] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;Nagios.DCCorp 
  SSH 0   SSH OK - OpenSSH_5.5p1 Debian-6+squeeze2 (protocol
2.0)|time=0.420720s;;;0.00;10.00\nNagios.DCCorpProcess
MySQL   0   PROCS OK: 1 process with command name
mysqld|\nNagios.DCCorpProcess NPCD0   PROCS OK: 1 process
with command name npcd|\nNagios.DCCorpProcess NSCA0  
PROCS OK: 1 process with command name nsca|\nNagios.DCCorpNTP Time
   0   NTP OK: Offset -0.01471853256
secs|offset=-0.014719s;60.00;120.00;

I have in both NSCA... I don't understand good how can put ASCII ETB at
the end of line.

I have the same problem about services, I had a service check with several
lines, via local SNMP:
Warning - blade11 (SN#OPS): Warning (SN#OPS) Blade incompatible with I/O
module configuration. blade12 (SN#OPS): Warning (SN#OPS) Blade
incompatible with I/O module configuration.

blade1 (HappyBlade1): Good No critical or warning events
blade4 (HappyBlade4): Good No critical or warning events
blade5 (HappyBlade5): Good No critical or warning events
blade6 (HappyBlade6): Good No critical or warning events
blade7 (SN#OPS): Good No critical or warning events
blade10 (HappyBlade6): Good No critical or warning events
blade11 (SN#OPS): Warning (SN#OPS) Blade incompatible with I/O module
configuration
blade12 (SN#OPS): Warning (SN#OPS) Blade incompatible with I/O module
configuration
blade13 (HappyBlade13): Good No critical or warning events

But when I send to central Nagios Only receive:
Warning - blade11 (SN#OPS): Warning (SN#OPS) Blade incompatible with I/O
module configuration. blade12 (SN#OPS): Warning (SN#OPS) Blade
incompatible with I/O module configuration.

--
>> The Go Parallel Website, sponsored by Intel - in partnership with
>> Geeknet,
>> is your hub for all things parallel software development, from weekly
>> thought
>> leadership blogs to news, videos, case studies, tutorials, tech docs,
>> whitepapers, evaluation guides, and opinion stories. Check out the most
>> recent posts - join the conversation now.
>> http://goparallel.sourceforge.net/
>> ___
>> Nagios-users mailing list
>> Nagios-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> __

[Nagios-users] Nagios documentation doubt

2013-03-15 Thread Esteban Monge
Hello I have big problems with active checks latencies in Nagios 3.4.4.
But I don't want make it responsable of the problem. In documentation  (1)
you can see this enhacenments:

48  ENHANCEMENTS
49  * Added service_check_timeout_state configuration variable (Bill
McGonigle)
50  * Permanently remove sleep on run_event == FALSE in main loop (Max
)
51  * Reduce notification load by moving notification viability check into
notification list creation (Opsview Team)
52  * Added code to apply allow_empty_hostgroup_assignment flag to host and
service dependencies (Daniel Wittenberg)
53  * Users can now see hostgroups and servicegroups that contain at least
one host or service they are authorized for, instead of having to be
authorized for them all (Ethan Galstad)
54  * RSS feed boxes fallback if an error occurs (Ethan Galstad)
55  * RSS feeds no longer block main page load (Mike Guthrie)

But in (2) you can see more Enhancements:
3.4.0 - 05/04/2012

ENHANCEMENTS
Use execv() to execute active check commands (#86 - Ton Voon, dnsmichi)
Added service_check_timeout_state configuration variable (Bill McGonigle)
Permanently remove sleep on run_event == FALSE in main loop (Max -
perldork at webwizarddesign.com)
Reduce notification load by moving notification viability check into
notification list creation (Opsview Team)
Added code to apply allow_empty_hostgroup_assignment flag to host and
service dependencies (Daniel Wittenberg)
Users can now see hostgroups and servicegroups that contain at least one
host or service they are authorized for, instead of having to be
authorized for them all (Ethan Galstad)
RSS feed boxes fallback if an error occurs (Ethan Galstad)
RSS feeds no longer block main page load (Mike Guthrie)

I am interested specially: Use execv() to execute active check commands
(#86 - Ton Voon, dnsmichi).

Can anyone tell which documentation it's the correct? It's Nagios 3.4 have
these new feature?

Thanks a lot!!!

(1)
http://nagios.svn.sourceforge.net/viewvc/nagios/nagioscore/branches/nagios-3-4-x/Changelog?revision=2665&view=markup
(2) http://www.nagios.org/projects/nagioscore/history/core-3x


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
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] New XIV plugin

2013-03-11 Thread Esteban Monge
Hello:

I am writing one plugin for check XIV API, at the moment I can check:
CF
DIMM
Ethernet Cable
FAN
MODULES
PSU
UPS

I am using Perl with Nagios::Plugins, also I am using IBM::XCLI(1)

I add to original IBM::XCLI module the possibility of obtain only modules
in raw format. But you can try with other checks.

But I have problems with output, when I run the plugin in bash I get OK,
CRITICAL and UNKNOW results, but when Nagios run the check I get "Return
code of 9 is out of bounds."


I am not a Perl writers, it's my first plugin, I paste the code:

#!/usr/bin/perl
# Copyright: Ton Voon, 2006
# Modified by Esteban Monge, 2013
#
# This is the script used in the Nagios Plugin lightning talk
# given by Ton Voon at FOSDEM 2007.
# See http://www.nagioscommunity.org for more details
#
# This script is available under GPLv2, though the ideas are
# public domain :)
#
# You will need to set the permissions of the script so it is executable

# Get these plugins from CPAN
use Nagios::Plugin;
use Nagios::Plugin::Functions;
use IBM::XCLI;
use warnings;
use Switch;

#Function for evaluate if any component isn't OK
sub print_array {
$end_code = 0;
local (@array) = @_;
foreach (@array) {
s/^"\|"$//g;
my(@array) = split /","/;
substr($array[0], 0, 1, '');
if ( $array[1] ne "Status" ) {
print
"Component:\t$array[0]\tStatus:\t$array[1]\n";
if ($array[1] ne "OK" ) {
$end_code = 2;
}
}
}
if ( $end_code eq 0 ) {
nagios_exit( 'OK', 'Full, full, perfect' );
}
if ( $end_code eq 2 ) {
nagios_exit( 'CRITICAL', 'Something is Wrong' );
}
}

#Define xcli path usually /opt/XIVGUI/xcli
$xcli_path = "/opt/XIVGUI/xcli";
$np = Nagios::Plugin->new(
shortname => "Check_XIV.pl",
usage => "Usage: %s [-m] [-u] [-p] [-c]",
 );

$np->add_arg(
spec => "machine|m=s",
help => "-m, --machine=IP. IP of XIV machine",
required => 1,
);

$np->add_arg(
spec => "username|u=s",
help => "-u, --username=someuser. User account with read
permissions in XIVGUI",
required => 1,
);

$np->add_arg(
spec => "password|p=s",
help => "-p, --password=somepassword. Valid password for the user
of XIVGUI",
required => 1,
);

$np->add_arg(
spec => "command|c=s",
help => "-c, --command=somecommand. One command from list_dimm",
required => 1,
);

$np->getopts;

my $xiv = IBM::XCLI->new(
  ip_address  =>  $np->opts->machine,
  username=>  $np->opts->username,
  password=>  $np->opts->password,
  xcli=>  $xcli_path,
);

switch ($np->opts->command) {
case cf_list {
my @cf = $xiv->cf_list_raw();
print_array(@cf);
}
case dimm_list {
my @dimms = $xiv->dimm_list_raw();
print_array(@dimms);
}
case ethernet_cable_list {
my @ethernet_cable = $xiv->ethernet_cable_list_raw();
print_array(@ethernet_cable);
}
case fan_list {
my @fan = $xiv->fan_list_raw();
print_array(@fan);
}
case module_list {
my @module = $xiv->module_list_raw();
print_array(@module);
}
case psu_list {
my @psu = $xiv->psu_list_raw();
print_array(@psu);
}
case ups_list {
my @ups = $xiv->ups_list_raw();
print_array(@ups);
}
else {
print "Invalid command\n";
nagios_exit( UNKNOWN, 'Verify XIV command' );
}
}



(1) http://search.cpan.org/~ltp/IBM-XCLI-0.5/lib/IBM/XCLI.pm


--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-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] Problem sending passive results using NSCA with multi-line output

2013-02-18 Thread Esteban Monge
> * Esteban Monge  [2013-02-16 15:00]:
>
>> > This looks like you're using a send_nsca version < 2.9, where multiple
>> > check results were seperated using newlines.  In that case, you'll
>> have
>> > to replace each newline character within multi-line output with the
>> > literal string '\n'.
>> >
>> > With NSCA >= 2.9, multiple check results are seperated using ASCII ETB
>> > characters (octal value: 27) instead of newlines, and multi-line
>> output
>> > can be piped into send_nsca as-is.  (Actually, converting the newline
>> > characters into '\n' will no longer work with NSCA >= 2.9.)
>>
>> I have one situation with both versions:
>> NSCA < 2.9 in clients and NSCA > 2.9 in server.
>>
>> Can send passive checks with "\n" for newline?
>
> Yes, replacing newline characters with the literal string '\n' should do
> the trick in your case.
>
> Holger
>
>
Thanks, I will work on that

--
> The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
> is your hub for all things parallel software development, from weekly
> thought
> leadership blogs to news, videos, case studies, tutorials, tech docs,
> whitepapers, evaluation guides, and opinion stories. Check out the most
> recent posts - join the conversation now.
> http://goparallel.sourceforge.net/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
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] Problem sending passive results using NSCA with multi-line output

2013-02-16 Thread Esteban Monge
> * Tech Support  [2013-02-13 11:58]:
>> foreach my $service ( @services ) {
>>
>> 
>>
>> $nsca_cmd .= "$nscahost\t$service\t$code\t$output";
>>
>> };
>>
>> my $retval = `$system /bin/echo -e "$nsca_cmd" | $nscaprog -H
>> $nagioshost -c
>> $nscacfg`;
>>
>> Like I said, Nagios is choking when the output contains multi-line
>> output.
>
> This looks like you're using a send_nsca version < 2.9, where multiple
> check results were seperated using newlines.  In that case, you'll have
> to replace each newline character within multi-line output with the
> literal string '\n'.
>
> With NSCA >= 2.9, multiple check results are seperated using ASCII ETB
> characters (octal value: 27) instead of newlines, and multi-line output
> can be piped into send_nsca as-is.  (Actually, converting the newline
> characters into '\n' will no longer work with NSCA >= 2.9.)
>
> Holger
>
>
I have one situation with both versions:
NSCA < 2.9 in clients and NSCA > 2.9 in server.

Can send passive checks with "\n" for newline?

--
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> ___
> 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
>



--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] EMnu... a little menu for expand Nagios

2013-01-18 Thread Esteban Monge
Hello:

I present a little menu for expand actions in Nagios. The idea is that you
can make ping o traceroute via pure PHP directly from Web CGIs or add more
actions to Nagios in a pretty way.

This script adds a little menu in Host Extended Info and Service Extended
Info.

At the moment you need a little of knowledge in PHP and HTML for make
modifications. I wrote a attempt of documentation but I dont write good
english. You need livestatus.

By default comes with ping and traceroute, you can enable in services
Dokuwiki documenting.

Can check the script in:
https://gitorious.org/emnu/

A little screenshot:
http://img717.imageshack.us/img717/323/shot201301032038332.jpg

If have a recommendations or suggestions are welcome


--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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 Exploit

2013-01-12 Thread Esteban Monge
> Fixed in the Nagios 3.4.4 release candidate, as well as in the Core 4
> trunk. Announced last week:
>
>> All,
>>
>> I have uploaded a release candidate tarball for Nagios Core 3.4.4 to
>> SourceForge. If you are so inclined, please download a copy from
>> https://sourceforge.net/projects/nagios/files/nagios-3.x/nagios-3.4.4/
>> and give it a test run. Any feedback would be appreciated. I plan to
>> create the release mid-week next week.
>>
>> The change log is as follows:
>>
>> * Fixed bug #408: service checks get duplicated on reload (Eric Stanley)
>> * Fixed bug #401: segmentation fault on Solaris when parsing unknown
>> timeperiod directives. (Eric Stanley)
>> * Added NULL pointer checks to CGI code. (Eric Stanley)
>> * Fixed buffer overflow vulnerability in CGI code. Thanks to Neohapsis
>> (http://archives.neohapsis.com/archives/fulldisclosure/2012-12/0108.html)
>> for
>> finding this. (Eric Stanley)
>>
>> Thanks,
>>
>> Eric
>

In security concerns is a good practice put versions affected. What
versions are affected?

>
>
>
>
> On 1/11/2013 11:58 AM, Leonardo - Mandic wrote:
>> Hello,
>>
>> Anybody have more informations about this exploit of Nagios?
>>
>> http://pastebin.com/FJUNyTaj
>>
>> Leonardo
>>
>>
>> --
>> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
>> much more. Get web development skills now with LearnDevNow -
>> 350+ hours of step-by-step video tutorials by Microsoft MVPs and
>> experts.
>> SALE $99.99 this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122812
>>
>>
>> ___
>> 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
>
>
> --
>
>
> Mike Guthrie
> Technical Team
> ___
> Nagios Enterprises, LLC
> Email:  mguth...@nagios.com
> Web:www.nagios.com
>
> --
> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
> much more. Get web development skills now with LearnDevNow -
> 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812___
> 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



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
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] Javascript - Nagios CGIs

2013-01-03 Thread Esteban Monge
>> Hi Esteban.
>>
>> I believe it is possible since we have many nagios interfaces made by
>> users. Something like editing the source code of the web page should do
>> the
>> trick.
>>
>> 2013/1/3 Esteban Monge 
>>
>>> Hi folks:
>>>
>>> Is it possible to insert Javascript code in Extra Actions icon for make
>>> a
>>> dropdown menu instead a link?
>>>
>>> The idea es add more than one link in the icon for different actions.
>>>
>>> Thanks
>>>
>
> OK... Can I obtain vía PHP/HTML/JavaScript without modify CGI some
> variables, such IP or HOSTNAME? For example adding HTML code to SSI share
> files
>

I make a SSI PHP script with pure CSS menu, I can adquire via URL the
hostname.

In the image can see the look, and for demonstrative purposes I printed
the hostname.

Now I need the IP, but via URL it's impossible, I have two options:
Via MK livestatus, I know how do it, but isn't standard and need
additional steps
Via pure Nagios tricks... I don't know how, status.cgi, status.dat ¿?
¡¡¡Help appreciated!!!

http://img717.imageshack.us/img717/323/shot201301032038332.jpg

>>>
>>>
>>> --
>>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>>> MVPs and experts. ON SALE this month only -- learn more at:
>>> http://p.sf.net/sfu/learnmore_122712
>>> ___
>>> 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
>>>
>>
>>
>>
>> --
>> Att.*
>> ***
>> Luis H. Forchesatto
>> Mail: luis_forchesa...@hotmail.com
>> --
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. ON SALE this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122712___
>> 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
>
>
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712
> ___
> 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
>



--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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] Javascript - Nagios CGIs

2013-01-03 Thread Esteban Monge
> Hi Esteban.
>
> I believe it is possible since we have many nagios interfaces made by
> users. Something like editing the source code of the web page should do
> the
> trick.
>
> 2013/1/3 Esteban Monge 
>
>> Hi folks:
>>
>> Is it possible to insert Javascript code in Extra Actions icon for make
>> a
>> dropdown menu instead a link?
>>
>> The idea es add more than one link in the icon for different actions.
>>
>> Thanks
>>

OK... Can I obtain vía PHP/HTML/JavaScript without modify CGI some
variables, such IP or HOSTNAME? For example adding HTML code to SSI share
files

>>
>>
>> --
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. ON SALE this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122712
>> ___
>> 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
>>
>
>
>
> --
> Att.*
> ***
> Luis H. Forchesatto
> Mail: luis_forchesa...@hotmail.com
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712___
> 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



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
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] Javascript - Nagios CGIs

2013-01-02 Thread Esteban Monge
Hi folks:

Is it possible to insert Javascript code in Extra Actions icon for make a
dropdown menu instead a link?

The idea es add more than one link in the icon for different actions.

Thanks


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
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] Viewing defined notifications for a specific contact/contact-group

2012-11-07 Thread Esteban Monge
> Hi list,
>
> Does anyone know of a way of or have a script that can print a list of
> all defined notifications that could be sent for a particular
> contact/contact-group?
>
> I want to list the notifications for a contact/contact-group so that I
> can see what they will be notified about so I can add anything that is
> missing, but I don't want to have to check each host/service
> individually.
>
> Thanks
>
> Steve
>
>
Hello:

Do you use MK Livestatus?


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Host Group Hierarchy In Web CGI?

2012-11-05 Thread Esteban Monge
> Thanks Esteban,
>
> That is exactly what I want to do, except I want the hierarchy to be on
> the Host Group Summary page the same way as the map. I need it to show
> groups in groups and not all groups on the same page.
>
> So in your example below I only want the "City Group" group to show on
> the Host Group Summary page in the Nagios cgi website.
>
> Surely there has to be a way to nest groups like this for the web cgi,
> otherwise it doesn't seem Nagios would scale well for thousands of
> hosts. Any I know there's servers running 10k+ hosts and services.
>
> We only have about 1,000 devices to monitor but I really would like only
> the cities to show as groups on the main page then drill down from
> there. Once you click on the city, I want site locations (Hub, CO, Colo,
> etc). Then core devices, all the way down to access layer of hosts. If
> not what other options to I have for management?
>
> It seems like it would be a nightmare if it was 1 flat later of groups.
>
> How is everyone else doing this?
>
> -Will

In my case, Nagios Web CGIs isn't the solution, may be you need make a
Nagvis map, is more user friendly and configurable, you can integrate
Nagvis in Nagios CGIs also.

=$

If you want make modifications to Nagios CGIs, you must modify the code


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Host Group Hierarchy In Web CGI?

2012-11-02 Thread Esteban Monge
> Hi List,
>
>
>
> I have searched to no avail. With Nagios Core, I understand how nagios
> object inheritance works, for this topic, host groups. But, is there a
> way to display in the web cgi, groups within groups? Like file system
> folder structure? For a simple example,
>
>
>
> City Group => Device1 Group => Hosts
>
> City Group => Device2 Group => Hosts
>
>
>
> So when displaying in the web cgi, you only see "City Group". You can
> then click on "City Group" and see "Device1 Group" and "Device2 Group".
>
>
>
> For a more slightly more complex example,
>
>
>
> City Group => CPE Group => Device1 Group => Hosts
>
> City Group => CPE Group => Device2 Group => Hosts
>
> City Group => Core Group => Hosts
>
>
>
> In this example, on the host group overview web cgi page, you only see
> "City Group". When clicking on "City Group" then you see "CPE Group" and
> "Core Group". If you click on "Core Group" you see core devices, but if
> you would have clicked on "CPE group", you see "Device1 Group" and
> "Device2 Group".
>
>
>
> I think this gives the idea of the question.
>
>
>
> Without this file/folder type structure I would have to create groups as
> below and they would all show up on the web cgi.
>
>
>
> City CPE Device1 Group => Hosts
>
> City CPE Device2 Group => Hosts
>
> City Core Group => Hosts
>
>
>
> Is this the only way? I'll do it this way if there's no other way with
> Nagios Core. I am not interested in using XI, or any paid frontends at
> this time. Thanks in advance.
>
>
>
> Best Regards,
>
> -Will
>

Do you want make a map with parents?

In my case I created a forever pending host for parents and a group with
the same name:
City Host parent of Device1 Group parent of Hosts
  parent of Device2 Group parent of Hosts

And make groups with the same name. The first is for draw a better map,
and the second is for Nagios logic

I dont know any way to make that.

Sorry for my bad english.


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Two PHP projects

2012-10-13 Thread Esteban Monge
Hello:

I am working in two php projects for Nagios.

The first is a Dashboard for see all critical and warning acknowledge or
not problems.

Can check one image here:
http://tinypic.com/view.php?pic=205ti7k&s=6

The other project is a Service Tree, similar to Service Status but with a
tree.

Can check one image here:
http://tinypic.com/view.php?pic=11rxkpi&s=6

I want learn more about internationalization and Nagios standards,
performance, the idea is free the projects for your pleasure!!!

I use Livestatus Slave (1) for work with them. I have two conditions:
-Pure PHP
-Pure CSS

No javascript.

I need learn also about git or version systems for upload the projects.

Thanks for you attention.

(1) http://nagios.larsmichelsen.com/livestatusslave/


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Linux Kernel Version

2012-06-29 Thread Esteban Monge
Hello you can use the next script to check version for:
Debian
Suse
Red Hat

You can modify for other distributions...

#!/bin/bash
##
# Identify and show the Linux Version
# Created by Esteban Monge
# emo...@gbm.net
# Version: 0.1
# 07/01/12
##

FILE=/etc/debian_version
if [ -f $FILE ]
then
 echo "Debian GNU/Linux "`cat /etc/debian_version`" con el kernel "`uname -r`
else
 FILE=/etc/system-release
 if [ -f $FILE ]
 then
  echo `cat /etc/system-release`" con el kernel "`uname -r`
 else
  FILE=/etc/SuSE-release
  if [ -f $FILE ]
  then
echo `cat /etc/SuSE-release`" KERNEL = "`uname -r`
  else
   FILE=/etc/redhat-release
   if [ -f $FILE ]
   then
echo `cat /etc/redhat-release`" con el kernel "`uname -r`
   else
echo "Otro sabor de Linux "`uname -rmvo`
   fi
  fi
 fi
fi



--
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] R: use_large_installation_tweaks

2012-04-07 Thread Esteban Monge

>
> Try out merlin instead of NSCA. It's far more efficient at passing checks
> between servers than NSCA.
>

Hello Andreas.

I have one server with NSCA, for accepting passive checks from 80 hosts
more or less.

The next step is replicate the same configuration in another server, for
example for the access of datacenters operators aroud Central America, if
the server is attacked, only crash a mirror and no the original server.

My question is... I use send_nsca and nsclient++, Can Merlin accept
packages from these clients? Or a can only install Merlin from send the
package of checks from the original server to the mirror?

Thanks for the help and sorry my bad english...


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] The router - two providers - only one can be up

2012-04-01 Thread Esteban Monge
> You could monitor this using Nagios BPI.  You can create a business
> process out of these two hosts and then monitor the business process so
> that you only get alerted if both hosts are down.
> http://exchange.nagios.org/directory/Addons/Components/Nagios-Business-Process-Intelligence-%28BPI%29/details
>
> It could be a little overkill if you only have to do this once, but if
> you have multiple scenarios like this it could come in handy.
>
>

Hello Mike... great alternative, casually I has installed Nagios BPI,
works great!!!

I has write a little spanish manual with this scenario, I can share with
you for documentantion... also can translate to english.


> On 3/30/2012 9:25 AM, Esteban Monge wrote:
>> Hi folks:
>>
>> I have the following scenario:
>> One router with two interfaces, each interfaces have one different
>> internet provider.
>>
>> When the primary link is up, the secundary link is down, when the
>> primary
>> internet provider fails, the secundary link up and waiting to solve the
>> problem of the primary link.
>>
>> I have configured this scenario with two hosts differents:
>> fuck_router_provider1
>> fuck_router_provider2
>>
>> But always I have one host down... the quick and dirty solution is
>> disable
>> notifications for secundary link and check with ping manually after but
>> not practical.
>>
>> Can I tell to Nagios that if primary link if up, not alert me about the
>> secundary link? How? With host dependency?
>>
>> Thanks for your help...
>>
>>
>> --
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> ___
>> 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
>
>
> --
>
>
> Mike Guthrie
> Technical Team
> ___
> Nagios Enterprises, LLC
> Email:  mguth...@nagios.com
> Web:www.nagios.com
>
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> 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 email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
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] The router - two providers - only one can be up

2012-04-01 Thread Esteban Monge
> Looked at check_cluster?
>
> -Seth
>
> Sent from my mobile device, please forgive the typos.

Hello Seth, thanks for you help... I can use Nagios BPI...

>
> On Mar 30, 2012, at 11:58 AM, Mike Guthrie  wrote:
>
>> You could monitor this using Nagios BPI.  You can create a business
>> process out of these two hosts and then monitor the business process so
>> that you only get alerted if both hosts are down.
>> http://exchange.nagios.org/directory/Addons/Components/Nagios-Business-Process-Intelligence-%28BPI%29/details
>>
>> It could be a little overkill if you only have to do this once, but if
>> you have multiple scenarios like this it could come in handy.
>>
>>
>> On 3/30/2012 9:25 AM, Esteban Monge wrote:
>>> Hi folks:
>>>
>>> I have the following scenario:
>>> One router with two interfaces, each interfaces have one different
>>> internet provider.
>>>
>>> When the primary link is up, the secundary link is down, when the
>>> primary
>>> internet provider fails, the secundary link up and waiting to solve the
>>> problem of the primary link.
>>>
>>> I have configured this scenario with two hosts differents:
>>> fuck_router_provider1
>>> fuck_router_provider2
>>>
>>> But always I have one host down... the quick and dirty solution is
>>> disable
>>> notifications for secundary link and check with ping manually after but
>>> not practical.
>>>
>>> Can I tell to Nagios that if primary link if up, not alert me about the
>>> secundary link? How? With host dependency?
>>>
>>> Thanks for your help...
>>>
>>>
>>> --
>>> This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure
>>> ___
>>> 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
>>
>>
>> --
>>
>>
>> Mike Guthrie
>> Technical Team
>> ___
>> Nagios Enterprises, LLC
>> Email:  mguth...@nagios.com
>> Web:www.nagios.com
>>
>>
>> --
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> ___
>> 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 email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> 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 email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
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] The router - two providers - only one can be up

2012-03-30 Thread Esteban Monge
Hi folks:

I have the following scenario:
One router with two interfaces, each interfaces have one different
internet provider.

When the primary link is up, the secundary link is down, when the primary
internet provider fails, the secundary link up and waiting to solve the
problem of the primary link.

I have configured this scenario with two hosts differents:
fuck_router_provider1
fuck_router_provider2

But always I have one host down... the quick and dirty solution is disable
notifications for secundary link and check with ping manually after but
not practical.

Can I tell to Nagios that if primary link if up, not alert me about the
secundary link? How? With host dependency?

Thanks for your help...


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
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] NDOUtils 1.4 and database trimm

2012-02-13 Thread Esteban Monge
Hello:

I am using NDOUtils 1.4b9.

I want trimm table logentries.

I take a log to ndo2utils.cfg and only have:

max_timedevents_age=1440
max_systemcommands_age=10080
max_servicechecks_age=10080
max_hostchecks_age=10080
max_eventhandlers_age=44640
max_externalcommands_age=44640

There any max_logentries_age similar parameter?

These table eats 2GB of space and never trimm

Thanks


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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