Hi,
Bingo! That fixed it, thank you :)
I did just look back through the SVN to find when the line changed and found it was only a few days ago in the common.inc.php
It would also explain why ive just spotted a few servers decided to stop polling a few days ago (Only spotted it today doh!)
Regards
Simon
On 20 Dec 2020, at 19:59, Adam Armstrong via observium observium@observium.org wrote:
Try now, it seems there was a leftover instance of that function inside an if() that only triggered on some systems.
Adam.
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Simon Smith via observium Sent: 20 December 2020 19:47 To: Observium observium@observium.org Cc: Simon Smith simonsmith5521@gmail.com Subject: [Observium] Call to undefined function is_valid_serial()
Hi All,
Im having an issue where the poller.php is erroring out and crashing when talking to my linux servers
CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUv -m UCD-SNMP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'voip.rbs':'161' .1.3.6.1.4.1.2021.7890.4.3.1.1.6.115.101.1 14.105.97.108]
CMD EXITCODE[0] CMD RUNTIME[0.0331s] STDOUT[ "To Be Filled By O.E.M." ] SNMP STATUS[TRUE] PHP Fatal error: Uncaught Error: Call to undefined function is_valid_serial() in /opt/observium/includes/polling/os/unix.inc.php:384 Stack trace: #0 /opt/observium/includes/polling/os.inc.php(239): include() #1 /opt/observium/includes/polling/functions.inc.php(336): include('/opt/observium/...') #2 /opt/observium/poller.php(187): poll_device(Array, Array) #3 {main} thrown in /opt/observium/includes/polling/os/unix.inc.php on line 384
Fatal error: Uncaught Error: Call to undefined function is_valid_serial() in /opt/observium/includes/polling/os/unix.inc.php:384 Stack trace: #0 /opt/observium/includes/polling/os.inc.php(239): include() #1 /opt/observium/includes/polling/functions.inc.php(336): include('/opt/observium/...') #2 /opt/observium/poller.php(187): poll_device(Array, Array) #3 {main} thrown in /opt/observium/includes/polling/os/unix.inc.php on line 384
SVN latest revision 10905
Any ideas?
Kindest regards
Simon
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium