Search found 12 matches

by khalilmeb
Fri Jul 05, 2019 5:28 am
Forum: Scripts and Templates
Topic: Unable to graph my own bash script using cacti
Replies: 10
Views: 2626

Re: Unable to graph my own bash script using cacti

netniV wrote:Well, your post does not add up. You have spaces in your echo statement that are not in your output.
How to fix this issue? I actually don't get it how I fix the space thing. Could you please write me down the correct echo?
by khalilmeb
Thu Jul 04, 2019 10:21 am
Forum: Scripts and Templates
Topic: Unable to graph my own bash script using cacti
Replies: 10
Views: 2626

Re: Unable to graph my own bash script using cacti

Your screenshot of the script output does not match up with the names on the data query from what I saw ... Well, this is the script I use: #!/bin/bash rs="$(snmpnetstat -v2c -c public -Cs -Cp udp "$@")" ReceivedDatagrams=$(echo $rs | cut -d"/" -f1) InvalidPort=$(echo ...
by khalilmeb
Thu Jul 04, 2019 5:44 am
Forum: Scripts and Templates
Topic: Unable to graph my own bash script using cacti
Replies: 10
Views: 2626

Re: Unable to graph my own bash script using cacti

Try changing your field names so that they don't have spaces. I think I have given the correct names where don't have any spaces. Except for the friendly names, don't you think so? https://i.ibb.co/h2zhQRS/Screenshot-2019-07-04-at-12-40-20-pm.png https://i.ibb.co/5BPvWVG/Screenshot-2019-07-04-at-12...
by khalilmeb
Wed Jul 03, 2019 11:13 am
Forum: Scripts and Templates
Topic: Unable to graph my own bash script using cacti
Replies: 10
Views: 2626

Re: How do I make my own Scripts Work With Cacti?

You'll find examples in the cacti scripts folder already. That's where I learnt how to do it. I have collaborated on scripts with various companies though I usually charge for that time because when writing a custom script, its also the maintenance and support of it when they want more or something...
by khalilmeb
Wed Jul 03, 2019 6:13 am
Forum: Scripts and Templates
Topic: Unable to graph my own bash script using cacti
Replies: 10
Views: 2626

Unable to graph my own bash script using cacti

Hello :) I have the following output of running SNMPstat which is snmpnetstat -v2c -c public -Cs -Cp udp 172.0.1.11 The output of the command is: udp: 198 total datagrams received 65 datagrams to invalid port 0 datagrams dropped due to errors 265 output datagram requests I know that the Data input m...
by khalilmeb
Wed Jul 03, 2019 6:06 am
Forum: Help: Linux/Unix Specific
Topic: How to monitor the packet loss and Netstat of Linux Servers?
Replies: 2
Views: 1799

Re: How to monitor the packet loss and Netstat of Linux Serv

I assume it's already there. There is a "In/Out Errors/Discarded packets" graph type for an interface. In the view of a device, click on "Create graphs for this device", scroll to the bottom to the "Data Query [SNMP - Interface statistics]" and choose the graph type on...
by khalilmeb
Mon Jul 01, 2019 7:55 am
Forum: Help: General
Topic: How to configure Net-SNMP with Cacti
Replies: 1
Views: 448

Re: How to configure Net-SNMP with Cacti

This tutorial is helpful to accomplish the configuration

Link to Tutorial: https://www.itzgeek.com/how-tos/linux/h ... cacti.html
by khalilmeb
Mon Jul 01, 2019 7:51 am
Forum: Help: Linux/Unix Specific
Topic: How to monitor the packet loss and Netstat of Linux Servers?
Replies: 2
Views: 1799

How to monitor the packet loss and Netstat of Linux Servers?

I'm testing my network infrastructure where I'm using iPerf and UDP protocol. I'm running Cacti an open-source, web-based network monitoring and graphing. SNMP server is enabled in Linux servers. First of all, so far, Cacti is able to monitor all template's graphs which are already there (e.g., Memo...
by khalilmeb
Fri Jun 28, 2019 5:57 am
Forum: Help: General
Topic: How to configure Net-SNMP with Cacti
Replies: 1
Views: 448

How to configure Net-SNMP with Cacti

Hello :)

I got my ubuntu instances where I enabled and installed Net-SNMP on it. I have been looking for a tutorial on how to configure Net-SNMP in Cacti server but did not find anything useful.

Would anybody provide assistance? Has somebody tried it before?
by khalilmeb
Thu Jun 20, 2019 11:24 am
Forum: Help: Linux/Unix Specific
Topic: [Solved]Unable to graph SNMP data of EC2 instance on AWS
Replies: 5
Views: 1299

Re: Unable to graph SNMP data of EC2 instances using Cacti A

Please ensure you have polling enabled in the cron. No cron task=no graphs. I'm sorry, how can I check that? Well, if you mean changing Poller Type from cmd.php to spine, I did. Here's the log 2019/06/20 15:35:01 - POLLER: Poller[1] WARNING: Cron is out of sync with the Poller Interval! The Poller ...
by khalilmeb
Thu Jun 20, 2019 10:19 am
Forum: Help: Linux/Unix Specific
Topic: [Solved]Unable to graph SNMP data of EC2 instance on AWS
Replies: 5
Views: 1299

Re: Unable to graph SNMP data of EC2 instances using Cacti A

Please ensure you have polling enabled in the cron. No cron task=no graphs. I'm sorry, how can I check that? Well, if you mean changing Poller Type from cmd.php to spine, I did. Here's the log 2019/06/20 15:35:01 - POLLER: Poller[1] WARNING: Cron is out of sync with the Poller Interval! The Poller ...
by khalilmeb
Thu Jun 20, 2019 9:29 am
Forum: Help: Linux/Unix Specific
Topic: [Solved]Unable to graph SNMP data of EC2 instance on AWS
Replies: 5
Views: 1299

[Solved]Unable to graph SNMP data of EC2 instance on AWS

Hello, I'm using Cacti powered by Symetricore in AWS marketplace. Cacti is deployed in EC2 instance on AWS. I have added my Cisco Routers CSR1000v which are deployed on AWS as well to Cacti server. The Cacti server could retrieve the SNMP information from the routers. After that, I added the interf...