Cacti 0.8.6d Out

Important information about Cacti developments that all users should be interested in.

Moderators: Moderators, Developers

Author
Message
User avatar
Wernicke
Cacti User
Posts: 61
Joined: Tue Jun 08, 2004 3:07 am
Location: Bodø, Norway
Contact:

#16 Post by Wernicke » Sat Apr 30, 2005 4:21 pm

Nope, did not work. Sorry, but i had to degrade my cacti becouse this was a production server.

raX
Lead Developer
Posts: 2237
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

#17 Post by raX » Sat Apr 30, 2005 9:45 pm

Wernicke,

Double check that you do not have multiple pollers starting from cron. This can happen when you mix a tar/rpm installation of Cacti. I would start by double checking the /etc/crontab and /etc/cron.d/cacti files.

-Ian

User avatar
Wernicke
Cacti User
Posts: 61
Joined: Tue Jun 08, 2004 3:07 am
Location: Bodø, Norway
Contact:

#18 Post by Wernicke » Sun May 01, 2005 4:53 am

I don't have multiple pollers, And I never use those RPM packages anyway :p

-Sigurd

User avatar
TheWitness
Developer
Posts: 14817
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#19 Post by TheWitness » Sun May 01, 2005 7:44 am

:cry:
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

User avatar
Wernicke
Cacti User
Posts: 61
Joined: Tue Jun 08, 2004 3:07 am
Location: Bodø, Norway
Contact:

#20 Post by Wernicke » Sun May 01, 2005 2:23 pm

hm. Where did those last forum replys go? Anyway.. Tried to remove that ORDER line from lib/poller.php, but still not any better

-Sigurd

User avatar
Wernicke
Cacti User
Posts: 61
Joined: Tue Jun 08, 2004 3:07 am
Location: Bodø, Norway
Contact:

#21 Post by Wernicke » Sun May 01, 2005 2:58 pm

Tried to roll back the snmp.php file from 0.8.6C
Still not any better
Some graphs are only a few drops a day, some are 50 % loss, some are 100 % loss, but most graphs are working.. Very strange

-Sigurd

User avatar
TheWitness
Developer
Posts: 14817
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#22 Post by TheWitness » Sun May 01, 2005 3:01 pm

Have you verified that you are not experiencing packet loss:

"ping -l 1400 -t host.with.loss"

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

User avatar
Wernicke
Cacti User
Posts: 61
Joined: Tue Jun 08, 2004 3:07 am
Location: Bodø, Norway
Contact:

#23 Post by Wernicke » Sun May 01, 2005 3:07 pm

yeah, and i have the working (old version) of cacti running on the server too, and that version is working fine.

-Sigurd

User avatar
TheWitness
Developer
Posts: 14817
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#24 Post by TheWitness » Sun May 01, 2005 3:08 pm

You able to go online on msm right now? Would like more detail and it's easier.

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

User avatar
TheWitness
Developer
Posts: 14817
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#25 Post by TheWitness » Sun May 01, 2005 8:53 pm

Sigurd,

I sent you a revised lib/poller.php. I think the reason that this problem is not affecting everyone is because you system is under high load during polling. That patch will fix the issue.

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

User avatar
Wernicke
Cacti User
Posts: 61
Joined: Tue Jun 08, 2004 3:07 am
Location: Bodø, Norway
Contact:

#26 Post by Wernicke » Mon May 02, 2005 1:04 am

hm. Where did you send the file? Can't find it anywhere

-Sigurd

User avatar
TheWitness
Developer
Posts: 14817
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#27 Post by TheWitness » Mon May 02, 2005 4:12 am

Here you go.
Attachments
poller.zip
(3.56 KiB) Downloaded 321 times
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

User avatar
Wernicke
Cacti User
Posts: 61
Joined: Tue Jun 08, 2004 3:07 am
Location: Bodø, Norway
Contact:

#28 Post by Wernicke » Mon May 02, 2005 5:34 am

Nope, did not work, But however

Adding /usr/local/bin to the PATH in /etc/crontab did work. For some reason the poller sometimes "forget" the PATH to PHP, and it has to be defined in crontab. Strange. Looking into the code right now, but has not found the reason yet


-Sigurd

User avatar
Wernicke
Cacti User
Posts: 61
Joined: Tue Jun 08, 2004 3:07 am
Location: Bodø, Norway
Contact:

#29 Post by Wernicke » Mon May 02, 2005 6:11 am

And when it can't find it in the PATH, it uses /usr/bin/php for CMD.php users

> cmd.php

#!/usr/bin/php -q
<?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2004 Ian Berry |

User avatar
TheWitness
Developer
Posts: 14817
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#30 Post by TheWitness » Mon May 02, 2005 12:00 pm

You need to reduce the number of concurrent processes to twice the number of CPU's if you can.

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

Post Reply