Hot answers tagged

4

With Cacti you are not limited only to SNMP queries. You can choose to run any script of your own as a Data Input Method. It could be Perl, PHP, Python, Bash or whatever. Just choose the Script/Command input type : Your script has to output at least one value. This value will be attached to an output field within Cacti and used later to create the final ...


2

Both are using for monitoring servers and Services. Simply Nagios is use for check service and Servers availability and send alert. Cacti gives reach graphs facilities. you can use both monitoring tools in your wide Infrastructure for make simple and fast. Use Nagios to check Services (Aapche, Servers, Network, Qmail, MySQL, MemCached, Disk Space, Memory etc)...


2

please install package the called nmap-ncat and check it.


2

Later versions of CentOS install mariadb-server in preference to mysql server. You can list the files installed by mariadb-server using the rpm utility rpm -ql mariadb-server you can then examine the output to see if the file you are looking for is installed (hint: it is, under a different path). If you do not know which package (if any) provides a ...


2

Here https://www.safaribooksonline.com/library/view/cacti-08/9781849513920/ch10s05.html there is some documentation about installing and configure thold with some screenshots. I haven't never used it but I understand that you can only watch in the cacti homepage which treeshold has been reached. In my opinion cacti is a useful tool for capacity planning but ...


1

One option could be to use the snmpnetstat command that comes with the snmp package. It allows to query statistics per protocols using -Cs and -Cp parameters : snmpnetstat [COMMON OPTIONS] [-Ca] [-Cn] [-Cs] [-Cp protocol] AGENT -Cs Show per-protocol statistics. -Cp protocol Show statistics about protocol https://www.systutorials.com/docs/linux/...


1

As far as I know you can get Layer 2 networking information via SNMP from ESXi: Understanding Layer 2 networking as reported by VMware ESXi SNMP You have to query the host (management address). I don't know if you get all the information you need for your billing, though. Just give it a try. Distributed Switches also support NetFlow. Together with a NetFlow ...


1

rrdtool graph takes an existing .rrd and should create (using your command) a colorful png image. If you'd like to create a .rrd file, that'd be rrdtool create ... maybe you're missing one more important setup step in cacti.


1

Package php-xml is not installed on your system. Install it using package manager (apt, yum etc).


1

from Cacti webpage Data Gathering Contains a "data input" mechanism which allows users to define custom scripts that can be used to gather data. Each script can contain arguments that must be entered for each data source created using the script (such as an IP address). Built in SNMP support that can use php-snmp, ucd-snmp, or net-snmp. ...


1

Essentially, you can't because the data is gone. Cacti uses rrdtool to store the data and this tool works by storing detailed records for only a short time and then aggregating this data into lower time resolution for longer time periods. As an example, it might store data in 5 minute intervals for a day 30 min intervals for a week (averaging 6 of the ...


1

Comparison of monitoring systems: https://en.wikipedia.org/wiki/Comparison_of_network_monitoring_systems I don't think, that some monitoring system has failure prediction out of the box. Your provided paper is too academic. You can still build it on the top of some monitoring system, which will provide data/events/failures for your failure algorithm ...


1

For anyone facing the same problem: cat /etc/sysconfig/rrdcached OPTIONS="-w 1800 -z 1800 -f 3600 -s apache -l unix:/var/run/rrdcached/rrdcached.sock -j /var/tmp/ -F -b /opt/observium/rrd/" RRDC_USER=apache And for the collectd configuration: <Plugin rrdcached> DaemonAddress "unix:/var/run/rrdcached/rrdcached.sock" DataDir "/var/lib/collectd"...


1

Looks to me more like a net-snmp problem. More specifically, a 32 bit limit in the MIB. Look for some details in http://sourceforge.net/p/net-snmp/patches/959/. There are a few other pages relating to this problem, easily googled. I have a similar graph problem with a server running ext4, with a 12TB disk (used for Bacula backups). Still searching for a ...


1

