Search found 14 matches

by @ryaz
Sun Aug 06, 2006 4:06 pm
Forum: Help: General
Topic: summation of "LAST" values
Replies: 7
Views: 2203

Hello and thanks for your patience In fact, I check the number of postfix's messages "Clean". All 5 minutes, a script counts the number of new messages "clean" in my log file, and I put them in my own snmp MIB. I get this number (by snmp) by cacti every 5 minutes (polling every 5 minutes). The graph...
by @ryaz
Thu Aug 03, 2006 2:40 pm
Forum: Help: General
Topic: summation of "LAST" values
Replies: 7
Views: 2203

hello, thanks

i saw, but i try "|sum:1:current:1:auto|" but it doesn't run...the resultats aren't coherent (enormous), have you any ideas why?
by @ryaz
Wed Aug 02, 2006 8:29 am
Forum: Help: General
Topic: summation of "LAST" values
Replies: 7
Views: 2203

Hello, thanks
Do I create a new "Graph Template Items" to get the total (or sum) of the LAST values (in fact sum of all the values)?

regards
by @ryaz
Wed Aug 02, 2006 2:58 am
Forum: Help: General
Topic: summation of "LAST" values
Replies: 7
Views: 2203

summation of "LAST" values

Hello, I check my values in snmp with "Get SNMP Data" and I want to get the sum of the current value... In the legend of my uniq graph, i have a value for current, min, max and average... and i want a value for "total" (sum of the "last" values). Its's possible? I tried |sum:auto:current:0:auto| but...
by @ryaz
Tue Jul 18, 2006 3:09 pm
Forum: Scripts and Templates
Topic: Walkthrough on Postifx monitoring with Cacti
Replies: 84
Views: 193716

Hello! In fact, i think i don't really understand the end of the fetch_mail_statistics.pl script. Anyone could help me please? thanks. # Return archived data. open( DBFILE, $dbFile ) || die( "Cannot open db file `".$dbFile."'!" ); @data = (); while( <DBFILE> ) { chomp; push @data, $_; } $reqMethod =...
by @ryaz
Mon Jul 17, 2006 1:23 pm
Forum: Scripts and Templates
Topic: Walkthrough on Postifx monitoring with Cacti
Replies: 84
Views: 193716

Hi @riaz, First sorry for my english, i try to improve it :D I do a test. I install a simple postfix on a test environment. I put logs manually in postfix logs. If you have 1 message sent in the first minute and 1 message sent in the last minute before cacti run the poll you will collecte 2 message...
by @ryaz
Thu Jul 13, 2006 4:50 pm
Forum: Scripts and Templates
Topic: Walkthrough on Postifx monitoring with Cacti
Replies: 84
Views: 193716

hello, it's again me...sorry to bother you again :) Well, i attentively read the perl script and i saw that the maillog file is cleanly scan with the perl fonctions tell() and seek() : $MINRES=50s means that the values collected are in the format : "msgs / 50s" instead of "msgs / 60s"?no? With my ca...
by @ryaz
Thu Jul 13, 2006 4:39 am
Forum: Scripts and Templates
Topic: Walkthrough on Postifx monitoring with Cacti
Replies: 84
Views: 193716

thank you, and acoording to you what would be the best value for me?

I'am certainly stupid,the value must be 5*60?
by @ryaz
Thu Jul 13, 2006 4:11 am
Forum: Scripts and Templates
Topic: Walkthrough on Postifx monitoring with Cacti
Replies: 84
Views: 193716

Hello, i have one question for you :

- the poller.php of cacti runs all 5 minutes, well what changement/modification to do in my fetch_mail_statistics.pl ?

thanks
by @ryaz
Wed Jun 07, 2006 9:24 am
Forum: Help: General
Topic: [SNMP] number and load of one particular process
Replies: 4
Views: 1643

thank you...and i agree with you.
In fact, i want to avoid to re-write a script if anyone have already do it... well i am going to try to write it.... :)

Regards,
by @ryaz
Wed Jun 07, 2006 4:14 am
Forum: Scripts and Templates
Topic: Walkthrough on Postifx monitoring with Cacti
Replies: 84
Views: 193716

[newbie with postfix]

Hello,

my MTA is postfix, but i don't find my /var/log/mailstats.db...
Where (or in which config file) do i find this file?

I found : /etc/postfix/access.db...

Regards,
by @ryaz
Wed Jun 07, 2006 2:58 am
Forum: Help: General
Topic: [SNMP] number and load of one particular process
Replies: 4
Views: 1643

[SNMP] number and load of one particular process

Hello,

I search a template which gives number and load of one particular process.
Like for example the process "httpd"
Does it exist?
PS : My host is a Linux server with net-snmp.

Regards,
by @ryaz
Thu Jun 01, 2006 11:04 am
Forum: Informational/HOWTO's
Topic: [HOWTO] Using LDAP auth without Windows ADS
Replies: 12
Views: 21355

Re: Tadaaaa!

nobody helped me - so I helped me myself :)) I wrote a little filter. so you can logon with the uid (or every other ldap attribute). so after "if ($ldap_conn)" I implemated in the auth_login.php: $ldapb = @ldap_bind($ldap_conn); $ldapuid = $_POST["login_username"]; $ldapsr = ldap_search($ldap_conn,...
by @ryaz
Wed May 31, 2006 3:57 pm
Forum: Help: General
Topic: ldap authentification with filter?
Replies: 1
Views: 861

ldap authentification with filter?

Hello,

my cacti is : 0.86h
my DN for ldap authentication is : uid=<username>,ou=people,dc=myfirm,dc=fr


but how i can do a filter?

(now, i have a .htaccess with a filter ldap... but... i want better)