[align=justify]Saludos de nuevo. Agradezco la ayuda prestada por los usuarios en mi anterior cuestión, pero me temo que me ha surgido otra cuestión distinta esta vez.
Sigo siendo nuevo en PandoraFMS, y he intentado crear un módulo nuevo dentro de uno de los agentes que tengo en mi red. Concretamente, he introducido un módulo que calcule la memoria libre de la máquina, y he creado este módulo dentro del agente de la máquina donde se encuentra el propio servidor de Pandora, que se encuentra en un Centos7. Por lo tanto, introduzco las siguientes líneas en el fichero de configuración del agente:
#Memoria Libre de la maquina
module_begin
module_name Memoria libre en la maquina
module_type generic_data
module_exec free -m | grep Mem | awk ‘{printf $4}’
module_description El modulo recogera informacion de la memoria de la maquina
module_min_warning 151
module_max_warning 550
module_min_critical 1
module_max_critical 150
module_unit MB
module_end
Una vez que guardo el fichero y reinicio el servicio de agente pandora_agent_daemon, me dirijo a la pestaña de módulos del agente en el navegador web, pero no aparece en la lista de módulos.
He adjuntado varias imágenes con mi problema ¿Existe algún error en las líneas de configuración o de un servicio u opción que no se haya reiniciado?
[align=justify]Saludos de nuevo. Agradezco la ayuda prestada por los usuarios en mi anterior cuestión, pero me temo que me ha surgido otra cuestión distinta esta vez.
Sigo siendo nuevo en PandoraFMS, y he intentado crear un módulo nuevo dentro de uno de los agentes que tengo en mi red. Concretamente, he introducido un módulo que calcule la memoria libre de la máquina, y he creado este módulo dentro del agente de la máquina donde se encuentra el propio servidor de Pandora, que se encuentra en un Centos7. Por lo tanto, introduzco las siguientes líneas en el fichero de configuración del agente:
#Memoria Libre de la maquina
module_begin
module_name Memoria libre en la maquina
module_type generic_data
module_exec free -m | grep Mem | awk ‘{printf $4}’
module_description El modulo recogera informacion de la memoria de la maquina
module_min_warning 151
module_max_warning 550
module_min_critical 1
module_max_critical 150
module_unit MB
module_end
Una vez que guardo el fichero y reinicio el servicio de agente pandora_agent_daemon, me dirijo a la pestaña de módulos del agente en el navegador web, pero no aparece en la lista de módulos.
He adjuntado varias imágenes con mi problema ¿Existe algún error en las líneas de configuración o de un servicio u opción que no se haya reiniciado?
Saludos. Siento la tardanza en cuanto a mi último post, pero he estado ocupado mirando guías oficiales y otras fuentes para solucionar mi problema, e incluso los módulos están inicializados, y sigue sin funcionar. ¿Alguien seria tan amable de descubrir por que mi módulo no funciona o si me pueden dar un módulo sencillo que funcione correctamente para realizar pruebas?
We use technologies like cookies to store and/or access device information. We do this to improve browsing experience and to show (non-) personalized ads. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.