Pages: [1]   Go Down
Author Topic: Pandora 3.2, issue with generic_data_inc  (Read 91 times)
0 Members and 2 Guests are viewing this topic.
sslivitzky
Newbie
*

Karma: 0
Offline Offline

Posts: 1


View Profile
« on: January 23, 2012, 09:53:18 PM »

Hi all,

I have a module:

module_begin
module_name DB_Alert_Error
module_type generic_data_inc
module_exec cat $ORACLE_BASE/admin/IBIS/bdump/alert_IBIS.log | grep -cE "ORA-00600|ORA-07445" | awk '{print $1}'
module_description ORA-600/ORA-7445 in alert log
module_end

That should return the number of times the specified strings is found. If I run at the shell prompt, the answer will be an integer where the value is right.

If I put the agent in debug, the value in the xml is an integer that is good.

But in the server, the value reported for the module is a floating like 0.01 instead of 1.

What could be the problem?

Thanks,
Logged

alumbreras
Sr. Member
****

Karma: 5
Offline Offline

Posts: 108


View Profile
« Reply #1 on: February 02, 2012, 03:30:54 PM »

Hi sslivitzky,

i guess that the module_type should be generic_data. i've got similar module to check the log file or oracle.

can you try with generic_data?

thanks

Agustin
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST