Search found 13 matches

by mazaj
Tue Sep 16, 2008 6:33 am
Forum: Help: Linux/Unix Specific
Topic: RRD File does not exist
Replies: 5
Views: 21005

Try to turn on debug mode. To see something like this. Data Source Debug /usr/bin/rrdtool create \ /usr/share/cacti/rra/server_tx_432.rrd \ --step 60 \ DS:RX:COUNTER:120:0:U \ DS:TX:COUNTER:120:0:U \ RRA:AVERAGE:0.5:5:600 \ RRA:AVERAGE:0.5:1:20160 \ RRA:AVERAGE:0.5:30:700 \ RRA:AVERAGE:0.5:120:775 \...
by mazaj
Tue Sep 16, 2008 6:29 am
Forum: Help: Linux/Unix Specific
Topic: setting up snmp
Replies: 5
Views: 5552

yum -y install net-snmp

vi /etc/snmp/snmpd.conf

Change

com2sec notConfigUser default password

and add
view systemview included .1.3.6.1

or another mask that you might need
by mazaj
Tue Sep 16, 2008 6:27 am
Forum: Help: Linux/Unix Specific
Topic: SNMP ifHCOutOctets values on CentOS 5.2 too high. Why?
Replies: 3
Views: 2604

Unfortunately the same thing is happening if I gather info from /proc/net/dev :(

I just don't understand why...
by mazaj
Mon Sep 01, 2008 2:36 pm
Forum: Help: Linux/Unix Specific
Topic: SNMP ifHCOutOctets values on CentOS 5.2 too high. Why?
Replies: 3
Views: 2604

Hmmm, that reminds me of the factor between bits/sec and bytes/sec. Please check the units Reinhard I have identical setup on many servers, and only this gives me such things. All other are Counter32 and the are working properly. The MIB should be fHCOut Octets which is actually bytes. Correct? So ...
by mazaj
Mon Sep 01, 2008 10:57 am
Forum: Help: Linux/Unix Specific
Topic: SNMP ifHCOutOctets values on CentOS 5.2 too high. Why?
Replies: 3
Views: 2604

SNMP ifHCOutOctets values on CentOS 5.2 too high. Why?

Hello everybody. I have faced one problem, that all my graphs for Gigabit ethernets are too high. I am using CentOS release 5.2 (Final) net-snmp-5.3.1-24.el5_2.1 I was thinking that there is problem in my configuration in Cacti, but it is ok. I have checkted the interface with this simple script whi...
by mazaj
Mon Mar 06, 2006 11:09 am
Forum: Help: General
Topic: I need some GPRINT tricks
Replies: 36
Views: 56876

fping differs from ping in that you can specify any number of targets on the command line, or specify a file containing the lists of targets to ping. Instead of sending to one target until it times out or replies, fping will send out a ping packet and move on to the next target in a round-robin fas...
by mazaj
Fri Mar 03, 2006 12:30 pm
Forum: Help: General
Topic: I need some GPRINT tricks
Replies: 36
Views: 56876

lvm wrote:Perhaps fping would do better as it allows for faster pinging ...
Reinhard
what do you mean "faster"?
by mazaj
Thu Mar 02, 2006 2:23 pm
Forum: Help: General
Topic: I need some GPRINT tricks
Replies: 36
Views: 56876

also i guess very important to change the ping command from $Ping = "ping -l 3 -c $PLCount -i .2 -w 2 $Target |"; to $Ping = "ping -l 3 -c $PLCount -i .2 -W 2 $Target |"; the difference between these two 'w' is that w - Specify a timeout, in seconds, before ping exits regardless ...
by mazaj
Wed Jul 13, 2005 3:17 am
Forum: Help: General
Topic: How to parse SNMP output fields?
Replies: 4
Views: 1689

My SNMP oids are not indexed :( Although I didn't managed to parse multiple values in SNMP, i created a script that pulls those two values via SNMP. For Cacti this is Script query. Output looks like # /bin/sh /usr/hosting/belly/html/cacti/scripts/custom_linux_memory.sh 1 public 192.168.1.11 Total:40...
by mazaj
Tue Jul 12, 2005 11:16 am
Forum: Help: General
Topic: How to parse SNMP output fields?
Replies: 4
Views: 1689

1) ok... but how do I create a graph for these 2 oids?? how will data template look ??

2) Maybe someone still know how to do parsing in SNMP ? maybe this is a bug ?
by mazaj
Tue Jul 12, 2005 11:07 am
Forum: Help: General
Topic: How to parse SNMP output fields?
Replies: 4
Views: 1689

How to parse SNMP output fields?

Hello all. I have created an snmp oid on remote site that gives me information about Memory usage. # snmpget -c public -v 1 192.168.1.11 .1.3.6.1.4.1.2021.51.101.1 UCD-SNMP-MIB::ucdavis.51.101.1 = STRING: "Total:4086512 Used:3887820" Notice I want to have 2 values in 1 (like Load Averages ...
by mazaj
Wed Mar 23, 2005 12:21 pm
Forum: Scripts and Templates
Topic: Help to use my own script, plz
Replies: 1
Views: 1740

problem solved .... thanks to DEBUG level of logging :))
by mazaj
Wed Mar 23, 2005 6:40 am
Forum: Scripts and Templates
Topic: Help to use my own script, plz
Replies: 1
Views: 1740

Help to use my own script, plz

Hello! I have created a simple script with a single output value (like # ./unix_users.pl) does. Though I have 2 input values. # ./check_http.sh google.com /index.htm 0.057000 I want to create some graphs using this script. It doesn't work, now I'll describe what I have done. 1) I have created "...