From gjohnson@trantor.org Wed Jun 24 08:15:22 2026 From: gjohnson@trantor.org To: xymon@xymon.com Subject: perl script Date: Thu, 15 Feb 2007 23:06:08 -0500 Message-ID: <45D52DB0.2090409@trantor.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4861931142706198623==" --===============4861931142706198623== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit I've added the perl script example that Henrik provided late January to the tutorials page on The Shire. http://www.trantor.org/theshire/doku.php/tutorials:ssmodule Hopefully, Henrik won't mind. (I may be "borrowing" some of Henrik's content for the other tutorials yet to be written...of course, if someone would like to volunteer the tutorials I'd be happy to consider them for addition). If you have other ideas about tutorials or FAQs, please let me know. I'm trying to make more time for the site (interestingly, I showed a manager from one of our other groups Hobbit in passing one day...he just happened to have been looking for an easy to setup/configure monitoring solution...he's been singing the praises of Hobbit since) =G= --===============4861931142706198623==-- From vadud3@gmail.com Wed Jun 24 08:18:56 2026 From: vadud3@gmail.com To: xymon@xymon.com Subject: [hobbit] perl script Date: Wed, 13 May 2009 16:18:42 -0400 Message-ID: In-Reply-To: <45D52DB0.2090409@trantor.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8131585434309990732==" --===============8131585434309990732== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Fri, Feb 16, 2007 at 12:06 AM, Galen Johnson wrot= e: > I've added the perl script example that Henrik provided late January to the > tutorials page on The Shire. > http://www.trantor.org/theshire/doku.php/tutorials:ssmodule > > Hopefully, Henrik won't mind. (I may be "borrowing" some of Henrik's > content for the other tutorials yet to be written...of course, if someone > would like to volunteer the tutorials I'd be happy to consider them for > addition). If you have other ideas about tutorials or FAQs, please let me > know. I'm trying to make more time for the site (interestingly, I showed a > manager from one of our other groups Hobbit in passing one day...he just > happened to have been looking for an easy to setup/configure monitoring > solution...he's been singing the praises of Hobbit since) > > =3DG=3D > > How do I feed html data in their? $report =3D capture { system( "/opt/csw/bin/pca -f $path_hostname -y -L mrs" ) }; $statusmsg =3D "&green PCA report\n\n" . $report . "\n\n" ; $cmd =3D $bb . " " . $bbdisp . " \"status+1d " . $hostname . "." . $hobbitcolumn . " " . $color . " " . $summary . "\n\n" . $statusmsg . "\""; system $cmd; Here the report gets html output like this Using /var/tmp/patchdiag.xref from May/12/09 PCA report for nc5-enm

Host: nc5-enm (SunOS 5.10/Generic_118833-33/sparc/sun4u)
List: mrs (111/28559)

