Menu

#26 snmp_check_int.pl regex problem

open
nobody
None
5
2008-07-04
2008-07-04
Harald Zahn
No

Hello,
I have a nice problem using check_snmp_in.pl again an W2K3-Server in an VMWare:
The Interfaces are named:
Ethernet-Adapter der AMD-PCNET-Familie
Ethernet-Adapter der AMD-PCNET-Familie #2
It is no Problem to seperate the second Card (with -n 'Ethernet-Adapter der AMD-PCNET-Familie .2').
But when I try to separate the first Card I got no success.
With
-n 'Ethernet-Adapter der AMD-PCNET-Familie'
I get both adapters (as expected).
With
-r -n 'Ethernet-Adapter der AMD-PCNET-Familie'
I get
ERROR: Unknown interface Ethernet-Adapter der AMD-PCNET-Familie
With
-n 'Ethernet-Adapter der AMD-PCNET-Familie$'
I get
ERROR: Unknown interface Ethernet-Adapter der AMD-PCNET-Familie$

What is my problem?

Thanks

Harald

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.