Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 160 online users. » 0 Member(s) | 157 Guest(s) Applebot, Bing, Google
|
Latest Threads |
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 518
|
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 89,596
|
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 42,819
|
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,925
|
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,420
|
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 41,547
|
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 118,788
|
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 56,562
|
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 46,453
|
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 42,207
|
|
|
Fedora Core 5 |
Posted by: xDamox - 2005-11-23, 10:13 PM - Forum: Fedora Core Release 5
- No Replies
|
 |
Hi,
Just to inform people Fedora Core 5 test1 has been released.
Day Month Event
14 Nov test1 devel freeze
21 Nov test1 release
|
|
|
How to Setup MRTG step by step |
Posted by: Strabo - 2005-11-23, 04:08 PM - Forum: LAMP
- Replies (7)
|
 |
Ok so it has been a while since I wrote a how-to for this site so here goes. This seems to be one of the more sought after confgiurations for network monitoring. You will need apache (httpd), mrt, and net-snmp-utils installed. since most noobs use RPM installations I am sure you can figure ou how to use the add remove programs or rpm -ivh <rpm>.
Below is the example of me adding my internet ip of my firewall to mrtg. First you need to make sure you can get snmp data from the device you wish to monitor.
Quote:snmpwalk -v 1 -c public 69.250.150.54 system
#you hould see this output for snmp walk:Quote:[root@webfc4 ~]# snmpwalk -v 1 -c public 69.250.150.54 systemSNMPv2-MIB::sysDescr.0 = STRING: Linux fw1 2.4.9-39cp #1 Sun Jun 1 10:32:06 GMT 2003 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
SNMPv2-MIB::sysUpTime.0 = Timeticks: (230122338) 26 days, 15:13:43.38
SNMPv2-MIB::sysContact.0 = STRING: Unknown
SNMPv2-MIB::sysName.0 = STRING: fw1
SNMPv2-MIB::sysLocation.0 = STRING: "Unknown"
SNMPv2-MIB::sysServices.0 = INTEGER: 76
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (9) 0:00:00.09
SNMPv2-MIB::sysORID.1 = OID: IF-MIB::ifMIB
SNMPv2-MIB::sysORID.2 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.3 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.4 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.5 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.6 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.7 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.9 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module to describe generic objects for network interface sub-layers
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.7 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.8 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.9 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (5) 0:00:00.05
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (5) 0:00:00.05
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (5) 0:00:00.05
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (5) 0:00:00.05
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (5) 0:00:00.05
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (5) 0:00:00.05
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (9) 0:00:00.09
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (9) 0:00:00.09
SNMPv2-MIB::sysORUpTime.9 = Timeticks: (9) 0:00:00.09
[root@webfc4 ~]#
Now you need to make the config (cfg) file for the device you want to monitor.
Quote:/usr/bin/cfgmaker --output=/etc/mrtg/69.250.150.54.cfg --ifref=ip --global "workdir: /var/www/mrtg" --snmp-options=:::::1 public@69.250.150.54
Now you need to run the env statement "three" times:
Quote:#run three times#env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
env LANG=C /usr/bin/mrtg /etc/mrtg/69.250.150.54.cfg
#You should see this after each time ran:
Quote:[root@webfc4 ~]# env LANG=C /usr/bin/mrtg /etc/mrtg/69.250.150.54.cfgRateup WARNING: /usr/bin/rateup could not read the primary log file for 69.250.150.54_192.168.1.2
Rateup WARNING: /usr/bin/rateup The backup log file for 69.250.150.54_192.168.1.2 was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove 69.250.150.54_192.168.1.2.old updating log file
Rateup WARNING: /usr/bin/rateup Can't rename 69.250.150.54_192.168.1.2.log to 69.250.150.54_192.168.1.2.old updating log file
[root@webfc4 ~]# env LANG=C /usr/bin/mrtg /etc/mrtg/69.250.150.54.cfg
Rateup WARNING: /usr/bin/rateup Can't remove 69.250.150.54_192.168.1.2.old updating log file
[root@webfc4 ~]# env LANG=C /usr/bin/mrtg /etc/mrtg/69.250.150.54.cfg
[root@webfc4 ~]#
Now you need to make the actual index files for each machine:
#Very important you need to append the new machine to the line each time, if you do not you will only see
the newest entry.
Quote:indexmaker --output=/var/www/mrtg/index.html /etc/mrtg/mrtg.cfg /etc/mrtg/192.168.1.100.cfg /etc/mrtg/192.168.1.102.cfg /etc/mrtg/192.168.1.204.cfg /etc/mrtg/192.168.1.2.cfg /etc/mrtg/69.250.150.54.cfg
Now lets edit mrtg to poll ever 5 minutes:
Quote:vi /etc/cron.d/mrtg
#Enter in you machines like my example below:
0-59/5 * * * * root env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
0-59/5 * * * * root env LANG=C /usr/bin/mrtg /etc/mrtg/192.168.1.100.cfg
0-59/5 * * * * root env LANG=C /usr/bin/mrtg /etc/mrtg/192.168.1.102.cfg
0-59/5 * * * * root env LANG=C /usr/bin/mrtg /etc/mrtg/192.168.1.204.cfg
0-59/5 * * * * root env LANG=C /usr/bin/mrtg /etc/mrtg/192.168.1.2.cfg
0-59/5 * * * * root env LANG=C /usr/bin/mrtg /etc/mrtg/69.250.150.54.cfg
Now restart the crond service.
Quote:service crond restart
Strabo
|
|
|
Keyboard Shortcuts |
Posted by: kingttx - 2005-11-22, 09:49 PM - Forum: Mandriva
- Replies (1)
|
 |
