Apocrathia

Members
  • Posts

    27
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • URL
    http://Apocrathia.com
  • AIM
    Apocrathia

Apocrathia's Achievements

Noob

Noob (1/14)

0

Reputation

  1. Yeah, just grab perl. It won't hurt anything. No idea what needs it. I probably have something else using it as well, so it wasn't a direct dependency.
  2. So, I sort of got it working, but really it's just a package. It's feeding data into Cacti, and that's all I really care about. My go script has this extra line # Install SNMPd /boot/packages/net-snmp.install The net-snmp.install file looks like this # Install dependencies installpkg /boot/packages/libnl-1.1-i486-1.txz # Install net-snmp installpkg /boot/packages/net-snmp-5.5-i486-2.txz # Clear out any old configs rm -rf /etc/snmp/snmpd.conf # Throw in the new config ln -s /boot/custom/etc/snmp/snmpd.conf /etc/snmp/snmpd.conf # kill any running snmp daemons killall snmpd # start the daemon with the new config /usr/sbin/snmpd -c /etc/snmp/snmpd.conf And that config file looks like this # Basic info syslocation Somewhere syscontact Someone rocommunity public # System info #disk /mnt/disk1 #disk /mnt/disk2 #disk /mnt/disk3 #disk /mnt/disk4 #disk /mnt/disk5 #disk /mnt/disk6 #disk /mnt/disk7 #disk /mnt/cache I know it's not much, but once it was working, I just quit worrying with it.
  3. I've found this post, but nobody ever responded to it. http://lime-technology.com/forum/index.php?topic=23001.msg203601#msg203601 I'm trying to accomplish a similar setup so that I can remotely access my unRAID menu. I've tried proxying through my webserver and even SSH tunneling. Nothing seems to work unless I'm actually on my internal network. I always get an HTTP 502 from my web server, and the SSH tunnel does nothing but lead to a blank screen. I've had no problem forwarding plenty of other services through my Nginx server. unRAID just want to give me problems.
  4. I've been having this problem for the past few weeks. It's just NFS that seems to have this issue. AFP and SMB work fine. Whenever this happens, I manually invoke the mover and the problem disappears. The only way I've been able to replicate it is by putting a new file on my server, and then doing an `ls` stat on the directory. I get the error, I run the mover, the error goes away. Only on NFS. Any ideas? I'm currently on unRaid 5.0.4 Plus, my clients are all OS X 10.9 (There's one Raspbian system, but it hasn't had any issues. It's not even on at the moment).
  5. So, I got an email earlier from my Splunk server notifying me that I'm getting a ton of errors from my unRAID box. Well, I just popped in some new drives, as I've been in the process of getting it up and going for the past few weeks. Anyways, go and check Splunk to see whats in the logs, and holy crap, there's a TON of read errors. Nov 30 06:48:12 10.0.1.10 kernel: md: disk4 read error, sector=92608720 Nov 30 06:48:12 10.0.1.10 kernel: md: disk4 read error, sector=92608712 Nov 30 06:48:12 10.0.1.10 kernel: md: disk4 read error, sector=92608704 Nov 30 06:48:12 10.0.1.10 kernel: md: disk4 read error, sector=92608696 Nov 30 06:48:12 10.0.1.10 kernel: md: disk4 read error, sector=92608688 Nov 30 06:48:12 10.0.1.10 kernel: md: disk4 read error, sector=92608680 Nov 30 06:48:12 10.0.1.10 kernel: md: disk4 read error, sector=92608672 Nov 30 06:48:12 10.0.1.10 kernel: md: disk4 read error, sector=92608664 Nov 30 06:48:12 10.0.1.10 kernel: md: disk4 read error, sector=92608656 Nov 30 06:48:12 10.0.1.10 kernel: md: disk4 read error, sector=92608648 Okay? That disk was fine when it was in the Drobo... I precleared it and everything... Any ideas as to what's going on? I'll wait until the parity sync is done and then I'll run a couple of smart tests.
  6. Thank you so much for posting this. All of my shares' automounts broke after the upgrade because of the AFP path change. I understand why the change was made, but it was a little nerve racking. Thanks for posting the fix to put things back the way they were.
  7. Is it possible? I've got two main shares, one for backups, and one for everything else. I've got a folder nested 2 or 3 levels deep that I want to mount to a system over NFS. Do I have to mount the user share itself, or can I export the subfolder individually?
  8. snmpwalk -v 1 -c public localhost hrFSMountPoint HOST-RESOURCES-MIB::hrFSMountPoint.1 = STRING: "/boot" HOST-RESOURCES-MIB::hrFSMountPoint.2 = STRING: "/mnt/disk1" HOST-RESOURCES-MIB::hrFSMountPoint.3 = STRING: "/mnt/user" That's all I'm getting so far... Thanks for sending me that link, I'll get started on hacking together a plugin. And thanks for pointing this out, I want to figure out a way to get individual shares reporting in their values as well as the entire array.
  9. Pointed the daemon to the absolute path of the config root@Storage:/etc/snmp# snmpd -c /etc/snmp/snmpd.conf -Le could not open /proc/net/if_inet6 cannot open /proc/net/snmp6 ... root@Storage:/etc/snmp# NET-SNMP version 5.5 Couple of ipv6 errors, but I'm not worried about that. Let's try it again root@Storage:/etc/snmp# snmpwalk -v 1 -c public localhost SNMPv2-MIB::sysDescr.0 = STRING: Linux Storage 3.9.6p-unRAID #23 SMP Wed Jun 26 19:25:49 PDT 2013 i686 SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::org DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1504) 0:00:15.04 And then there's about 500 more lines of information after that And on the server side Connection from UDP: [127.0.0.1]:48658->[127.0.0.1] Connection from UDP: [127.0.0.1]:48658->[127.0.0.1] Connection from UDP: [127.0.0.1]:48658->[127.0.0.1] Connection from UDP: [127.0.0.1]:48658->[127.0.0.1] And about 500 more lines of that. All it took was a 2nd set of eyes. Thanks mate! So, I did this because I couldn't find a simple, just snmp package. How can I go about wrapping this up for other users in case they want to run snmp? I'm sure there's people out there running cacti or mrtg (or whatever, zenoss, zabbix, etc...) at home
  10. Here's what I have so far In my /boot/packages, I have the following 3 files: root@Storage:/boot/packages# ls net-snmp* -l -rwxrwxrwx 1 root root 1888292 2010-01-18 15:47 net-snmp-5.5-i486-2.txz* -rwxrwxrwx 1 root root 243 2013-11-13 13:11 net-snmp.conf* -rwxrwxrwx 1 root root 212 2013-11-13 12:35 net-snmp.install* My install script looks like this installpkg /boot/packages/libnl-1.1-i486-1.txz installpkg /boot/packages/net-snmp-5.5-i486-2.txz rm -rf /etc/snmp/snmpd.conf ln -s /boot/packages/net-snmp.conf /etc/snmp/snmpd.conf killall snmpd; /usr/sbin/snmpd My config file looks like this (the disks are commented out for now) # Basic info syslocation somewhere syscontact someone rocommunity public # System info #disk /mnt/disk1 #disk /mnt/disk2 #disk /mnt/disk3 #disk /mnt/disk4 #disk /mnt/disk5 #disk /mnt/disk6 #disk /mnt/disk7 #disk /mnt/cache And this line is in my /boot/config/go script # Install SNMPd /boot/packages/net-snmp.install So, I get everything up and going, I try to run a simple snmpwalk, and I get this: root@Storage:/boot/packages# snmpwalk -v 1 -c public localhost Timeout: No Response from localhost but, the daemon is running? root@Storage:~# ps aux | grep snmpd root 14689 0.0 0.1 10708 3808 ? S 13:27 0:00 snmpd And it's listening... root@Storage:~# netstat -anp | grep 161 udp 0 0 0.0.0.0:161 0.0.0.0:* 14689/snmpd Okay, let's log the output to the screen and see what I get root@Storage:/etc# snmpd -Le could not open /proc/net/if_inet6 cannot open /proc/net/snmp6 ... Warning: no access control information configured. It's unlikely this agent can serve any useful purpose in this state. Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent. NET-SNMP version 5.5 Connection from UDP: [127.0.0.1]:34509->[127.0.0.1] Connection from UDP: [127.0.0.1]:34509->[127.0.0.1] Connection from UDP: [127.0.0.1]:34509->[127.0.0.1] Connection from UDP: [127.0.0.1]:34509->[127.0.0.1] Connection from UDP: [127.0.0.1]:34509->[127.0.0.1] Connection from UDP: [127.0.0.1]:34509->[127.0.0.1] Uh... What? So, it's connecting to the daemon, the passed community name and version should be right? What's going on? I'm hitting a brick wall here... Help, please.
  11. I can't find a concise answer on this one. Is there LDAP authentication support? Do I have to buy a license? (planning on it) Do I need to setup the openldap client in the cli?
  12. Is this going to be broken for a while? Do we have a status on when the "new method of providing a list of compatible plugins" will be up?
  13. Got my PC-Q25B in and it had the horizontal plugs. QC date is July 2013, so it's a newer model. Also, got these cables. 5x right angle SATA cables for $2.99 with free shipping. Perfect for these cases. http://www.ebay.com/itm/300852735839
  14. That's kind of what I'm thinking. Why put 4gb onto my system when it'd be more cost effective to put in 8 or 16? Then again, if it's cache speed we're talking about, you could just use an SSD. The only problem there is connectivity speeds. Not many of us have access to 10gb network connectivity. LACP can only go so far as well. I understand the argument of 'why do you need more memory allocation? It's just a NAS', but especially for these people run all sorts of plugins, the underutilization of hardware capabilities is a bother. Speaking of 10gb, has anyone found a way to get a fat pipe to their in raid box for cheap? I know infiniband is getting cheaper, but it's also probably not a good long term solution, as I see the format dying.