Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
General discussion about Plugins for Cacti
Moderators: Developers , Moderators
root426
Posts: 1 Joined: Sat Dec 15, 2012 12:54 am
Post
by root426 » Sat Dec 15, 2012 12:58 am
dear all,
i just installed cacti Version 0.8.8a,
and syslog does not work, udp port 514 is open, how do i check or repair my cacti, these following error came in Syslog tab :
Code: Select all
localhost 2012-12-15 09:27:02 Connection from UDP: [127.0.0.1]:41229->[127.0.0.1] 3 6
localhost 2012-12-15 09:27:02 Connection from UDP: [127.0.0.1]:37334->[127.0.0.1] 3 6
localhost 2012-12-15 09:27:02 Connection from UDP: [127.0.0.1]:48720->[127.0.0.1] 3 6
localhost 2012-12-15 09:27:02 Connection from UDP: [127.0.0.1]:35240->[127.0.0.1] 3 6
localhost 2012-12-15 09:27:02 Connection from UDP: [127.0.0.1]:44613->[127.0.0.1] 3 6
localhost 2012-12-15 09:27:02 Connection from UDP: [127.0.0.1]:35558->[127.0.0.1] 3 6
localhost 2012-12-15 09:27:02 Connection from UDP: [127.0.0.1]:54863->[127.0.0.1] 3 6
localhost 2012-12-15 09:27:02 Connection from UDP: [127.0.0.1]:60043->[127.0.0.1] 3 6
localhost 2012-12-15 09:27:02 Connection from UDP: [127.0.0.1]:60156->[127.0.0.1] 3 6
localhost 2012-12-15 09:27:02 Connection from UDP: [127.0.0.1]:46719->[127.0.0.1] 3 6
localhost 2012-12-15 09:27:02 Connection from UDP: [127.0.0.1]:44663->[127.0.0.1] 3 6
localhost 2012-12-15 09:27:02 Connection from UDP: [127.0.0.1]:41242->[127.0.0.1] 3 6
localhost 2012-12-15 09:27:02 Connection from UDP: [127.0.0.1]:52629->[127.0.0.1] 3 6
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Sat Dec 29, 2012 4:55 pm
You will have to configure snmpd to suppress logging for incoming snmp requests
R.
anar1120
Posts: 8 Joined: Sun Jun 17, 2012 2:11 am
Post
by anar1120 » Wed Jan 16, 2013 5:41 am
Hi,
May I ask on how it was fixed? I ran into the same problem and fairly new to Cacti, so please, forgive me.
Thanks!
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Wed Jan 16, 2013 3:08 pm
This is a net-snmpd configuration issue. My /etc/sysconfig/snmpd looks like
Code: Select all
# snmpd command line options
# '-f' is implicitly added by snmpd systemd unit file
# OPTIONS="-LS0-6d"
OPTIONS="-LS0-5d -Lf /dev/null"
R.
anar1120
Posts: 8 Joined: Sun Jun 17, 2012 2:11 am
Post
by anar1120 » Wed Jan 16, 2013 8:40 pm
Hello,
Mine looks like this...
# snmpd command line options
# OPTIONS="-LS0-6d -Lf /dev/null -p /var/run/snmpd.pid"
If I'm not wrong the # symbol excludes the command to be used, correct?
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Thu Jan 17, 2013 6:23 am
That's why I appended the last line
R.
anar1120
Posts: 8 Joined: Sun Jun 17, 2012 2:11 am
Post
by anar1120 » Thu Jan 17, 2013 8:21 pm
Hi,
I have changed it, but my cacti still does not collect syslog. Please, bear in mind that I am using the latest CactiEZ release.
What might be the problem?
Kind Regards
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Sat Jan 19, 2013 2:33 pm
anar1120 wrote: I have changed it, but my cacti still does not collect syslog.
The hint I gave you was related to the SNMPD log line found in syslog. That should be fixed right now. If other issues persist, let's start to talk about them
R.
anar1120
Posts: 8 Joined: Sun Jun 17, 2012 2:11 am
Post
by anar1120 » Sun Jan 20, 2013 10:04 pm
Hi,
I have gave cacti a day to start collecting syslog, but it still only collects its own syslog and not from other devices...
Anything else I should check?
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Mon Jan 21, 2013 5:25 am
You are talking about the SYSLOG plugin?
R.
anar1120
Posts: 8 Joined: Sun Jun 17, 2012 2:11 am
Post
by anar1120 » Tue Jan 22, 2013 3:16 am
Yes, please, refer to attached photo.
Attachments
Screen Shot 2013-01-22 at 4.15.57 PM.png (199.07 KiB) Viewed 4704 times
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Tue Jan 22, 2013 3:31 pm
Moving to Plugins; this is a plugin issue
R.
anar1120
Posts: 8 Joined: Sun Jun 17, 2012 2:11 am
Post
by anar1120 » Tue Jan 22, 2013 8:25 pm
Hi,
So, how can I fix this? Sorry for asking so many things I am new to Cacti
anar1120
Posts: 8 Joined: Sun Jun 17, 2012 2:11 am
Post
by anar1120 » Fri Feb 01, 2013 12:48 am
Dear Gandalf,
I googled a lot and still not able to figure out what the problem is. Can you help me?
Kind Regards,
CeeKing
Posts: 1 Joined: Mon Aug 10, 2015 5:08 am
Post
by CeeKing » Mon Aug 10, 2015 5:19 am
The problem is that snmpd is set to generate messages for priorities 0 - 6
The trick that you need to modify /etc/init.d/snmpd so when snmpd starts is doesn't log priorities 5 & 6.
Change the LS0-6d to LS0-4d
#OPTIONS="-LS0-6d -Lf /dev/null -p /var/run/snmpd.pid"
OPTIONS="-LS0-4d -Lf /dev/null -p /var/run/snmpd.pid"
See this page for further information (It's where I got it)
https://raetsel.wordpress.com/2008/02/1 ... gmessages/
Users browsing this forum: No registered users and 0 guests