re-alert doesnt work
Moderators: Developers, Moderators
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Not a problem. If you look in the post discussions we've been having so far, the link is in there.
Look here
http://forums.cacti.net/viewtopic.php?p ... 4218#67694
By the way, you might want to consider using MANAGE, as it works better for monitoring services etc.
Look here
http://forums.cacti.net/viewtopic.php?p ... 4218#67694
By the way, you might want to consider using MANAGE, as it works better for monitoring services etc.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
I feel your painherjai wrote:thanks alot, but i followed the instruction inside the post, however all the services are still returning 0, quite weird ya
No promises, but here's a version I had working many moons ago under Windows running WAMP. Backup your old version, replace it with this one, and remove / recreate all your Windows Services graphs
- Attachments
-
- win_services.zip
- (960 Bytes) Downloaded 108 times
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Ok - change it back to yours.
You'll need to play around with these lines which are shown twice in the script
You'll need to play around with these lines which are shown twice in the script
Code: Select all
print substr($return_arr[$i]['oid'],37) . "\n";
else
print substr($return_arr[$i]['oid'],27) . "\n";
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Ok - try this one.herjai wrote:already changed them to 37 and test last nite, no luck
- Attachments
-
- win_services.zip
- (960 Bytes) Downloaded 115 times
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
That's odd - this is from my production system ! However, this is Ubuntu Serverherjai wrote:actually after i changed to the 2 files u just posted, can't even query data. returned 0 row like before
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
I tried my version of win_services.php against an 0.8.7e version of CACTI I have under Windows, and it works fine. I would do the followingherjai wrote:sigh~~~~~~ maybe the win services just hate me now, coz it works fine at the previous version
1. Install GetIF
2. Perform a walk against OIDs .1.3.6.1.4.1.77.1.2.3.1.1 and .1.3.6.1.4.1.77.1.2.3.1.2
3. Check the output that is returned.
4. Now perform a verbose query in CACTI for the affected host, and see how the output compares with that of GetIF
5. You may need to fiddle with the script to make it drop the leading "." from the returned OID - this differs from machine to machine
I had a real issue getting this to work under Windows correctly (it would always return 0 instead of 1 even though the service was up). This also seems to vary between versions of PHP.
Regds
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
1. Start GetIFherjai wrote:sorry, it's my first time to use Getif,
i installed it already, how do i perform the walk?
2. Click Parameters, and fill in all relevant details - hostname and SNMP community are enough
3. Click Start
4. Ensure the host responds
5. Click MBrowser
6. At the bottom of the window there is a field where you can paste the OID of .1.3.6.1.4.1.77.1.2.3.1.1 (there is a drop-down with "n (nullobj)" filed in next to it.
7. Click Start
8. The field above this shows the output
Hope this helps.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Who is online
Users browsing this forum: No registered users and 2 guests