I use nagios for alerting and collectd for metric collection. collectd then sends the data to graphite which stores the metrics. As Dashboard I use the standard graphite web UI. http://graphite.wikidot.com/ http://collectd.org/ It would be a lot of work to define all the dashboards and graphs by hand, so I found a little python script, which generates ...


1

You are right. The values displayed on the graph will be a rate, i.e. drops/second. Cacti collects a counter value every X minutes (5 by default), which increases monotonically. RRD will then graph counter-type values as a rate, as you have seen.


1

When setting up a new monitoring host (I use Nagios as well), I try to make sure that it has as little in common (as far as infrastructure goes) with the hosts to be monitored as possible. So, if you're monitoring internal servers/services in a VMware environment, then maybe set up a standalone ESXi host for your monitoring VM. If you're monitoring services ...


1

I recently successfully upgraded a borked 0.8.8c database to Cacti 1.2.x. Someone had installed it years ago, used a cronjob from the newer Cacti version, but the files from the older one and a DB version somewhere inbetween. This is how I did it: Install newest Cacti, Spine and what I had installed on the old server onto the new one rsync --ignore-...


1

According to the documentation on Apache....The directives you state will always result in denial..reasons: Directive order deny,allow analyzes deny directives FIRST then allow directives. Your deny from all directive matches everybody and thus due to #1 nobody gets access. Your 0.0.0.0 IP number will not match everybody, thus your allow statement is not ...


1

Due to licencing issues MIB database was removed from the libsnmp-base sometime ago, so currently your client cannot translate the names to OIDs. You can query the snmpd server using the object identifier directly, by: (asking for first line of the output) snmpwalk -c <community> <site> 1.3.6.1.4.1.8072.1.3.2.3.1.1 Alternatively you can install ...


1

snmpd does not export any metrics for subinterfaces. I'm pretty sure linux doesn't even record those metrics. Observe: $ ifconfig -a <cut non-eth1 data> eth1 Link encap:Ethernet HWaddr E4:11:5B:E0:14:5C inet addr:87.233.215.178 Bcast:87.233.215.191 Mask:255.255.255.240 inet6 addr: fe80::e611:5bff:fee0:145c/64 Scope:Link ...


1

I've managed to add my own by editing the database entry for the threshold template, in the following order but checked only for 48 hours will need some time to see what I actually need, like a month or more. Did it the following way but if anyone has suggestions this question remains open, Created the template with the web gui, changed the ...


1

The "old" snmp stats export only values managed by the apps via the api. The new api is this one: http://uwsgi-docs.readthedocs.org/en/latest/Metrics.html that expose values via snmp as 1.3.6.1.4.1.35156.17.3.x in both cases you cannot walk but only get direct values


1

Realtime doesn't use the standard Cacti rra files. It effectively has it's own poller, and it's own temporary RRDtool files with finer detail settings, to support the faster polling. You can see those files in the realtime-cache folder which you would have set up when installing Realtime. I'd see what happens if you use that command from a shell (replace ...


1

I had to fix permissions for the parent of the symlink'd directories /var/lib/cacti/rra /var/log/cacti Notice: $ ll /usr/share/cacti/ total 868 ... lrwxrwxrwx. 1 nginx nginx 18 Oct 12 23:21 cli -> /var/lib/cacti/cli ... lrwxrwxrwx. 1 nginx nginx 15 Oct 12 23:21 log -> /var/log/cacti/ ... lrwxrwxrwx. 1 nginx nginx 18 Oct 12 23:21 rra -> /...


1

Use sudo for this. Add this to /etc/sudoers snmp ALL= NOPASSWD: /usr/local/sbin/cacti_bind9.7/runstats.sh And modify your snmpd.conf extend line to: extend .1.3.6.1.4.1.18689.0.1 dnscache-stats /usr/bin/sudo /usr/local/sbin/cacti_bind9.7/runstats.sh Regards, Rubén.


Only top voted, non community-wiki answers of a minimum length are eligible