Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how write plugin average value
#1
Hello all,
im bluilding the monitor vmware via snmp,
i have done all network component for varius object and all work fine.
just for the cpu need a little help

neel create a simple plug-in for make the average value from networkcomponentcpu1,cpu2,cpu3 ecc..

this why snmp in vmware give the single cpu average load for every -component

then the generic ask : how write a plug-in for calculate the average value from somes network component value?

tnx alot!
 Reply
#2
Hello,

You can write the plugin in any format that supports the machine where you are going to run it, for example in case of CentOS you could create a simple bash script that takes the desired data from a command and then calculates the average value.

In summary, you simply have to create a script in the machine you want to monitor and execute it through the software agent of the machine

Greetings
Diego
 Reply
#3
hello, tnx for reply
"i think" ?! in this case need have aplug at server level.
Pandora have the value from the network component, need make the avg from this 2.
 Reply
#4
addendum:
done the plugin whit this one!
https://exchange.nagios.org/directory/Pl...mp/details

last last question:
my value now is a generic_String type, how can match the critical status when the value include "CRITICAL" ?

tnx all!
 Reply
#5
Hello,

You can configure the status of the module in the module edition itself, setting the word CRITICAL in the critical status.

Greetings
Diego
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes