Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
I made some minor changes to the check_drbd script I uploaded. The first was a silly mistake I made in the 'expect' string. It should be just 'Connected' and not 'Connected st'. The second change was an attempt to check for drbd 0.7 or greater (which I don't yet use) and check the ld: field for Consistent. Brandon Poyner Network Engineer III CCAC - College Office 412-237-3086 > -----Original Message----- > From: drbd-user-bounces at linbit.com > [mailto:drbd-user-bounces at linbit.com] On Behalf Of Poyner, Brandon > Sent: Tuesday, July 05, 2005 11:07 AM > To: Maciej Bogucki > Cc: drbd-user at linbit.com > Subject: RE: [DRBD-user] drbd monitor with nagios > > My version of a check_drbd has a few more options. I've posted it on > nagiosexchange for those who are interested. > > http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi > 1[p_view]= > 296 > > Usage: check_drbd [-d device_number] [-e expect_string] [-p proc] [-r > role] > Options: > -d INTEGER [default: 0] > -e STRING [default: Connected st] > -p STRING [default: /proc/drbd] > -r STRING [example: Primary] > > $ check_drbd > DRBD OK: Device 0 Primary Connected st > $ check_drbd -r Secondary -d 1 > DRBD OK: Device 1 Secondary Connected st > $ check_drbd -e "Unconfigured st" -d 0 > DRBD CRITICAL: Device 0 state 'Connected st', Expect 'Unconfigured st' > > Brandon Poyner > Network Engineer III > CCAC - College Office > 412-237-3086 > > > > > -----Original Message----- > > From: Maciej Bogucki [mailto:maciej.bogucki at artegence.com] > > Sent: Tuesday, July 05, 2005 9:24 AM > > To: Poyner, Brandon > > Cc: drbd-user at linbit.com > > Subject: Re: [DRBD-user] drbd monitor with nagios > > > > I use nrpe too. Here is cool script what I have just found: > > http://www.unicolet.org/linux/drbdnagios.html > > I have had change something and it works and send fix to author. > > > > Best Regards > > Maciej Bogucki > > > > > > > > Poyner, Brandon wrote: > > > I wrote a drbd plugin to work with nrpe. It's functional > but I just > > > haven't gotten around to polishing it. If there's enough > > interest I can > > > try publishing it on nagiosexchange.org. > > > > > > Brandon Poyner > > > Network Engineer III > > > CCAC - College Office > > > 412-237-3086 > > > > > > > > > > > > > > >>-----Original Message----- > > >>From: drbd-user-bounces at linbit.com > > >>[mailto:drbd-user-bounces at linbit.com] On Behalf Of Maciej Bogucki > > >>Sent: Tuesday, July 05, 2005 8:13 AM > > >>To: drbd-user at linbit.com > > >>Subject: [DRBD-user] drbd monitor with nagios > > >> > > >>Hello, > > >> > > >>Does anybody have monitoring script of drbd status for nagios? > > >> > > >>Best Regards > > >>Maciej Bogucki > > >> > > >>_______________________________________________ > > >>drbd-user mailing list > > >>drbd-user at lists.linbit.com > > >>http://lists.linbit.com/mailman/listinfo/drbd-user > > > > > > > > > > > > > > > -- > > PGP key: > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9F74A406 > > Key fingerprint = 6E44 9A4A 8743 9936 1E92 A0B4 F2A8 87F7 9F74 A406 > > > > > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user >