Plugin para GLPI que automatiza a criação de tickets quando certificados digitais estão próximos da data de expiração. Ideal para equipes de TI que precisam monitorar e renovar certificados de forma proativa, evitando interrupções de serviço.
- ✅ Monitoramento Automático: Verifica diariamente certificados próximos ao vencimento
- 🎫 Criação Automática de Tickets: Gera tickets automaticamente quando detecta certificados expirando
- 👥 Atribuição Inteligente:
- Atribui automaticamente o usuário técnico responsável
- Adiciona o grupo técnico como atribuído
- Inclui o grupo do certificado como observador
- 📧 Notificações Personalizadas: Tickets com descrição detalhada e emojis para melhor visualização
- 🔄 Controle de Duplicatas: Evita criar múltiplos tickets para o mesmo certificado
- ⚙️ Integração com Entidades: Respeita as configurações de alerta de cada entidade no GLPI
- GLPI: Versão 11.0.0 ou superior (compatível com 11.0.x)
- PHP: Versão 8.1 ou superior
- Banco de Dados: MySQL/MariaDB
- Baixe a última versão
- Extraia o arquivo ZIP no diretório de plugins do GLPI:
cd /var/www/html/glpi/plugins unzip certificateticket-x.x.x.zip
cd /var/www/html/glpi/plugins
git clone https://github.com/celsocaninde/CertificateTicket.git certificateticket- Acesse sua instância do GLPI
- Navegue até: Configurar → Plugins
- Localize o plugin Certificate Ticket
- Clique em Instalar e depois em Ativar
Após a instalação, uma nova tarefa automática será criada:
- Acesse: Configurar → Ações Automáticas
- Localize a tarefa certificateticket
- Configure conforme necessário (padrão: executa a cada 24 horas)
Nota: As configurações de alerta de certificados são feitas por entidade em:
- Configurar → Entidades → [Sua Entidade] → Alertas
- Configure "Enviar alertas de certificados antes do prazo" (padrão: 30 dias)
- Execução Diária: A tarefa automática verifica certificados em todas as entidades
- Verificação: Compara a data de expiração com o período de alerta configurado
- Criação de Ticket: Se encontrar certificados próximos ao vencimento:
- Cria um ticket com título formatado
- Inclui detalhes completos do certificado
- Atribui responsáveis automaticamente
- Registra na base de dados para evitar duplicatas
- Atualização: Se a data de expiração mudar, cria novo ticket
Título: 🔒 Certificado Digital Expirando - Nome do Certificado (Serial)
Conteúdo:
⚠️ ATENÇÃO: Ação Necessária - Renovação de Certificado Digital
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 DETALHES DO CERTIFICADO:
• Nome: example.com
• Serial: ABC123456
• Data de Expiração: 15/03/2026
🔔 AÇÃO REQUERIDA:
Este certificado digital está próximo da data de expiração...
✅ PRÓXIMOS PASSOS:
1. Verificar a validade atual do certificado
2. Iniciar o processo de renovação...
certificateticket/
├── src/
│ ├── CertificateTicket.php # Classe principal e lógica de criação de tickets
│ └── Config.php # Configurações (reservado para uso futuro)
├── hook.php # Instalação/desinstalação e criação de tabelas
├── setup.php # Configuração do plugin e hooks
├── certificateticket.xml # Metadados para marketplace GLPI
├── certificateticket.svg # Ícone do plugin
└── README.md # Este arquivo
- Interface de configuração personalizada
- Opção para atribuir solicitante padrão
- Possibilidade de configurar template de ticket
- Suporte a múltiplos idiomas (i18n)
- Relatórios e dashboard de certificados
Encontrou um bug ou tem uma sugestão?
- Abra uma issue
- Entre em contato através do GitHub
Este projeto está licenciado sob a GPL v2+. Veja o arquivo LICENSE para mais detalhes.
ADZ - Desenvolvimento e manutenção
Contribuições são bem-vindas! Sinta-se à vontade para:
- Fazer fork do projeto
- Criar uma branch para sua feature (
git checkout -b feature/NovaFuncionalidade) - Commit suas mudanças (
git commit -m 'Adiciona nova funcionalidade') - Push para a branch (
git push origin feature/NovaFuncionalidade) - Abrir um Pull Request
GLPI plugin that automates ticket creation when digital certificates are approaching expiration. Ideal for IT teams that need to monitor and renew certificates proactively, avoiding service interruptions.
- ✅ Automatic Monitoring: Daily checks for certificates approaching expiration
- 🎫 Automatic Ticket Creation: Generates tickets automatically when detecting expiring certificates
- 👥 Smart Assignment:
- Automatically assigns the responsible technical user
- Adds the technical group as assigned
- Includes the certificate group as observer
- 📧 Custom Notifications: Tickets with detailed description and emojis for better visualization
- 🔄 Duplicate Control: Prevents creating multiple tickets for the same certificate
- ⚙️ Entity Integration: Respects alert configurations for each entity in GLPI
- GLPI: Version 11.0.0 or higher (compatible with 11.0.x)
- PHP: Version 8.1 or higher
- Database: MySQL/MariaDB
- Download the latest release
- Extract the ZIP file to GLPI's plugins directory:
cd /var/www/html/glpi/plugins unzip certificateticket-x.x.x.zip
cd /var/www/html/glpi/plugins
git clone https://github.com/celsocaninde/CertificateTicket.git certificateticket- Access your GLPI instance
- Navigate to: Setup → Plugins
- Find the Certificate Ticket plugin
- Click Install and then Enable
After installation, a new automatic task will be created:
- Go to: Setup → Automatic Actions
- Find the certificateticket task
- Configure as needed (default: runs every 24 hours)
Note: Certificate alert settings are configured per entity at:
- Setup → Entities → [Your Entity] → Alerts
- Set "Send certificates alerts before delay" (default: 30 days)
- Daily Execution: The automatic task checks certificates across all entities
- Verification: Compares expiration date with configured alert period
- Ticket Creation: If certificates are found near expiration:
- Creates a ticket with formatted title
- Includes complete certificate details
- Automatically assigns responsible parties
- Records in database to prevent duplicates
- Update: If expiration date changes, creates new ticket
Title: 🔒 Digital Certificate Expiring - Certificate Name (Serial)
Content:
⚠️ ATTENTION: Action Required - Digital Certificate Renewal
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 CERTIFICATE DETAILS:
• Name: example.com
• Serial: ABC123456
• Expiration Date: 03/15/2026
🔔 ACTION REQUIRED:
This digital certificate is approaching its expiration date...
✅ NEXT STEPS:
1. Verify current certificate validity
2. Start renewal process...
certificateticket/
├── src/
│ ├── CertificateTicket.php # Main class and ticket creation logic
│ └── Config.php # Settings (reserved for future use)
├── hook.php # Installation/uninstallation and table creation
├── setup.php # Plugin setup and hooks
├── certificateticket.xml # Metadata for GLPI marketplace
├── certificateticket.svg # Plugin icon
└── README.md # This file
- Custom configuration interface
- Option to assign default requester
- Ability to configure ticket template
- Multi-language support (i18n)
- Certificate reports and dashboard
Found a bug or have a suggestion?
- Open an issue
- Contact through GitHub
This project is licensed under GPL v2+. See the LICENSE file for details.
ADZ - Development and maintenance
Contributions are welcome! Feel free to:
- Fork the project
- Create a feature branch (
git checkout -b feature/NewFeature) - Commit your changes (
git commit -m 'Add new feature') - Push to the branch (
git push origin feature/NewFeature) - Open a Pull Request
Made with ❤️ for the GLPI community