Hi Gilles,
Output below -
seems to work if it's hard coded
C:\wamp\www\Cacti\plugins\manage>php manage_check.php snmp 41
id : 41 , statut was : prob , method : 0 , result : 186872592
Host : hostname.domain.co.uk (hostname), old uptime is : 186864976, new is : 1868725
92
+ mail or netsend demande :
mcutting@domain.co.uk
+ OK up
Sending files is no longer supported.
More help is available by typing NET HELPMSG 3777.
+ service gfi languard s.e.l.m. 5.0 alerter agent service , was down
-1-
-> change
+ mail or netsend demande :
mcutting@domain.co.uk
+ OK up
The message alias could not be found on the network.
More help is available by typing NET HELPMSG 2273.
+ service gfi languard s.e.l.m. 5.0 archiver agent service , was down
-1-
-> change
+ mail or netsend demande :
mcutting@domain.co.uk
+ OK up
The message alias could not be found on the network.
More help is available by typing NET HELPMSG 2273.
+ service gfi languard s.e.l.m. 5.0 collector agent service , was down
-1-
-> change
+ mail or netsend demande :
mcutting@domain.co.uk
+ OK up
The message alias could not be found on the network.
More help is available by typing NET HELPMSG 2273.
+ service print spooler , was down
-1-
-> change
+ mail or netsend demande :
mcutting@domain.co.uk
+ OK up
The message alias could not be found on the network.
More help is available by typing NET HELPMSG 2273.
Let me know if you need anything else..