LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-18-2010, 05:12 AM   #1
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
perl modules for unix system info


I am doing some bespoke nagios plugins.

can anyone recommend any good perl modules
for system checks.
disks, memory, processes, load avgs, networks, etc etc. everything basically.

they will need to perform on bsd, aix, solaris, linux.

any recommendations?
 
Old 02-18-2010, 10:56 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by bigearsbilly View Post
I am doing some bespoke nagios plugins.

can anyone recommend any good perl modules
for system checks.
disks, memory, processes, load avgs, networks, etc etc. everything basically.

they will need to perform on bsd, aix, solaris, linux.

any recommendations?
http://search.cpan.org/search?query=nagios&mode=all

or either write your own or customise the already available perl modules.

there are loads at nagiosexchange

http://www.monitoringexchange.org/

Last edited by centosboy; 02-18-2010 at 10:57 AM.
 
Old 02-18-2010, 10:08 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
http://search.cpan.org/~bloonix/Sys-...stics/Linux.pm

Basically, goto search.cpan.org and enter the name of each OS.
 
Old 02-19-2010, 06:42 AM   #4
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Original Poster
Rep: Reputation: 239Reputation: 239Reputation: 239
granted chris, i could do that.
but i was wondering if anyone could recommend some.

you know what CPAN is like!
 
Old 02-22-2010, 12:27 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
True; might be worth asking perlmonks (although you prob have already).
 
Old 02-22-2010, 02:26 PM   #6
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
In addition to Perlmonks, some very smart Perl people post at Stackoverflow.
 
Old 02-22-2010, 02:44 PM   #7
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Cant you just read /proc/ ?
With perls regexp it really should not be that hard to parse + if you give the script to someone else, they dont have to hunt down the modules.
LMAO nagiosexchange
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
getting cpu info, system info thru system calls naveenisback Programming 7 06-11-2010 02:06 PM
Perl script to capture system info? Zmyrgel Programming 4 04-18-2009 03:30 AM
Set a Perl script as an unix service (start with system) onlymed Linux - Newbie 2 04-01-2009 02:59 PM
LXer: Unix - System VI Release Notes - More Linux and Unix Humor LXer Syndicated Linux News 0 12-06-2008 03:30 PM
The Best Method to install Set up a Unix System with PERL, PHP and Apache rhuser Linux - Software 1 03-01-2003 10:31 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration