A large number of our systems have dual port network cards and I'm wondering if there is an easy way to monitor if a particular interface is down.
Each adapter has the following information in the client data,
General Statistics:
No mbuf Errors: 0 Adapter Reset Count: 1 Adapter Data Rate: 2000 Driver Flags: Up Broadcast Running Simplex 64BitSupport ChecksumOffload PrivateSegment LargeSend DataRateSet
I'm wondering if I could check the value highlighted and alert if it is not "up" without having to write an external script to do it?
I can't see anything in the analysis.cfg man page so I thought I'd ask here.
Thanks,
Neil Simmonds
Operation Analyst (Operations Support Group) Express Gifts Limited
Express House
Clayton Business Park
Accrington
Lancashire
BB5 5JY T: 01254 303092 | E: neil.simmonds at Express-Gifts.co.uk
Name & Registered Office: EXPRESS GIFTS LIMITED, 2 GREGORY ST, HYDE, CHESHIRE, ENGLAND, SK14 4TH, Company No. 00718151. Express Gifts Limited is authorised and regulated by the Financial Services Authority
NOTE: This email and any information contained within or attached in a separate file is confidential and intended solely for the Individual to whom it is addressed. The information or data included is solely for the purpose indicated or previously agreed. Any information or data included with this e-mail remains the property of Findel PLC and the recipient will refrain from utilising the information for any purpose other than that indicated and upon request will destroy the information and remove it from their records. Any views or opinions presented are solely those of the author and do not necessarily represent those of Findel PLC. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. No warranties or assurances are made in relation to the safety and content of this e-mail and any attachments. No liability is accepted for any consequences arising from it. Findel Plc reserves the right to monitor all e-mail communications through its internal and external networks. If you have received this email in error please notify our IT helpdesk on +44(0) 1254 303030
On 05-01-2012 16:45, Neil Simmonds wrote:
A large number of our systems have dual port network cards and I’m wondering if there is an easy way to monitor if a particular interface is down.
Each adapter has the following information in the client data,
General Statistics:
No mbuf Errors: 0 Adapter Reset Count: 1 Adapter Data Rate: 2000 Driver Flags:Up Broadcast Running [snip] I’m wondering if I could check the value highlighted and alert if it is not “up” without having to write an external script to do it?
Not out of the box, you'll have to do some scripting yourself.
Since it's a large number of systems and you already have the data available in the client data, it seems an obvious candidate for a server-side module.
Take a look at the "xymond_rootlogin.pl script in the Xymon sources (you'll find it in the xymond directory). Adapting this to fit your needs should be a rather simple job for someone who is familiar with Perl programming (sad to say, I'm not).
Regards, Henrik
I didn't test it and it has been quite some time, but I bonded two NICs for failover to the same switch. If one interface was down it put something in /var/log/messages. I monitored that entry.
Not saying this is a good, tested or even working approach, but that is what I did years ago.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Thu, Jan 5, 2012 at 4:32 PM, Henrik Størner <henrik at hswn.dk> wrote:
On 05-01-2012 16:45, Neil Simmonds wrote:
A large number of our systems have dual port network cards and I’m wondering if there is an easy way to monitor if a particular interface is down.
Each adapter has the following information in the client data,
General Statistics:
No mbuf Errors: 0 Adapter Reset Count: 1 Adapter Data Rate: 2000 Driver Flags:Up Broadcast Running
[snip]
I’m wondering if I could check the value highlighted and alert if it is not “up” without having to write an external script to do it?
Not out of the box, you'll have to do some scripting yourself.
Since it's a large number of systems and you already have the data available in the client data, it seems an obvious candidate for a server-side module.
Take a look at the "xymond_rootlogin.pl script in the Xymon sources (you'll find it in the xymond directory). Adapting this to fit your needs should be a rather simple job for someone who is familiar with Perl programming (sad to say, I'm not).
Regards, Henrik
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (3)
-
henrik@hswn.dk
-
josh@imaginenetworksllc.com
-
Neil.Simmonds@express-gifts.co.uk