Xymon Mailing List Archive search

Netapp.pl snapmirror rules howto ?

4 messages in this thread

list Heino Walther · Tue, 2 Dec 2008 16:47:19 +0100 ·
Hi there

I'm trying to tweak the netapp.pl ext-script to accommodate snapmirror rules, and I ran into a problem...

In the netapp.ini file there are some descriptions about how to define your own rules, but I keep getting errors when I try to define my own.

Just to check that I have understood it correct, you are supposed to make a line called:

Rule1=source:destination:...etc..
And then a line where you use the rule you defined.
Snapmirrorcheck=Rule1

The problem is that I have some specific snapmirrors which I would like to ignore, and others which I would like to monitor normally...

Example:

SourceFiler:volume
DestinationFiler:volume

When you define a rule, the separator is ":" which is also a part of the source and destination...  are you able to escape this like this:

Rule1=SourceFiler\:volume:DestinationFiler\:volume:options:etc....

I think an example from someone who uses this would be the best help for me ;-)


I hope someone uses this somewhat old script :)

/Heino
list Henrik Størner · Tue, 2 Dec 2008 21:33:12 +0000 (UTC) ·
In <user-5113110e4db8@xymon.invalid> Heino Walther <user-7d2536079eb1@xymon.invalid> writes:
I'm trying to tweak the netapp.pl ext-script to accommodate snapmirror rule=
s, and I ran into a problem...
I'm not using either, but when merging the hobbit-perl-client code I noticed
that this also has support for the NetApp systems, and snapmirror appears
to be one of the things it keeps track of. Might be worth a look.

http://hobbit-perl-cl.sf.net/


Regards,
Henrik
list Raymond Storer · Tue, 2 Dec 2008 17:03:12 -0500 ·
Henrik,

I cannot get the below link to work right now.  This one does though: http://sourceforge.net/projects/hobbit-perl-cl

Ray
quoted from Henrik Størner

-----Original Message-----
From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Tuesday, December 02, 2008 4:33 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Netapp.pl snapmirror rules howto ?

In <user-5113110e4db8@xymon.invalid> Heino Walther <user-7d2536079eb1@xymon.invalid> writes:
I'm trying to tweak the netapp.pl ext-script to accommodate snapmirror rule=
s, and I ran into a problem...
I'm not using either, but when merging the hobbit-perl-client code I noticed
that this also has support for the NetApp systems, and snapmirror appears
to be one of the things it keeps track of. Might be worth a look.

http://hobbit-perl-cl.sf.net/


Regards,
Henrik


CONFIDENTIALITY NOTICE:  This email and any attachments are for the
exclusive and confidential use of the intended recipient.  If you are not
the intended recipient, please do not read, distribute or take action in
reliance upon this message. If you have received this in error, please
notify us immediately by return email and promptly delete this message
and its attachments from your computer system. We do not waive
attorney-client or work product privilege by the transmission of this
message.
list Heino Walther · Wed, 3 Dec 2008 07:52:13 +0100 ·
Well that's excatly what I'm using :-)
Sorry for not describing it better, but netapp.pl is part of the hobbit-perl-client.

/Heino
quoted from Raymond Storer
I'm trying to tweak the netapp.pl ext-script to accommodate snapmirror rule=
s, and I ran into a problem...
I'm not using either, but when merging the hobbit-perl-client code I noticed
that this also has support for the NetApp systems, and snapmirror appears
to be one of the things it keeps track of. Might be worth a look.

http://hobbit-perl-cl.sf.net/


Regards,
Henrik