Is there anybody who ever embedded perl code to MRTG?

Å

å°ç™½

I want to monitor some interfaces by MRTG and store infromation got by
MRTG to Mysql.Now i 'd like to write perl code to update database,and
want to embed the code to MRTG's so that when MRTG fetchs network
information it has to run my perl code to store the information.
I got following 2 problems uncertain.
1)Can I embedded my perl code to MRTG's?how to?
2)Can I get the information that MRTG get?how to?
thanks
 
S

Samwyse

å°ç™½ said:
I want to monitor some interfaces by MRTG and store infromation got by
MRTG to Mysql.Now i 'd like to write perl code to update database,and
want to embed the code to MRTG's so that when MRTG fetchs network
information it has to run my perl code to store the information.
I got following 2 problems uncertain.
1)Can I embedded my perl code to MRTG's?how to?

1a) Yes, the current versions of MRTG is written in Perl.
1b) RTFM and/or STFW
2)Can I get the information that MRTG get?how to?

2a) Yes.
2b) See answer (1b).
 
Å

å°ç™½

thanks,i will try.
but can you explain what is RTFM and/or STFW?maybe i should google it^_^
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top