Send Netdot-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."
Today's Topics:
1. [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.4-59-gc8fb4e5 ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Sun, 28 Apr 2013 09:48:23 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.4-59-gc8fb4e5
To: [email protected]
Message-ID: <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Netdot".
The branch, netdot-1.0 has been updated
via c8fb4e5a2eaf376f582135e03c428f13158712ca (commit)
from 3cfa3a0d69d41e758cfc68f4057f688f8ba33af2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c8fb4e5a2eaf376f582135e03c428f13158712ca
Author: Carlos Vicente <[email protected]>
Date: Sun Apr 28 10:23:26 2013 -0400
Correction
diff --git a/lib/Netdot/Exporter/Nagios.pm b/lib/Netdot/Exporter/Nagios.pm
index f99e716..acb2584 100644
--- a/lib/Netdot/Exporter/Nagios.pm
+++ b/lib/Netdot/Exporter/Nagios.pm
@@ -180,6 +180,7 @@ sub generate_configs {
next unless $monitored;
my $devh = $device_info->{$devid};
+ next unless $devh->{target_addr} && $devh->{target_version};
my $ip = Ipblock->int2ip($devh->{target_addr}, $devh->{target_version});
$hosts{$ip}{ip} = $ip;
@@ -333,6 +334,7 @@ sub generate_configs {
foreach my $ip_id ( sort keys %{$devh->{interface}->{$intid}->{ip}
} ){
my $iph = $devh->{interface}->{$intid}->{ip}->{$ip_id};
+ next unless $iph->{addr} && $iph->{version};
my $ip = Ipblock->int2ip($iph->{addr}, $iph->{version});
unless ( $devh->{target_id} == $ip_id ){
-----------------------------------------------------------------------
Summary of changes:
lib/Netdot/Exporter/Nagios.pm | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
hooks/post-receive
--
Netdot
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 73, Issue 12
********************************************