Writing Your Own Plugins

Thomas Sluyter nagios at kilala.nl
Wed Aug 16 16:53:27 CEST 2006


On 16 Aug, 2006, at 16:47, Colby Williams wrote:

> I am trying to check uptime (#uptime) on a Unix box.

Either use the "snmp uptime" script from Nagios Exchange, or write it  
yourself.

> Bigger picture, I have never written in bash, so using them as an  
> example is
> kind of confussing.
Ow... Have you done -any- scripting before? Point is, if you know  
UNIX, you'll know 60% of what there is to know about shell  
scripting :) Cause in scripting most of the commands you'll use are  
your basic UNIX commands. All the shell script adds is logic to tie  
it all together :)

There's bunches of websites telling you all you need to know about  
shell scripting. You'll learn fairly quickly. Trust me :)

o/


Thomas



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list