You are not logged in.
il faut que ça soit mis dans : Configuration / Générale mais également dans les infos financières de chaque matériel
Offline
Oui quasiment 95% des mes PC ont cette option d'activée. Mais comme cela se fait-il que le mail de test pour les alertes de fin de garantie ne marche pas?
OCS Inventory NG Agent : 1.01
Server OS: Windows 2003 Server Standard Edition, OCS ver 4100, GLPI ver 0.72.4
Server Hardware: Xeon 3 GHz / 2 GB RAM
Inventoried Computers : 142
Offline
je ne sais plus quand il part, à quel intervalle, j'essaye de retrouver ça
Offline
OK Merci.
Mais le mail de test devrait partir instantanément ?? Comme il le fait pour les autres mail de test??
OCS Inventory NG Agent : 1.01
Server OS: Windows 2003 Server Standard Edition, OCS ver 4100, GLPI ver 0.72.4
Server Hardware: Xeon 3 GHz / 2 GB RAM
Inventoried Computers : 142
Offline
c'est ce qu'il me semblait, ça vérifie une fois par jour pour l'envoi de mail.
Offline
J'ai activé le mode debug et j'ai ensuite cliqué sur le mail de test pour les alertes financières. Je n'obtient aucun fichier dans glpi\files\_log
A l'écran j'ai:
SQL REQUEST : 17 Queries took 0.005s
N° Queries Time Errors
1 SELECT ID, name
FROM glpi_profiles
ORDER BY name 0.001
2 SELECT ID, name
FROM glpi_groups
ORDER BY name 0.001
3 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID
FROM glpi_mailing
WHERE glpi_mailing.type='alertconsumable' AND glpi_mailing.item_type='1'
ORDER BY glpi_mailing.FK_item; 0.001
4 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID, glpi_profiles.name as prof
FROM glpi_mailing
LEFT JOIN glpi_profiles ON (glpi_mailing.FK_item = glpi_profiles.ID)
WHERE glpi_mailing.type='alertconsumable' AND glpi_mailing.item_type='2'
ORDER BY glpi_profiles.name; 0.000
5 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID, glpi_groups.name as name
FROM glpi_mailing
LEFT JOIN glpi_groups ON (glpi_mailing.FK_item = glpi_groups.ID)
WHERE glpi_mailing.type='alertconsumable' AND glpi_mailing.item_type='3'
ORDER BY glpi_groups.name; 0.000
6 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID
FROM glpi_mailing
WHERE glpi_mailing.type='alertcartridge' AND glpi_mailing.item_type='1'
ORDER BY glpi_mailing.FK_item; 0.000
7 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID, glpi_profiles.name as prof
FROM glpi_mailing
LEFT JOIN glpi_profiles ON (glpi_mailing.FK_item = glpi_profiles.ID)
WHERE glpi_mailing.type='alertcartridge' AND glpi_mailing.item_type='2'
ORDER BY glpi_profiles.name; 0.000
8 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID, glpi_groups.name as name
FROM glpi_mailing
LEFT JOIN glpi_groups ON (glpi_mailing.FK_item = glpi_groups.ID)
WHERE glpi_mailing.type='alertcartridge' AND glpi_mailing.item_type='3'
ORDER BY glpi_groups.name; 0.000
9 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID
FROM glpi_mailing
WHERE glpi_mailing.type='alertcontract' AND glpi_mailing.item_type='1'
ORDER BY glpi_mailing.FK_item; 0.000
10 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID, glpi_profiles.name as prof
FROM glpi_mailing
LEFT JOIN glpi_profiles ON (glpi_mailing.FK_item = glpi_profiles.ID)
WHERE glpi_mailing.type='alertcontract' AND glpi_mailing.item_type='2'
ORDER BY glpi_profiles.name; 0.000
11 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID, glpi_groups.name as name
FROM glpi_mailing
LEFT JOIN glpi_groups ON (glpi_mailing.FK_item = glpi_groups.ID)
WHERE glpi_mailing.type='alertcontract' AND glpi_mailing.item_type='3'
ORDER BY glpi_groups.name; 0.000
12 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID
FROM glpi_mailing
WHERE glpi_mailing.type='alertinfocom' AND glpi_mailing.item_type='1'
ORDER BY glpi_mailing.FK_item; 0.000
13 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID, glpi_profiles.name as prof
FROM glpi_mailing
LEFT JOIN glpi_profiles ON (glpi_mailing.FK_item = glpi_profiles.ID)
WHERE glpi_mailing.type='alertinfocom' AND glpi_mailing.item_type='2'
ORDER BY glpi_profiles.name; 0.001
14 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID, glpi_groups.name as name
FROM glpi_mailing
LEFT JOIN glpi_groups ON (glpi_mailing.FK_item = glpi_groups.ID)
WHERE glpi_mailing.type='alertinfocom' AND glpi_mailing.item_type='3'
ORDER BY glpi_groups.name; 0.001
15 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID
FROM glpi_mailing
WHERE glpi_mailing.type='alertlicense' AND glpi_mailing.item_type='1'
ORDER BY glpi_mailing.FK_item; 0.000
16 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID, glpi_profiles.name as prof
FROM glpi_mailing
LEFT JOIN glpi_profiles ON (glpi_mailing.FK_item = glpi_profiles.ID)
WHERE glpi_mailing.type='alertlicense' AND glpi_mailing.item_type='2'
ORDER BY glpi_profiles.name; 0.000
17 SELECT glpi_mailing.FK_item as item, glpi_mailing.ID as ID, glpi_groups.name as name
FROM glpi_mailing
LEFT JOIN glpi_groups ON (glpi_mailing.FK_item = glpi_groups.ID)
WHERE glpi_mailing.type='alertlicense' AND glpi_mailing.item_type='3'
ORDER BY glpi_groups.name; 0.000
POST VARIABLE
GET VARIABLE
SESSION VARIABLE
KEY => VALUE
glpi_currenttime => 2008-08-14 12:16:52
glpiID => 6
glpiname => Nom
glpirealname => Prénom
glpifirstname => NOM
glpilanguage => fr_FR
glpidefault_entity => 0
glpitracking_order => 1
glpiauthorisation => 1
glpiextauth => 0
glpiauth_method => 1
glpisearchcount =>
KEY => VALUE
1 => 1
34 => 1
28 => 1
15 => 1
35 => 1
glpisearchcount2 =>
KEY => VALUE
1 => 0
34 => 0
28 => 0
15 => 0
35 => 0
glpiroot => /glpi
glpilist_limit => 120
glpicrontimer => 1218708798
glpiprofiles =>
KEY => VALUE
4 =>
KEY => VALUE
ID => 4
name => super-admin
interface => central
is_default => 0
computer => w
monitor => w
software => w
networking => w
printer => w
peripheral => w
cartridge => w
consumable => w
phone => w
notes => w
contact_enterprise => w
document => w
contract_infocom => w
knowbase => w
faq => w
reservation_helpdesk => 1
reservation_central => w
reports => r
ocsng => w
view_ocsng => r
sync_ocsng => w
dropdown => w
entity_dropdown => w
device => w
typedoc => w
link => w
config => w
rule_tracking => w
rule_ocs => w
rule_ldap => w
rule_softwarecategories => w
search_config => w
search_config_global => w
check_update => r
profile => w
user => w
user_auth_method => w
group => w
entity => w
transfer => w
logs => r
reminder_public => w
bookmark_public => w
backup => w
create_ticket => 1
delete_ticket => 1
comment_ticket => 1
comment_all_ticket => 1
update_ticket => 1
own_ticket => 1
steal_ticket => 1
assign_ticket => 1
show_all_ticket => 1
show_assign_ticket => 1
show_full_ticket => 1
observe_ticket => 1
update_followups => 1
show_planning => 1
show_group_planning => 1
show_all_planning => 1
statistic => 1
password_update => 1
helpdesk_hardware => 3
helpdesk_hardware_type => 8388734
show_group_ticket => 0
show_group_hardware => 0
rule_dictionnary_software => w
rule_dictionnary_dropdown => w
entities =>
KEY => VALUE
7 =>
KEY => VALUE
ID => 0
name =>
completename =>
recursive => 1
glpiactiveprofile =>
KEY => VALUE
ID => 4
name => super-admin
interface => central
is_default => 0
computer => w
monitor => w
software => w
networking => w
printer => w
peripheral => w
cartridge => w
consumable => w
phone => w
notes => w
contact_enterprise => w
document => w
contract_infocom => w
knowbase => w
faq => w
reservation_helpdesk => 1
reservation_central => w
reports => r
ocsng => w
view_ocsng => r
sync_ocsng => w
dropdown => w
entity_dropdown => w
device => w
typedoc => w
link => w
config => w
rule_tracking => w
rule_ocs => w
rule_ldap => w
rule_softwarecategories => w
search_config => w
search_config_global => w
check_update => r
profile => w
user => w
user_auth_method => w
group => w
entity => w
transfer => w
logs => r
reminder_public => w
bookmark_public => w
backup => w
create_ticket => 1
delete_ticket => 1
comment_ticket => 1
comment_all_ticket => 1
update_ticket => 1
own_ticket => 1
steal_ticket => 1
assign_ticket => 1
show_all_ticket => 1
show_assign_ticket => 1
show_full_ticket => 1
observe_ticket => 1
update_followups => 1
show_planning => 1
show_group_planning => 1
show_all_planning => 1
statistic => 1
password_update => 1
helpdesk_hardware => 3
helpdesk_hardware_type => 8388734
show_group_ticket => 0
show_group_hardware => 0
rule_dictionnary_software => w
rule_dictionnary_dropdown => w
entities =>
KEY => VALUE
7 =>
KEY => VALUE
ID => 0
name =>
completename =>
recursive => 1
glpi_entities_tree =>
KEY => VALUE
0 =>
KEY => VALUE
0 =>
KEY => VALUE
name => Entité Racine
tree =>
glpiactiveentities =>
KEY => VALUE
0 => 0
glpi_entities_ancestors =>
KEY => VALUE
0 =>
glpiactive_entity => 0
glpiactive_entity_name => Entité Racine (arborescence)
glpiactive_entity_shortname => Entité Racine (arborescence)
glpishowallentities => 1
glpigroups =>
KEY => VALUE
0 => 1
glpi_plugins =>
MESSAGE_AFTER_REDIRECT =>
glpi_multientitiesmode => 0
glpi_viewcentral => my
glpi_configgen => 1
glpi_authconfig => 1
glpi_mailconfig => 3
glpisearch =>
KEY => VALUE
1 =>
KEY => VALUE
start => 0
order => ASC
deleted => 0
distinct => N
link =>
field =>
KEY => VALUE
0 => view
contains =>
KEY => VALUE
0 =>
link2 =>
field2 =>
KEY => VALUE
0 => view
contains2 =>
KEY => VALUE
0 =>
type2 =>
sort => 1
34 =>
KEY => VALUE
start => 0
order => ASC
deleted => 0
distinct => N
link =>
field =>
KEY => VALUE
0 => view
contains =>
KEY => VALUE
0 =>
link2 =>
field2 =>
KEY => VALUE
0 => view
contains2 =>
KEY => VALUE
0 =>
type2 =>
sort => 1
28 =>
KEY => VALUE
start => 0
order => ASC
deleted => 0
distinct => N
link =>
field =>
KEY => VALUE
0 => view
contains =>
KEY => VALUE
0 =>
link2 =>
field2 =>
KEY => VALUE
0 => view
contains2 =>
KEY => VALUE
0 =>
type2 =>
sort => 1
15 =>
KEY => VALUE
start => 0
order => ASC
deleted => 0
distinct => N
link =>
field =>
KEY => VALUE
0 => 20
contains =>
KEY => VALUE
0 =>
link2 =>
field2 =>
KEY => VALUE
0 => view
contains2 =>
KEY => VALUE
0 =>
type2 =>
sort => 1
35 =>
KEY => VALUE
start => 0
order => ASC
deleted => 0
distinct => N
link =>
field =>
KEY => VALUE
0 => view
contains =>
KEY => VALUE
0 =>
link2 =>
field2 =>
KEY => VALUE
0 => view
contains2 =>
KEY => VALUE
0 =>
type2 =>
sort => 1
glpimassiveactionselected =>
glpi_onglet => 2
OCS Inventory NG Agent : 1.01
Server OS: Windows 2003 Server Standard Edition, OCS ver 4100, GLPI ver 0.72.4
Server Hardware: Xeon 3 GHz / 2 GB RAM
Inventoried Computers : 142
Offline
as-tu bien ajouté quelqu'un pour l'envoi de ces notification dans configuration>notification>options des alertes ?parce que par défault il n'y a personne et vérifie bien que cette personne as bien une adresse email
Offline
Oui dans configuration>notification>options des alertes, j'ai bien le profil super-admin pour les alertes sur les infos financières. Et je fais bien parti du groupe super-admin et j'ai effectivement une adresse mail valide. D'ailleurs, comme je le disais avant, si dans configuration>notification>options des alertes, alertes sur expiration des licences je met le profil super-admin et que je clic sur Test, alors je reçois bien un mail!! Je capte pas pkoi ça bloque pour l'autre
OCS Inventory NG Agent : 1.01
Server OS: Windows 2003 Server Standard Edition, OCS ver 4100, GLPI ver 0.72.4
Server Hardware: Xeon 3 GHz / 2 GB RAM
Inventoried Computers : 142
Offline
le mail est peut être bloqué quelque part entre glpi et ton serveur de mail
Offline
Je ne vois pas pourquoi les autres mails (ticket, info expiration, test de mail classique) passeraient tous, et que seul les mails des expirations garanties bloqueraient??
N'est-il pas possible de tracer les mails sortants de GLPI?
OCS Inventory NG Agent : 1.01
Server OS: Windows 2003 Server Standard Edition, OCS ver 4100, GLPI ver 0.72.4
Server Hardware: Xeon 3 GHz / 2 GB RAM
Inventoried Computers : 142
Offline
Peut être une piste:
quand je fais un test sur les expirations garanties, j'obtient donc le mail et sur la page de GLPI, j'ai le message suivant:
Test effectué
Entité Racine: Licence expirée : Licence TESt - 00000-111111: 28-11-2007
Alors que si je fais un test sur l'expiration garantie, j'ai pas de mail et sur la page de GLPI, j'ai juste d'affiché:
Test effectué.
Et ça me fait la même chose pour les alertes sur les cartouches ou sur les consommables ( alors que je n'ai strictement rien de rempli dans ces deux catégories).
En fait c'est comme si les fin de garantie étaient vides.
Last edited by machinehead02 (2008-08-14 14:48:33)
OCS Inventory NG Agent : 1.01
Server OS: Windows 2003 Server Standard Edition, OCS ver 4100, GLPI ver 0.72.4
Server Hardware: Xeon 3 GHz / 2 GB RAM
Inventoried Computers : 142
Offline
le test se fait peut être que si tu as une garantie expirée, je suis en train de tester en local...
Offline
Ouaip c'est ça, le test fonctionne si tu as un contrat de garantie qui est expiré
Offline
Ok merci pour la confirmation.
En fait j'ai testé en modifiant la date d'achat d'un PC (le 14-08-08) et j'ai bien reçu le mail d'expiration de garantie le 15-08-08. Donc le problème est réglé.
Pour le test sur les expirations de garantie, ça sera peut-être sympa de corriger cela dans les prochaines version de GLPI. Ca éviterait les confusions.
Merci à toi Ddurieux pour l'aide que tu m'as apportée et bonne continuation.
P.S. comment on fait pour modifier le titre du sujet? Je voudrai mettre "Résolu" au début du titre?
Last edited by machinehead02 (2008-08-18 09:57:00)
OCS Inventory NG Agent : 1.01
Server OS: Windows 2003 Server Standard Edition, OCS ver 4100, GLPI ver 0.72.4
Server Hardware: Xeon 3 GHz / 2 GB RAM
Inventoried Computers : 142
Offline