summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_ifoperstatus.pl
AgeCommit message (Collapse)AuthorFilesLines
2015-10-04change exit code to unknown on help and version infoSven Nierlein1-3/+3
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-10-02drop superfluous libexecdirElan Ruusamäe1-1/+0
utils.pm locate is already convered by FindBin
2014-07-06Don't rely on FindBin module to locate utils.pmHolger Weiss1-0/+1
As the FindBin module doesn't work with ePN, set the path to utils.pm explicitly at build time. Keep using FindBin additionally, so that the plugins can also be executed from the build directory. Closes #1271.
2014-02-28Replace "plugins-scripts/subst.in" fooHolger Weiss1-2/+2
Remove the buggy and complex awk(1) magic in "plugins-scripts/subst.in" in favor of simple sed(1) substitutions. The plugins in the "plugins-scripts" directory now always use the PATH specified via "./configure --trusted-path", or the default PATH hard-coded in "configure.ac". Fixes #1242.
2014-02-28Merge remote-tracking branch 'awiddersheim/fix_trusted_path'Holger Weiss1-0/+4
* awiddersheim/fix_trusted_path: Fix trusted path Conflicts: plugins-scripts/check_ntp.pl plugins-scripts/subst.in Closes #1212.
2014-02-27utils.pm: use FindBin instead of awk to find the path toEvgeni Golov1-1/+2
'use lib utils.pm' is not valid Perl syntax: Bareword "utils" not allowed while "strict subs" in use at plugins-scripts/check_ircd.pl line 52. Bareword "pm" not allowed while "strict subs" in use at plugins-scripts/check_ircd.pl line 52. This makes it impossible to use the plugins directly from the git tree, e.g. while hacking on them. Using FindBin::Bin as the library path allows that, while preserving the original behaviour of adding the libexec path when the plugin is properly installed.
2014-01-22fix outdated Free Software Foundation addressLars Vogdt1-1/+2
2014-01-19Project rename initial commit.Monitoring Plugins Development Team1-5/+5
This is an initial take at renaming the project to Monitoring Plugins. It's not expected to be fully complete, and it is expected to break things (The perl module for instance). More testing will be required before this goes mainline.
2013-10-22Fix trusted pathrefs/pull/1212/headawiddersheim1-0/+4
When configuring the plugins you have the option to specify a trusted path with --with-trusted-path. This option seems to have been deprecated at some point for unknown reasons and had typically had no affect. This commit makes this option work again for those who have a desire to use it. There should be no affect on those who have not chosen to specify a trusted path.
2009-06-11renamed check_ifoperstatus' newly introdced -x to -P so it fits check_ifstatusMatthias Eble1-2/+2
check_ifstatus already used -x so both plugins can use same short option, now. to specify privacy protocol.
2009-06-11minor fixes to check_ifoperstatusMatthias Eble1-3/+3
Minor output fixes for check_ifoperstatus. Fixed typo so that -n now implies -I as documented.
2009-06-11check_ifoperstatus is now more user friendly in case of missing argumentsMatthias Eble1-29/+25
Added proper usage messages in case of missing arguments. Removed accidently committed Data::Dumper call. Minor whitespace fixes.
2009-06-10Whitespace and indent fixes for check_ifoperstatusMatthias Eble1-109/+103
2009-06-10Fixed SNMPv3 behaviour of check_ifoperstatus. Added -x to define ↵Matthias Eble1-71/+39
privprotocol (#2343438 - Robin Schroeder) check_ifoperstatus didn't function correctly with SNMPv3. This is fixed now. Created argument-hash for SNMP session creation. This removes redundant code. Session creation was moved out of process_arguments() and now takes place after setting the timeout handler. Additionally the -x argument was added to specify the privprotocol.
2008-11-23Removing CVS/SVN tags and replacing with git-based versioningThomas Guyot-Sionnest1-3/+2
For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
2008-10-22check_ifoperstatus -n flag now works as expected (sf.net #1569488)Matthias Eble1-19/+29
check_ifoperstatus now supports ifType based lookup for ifIndex git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2061 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-16Fix bogus 'eq ( || )' constructions in check_ifoperstatus.pl.Gavin Carr1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1642 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-07Option to check for admin down (#1012191) from Raúl Pedroche.Matthew Kent1-5/+15
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1010 f882894a-f735-0410-b71e-b25c423dba1c
2003-11-05 added plugin timeout optionsSubhendu Ghosh1-7/+14
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@758 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-14snmpv3 patchesSubhendu Ghosh1-91/+224
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@746 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-12added timeout alarmSubhendu Ghosh1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@318 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-15new exit states, more conditional checkingSubhendu Ghosh1-28/+128
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@110 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-09migrated check_ifoperstatus to standard pluginSubhendu Ghosh1-0/+255
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@28 f882894a-f735-0410-b71e-b25c423dba1c