Cacti Configure Error Cannot Find Snmp Headers
Contents |
SNMP header Moderators: Moderators, Developers Page 1 of 1 [ 3 posts ] Previous configure: error: cannot find mysql headers. use --with-mysql= to specify non-default path. topic | Next topic Author Message TFC Post subject: cactid-Cannot find SNMP
Install Cacti Spine Ubuntu
headerPosted: Fri Jan 09, 2004 8:23 am Cacti Pro User Joined: Wed Apr 09, 2003 2:17 amPosts: 710Location: fatal: unable to locate dos2unix utility Izmir/Turkey Hi, I use cacti 8.4 When I try to compile cactid, I use ./configure command then at the end of compiling I get an error message: Quote:configure: error: Cannot c compiler cannot create executables find SNMP header. Use --with-snmp= to specify non-default path.Then I search my linux box for ucd-snmp. I found that snmpd.conf file under /var/ucd-snmp/I write down same command:Quote:./configure --with-snmp=/var/ucd-snmp/snmpd.confThen I get the message:Quote:./configure: error: Cannot find SNMP header under =/var/ucd-snmp/snmpd.conf.and then I try :Quote:./configure --with-snmp=/var/ucd-snmp/I get message: Quote:./configure: error: Cannot find SNMP header under =/var/ucd-snmp/ I look at my RH7.3 RPMs and I see that I have ucd-snmp-utils 4.3.4-3 and ucn-snmp 4.2.4-3 Is this wrong rpm package? _________________Quote:Cacti Version - 0.8.7ePlugin Architecture - 2.5Poller Type - CMD.phpServer Info - Linux 2.6.28-11-serverWeb Server - Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.5 with Suhosin-PatchPHP - 5.2.6-3ubuntu4.5PHP Extensions - zip, xmlwriter, libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, SimpleXML, sockets, soap, SPL, shmop, standard, Reflection, posix, mime_magic, mbstring, json, iconv, hash, gettext, ftp, filter, exif, dom, dba, date, ctype, calendar, bz2, bcmath, zlib, pcre, openssl, xmlreader, apache2handler, gd, mysql, mysqli, PDO, pdo_mysql, rrdtool, snmpMySQL - 5.0.75-0ubuntu10.2RRDTool - 1.3.1SNMP - 5.4.1PluginsPHP Network Weathermap (weathermap - v0.97a)SuperLinks (superlinks - v0.8)Real-time statistics (zond - v0.34c)Host Info (hostinfo - v0.2)Report Creator (reports - v0.3)Global Plugin Settings (settings - v0.5)Network Discovery (discovery - v0.9)System Title Changer (titlechanger - v0.1) Top aduitsis Post subject: Posted: Fri Jan 09, 2004 9:39 am Joined: Thu Jan 08, 2004 8:29 amPosts: 3 You are using an outdated version of netsnmp. Perhaps you should try looking for version 5.xx preferably 5.1. Also, try to find where the snmp.h file is
Forums Hosting Security and Technology Cannot find SNMP headers If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 7 of 7 Thread: Cannot find SNMP headers Tweet Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode http://forums.cacti.net/about3047.html Switch to Hybrid Mode Switch to Threaded Mode 11-13-2007,02:23 AM #1 hpham View Profile View Forum Posts View Forum Threads Temporarily Suspended Join Date Sep 2007 Posts 265 Cannot find SNMP headers I am installing rtg, but it returned error configure: error: Cannot find SNMP headers. Use --with-snmp= to specify non-default path. I have installed net-snmp by command yum install net-snmp net-snmp-utils and thought http://www.webhostingtalk.com/showthread.php?t=648813 snmp installed to /usr/share/snmp. However, when using configure --with-snmp=/usr/share/snmp, still the same error. Is there any idea to help? Thank you. Reply With Quote 0 11-13-2007,02:29 AM #2 david510 View Profile View Forum Posts View Forum Threads Visit Homepage Web Hosting Master Join Date Oct 2004 Location Kerala, India Posts 4,750 What does this result? If it is showing up, use that path. /usr/sbin/snmpd -v David | www.cliffsupport.com Affordable Server Management Solutions sales AT cliffsupport DOT com CliffWebManager | Access WHM from iPhone and Android Reply With Quote 0 11-13-2007,02:30 AM #3 hpham View Profile View Forum Posts View Forum Threads Temporarily Suspended Join Date Sep 2007 Posts 265 #snmpd -v NET-SNMP version: 5.1.2 Web: http://www.net-snmp.org/ Email: [emailprotected] Reply With Quote 0 11-13-2007,02:44 AM #4 david510 View Profile View Forum Posts View Forum Threads Visit Homepage Web Hosting Master Join Date Oct 2004 Location Kerala, India Posts 4,750 Try this one. http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html David | www.cliffsupport.com Affordable Server Management Solutions sales AT cliffsupport DOT com CliffWebManager | Access WHM from iPhone and Android Reply With Quote 0 11-13-2007,02:49 AM #5
# Hard parse, soft parse, soft soft parse, no parse atall → How to install spine forcacti December https://alexzeng.wordpress.com/2012/12/26/how-to-install-spine-for-cacti/ 26, 2012 Leave a comment As cacti.net said, Spine is the fast replacement for cmd.php. So I started to install it for cacti by reference this doc Spine install. http://liuxiangyang.blog.163.com/blog/static/175470221201168114622828/ I run into lots of issues. Later, I found there is a better guide Install and Configure Spine. But it's still not enough. The solution in simple word is cannot find that we need to run ./bootstrap in the same directory before we run ./configure. The long store is that, in order to run bootstrap, we need to install more packages. During my practice, Spine did improved the performance. cmd.php : "Maximum Concurrent Poller Processes"=20 cannot finish in 1 minute, CPU usage maximum is 65% Spine: "Maximum Concurrent cacti configure error Poller Processes"=10 and "Maximum Threads per Process"=10 cannot finish in 1 minute, CPU usage reached 100% "Maximum Concurrent Poller Processes"=5 and "Maximum Threads per Process"=10 finish in 36 seconds, CPU usage reached 99% "Maximum Concurrent Poller Processes"=3 and "Maximum Threads per Process"=20 finish in 33 seconds, CPU usage is lower "Maximum Concurrent Poller Processes"=2 and "Maximum Threads per Process"=30 finish in 33 seconds, CPU usage is 97% "Maximum Concurrent Poller Processes"=1 and "Maximum Threads per Process"=30 finish in 44 seconds, CPU usage maximum is 85% "Maximum Concurrent Poller Processes"=1 and "Maximum Threads per Process"=20 finish in 44 seconds, CPU usage maximum is 82% "Maximum Concurrent Poller Processes"=1 and "Maximum Threads per Process"=15 finish in 56 seconds, CPU usage maximum is 60% "Maximum Concurrent Poller Processes"=1 and "Maximum Threads per Process"=10 cannot finish in 1 minute, CPU usage maximum is 30% Finally, I use 1 process with 20 threads. That meets 1 minute limit, and still have some buffer, and lower CPU usage. Here is the log: 12/26/2012 03:17:47 AM - SYSTEM