PatchIRCRRSBAgeSynopsis
11925432<65RS- 40SunOS 5.10: Install and Patch Utilities Patch
11866606<19RS- 51JavaSE for business 5.0: update 18 patch (equivalent to JDK 5.0u18
11866706<19RS- 51JavaSE for business 5.0: update 18 patch (equivalent to JDK 5.0u18
11871210<23R-- 55SunOS 5.10: Sun XVR-100 Graphics Accelerator Patch
11877708<13R--362SunOS 5.10: Sun GigaSwift Ethernet 1.0 driver patch
138217--<01R--177SunOS 5.10: svccfg & svcprop patch
11883333<36RS-835SunOS 5.10: kernel patch
11891822<24RS-828SunOS 5.10: Solaris Crypto Framework patch
11905920<46RS-153X11 6.6.2: Xsun patch
11909022<31R--267SunOS 5.10: Sun iSCSI Device Driver and Utilities
11911520<34RS-397Mozilla 1.7 patch
11913031<33R--819SunOS 5.10: Sun Fibre Channel Device Drivers
11921310<19RS- 6NSS_NSPR_JSS 3.12.3: NSPR 4.7.4 / NSS 3.12.3 / JSS 4.3
11931310<25R-- 96SunOS 5.10: WBEM Patch
11954807<13-S-289GNOME 2.6.0: Gnome Multi-protocol instant messaging client Patch
140899--<01R-- 7SunOS 5.10: [ir].manifest patch
140860--<01R-- 2SunOS 5.10: su patch
12027206<23RS- 64SunOS 5.10: SMA patch
126897--<02R--611SunOS 5.10: Fault Manager Patch
127755--<01R--384SunOS 5.10: Fault Manager patch
125503--<02R--611SunOS 5.10: package-move-of-IP-objects patch
12266007<10---652Obsoleted by: 120011-14 SunOS 5.10: zones patch
125547--<02R--611SunOS 5.10: zoneadm indirect dependency patch
140796--<01R-- 7SunOS 5.10: umountall patch
120011--<14RS-609SunOS 5.10: kernel patch
11975704<14RS-103SunOS 5.10: Samba patch
11976405<06R--673SunOS 5.10 : ipmitool patch
11978301<10RS- 93SunOS 5.10: bind patch
11981002<05RS-433SunOS 5.10: International Components for Unicode Patch
11981202<06RS-293X11 6.6.2: Freetype patch
11990003<06RS-181GNOME 2.6.0: Gnome libtiff - library for reading and writing TIFF
12009410<22RS- 50X11 6.6.2: xscreensaver patch
12020102<05R--453X11 6.8.0: Xorg client libraries patch
12029201<02RS-320SunOS 5.10 : mysql patch
12041017<30R-- 79SunOS 5.10: Internet/Intranet Input Method Framework patch
12054306<14RS- 83SunOS 5.10: Apache 2 Patch
12071901<02RS-852SunOS 5.10: SunFreeware gzip patch
12073903<05RS- 79GNOME 2.6.0: GNOME PDF Viewer based on Xpdf
12083005<06RS-363SunOS 5.10: vi and ex patch
12109501<02RS-426GNOME 2.6.0: GNOME EXIF tag parsing library for digital cameras
12110401<06RS- 42SunOS 5.10: Adobe Acrobat Reader patch
12111809<15R--125SunOS 5.10: Sun Update Connection System Client 1.0.10
12113601<02RS-287SunOS 5.10: Adobe Acrobat Reader browser-plugin patch
12130808<16RS- 84SunOS 5.10: Solaris Management Console Patch
125891--<01R--385SunOS 5.10: libc_psr_hwcap.so.1 patch
126540--<02R--616SunOS 5.10: libumem library patch
127127--<11RS-383SunOS 5.10: kernel patch
12139401<03RS- 75SunOS 5.10 kaio and aio_impl.h patch
12221214<32RS- 42GNOME 2.6.0: GNOME Desktop Patch
12267501<02-S-127SunOS 5.10: SunFreeware samba man pages patch
12291102<15RS- 93SunOS 5.10: Apache 1.3 Patch
12417103<07---513SunOS 5.10: SCN Base cacao module patch
12363001<03---509SunOS 5.10: HTTP proxy settings patch
12300505<07-S-509SunOS 5.10: Basic Registration Update
12359001<10RS- 2SunOS 5.10: PostgresSQL patch
12361102<04R--369X11 6.6.2: Trusted Extensions patch
123893--<10R-- 48SunOS 5.8 5.9 5.10 Common Agent Container (cacao) runtime 2.2.2.0
123938--<01RS-891GNOME 2.6.0: GNU Transport Layer Security Library Patch
12439302<09R--233CDE 1.6: Dtlogin smf patch
124939--<03RS-803SunOS 5.10 5.10_x86: JDMK 5.1 patch
124943--<01-S-852SunOS 5.10: SunFreeware gzip man pages patch
124997--<01RS-846SunOS 5.10: /usr/bin/tip patch
125279--<05RS-533CDE1.6: dtsession patch
125332--<05RS- 40JDS 3: Macromedia Flash Player Plugin Patch
125555--<03R-- 26SunOS 5.10: patch behavior patch
125719--<17RS- 58X11 6.8.0: Xorg server patch
125731--<04RS- 98SunOS 5.10: XML and XSLT libraries patch
126206--<04RS-404SunOS 5.10: zebra ripd quagga patch
126440--<01RS-610SunOS 5.10: rm patch
126868--<02RS-244SunOS 5.10: SunFreeware bzip2 patch
127884--<01R--390SunOS 5.10: awk patch
128328--<01RS-390SunOS 5.10: usbms patch
136882--<02RS-219SunOS 5.10: ImageMagick patch
137032--<01RS-364SunOS 5.10: namefs patch
137080--<01RS-460SunOS 5.10: libpng Patch
137093--<01RS-365SunOS 5.10: logindevperm patch
138866--<02R--169SunOS 5.10: sharetab patch
137137--<09RS-184SunOS 5.10: kernel patch
137321--<01R--432SunOS 5.10: p7zip patch
137871--<02RS-275SunOS 5.10: tk patch
138104--<01RS-187SunOS 5.10: snoop patch
138181--<01R--183SunOS 5.10: ike.preshared patch
138223--<03RS-119SunOS 5.10: cron patch
138253--<02RS-162SunOS 5.10: /sbin/sh patch
138269--<02RS-187SunOS 5.10: devfs patch
138275--<01R--182SunOS 5.10: cpio patch
138322--<02RS-187SunOS 5.10: Perl patch
138361--<01RS-187SunOS 5.10: snmpXdmid patch
138371--<06RS- 50SunOS 5.10: mech_krb5.so.1 patch
138373--<02RS-188SunOS 5.10: fifofs patch
138387--<01RS-187SunOS 5.10: libc.so.1.9 patch
138632--<03RS-126SunOS 5.10: SUNW_md_link.so patch
138856--<02R--162SunOS 5.10: Timezone commands and zoneinfo database update Patch
138876--<01RS-188SunOS 5.10: usr/lib/inet/in.dhcpd patch
139099--<02RS- 22SunOS 5.10: gtar patch
139462--<02RS- 69SunOS 5.10: nfssrv patch
139481--<01RS-162SunOS 5.10: rpc.ypupdated patch
139514--<01R--159SunOS 5.10: todm5819p_rmc Patch
141016--<01R-- 7SunOS 5.10: Dummy Patch
139555--<08RS- 6SunOS 5.10: Kernel Patch
139604--<03R-- 1SunOS 5.10: Sun Fibre Channel Device Drivers
139606--<01R-- 2SunOS 5.10: Qlogic ISP Fibre Channel Device Driver
139608--<02R-- 2SunOS 5.10: Emulex-Sun LightPulse Fibre Channel Adapter driver
139982--<02RS- 2SunOS 5.10: e1000g patch
140144--<01R-- 96SunOS 5.10: ldap_cachemgr patch
140171--<01R-- 2SunOS 5.10: ksh,sh,pfksh,rksh,xargs patch
140383--<01RS-114SunOS 5.10: ptsl patch
140391--<02RS- 2SunOS 5.10: nscd patch
140397--<06RS- 1SunOS 5.10: lp patch
140399--<01RS- 2SunOS 5.10: in.ftpd patch
141014--<01RS- 55SunOS 5.10: /usr/bin/dircmp patch
And here is the complain the perl script makes Hobbit version 4.2.0 Usage: /export/home/hobbit/server/bin/bb [--debug] [--proxy=3Dhttp://ip.of.the.proxy:port/] RECIPIENT DATA RECIPIENT: IP-address, hostname or URL DATA: Message to send, or "-" to read from stdin If the report is non html, the code works just fine > > To unsubscribe from the hobbit list, send an e-mail to > hobbit-unsubscribe at hswn.dk > > > --=20 Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --===============8131585434309990732==-- From gumby3203@gmail.com Wed Jun 24 08:18:56 2026 From: gumby3203@gmail.com To: xymon@xymon.com Subject: [hobbit] perl script Date: Wed, 13 May 2009 17:08:31 -0400 Message-ID: <29f517690905131408u49d0bc1dva6a5958d2e7372e4@mail.gmail.com> In-Reply-To: <45D52DB0.2090409@trantor.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0785402720170466632==" --===============0785402720170466632== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable FYI, when I click on the link, I get "Not Found". http://xymonton.trantor.org/doku.php/tutorials:ssmodule works, though. On Fri, Feb 16, 2007 at 12:06 AM, Galen Johnson wrot= e: > I've added the perl script example that Henrik provided late January to the > tutorials page on The Shire. > http://www.trantor.org/theshire/doku.php/tutorials:ssmodule > > Hopefully, Henrik won't mind. (I may be "borrowing" some of Henrik's > content for the other tutorials yet to be written...of course, if someone > would like to volunteer the tutorials I'd be happy to consider them for > addition). If you have other ideas about tutorials or FAQs, please let me > know. I'm trying to make more time for the site (interestingly, I showed a > manager from one of our other groups Hobbit in passing one day...he just > happened to have been looking for an easy to setup/configure monitoring > solution...he's been singing the praises of Hobbit since) > > =3DG=3D > > > To unsubscribe from the hobbit list, send an e-mail to > hobbit-unsubscribe at hswn.dk > > > --===============0785402720170466632==--