Hi, every time I created module in agent I am getting following error Non-Initialized Modules so please help me how to solve.
Non-Initialized Modules
franklin-harry · 17 dic 2015, 11:41 · 10 mensajes · 67 visitas
- Inicio del debate
Hello Franklin Harry, Do you have any server down? (You'll see a red 'X' at the right-top of the pandora if that's the case). Maybe server hostname has been changed from localhost to something else? Regards, Emilio.
I didn't change any host name and all hosts are connected well.Please check following screen shot.
[

](//pandorafms.com/community/media/forum/0/19131=912-Screenshot-from-2015-12-17-13-49-26.png)
Hello Franklin Harry, Yeah, I see... Have you tried to force the page to be refreshed? When a module is not giving any data back is probably because there's a problem with the module itself, like not being correctly defined or something. Remember to always force and refresh the agent by going to "View", and then pressing "Force" and "Refresh" repetely. Hope this helps ;) If not, send me back a screenshot of the module itself. Regards, Emilio.
Hi, here my custom module which I was configured module_begin module_name REDIS_Daemon module_type generic_proc module_exec ps -Af | grep redis module_end and module_begin module_name WEB_Hits module_type generic_data_inc module_exec cat /var/log/httpd/access_log module_end so please suggest me how to correctly configure.
Hi Franklin, You're facing a problem with the outcome there! I mean, have you tried the execution of the "exec" line at the command line? For example, if you try "ps -Af | grep redis" it will probably throw some lines to you, string data, and when monitoring you're giving it the "generic_proc" type of data, string would be better, that way, you'll be able to read those lines. Same goes for the second one, "WEB_hits". Anyway, what are you trying to monitor? I'm talking about what kind of information do you want to control? Modules are created so they go to criticial or warning when something happens, like for example the number value of the ram that's free at the very moment, goes higher than limit. I think that there's no point of creating modules such the ones that you attached, so I think it'll be better for me if you could tell me what you want to monitor ;) Sorry about the rock that I throw at you, this post took longer than it should xD Regards, Emilio.
Hi, I planning to monitor running processes so what can I give input there? please can you guide me.
Hi Franklin, You were doing it right about the module type, it may be "generic_proc". To check if a service is up or down, you must know the output in advantage, the best way of doing so would be something like this: "ps aux | grep mysql | grep -v grep | wc -l" (given the case of mysql). If the number given is higher than 0, nothing will happen (because is up). Regards, Emilio.
Hi, How to setup alerts with custom alert template or clear alert email. I attached screen shot for your reference so please guide me.
[

](//pandorafms.com/community/media/forum/0/19137=913-notification-multi-en-service-alert.gif)
Hi Franklin, It'll be as easy as following this path: Alerts > Actions and creating one of your own (or using the one already given, "Mail to XXX"). I highly recommend you to use the Wiki for further information: http://wiki.pandorafms.com/index.php?title=Pandora:Documentation\_en:Alerts Regards, Emilio.
Entra en tu cuenta para publicar.


