Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4399Themes and Skins13Add-ons753Documentation283Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Nagios Fusion Documentation Nagios Fusion – Conversion for VirtualBox
0.0 (0)
6.7K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)Julien DESMAREST (6)Chad Columbus (4)Davide Lemma (4)deskwork_itunes142 (4)
See More
Newest Contributors
smolinux (1)juanfertor (1)zsoltaire (1)RavuAlHemio (1)sowoii (1)
See More

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Der IT-Berater
DI

Der IT-Berater

@united-networking

User Stats

Member Since: February 2, 2016

Favorites0

Views

Projects0

No Projects Found
check_ipsec2

remote results via NRPE different

Hi, we want to use this script to remotely check VPN tunnels' status, executing this script with NRPE on an IPcop host. But there is no command which in our IPcop v2.1.9, although http://www.cobin.de/binary.php has a locate addon. We therefore replaced "which " with the full paths of files in check_ipcop2.sh. Also, in the scripts function check_connection(), in the line: eroutes=`$IPSECBIN whack --status | grep -e "IPsec SA established" | grep -e "$2" | wc -l` we believe the $2 should actually read $1. With these modifications, we were able to use the script locally: $ /var/ipcop/addons/nrpe/plugins/check_ipsec2_mod.sh -c tunnelname OK - tunnelname Connection is up and running Sadly, the same check done remotely on the Nagios host, with that same commandline above defined for NRPE as command check_tunnelname, does return a different result: /usr/local/nagios/libexec/check_nrpe -H ipcop-hostaddr -c check_tunnelname CRITICAL - tunnelname Connection is down This may only be a user rights problem, as the local test was done as root, but the nrpe service runs as user nagios. But there is no command su or sudo in our IPcop v2.1.9 (hence no /etc/sudoers), and we know of no suitable addon. -- regards, -- United Networking

Reviewed 10 years ago

No Favorites Found

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile