Hi
I have hmailserver for mail server, i have some vbs scripts for monitoring hmailserver with mrtg (received mail, viruses, spams...) is it possible to use the scripts woth cacti ?
mrtg.cfg for hmailserver (received mails):
PageTop[HMAILSERVER_NBMESSAGES]: Nb mails passerelle hMailServer
Title[HMAILSERVER_NBMESSAGES]: Nb mails passerelle hMailServer
Target[HMAILSERVER_NBMESSAGES]: `cscript //Nologo hmailserver_NumberOfMessages.vbs`
MaxBytes[HMAILSERVER_NBMESSAGES]: 25
YLegend[HMAILSERVER_NBMESSAGES]: Mails
AbsMax[HMAILSERVER_NBMESSAGES]: 25
Options[HMAILSERVER_NBMESSAGES]: perhour, nopercent, integer, transparent, noborder
ShortLegend[HMAILSERVER_NBMESSAGES]: mails
Legend1[HMAILSERVER_NBMESSAGES]: Mails
Legend2[HMAILSERVER_NBMESSAGES]: Mails
LegendI[HMAILSERVER_NBMESSAGES]: Mails:
LegendO[HMAILSERVER_NBMESSAGES]: Mails:
#WithPeak[HMAILSERVER_NBMESSAGES]: ymwd
Monitoring hmailserver with cacti
Moderators: Developers, Moderators
Monitoring hmailserver with cacti
- Attachments
-
- hmailserver_NumberOfMessages.rar
- Vbs script
- (286 Bytes) Downloaded 171 times
Visit my web site: http://www.websat-telecom.com
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Yes, you can use scripts with cacti.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Look at unix_mounted_partitions and use that as an example of how to do a Data Query with a script.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Yep
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 2 guests