Most keyboard shortcuts have been set up, most of them very similar to Windows. This helps those that switch over like I did years ago to be comfortable. However, there is much more you can do than copy, paste, and switch between open applications. I hope this helps you as you make your KDE desktop on Mandriva even more "yours".
KeyboardShortcuts.pdf
Enjoy!
Tom
|
|
|
I am thankful |
Posted by: lia - 2005-11-22, 08:35 AM - Forum: General Chat
- Replies (1)
|
 |
I AM Thankful :
> FOR THE WIFE
> WHO SAYS IT'S HOT DOGS TONIGHT,
> BECAUSE SHE IS HOME WITH ME,
> AND NOT OUT WITH SOMEONE ELSE.
>
>
>
>
>
>
> FOR THE HUSBAND
> WHO IS ON THE SOFA
> BEING A COUCH POTATO,
> BECAUSE HE IS HOME WITH ME
> AND NOT OUT AT THE BARS.
>
>
>
>
>
>
>
>
> FOR THE TEENAGER
> WHO IS COMPLAINING ABOUT DOING DISHES
> BECAUSE IT MEANS SHE IS AT HOME,
> NOT ON THE STREETS.
>
>
>
>
>
>
>
>
> FOR THE TAXES I PAY
> BECAUSE IT MEANS
> I AM EMPLOYED.
>
>
>
>
>
>
>
>
> FOR THE MESS TO CLEAN AFTER A PARTY
> BECAUSE IT MEANS I HAVE
> BEEN SURROUNDED BY FRIENDS.
>
>
>
>
>
>
>
>
> FOR THE CLOTHES THAT FIT A LITTLE TOO SNUG
> BECAUSE IT MEANS
> I HAVE ENOUGH TO EAT.
>
>
>
>
>
>
>
>
> FOR MY SHADOW THAT WATCHES ME WORK
> BECAUSE IT MEANS
> I AM OUT IN THE SUNSHINE
>
>
>
>
>
>
>
>
> FOR A LAWN THAT NEEDS MOWING,
> WINDOWS THAT NEED CLEANING,
> AND GUTTERS THAT NEED FIXING
> BECAUSE IT MEANS I HAVE A HOME.
>
> FOR ALL THE COMPLAINING
> I HEAR ABOUT THE GOVERNMENT
> BECAUSE IT MEANS
> WE HAVE FREEDOM OF SPEECH..
>
> FOR THE PARKING SPOT
> I FIND AT THE FAR END OF THE PARKING LOT
> BECAUSE IT MEANS I AM CAPABLE OF WALKING
> AND I HAVE BEEN BLESSED WITH TRANSPORTATION.
>
>
> FOR MY HUGE HEATING BILL
> BECAUSE IT MEANS
> I AM WARM.
>
> ! FOR THE LADY BEHIND ME IN CHURCH
> WHO SINGS OFF KEY BECAUSE IT MEANS
> I CAN HEAR.
>
>
>
>
>
>
>
>
> FOR THE PILE OF LAUNDRY AND IRONING
> BECAUSE IT MEANS
> I HAVE CLOTHES TO WEAR.
>
>
>
>
>
>
>
>
> FOR WEARINESS AND ACHING MUSCLES
> AT THE END OF THE DAY
> BECAUSE IT MEANS I HAVE BEEN
> CAPABLE OF WORKING HARD.
>
>
>
>
>
>
>
>
> FOR THE ALARM THAT GOES OFF
> IN THE EARLY MORNING HOURS
> BECAUSE IT MEANS I AM ALIVE.
|
|
|
super noob |
Posted by: richie - 2005-11-16, 11:27 PM - Forum: Network Problems
- Replies (4)
|
 |
how do i change the name of my computer so that it doesn't read localhost in the command line?
thanks,
rich
|
|
|
SUPER noob |
Posted by: richie - 2005-11-16, 11:25 PM - Forum: Hello
- Replies (4)
|
 |
hi.
i'm brand new to linux and need tons of help. sorry. i look forward to learning everything.
thanks,
rich villa
|
|
|
|