[Nagiosplug-devel] Kickoff for 1.5

Patrick Proy nagios at proy.org
Mon Apr 4 07:17:17 CEST 2005


Hi,

>   - there's nowhere i can seem to download a tarball with everything.
>     (ah, the joy of wget -r :])

Yes, I was thinking about it.

>   - there doesn't seem to be support for snmp v2c (the fix for this is
>     trivial).

I started it (2 scripts already), it's in my todo.

>   - i could see adding a few shared functions could really cut down on
>     the amount of code. some ideas:
>       - nagios_snmp_getopt($getopt_str, $getopt_ht)  (where getopt_str
> 	contains anything outside the common cmdline options).

OK.

>       - nagios_snmp_fetch_int($oid, $warn, $crit)

Not too sure it's going to shorten the code much as most of the output is
calculated (storage) or taking specific value (int / vrrp).

>   - the output of the plugins should ideally be as similar as possible
>     to their non-snmp counterparts.  most importantly, the perfdata.
> 

Totally agree, but I don't have the forecast of the nagioplug guys !!!
For perfdata, I'm using the standard output as defined in coding guidelines.

> - check_load should be seperated into two plugins, check_load and
>   check_processor, as these are two completely different metrics (you
>   can have a unix host with low processor usage and a high load or
>   vice versa, and process load doesn't make sense on network hardware)

I agree, but I try not to have to much plugins : it would take more time to
maintain - and I like having a social life :-) -. 
 
> - two of your plugins could allow a local user to overwrite 
> your nagios
>   configuration, among other things.  i can point it out to you in
>   private if you like.

Security was not my priority (I warn users about this in my FAQ) : I
prefered to let users do complicated regexp and this implies a LOT of
security risks.  
But as security is important to me, I'll be glad to work on this (one of my
task is about it).

> anyway, i'd like to help out with this, and hope that this 
> stuff could eventually getting these and more into the 
> official plugins.  i see you've started up a sourceforge 
> project recently for this, care to share cvs access with me 
> (username:seanius)?  

CVS is not on sourceforge for now (I need to get it imported by SF staff,
and didn't have time to care about it), but I can give you an access to the
current CVS server.

>i think what makes the most sense at 
> this point is to continue with the development seperately via 
> this sf project, and once we're happy with things send a 
> tarball to the nagiosplug project.  what do you think?

Good idea.
I'll be glad to have help, contact me on private message.

Patrick Proy
nagios AT proy DOT org
Script home page : http://www.manubulon.com/nagios/
SF Project page : http://sourceforge.net/projects/nagios-snmp/


> -----Message d'origine-----
> De : sean finney [mailto:seanius at seanius.net] 
> Envoyé : lundi 4 avril 2005 15:22
> À : Patrick Proy
> Cc : 'NagiosPlug Devel'
> Objet : Re: [Nagiosplug-devel] Kickoff for 1.5
> 
> hi patrick,
> 
> On Thu, Mar 10, 2005 at 12:48:47AM +0100, Patrick Proy wrote:
> > When I asked a few months ago, nobody seemed to be willing to group 
> > the multiple perl snmp plugins, but it would be a VERY good idea.
> 
> i finally had the time to sit down and look over the plugins. 
>  here are some comments:
> 
> - general
>   - there's nowhere i can seem to download a tarball with everything.
>     (ah, the joy of wget -r :])
>   - there doesn't seem to be support for snmp v2c (the fix for this is
>     trivial).
>   - i could see adding a few shared functions could really cut down on
>     the amount of code. some ideas:
>       - nagios_snmp_getopt($getopt_str, $getopt_ht)  (where getopt_str
> 	contains anything outside the common cmdline options).
>       - nagios_snmp_fetch_int($oid, $warn, $crit)
>   - the output of the plugins should ideally be as similar as possible
>     to their non-snmp counterparts.  most importantly, the perfdata.
> 
> - check_load should be seperated into two plugins, check_load and
>   check_processor, as these are two completely different metrics (you
>   can have a unix host with low processor usage and a high load or
>   vice versa, and process load doesn't make sense on network hardware)
> 
> - two of your plugins could allow a local user to overwrite 
> your nagios
>   configuration, among other things.  i can point it out to you in
>   private if you like.
> 
> 
> anyway, i'd like to help out with this, and hope that this 
> stuff could eventually getting these and more into the 
> official plugins.  i see you've started up a sourceforge 
> project recently for this, care to share cvs access with me 
> (username:seanius)?  i think what makes the most sense at 
> this point is to continue with the development seperately via 
> this sf project, and once we're happy with things send a 
> tarball to the nagiosplug project.  what do you think?
> 
> 
> thanks for your work on this!
> 	sean
> 





More information about the Devel mailing list