Manage Plugin 0.6.2 for monitoring networks, servers...
Moderators: Developers, Moderators
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Hi Gilles,
Results below - note that I have placed hostname.domain.co.uk in place of the actual hostnames for security. Interestingly enough, neither the WMI or VBS pollers have the value near : "+ mail or netsend demande :" . SNMP seems to have this, but with the errors below.
C:\wamp\www\Cacti\plugins\manage>php manage_check.php wmi_perl 41
id : 41 , statut was : up , method : 0 , result : 125945636
Host : hostname.domain.co.uk(hostname), old uptime is : 125944731, new is : 125945636
+ service gfi languard s.e.l.m. 5.0 alerter agent service , was up -> no change
+ service gfi languard s.e.l.m. 5.0 archiver agent service , was up -> no change
+ service gfi languard s.e.l.m. 5.0 collector agent service , was up -> no change
+ service print spooler , was up -> no change
C:\wamp\www\Cacti\plugins\manage>php manage_check.php wmi_vbs 41
id : 41 , statut was : up , method : 0 , result : 125956008
Host : hostname.domain.co.uk (hostname), old uptime is : 125955501, new is : 125956008
+ service gfi languard s.e.l.m. 5.0 alerter agent service , was up -> no change
+ service gfi languard s.e.l.m. 5.0 archiver agent service , was up -> no change
+ service gfi languard s.e.l.m. 5.0 collector agent service , was up -> no change
+ service print spooler , was up -> no change
Finally - this is clearly what's wrong with SNMP
id : 41 , statut was : up , method : 0 , result : 126005583
Host : hostname.domain.co.uk (hostname), old uptime is : 126004717, new is : 126005583
+ service gfi languard s.e.l.m. 5.0 alerter agent service , was up
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 307
-> change
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 311
+ mail or netsend demande : mcutting@domain.co.uk;mcutting@domain.co.uk
+ No mail or netsend for this event.
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 313
+ service gfi languard s.e.l.m. 5.0 archiver agent service , was up
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 307
-> change
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 311
+ mail or netsend demande : mcutting@domain.co.uk;mcutting@domain.co.uk
+ No mail or netsend for this event.
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 313
+ service gfi languard s.e.l.m. 5.0 collector agent service , was up
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 307
-> change
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 311
+ mail or netsend demande : mcutting@domain.co.uk;mcutting@domain.co.uk
+ No mail or netsend for this event.
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 313
+ service print spooler , was up
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 307
-> change
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 311
+ mail or netsend demande : mcutting@domain.co.uk;mcutting@domain.co.uk
+ No mail or netsend for this event.
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 313
2007-4-23, at 13:55:4
Let me know if you need anything else.
Results below - note that I have placed hostname.domain.co.uk in place of the actual hostnames for security. Interestingly enough, neither the WMI or VBS pollers have the value near : "+ mail or netsend demande :" . SNMP seems to have this, but with the errors below.
C:\wamp\www\Cacti\plugins\manage>php manage_check.php wmi_perl 41
id : 41 , statut was : up , method : 0 , result : 125945636
Host : hostname.domain.co.uk(hostname), old uptime is : 125944731, new is : 125945636
+ service gfi languard s.e.l.m. 5.0 alerter agent service , was up -> no change
+ service gfi languard s.e.l.m. 5.0 archiver agent service , was up -> no change
+ service gfi languard s.e.l.m. 5.0 collector agent service , was up -> no change
+ service print spooler , was up -> no change
C:\wamp\www\Cacti\plugins\manage>php manage_check.php wmi_vbs 41
id : 41 , statut was : up , method : 0 , result : 125956008
Host : hostname.domain.co.uk (hostname), old uptime is : 125955501, new is : 125956008
+ service gfi languard s.e.l.m. 5.0 alerter agent service , was up -> no change
+ service gfi languard s.e.l.m. 5.0 archiver agent service , was up -> no change
+ service gfi languard s.e.l.m. 5.0 collector agent service , was up -> no change
+ service print spooler , was up -> no change
Finally - this is clearly what's wrong with SNMP
id : 41 , statut was : up , method : 0 , result : 126005583
Host : hostname.domain.co.uk (hostname), old uptime is : 126004717, new is : 126005583
+ service gfi languard s.e.l.m. 5.0 alerter agent service , was up
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 307
-> change
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 311
+ mail or netsend demande : mcutting@domain.co.uk;mcutting@domain.co.uk
+ No mail or netsend for this event.
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 313
+ service gfi languard s.e.l.m. 5.0 archiver agent service , was up
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 307
-> change
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 311
+ mail or netsend demande : mcutting@domain.co.uk;mcutting@domain.co.uk
+ No mail or netsend for this event.
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 313
+ service gfi languard s.e.l.m. 5.0 collector agent service , was up
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 307
-> change
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 311
+ mail or netsend demande : mcutting@domain.co.uk;mcutting@domain.co.uk
+ No mail or netsend for this event.
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 313
+ service print spooler , was up
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 303
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 307
-> change
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 311
+ mail or netsend demande : mcutting@domain.co.uk;mcutting@domain.co.uk
+ No mail or netsend for this event.
Notice: Undefined variable: r2 in C:\wamp\www\Cacti\plugins\manage\manage_check.php on line 313
2007-4-23, at 13:55:4
Let me know if you need anything else.
Last edited by mcutting on Mon Apr 23, 2007 7:56 am, edited 2 times in total.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Larry
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
please, call it with snmp, not SNMP
Code: Select all
php manage_check.php snmp 41
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Hi Gilles.
Code fixes for email work a treat - thanks.
If you could just sort out the SNMP poller, and the ability to monitor for all three (UP, DOWN, and REBOOT), then my life would be complete !!
Thanks
Code fixes for email work a treat - thanks.
If you could just sort out the SNMP poller, and the ability to monitor for all three (UP, DOWN, and REBOOT), then my life would be complete !!
Thanks
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:
Sorry - my mistake :
id : 41 , statut was : prob , method : 0 , result : 126132491
Host : hostname.domain.co.uk (hostname), old uptime is : 126128856, new is : 126132491
+ mail or netsend demande : mcutting@domain.co.uk
+ OK up
+ service gfi languard s.e.l.m. 5.0 alerter agent service , was down -> no change
+ service gfi languard s.e.l.m. 5.0 archiver agent service , was down -> no change
+ service gfi languard s.e.l.m. 5.0 collector agent service , was down -> no change
+ service print spooler , was down -> no change
2007-4-23, at 14:16:24
These services are actually UP and not DOWN..
id : 41 , statut was : prob , method : 0 , result : 126132491
Host : hostname.domain.co.uk (hostname), old uptime is : 126128856, new is : 126132491
+ mail or netsend demande : mcutting@domain.co.uk
+ OK up
+ service gfi languard s.e.l.m. 5.0 alerter agent service , was down -> no change
+ service gfi languard s.e.l.m. 5.0 archiver agent service , was down -> no change
+ service gfi languard s.e.l.m. 5.0 collector agent service , was down -> no change
+ service print spooler , was down -> no change
2007-4-23, at 14:16:24
These services are actually UP and not DOWN..
Last edited by mcutting on Mon Apr 23, 2007 8:19 am, edited 3 times in total.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
Hi,
after upgrading all groups dissapeared.
It would be nice to get the groups into new the table "sites" at version 0.51.
Also nice to have defining global groups and not site-local groups: As I can see I need groups in every site. I have sites for each customer and in this sites I define groups of switches and routers. So I must define several groups with equal names.
By the way: Could you please implement a possibility to define a selection criterion for the host list? (see normal device listing under "Management")
Torsten
after upgrading all groups dissapeared.
It would be nice to get the groups into new the table "sites" at version 0.51.
Also nice to have defining global groups and not site-local groups: As I can see I need groups in every site. I have sites for each customer and in this sites I define groups of switches and routers. So I must define several groups with equal names.
By the way: Could you please implement a possibility to define a selection criterion for the host list? (see normal device listing under "Management")
Torsten
Hmm updated to version 5.01
Still the Same errors with processes and srvices.
Anyone got this plugin on a linux box..?
I think it has something todo whith that.
manage_services and manage_process are empty.
Thats why i get the mysql_fetch error
and thats why i get the errors in my log.
Debug says all tables are fine..
greez ahab
Still the Same errors with processes and srvices.
Anyone got this plugin on a linux box..?
I think it has something todo whith that.
manage_services and manage_process are empty.
Thats why i get the mysql_fetch error
and thats why i get the errors in my log.
Debug says all tables are fine..
greez ahab
cacti 0.8.6j ** cactid 0.8.6d ** rrdtool 1.2.15
Debain ** Apache 2 ** PHP 4.3.0
Debain ** Apache 2 ** PHP 4.3.0
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Mcutting,
The problems not the upgrade, well sort of anyway, it the fact that it is based on the old code base So, it's a lot of work to move the changes forward. I have sent a note to Gilles. We will work something out.
Larry
The problems not the upgrade, well sort of anyway, it the fact that it is based on the old code base So, it's a lot of work to move the changes forward. I have sent a note to Gilles. We will work something out.
Larry
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Larry,
No problems - I can use WMI for the time being, as this works fine. SNMP would be nice to have, along with the UP, DOWN, and REBOOT events all in one.
My issue is that I am monitoring across domains, and SNMP would have fitted the bill nicely.
No problems - I can use WMI for the time being, as this works fine. SNMP would be nice to have, along with the UP, DOWN, and REBOOT events all in one.
My issue is that I am monitoring across domains, and SNMP would have fitted the bill nicely.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
ok found this in the new REDAME
notes :
- if you use cactid, not cmd.php : services template seems to be
incompatible with cactid, so delete graphs created and disable data
sources to avoid errors in cacti.log
What do you mean by
delete graphs and disable datasources ...?
greez ahab
notes :
- if you use cactid, not cmd.php : services template seems to be
incompatible with cactid, so delete graphs created and disable data
sources to avoid errors in cacti.log
What do you mean by
delete graphs and disable datasources ...?
greez ahab
cacti 0.8.6j ** cactid 0.8.6d ** rrdtool 1.2.15
Debain ** Apache 2 ** PHP 4.3.0
Debain ** Apache 2 ** PHP 4.3.0
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Gilles - just one small issue I found. If I have multiple email addresses in the global field in manage seperated by a ";", only the first recipient gets the mail - the others following are ignored - an ideas ?
Thanks
Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
well, the templates have never worked on my linux box...cpt_ahab wrote:ok found this in the new REDAME
notes :
- if you use cactid, not cmd.php : services template seems to be
incompatible with cactid, so delete graphs created and disable data
sources to avoid errors in cacti.log
What do you mean by
delete graphs and disable datasources ...?
greez ahab
the cacti poller crash
go to Console -> Data Sources
disable them to force the cacti poller not to update them
for security, delete the associated graph (go to Console -> Graph Management)
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Gilles - I have found that using a "," instead of ";" to seperate email addresses works - please diregard my previous post, although you may want to change the wording in settings.mcutting wrote:Gilles - just one small issue I found. If I have multiple email addresses in the global field in manage seperated by a ";", only the first recipient gets the mail - the others following are ignored - an ideas ?
Thanks
Regds
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
WMI does not work from a Linux box to a Windows box unless you are using the WEBEM extensions provided by Microsoft. This allows things like the "file" command in PHP to get an HTML equivalent of the WMI call. So, instead of something like:
cscript.exe blah_blah_blah
you would use:
$results = file("http://somehost:someport/path_to_blah_blah_blah");
Then process that in a script server script.
Bottom line Windows WMI works using DCOM, CIM (The Open version, does not). Therefore, it breaks in Linux.
TheWitness
cscript.exe blah_blah_blah
you would use:
$results = file("http://somehost:someport/path_to_blah_blah_blah");
Then process that in a script server script.
Bottom line Windows WMI works using DCOM, CIM (The Open version, does not). Therefore, it breaks in Linux.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest